holger krekel
06166f7956
make group left messages call the ac_member_removed hook, as per wishes from @adbenitez
2020-07-18 19:58:15 +02:00
Simon Laux
bb2e8b4392
improve documentation a bit
2020-07-18 19:12:27 +02:00
Simon Laux
8895dc36c7
add documentation
2020-07-18 19:12:27 +02:00
Simon Laux
017bdc88dd
add config value BasicWebRTCInstance
2020-07-18 19:12:27 +02:00
holger krekel
142225f0f4
rework README to better talk about prebuilts, fix links
2020-07-18 19:11:30 +02:00
holger krekel
f9befa8f39
prepare 1.40.0 python deltachat release
py-1.40.0
2020-07-17 23:17:10 +02:00
Alexander Krotov
1c73021d77
Update rust toolchain to 1.45.0
2020-07-17 01:08:32 +03:00
holger krekel
933b14eedf
fix #1480
...
make ac_member_removed and ac_member_added work if the action was triggered remotely.
also pass in the "actor" contact so one can know who did this.
2020-07-16 11:56:13 +02:00
holger krekel
650bd822bf
some cleanup to finalize PR
2020-07-16 11:55:51 +02:00
holger krekel
37943d3d16
fix another flaky test
2020-07-16 11:55:51 +02:00
Alexander Krotov
6067d40a6f
cargo fmt
2020-07-16 11:55:51 +02:00
Alexander Krotov
cde587fefa
idle: drain unsolicited response channel
...
This prevents multiple unsolicited messages from skipping multiple IDLEs.
Also skip IDLE only if an EXISTS message was received.
2020-07-16 11:55:51 +02:00
holger krekel
fc12beda24
fix a problem where IDLE would run but miss messages
2020-07-16 11:55:51 +02:00
holger krekel
ccebca5f99
fix python timeout settings
2020-07-16 11:55:51 +02:00
holger krekel
e07869ae95
improve debugging
2020-07-16 11:55:51 +02:00
holger krekel
90be708791
fix dump of messages to files when a test fails
2020-07-16 11:55:51 +02:00
holger krekel
a27b379ce0
fix #1720 -- don't wait for the daemon eventhread to terminate but count on it to eventually die
2020-07-16 11:55:51 +02:00
Alexander Krotov
f461e2a2fd
import_backup: do not load all blobs into memory at once
2020-07-16 10:58:52 +02:00
bjoern
40dc72b2b1
Merge pull request #1717 from deltachat/sync-encrypted-avatars-only
...
sync encrypted avatars only
2020-07-15 12:07:26 +02:00
holger krekel
99babcc4bd
add a draft for how to simplify and replace imap-jobs handling
2020-07-15 11:23:23 +02:00
B. Petersen
6e6823f395
sync encrypted avatars only
2020-07-15 02:34:32 +02:00
B. Petersen
964f60ff4b
simple sync of Selfavatar
...
when seeing our own profile image send from other devices,
we use them as Selfavatar on the current device as well.
as there is no special message sent on avatar changes,
this is a simple approach to sync the avatar across devices.
2020-07-15 03:11:12 +03:00
B. Petersen
7624e574bb
let BlobObject::new_from_path() also accept , this allows to use the function for values from the database and from outside, which is handy in situations where you do not really know
2020-07-15 03:11:12 +03:00
Alexander Krotov
667364b90e
Mark location-only messages as auto-generated
2020-07-15 02:16:20 +03:00
holger krekel
ef954ed99e
set_version now ensures lto = true, more logging
2020-07-14 23:46:36 +02:00
Alexander Krotov
7bb6890f26
Send MDNs for messages deleted on the server
...
Now MarkseenMsgOnImap sends MDN even if it can't mark the message as
seen on the server.
To prevent multiple MDNs from being sent, MarkseenMsgOnImap is postponed
until the message is detected in a folder from which it is not going to
be moved.
2020-07-14 23:26:48 +03:00
Alexander Krotov
2aa808756e
Add test for MDN not sent for server deleted messages
2020-07-14 23:26:48 +03:00
Alexander Krotov
81a2e510f5
Move proxy.py from scripts/ to contrib/
...
This change makes it clear that core does not depend on this code.
2020-07-14 20:41:38 +02:00
B. Petersen
82a3af97df
adapt repl to new marker api and make it compile again
2020-07-13 18:34:37 +02:00
bjoern
f1b3527ad0
Merge pull request #1613 from deltachat/warn-wrong-pw
...
Show a better toast and a notification when the password is wrong (because it was changed on the server)
2020-07-13 13:12:31 +02:00
Alexander Krotov
6902250d6b
securejoin: do not check the signatures existance twice
...
Mimeparser.was_encrypted() checks if the message is an Autocrypt encrypted
message. It already means the message has a valid signature.
This commit documents a few functions to make it clear that signatures
stored in Mimeparser must be valid and must always come from encrypted
messages.
Also one unwrap() is eliminated in encrypted_and_signed(). It is possible
to further simplify encrypted_and_signed() by skipping the was_encrypted()
check, because the function only returns true if there is a matching
signature, but it is helpful for debugging to distinguish between
non-Autocrypt messages and messages whose fingerprint does not match.
2020-07-13 12:36:14 +02:00
bjoern
64ab86a1a6
Merge pull request #1705 from deltachat/seen_ephemeral_timer
...
Start ephemeral timer immediately for already seen messages
2020-07-13 02:21:22 +02:00
B. Petersen
4b445b7dd7
use time::SystemTime instead of time::Instant as the latter may use libc::clock_gettime(CLOCK_MONOTONIC) eg. on android and does not advance while being in deep sleep mode. therefore, time::Instant is not a reliable way for timeouts or stoping times.
2020-07-13 02:27:03 +03:00
Alexander Krotov
6cb75114c1
Cleanup test_basic_imap_api()
2020-07-13 01:53:28 +03:00
Alexander Krotov
d54ade5891
Start ephemeral timer for non-fresh messages
2020-07-13 01:20:16 +03:00
Alexander Krotov
0da21aa9f6
dc_receive_imf: rename timer into ephemeral_timer
2020-07-13 01:15:51 +03:00
Alexander Krotov
1e84e81e7d
imap: expunge folder before IDLE if needed
...
This ensures Inbox is expunged timely in setups that don't watch
DeltaChat folder.
2020-07-13 00:54:20 +03:00
Alexander Krotov
d3eb209d27
Add test for immediate server deletion
2020-07-13 00:54:20 +03:00
Alexander Krotov
49a6a5b23c
testplugin.py: print HTTP response text on error
2020-07-12 22:58:57 +03:00
Alexander Krotov
4f78e2e14e
Do not show an error on IMAP connection failure
...
It is annoying as it happens every time the server is rebooted.
2020-07-12 17:17:26 +02:00
Alexander Krotov
7da69a4644
Add dc_msg_get_ephemeral_{timer, timestamp}()
2020-07-11 22:25:17 +03:00
Alexander Krotov
8efe7cade7
Rename part_mut into part
2020-07-11 21:43:02 +03:00
Alexander Krotov
18e4abc1df
Remove some and deny new indexing and slicing
2020-07-11 21:43:02 +03:00
Hocuri
ee7b7eb4f2
Once more, fix #1575 Messages sent by DeltaChat trigger spam filters due to incorrect/non-compliant formatting options
2020-07-11 21:10:06 +03:00
B. Petersen
4378fe21ee
delete now superfluous ASYNC-API-TODO.txt, the things are implemented that way :)
2020-07-11 18:26:42 +02:00
Hocuri
b50410ab15
Fix #1687
2020-07-11 17:38:48 +02:00
Hocuri
9f7567c1d1
Abort on failing imap configuring
2020-07-11 14:27:15 +02:00
Hocuri
68e3bce60e
Remove error!() from https://github.com/deltachat/deltachat-core-rust/pull/1539
...
it led to a less clear error message being shown when the configure
failed.
2020-07-11 14:27:15 +02:00
Hocuri
86bc54508f
More explicit
2020-07-11 14:27:15 +02:00
Hocuri
ae2fd4014a
Emit Event::ErrorNetwork again
2020-07-11 14:27:15 +02:00