dignifiedquire
e440d8503a
fixup
2020-02-12 19:12:22 +01:00
dignifiedquire
9cc99ffcd6
add more ser and de impls
2020-02-12 19:12:22 +01:00
Alexander Krotov
beb91271de
Unlock session before calling add_flag_finalized
...
add_flag_finalized tries to lock session again and IMAP thread deadlocks
if session is not unlocked.
2020-02-12 11:38:18 +00:00
Alexander Krotov
7e9585ebc5
cargo fmt
2020-02-12 11:38:18 +00:00
Alexander Krotov
0c4b3f71e5
Check for MOVE capability before using MOVE command
2020-02-12 11:38:18 +00:00
B. Petersen
8b4edc46a7
implement dc_set_config_from_qr()
2020-02-11 21:04:18 +01:00
B. Petersen
2b7a0a4585
prototype dc_set_config_from_qr()
2020-02-11 21:04:18 +01:00
B. Petersen
1882176489
let dc_check_qr() accept DCACCOUNT-schemes
2020-02-11 21:04:18 +01:00
holger krekel
875e89e71a
better event information for moved messages
2020-02-11 20:38:14 +01:00
Alexander Krotov
2d4c20af35
Revert "Make dc_receive_imf non-public"
...
This reverts commit cabb58a9aa .
dc_receive_imf() is used in the "repl" example.
This was not caught by CI because it does not build examples.
2020-02-11 02:03:36 +03:00
Alexander Krotov
66fdb447f7
Rename get_headerdef into get_header_value
2020-02-11 01:59:41 +03:00
Alexander Krotov
c801775a39
Implement get_headerdef method for MailHeader slices
2020-02-11 01:59:41 +03:00
Alexander Krotov
f5bb57d6a6
Fix a typo ("Messag")
2020-02-11 00:07:37 +03:00
Alexander Krotov
1071ab05db
Move created_db_entries into cleanup closure instead of borrowing
2020-02-10 23:31:46 +03:00
Simon Laux
8461cf6443
Merge pull request #1143 from deltachat/feat_mute_chat
...
feat: mute chat
2020-02-10 01:39:50 +01:00
Alexander Krotov
cabb58a9aa
Make dc_receive_imf non-public
2020-02-09 23:30:06 +00:00
Alexander Krotov
e64ce5bb4f
Reduce is_msgrmsg_rfc724_mid_in_list scope to pub(crate)
2020-02-09 23:28:29 +00:00
Alexander Krotov
bc750d61d2
Remove outdated comment
2020-02-09 23:28:29 +00:00
Alexander Krotov
3150901b6e
Improve logs for prefetch checks
2020-02-09 23:28:29 +00:00
Alexander Krotov
4f6745b742
Check if contact is blocked or accepted before downloading it
2020-02-09 23:28:29 +00:00
Alexander Krotov
bcdc323a97
Factor from_field_to_contact_id out of dc_receive_imf
2020-02-09 23:28:29 +00:00
Alexander Krotov
4fd4cc709d
Prefetch FROM field
2020-02-09 23:28:29 +00:00
Alexander Krotov
0fac463144
Prefetch Message-ID header instead of envelope
...
Envelope has the same Message-ID, but using other fields from the
envelope, such as From field, is error-prone. They may contain values
different from the message body. As we don't parse the envelope later on,
it is better not to fetch it during prefetch too.
2020-02-09 23:28:29 +00:00
Alexander Krotov
d809dfac65
Do not download messages that are not displayed
2020-02-09 23:28:29 +00:00
Alexander Krotov
ea11a5274e
Remove unwrap() in prefetch_get_message_id
2020-02-09 23:28:29 +00:00
Alexander Krotov
42356c2a67
Fix a typo in prefetch_get_message_id
2020-02-09 23:28:29 +00:00
Alexander Krotov
5a84ab2011
Fix a typo (s/ideling/idling/)
2020-02-09 23:28:29 +00:00
Alexander Krotov
b4573e341f
Return &'static str from HeaderDef.get_headername()
2020-02-09 19:17:27 +01:00
Alexander Krotov
df252c4704
Do not check for XLIST capability
...
This capability is not used by Delta Chat. Moreover, XLIST is deprecated
in favor of https://tools.ietf.org/html/rfc6154 , which should be
supported instead. Delta Chat already looks for \Sent attribute in
get_folder_meaning().
2020-02-09 19:15:20 +01:00
Alexander Krotov
d1912f873b
Resultify fetch_single_msg
2020-02-09 19:14:36 +01:00
Floris Bruynooghe
4aebd678c3
Use SystemTime instead of i64
...
This clarifies some behaviour with negative times and propagates
errors a bit better around places.
2020-02-09 13:35:37 +01:00
Simon Laux
d73d021e3c
cargo fmt
2020-02-09 12:25:47 +01:00
bjoern
c8fe81e21d
Merge pull request #1243 from Ampli-fier/master
...
Minor changes in comments
2020-02-09 12:01:31 +01:00
Simon Laux
621f1df913
rename MutedUntilTimestamp to Until
2020-02-09 12:01:09 +01:00
Alexander Krotov
1ca23a7479
Update link to C core issue
2020-02-09 03:28:59 +03:00
Alexander Krotov
aadeb3b87e
job: do not render messages without recipients
2020-02-08 16:58:55 +01:00
Simon Laux
e04d28c885
use from- and to-sql traits
2020-02-08 13:29:24 +01:00
Simon Laux
6d80b3675a
dtransform mute chat to use relative durations
...
instead of absolute timestamps
2020-02-08 13:26:48 +01:00
Simon Laux
ef158504e7
remove success variable
...
(replace with else statement)
2020-02-08 13:26:21 +01:00
Simon Laux
63be1ae5a9
change muted forever to -1
2020-02-08 13:25:22 +01:00
Simon Laux
b9ba1a4f69
implement ffi part
2020-02-08 13:25:22 +01:00
Simon Laux
e006d9b033
rustfmt
2020-02-08 13:25:22 +01:00
Simon Laux
1538684c6c
simplify test code
2020-02-08 13:23:55 +01:00
Simon Laux
b37e83caab
add possibility to mute chat in core
2020-02-08 13:23:55 +01:00
Simon Laux
d11d3ab08b
fix typo
2020-02-08 13:11:22 +01:00
Floris Bruynooghe
1144a536a5
Pre-generate more keys for use in integration tests
2020-02-08 08:28:41 +00:00
Floris Bruynooghe
515c753d11
Use pre-generated keys for python integration tests
...
This changes the AccountMaker to use pre-generated keys when
available, speeding up test runs.
As a side-effect we no longer need to compile the integration tests in
release mode with debug symbols. Losing debug symbols (-g) means
cargo no longer wants to recompile everything all the time too.
Tested locally and seems to works.
2020-02-08 08:28:41 +00:00
Alexander Krotov
0864e640ed
Simplify Peerstate.peek_key()
2020-02-08 00:02:42 +01:00
Ampli-fier
b876e49393
Minor changes in comments
2020-02-07 20:01:17 +01:00
Floris Bruynooghe
fc0292bf8a
Rename save_self_keypair
...
For the ffi rename to dc_preconfigure_keypair. For the internal API
to store_self_keypair.
2020-02-06 22:00:29 +01:00