Commit Graph

1906 Commits

Author SHA1 Message Date
Simon Laux 4825f2510f Merge pull request #1016 from deltachat/fix_displayname
fix displayname to use authname when availible
2019-12-13 13:21:03 +01:00
Alexander Krotov 7a12134795 Test that no gossip is sent in 1-to-1 chat 2019-12-13 12:51:44 +01:00
Alexander Krotov 66adfa074b Do not cache gossiped_timestamp 2019-12-13 12:51:44 +01:00
Alexander Krotov 9d201eb9c6 Add get_gossiped_timestamp 2019-12-13 12:51:44 +01:00
Alexander Krotov 789fc0a7e0 Resultify set_gossiped_timestamp 2019-12-13 12:51:44 +01:00
Alexander Krotov 9e309132f8 Only add gossip headers if chat has more than one peer 2019-12-13 12:51:44 +01:00
Alexander Krotov 88923173c2 Set is_gossiped to true when Autocrypt-Gossip header is added 2019-12-13 12:51:44 +01:00
Simon Laux 7b55863418 switch priority order 2019-12-13 11:58:21 +01:00
Simon Laux 38d5fad4e5 fix displayname to use authname when availible 2019-12-13 11:58:08 +01:00
holger krekel 4d1357568b use async-smtp master where @link2xt's branch has been merged 2019-12-13 11:03:46 +01:00
Alexander Krotov ccc190f991 Switch to native_tls 2019-12-13 11:03:46 +01:00
B. Petersen 0a9f880fb4 remove another superfluous return value 2019-12-13 01:17:48 +01:00
holger krekel b8faf54f0b remove superflous expression values 2019-12-13 01:17:48 +01:00
B. Petersen 888507f7ba test group- and user-avatars in the same mail 2019-12-13 01:17:48 +01:00
B. Petersen 29866092de adapt the protected-header test; protected-headers really require encryption now and parts of the tests are know to fail now. however, protected-headers are also tested in python implicitly in several places 2019-12-13 01:17:48 +01:00
B. Petersen 36fc2c83f2 return selfavatar from dc_get_info() 2019-12-13 01:17:48 +01:00
holger krekel 5e777b3c51 fix test also for avatar deletion, use that drain filter while we in this code area :) 2019-12-13 01:17:48 +01:00
holger krekel 5690c48863 fix merging of protected headers 2019-12-13 01:17:48 +01:00
holger krekel 8ab3363097 add a test that runs until an avatar is send encrypted 2019-12-13 01:17:48 +01:00
B. Petersen f6861ca5f5 target comments from @flub and @dignifiedquire 2019-12-13 01:17:48 +01:00
B. Petersen 3bb58be2b5 add missing delete header 2019-12-13 01:17:48 +01:00
B. Petersen 409c96e571 add compatiblity headers 2019-12-13 01:17:48 +01:00
B. Petersen d681fa6cba use Chat-User-Avatar and Chat-Group-Avatar
we change the name on the wire as the old Chat-Group-Image header
could not be used on random mails, it was the marker for a "Changed" message,
if we would keep this names, things will fail for exising installations
as messages are dropped and a "Group image changed" message is shown instead.
2019-12-13 01:17:48 +01:00
B. Petersen 7c3d8356c4 always handle incoming group-avatars 2019-12-13 01:17:48 +01:00
B. Petersen a8842da50a && has a higher precedence than || - fix a logical error when resetting Unpromoted 2019-12-13 01:17:48 +01:00
B. Petersen ff29b84146 share group image on group creation, fixes #602 2019-12-13 01:17:48 +01:00
B. Petersen ab12a4eb39 move ImageAction parsing to a reusable function 2019-12-13 01:17:48 +01:00
B. Petersen c3fd0889e2 use tri-state ImageAction instead of Option<Option> 2019-12-13 01:17:48 +01:00
B. Petersen c62532a665 adapt to new HeaderDef api 2019-12-13 01:17:48 +01:00
B. Petersen ca63d6ba1c handle incoming profile-images 2019-12-13 01:17:48 +01:00
B. Petersen a1f496b019 let mimeparser handle profile-images 2019-12-13 01:17:48 +01:00
B. Petersen da421438cd do not send selfavatar on existing installation without resetting 2019-12-13 01:17:48 +01:00
B. Petersen 7f723ef2bf attach selfavatar 2019-12-13 01:17:48 +01:00
B. Petersen 3cf39dace0 print profile-image in repl tool 2019-12-13 01:17:48 +01:00
B. Petersen 021ad4f12c set correct icon for DC_CONTACT_ID_DEVICE 2019-12-13 01:17:48 +01:00
B. Petersen 36edf447e7 load param incl. user-profile-image from db 2019-12-13 01:17:48 +01:00
B. Petersen ea2273aef4 reset selfavatar_sent column when the selfavatar is updated 2019-12-13 01:17:48 +01:00
B. Petersen 251aa22c4c add column for selfavatar_sent timestamp 2019-12-13 01:17:48 +01:00
Alexander Krotov 541710147a Copy correct dc_contact_is_verified documentation from C core
instead of dc_contact_is_verified_ex documentation.
2019-12-11 17:54:28 +01:00
dignifiedquire a197ca4cf7 feat: update dependencies, including rand@0.7 and rpgp@0.4 2019-12-11 15:33:17 +01:00
Simon Laux 775c36bb65 wip move some ci tasks to gh-actions (#998)
* add-action-rs-clippy-action

just to try this action out

* add --all argument

* rm --all argument again

* add cargo check and fmt

* disable circle ci counterparts(fetch, clippy, fmt)
2019-12-10 23:26:42 +01:00
holger krekel 1953b95c57 commit missing Cargo.lock 1.0.0-beta.15 2019-12-10 21:42:52 +01:00
holger krekel 542a33952f prepare 1.0.0-beta.15 2019-12-10 21:35:20 +01:00
holger krekel 1819712667 make sure we send out <> around message-id's in references and in-reply-to 2019-12-10 21:25:36 +01:00
holger krekel 69a596fdff fix #994 -- avoid double-attachment messages in local chats 2019-12-10 21:25:36 +01:00
björn petersen 4f88b93495 Merge pull request #1003 from deltachat/flub-spec-their
Use 3rd person singular
2019-12-10 19:10:59 +01:00
Floris Bruynooghe a388052e2a Use 3rd person singular 2019-12-10 19:07:22 +01:00
holger krekel 8b81ea3b6f actually update to 1.0.0-beta.14 1.0.0-beta.14 2019-12-10 15:39:09 +01:00
holger krekel b913de5928 prepare a 1.0.0-beta.14 with fixed deps 1.0.0-beta14 2019-12-10 14:42:55 +01:00
holger krekel 4e551cde66 update tags and rust-email dep 1.0.0-beta.13 2019-12-10 14:17:16 +01:00