Commit Graph

1626 Commits

Author SHA1 Message Date
holger krekel
7a208c4f6b remove debug logging and fix update_gossip_headers location 2019-12-03 10:59:30 +01:00
dignifiedquire
25ab59eb93 refactor: unsafe, CStr and libc moved out 2019-12-02 15:29:47 +01:00
dignifiedquire
e6f737be9d cleanup mimeparser and use mime 2019-12-02 08:44:51 +01:00
dignifiedquire
e94a896478 fix chat-verified 2019-12-02 00:11:11 +01:00
dignifiedquire
a7a0277330 fix content-type setting and some encryption 2019-12-02 00:01:37 +01:00
dignifiedquire
62a2f70fab fix various parsing and sending issues 2019-12-01 21:41:13 +01:00
dignifiedquire
04ec7f86ef some fixes for mdn handling 2019-12-01 21:41:13 +01:00
dignifiedquire
f9e27934f5 fix mailparsing test 2019-12-01 21:41:13 +01:00
dignifiedquire
f1b978c9c7 switch to forked rust-email 2019-12-01 21:41:13 +01:00
dignifiedquire
4eea6b297a less dead code, and update test 2019-12-01 21:41:13 +01:00
dignifiedquire
0c77cadf19 cleanup and finish missing parts 2019-12-01 21:41:13 +01:00
dignifiedquire
b616830aea implement mdn rendering 2019-12-01 21:41:13 +01:00
dignifiedquire
4bc637d6d8 restructure mimefactory 2019-12-01 21:41:13 +01:00
dignifiedquire
bb605e28aa remove dead code 2019-12-01 21:41:13 +01:00
dignifiedquire
deddb8fde4 integrate encryption when sending 2019-12-01 21:41:13 +01:00
dignifiedquire
a59f0bd885 Implement message generation using lettre_email 2019-12-01 21:41:13 +01:00
dignifiedquire
881e15d218 remove mmime 2019-12-01 21:41:13 +01:00
dignifiedquire
7bf825a253 some things 2019-12-01 21:41:13 +01:00
dignifiedquire
fe7d99ae11 first compile 2019-12-01 21:41:13 +01:00
dignifiedquire
eb02100d68 fix(imap): merge error conversions properly 2019-12-01 21:40:56 +01:00
Alexander Krotov
ee18d60644 cargo fmt 2019-12-01 21:01:03 +01:00
Alexander Krotov
612600278a Move SQL errors into their own module 2019-12-01 21:01:03 +01:00
holger krekel
ea8adf39c2 address @link2xt comment 2019-12-01 20:50:31 +01:00
holger krekel
f7f61e0f85 move imap errors into imap module 2019-12-01 20:50:31 +01:00
Alexander Krotov
a7bb249070 Move another OAuth2 test from stress.rs to oauth2.rs 2019-12-01 20:46:35 +01:00
björn petersen
dfe7dfcfd3 Merge pull request #935 from deltachat/address_idle_race
address last(?) idle race condition heuristically
2019-12-01 19:26:40 +01:00
Alexander Krotov
7223a36a71 SMTP error refactoring 2019-12-01 18:24:26 +01:00
holger krekel
2423d197cd better logging, changed timeout 2019-12-01 18:12:10 +01:00
holger krekel
2582791501 address #925 heuristically 2019-12-01 18:12:10 +01:00
Alexander Krotov
3a08c92433 Replace u32 with a PeerstateKeyType enum 2019-12-01 17:07:33 +01:00
Alexander Krotov
694d8fd6fb Move dc_dehtml to dehtml and remove unnecessary is_empty check 2019-12-01 13:37:37 +01:00
Asiel Díaz Benítez
369bb9166e Update message.py
use `email.message_from_bytes()` instead of decoding the bytes to then call `message_from_string`
2019-12-01 12:08:34 +01:00
björn petersen
5f1e5ef206 Merge pull request #933 from deltachat/refactor-icons
Refactor icons
2019-12-01 12:06:20 +01:00
jikstra
5d04fd0d97 color tweaking 2019-12-01 02:46:04 +01:00
jikstra
d05b5e40df add new icon-device icons 2019-12-01 02:31:12 +01:00
jikstra
0dd436ac54 Add new icon-saved-messages 2019-12-01 02:20:01 +01:00
Alexander Krotov
d5359fb9ba Ensure that Peerstate has an address set on the type level 2019-12-01 01:52:54 +01:00
B. Petersen
72c29aca6a do not create device-chat on skipped messages 2019-12-01 01:38:50 +01:00
B. Petersen
32216a334d add a test that checks the device-chat is not recreated for messages that won't be added 2019-12-01 01:38:50 +01:00
holger krekel
603d55114b address @link2xt error comment 2019-11-30 23:53:35 +01:00
holger krekel
9d18db9cae introduce a select_with_uidvalidity function that helps us during configuration to know about last_seen_uid 2019-11-30 23:53:35 +01:00
holger krekel
d14c6ea202 refine uid_next handling and rename and resultify configure_folder to ensure_configurer_folders 2019-11-30 23:53:35 +01:00
holger krekel
7be5fe925a revert logic to get last_seen_uid 2019-11-30 23:53:35 +01:00
holger krekel
8f43d7fa34 remove commented errors and fix fmt 2019-11-30 23:53:35 +01:00
holger krekel
b6e9bcee3c when first looking at a folder, look at "uid_next" as returned from server
and otherwise properly fetch the last messages to determine the last seen uid.
also add some tracing.
2019-11-30 23:53:35 +01:00
holger krekel
2dbef704e9 rework select_folder error handling (thanks @flub and @link2xt for helping along) 2019-11-30 23:53:35 +01:00
Floris Bruynooghe
74a4691f29 Convert BlobError into an enum
This deletes a lot of code and complexity.  Though comes at some cost:

- The type no longer fits in a register and will always be on the
  stack.

- Constructing the errors is more verbose, no more auto Into casting.
2019-11-30 23:51:30 +01:00
B. Petersen
084a87ed61 add chatlist tests 2019-11-30 19:38:22 +01:00
B. Petersen
657b53ae0b sort drafts again to the top of the chatlist
this reverts the logical changes done in #811
but keeps the improvements done later eg. in #911.
the reason for the revert is that it is too hard to
find a started draft in a larget chatlist.
also the shown date would not be just descending.
2019-11-30 19:38:22 +01:00
Alexander Krotov
17cb1226c6 Move OAuth 2 stress tests to oauth2 module 2019-11-30 19:19:05 +01:00