dignifiedquire
4bdcdbb922
happy clippy
2020-08-10 10:01:46 +02:00
dignifiedquire
99ca582e25
implement ffi calls
2020-08-10 10:01:46 +02:00
dignifiedquire
48e5016abf
add migration code
2020-08-10 10:01:46 +02:00
dignifiedquire
58a8ae1914
feat: initial implementation of the account manager
2020-08-10 10:01:46 +02:00
Hocuri
04629c4b2e
Remove debug X-Mailer header
2020-08-09 20:03:58 +03:00
Alexander Krotov
2550ed3f43
Add more extensions to guess_msgtype_from_suffix()
2020-08-09 17:46:07 +03:00
bjoern
f69f5fa259
Merge pull request #1814 from deltachat/prep-1.44
...
prepare 1.44
2020-08-08 22:59:46 +02:00
Alexander Krotov
8b22f74fa6
Expand changelog
1.44.0
2020-08-08 22:44:22 +02:00
B. Petersen
fa795c54df
bump version to 1.44.0
2020-08-08 22:44:22 +02:00
B. Petersen
ffd6877243
update changelog for 1.44
2020-08-08 22:44:22 +02:00
bjoern
b3db1a2178
Merge pull request #1816 from deltachat/flaky-noop
...
python: fix more flaky tests
2020-08-08 22:43:05 +02:00
Alexander Krotov
4f8e7e0166
python: fix more flaky tests
...
This change fixes test_immediate_autodelete and maybe other tests using
DirectImap.get_all_messages().
2020-08-08 23:04:05 +03:00
bjoern
e081c8b9ff
Merge pull request #1815 from deltachat/multiple-delete-test-fix
...
Second attempt to fix flaky test
2020-08-08 18:46:45 +02:00
Alexander Krotov
9a21d5e9d9
Second attempt to fix flaky test
...
The server sometimes reorders the messages even if they were accepted
strictly in sequence.
2020-08-08 17:35:25 +03:00
bjoern
418b2c0478
Merge pull request #1812 from deltachat/siju
...
Hide SIJÚ messenger footer
2020-08-08 12:54:13 +02:00
bjoern
ca0c8f77a1
Merge pull request #1813 from deltachat/ephemeral-timer-changed-set-better-message
...
Always translate EphemeralTimerChanged message
2020-08-08 12:51:20 +02:00
Alexander Krotov
24d0382ec3
Add regression test for dc_set_chat_mute_duration panic
...
Panic was fixed in 3c8e60a2a3
2020-08-08 10:47:48 +03:00
Alexander Krotov
6d68fd4500
python: test get_mute_duration()
2020-08-08 10:47:48 +03:00
Alexander Krotov
da5796e8a6
Fix python bindings call to dc_chat_get_remaining_mute_duration
2020-08-08 10:47:48 +03:00
Alexander Krotov
801b9f3ffa
Fix dc_chat_get_remaining_mute_duration
...
Return time since current time, not UNIX epoch.
2020-08-08 10:47:48 +03:00
Alexander Krotov
2c41b3f3e0
Always translate EphemeralTimerChanged message
...
An EphemeralTimerChanged message with the same timer as already set can
be received when there are large delays or lost messages. Even though
inner_set_ephemeral_timer should not be called in this case, because it
emits an event indicating timer change, system message will be added to
the chat, so it should be translated with set_better_msg in any case.
2020-08-08 04:57:48 +03:00
Alexander Krotov
ac72280e69
Hide SIJÚ messenger footer
2020-08-08 00:24:08 +03:00
Alexander Krotov
528b5e9469
Attempt to eliminate test flakiness
2020-08-07 23:36:12 +03:00
Alexander Krotov
ec4d68af2b
Remove xfail mark on regression test
2020-08-07 23:36:12 +03:00
Alexander Krotov
ea0aa4a93f
Imap.select_with_uidvalidity(): read all the IMAP responses
2020-08-07 23:36:12 +03:00
Alexander Krotov
b83f3e5ea0
imap: read all UID STORE responses
...
Otherwise these FETCH responses will remain unread and may be confused
with the actual FETCH response later.
2020-08-07 23:36:12 +03:00
Alexander Krotov
6c7d7f0c16
Imap.delete_msg(): read the whole UID FETCH response
2020-08-07 23:36:12 +03:00
Alexander Krotov
1bfc8d0300
Imap.delete_msg(): warn about unexpected FETCH responses
...
Such responses indicate IMAP client or server bug.
2020-08-07 23:36:12 +03:00
Alexander Krotov
8faf397af2
Add regression test for IMAP message deletion
...
Test times out while trying to delete messages. Message deletion jobs
don't complete in time because IMAP response parsing is broken in the
Rust core.
2020-08-07 23:36:12 +03:00
Alexander Krotov
18d8ef9ffc
dehtml: handle empty tags
2020-08-07 23:18:34 +03:00
B. Petersen
35c250c705
do not silently ingnore peerstate error in repl; in repl it is okay to panic/unwrap
2020-08-07 15:58:29 +03:00
Alexander Krotov
a3ecbb3809
ci: test REPL with cargo check
2020-08-07 15:58:29 +03:00
B. Petersen
2a155d4849
adapt repl-tool to new peerstate api introduced with #1800
2020-08-07 15:58:29 +03:00
bjoern
a3a78bff8e
Merge pull request #1802 from deltachat/update-device-icon
...
Update device icon to use RGBA
2020-08-07 00:02:29 +02:00
bjoern
9e8afbb4d4
Merge pull request #1806 from deltachat/fix-getting-dimensions
...
fix getting dimensions
2020-08-07 00:01:50 +02:00
B. Petersen
7a7cdad566
fix dc_get_filemeta()
2020-08-06 23:45:37 +02:00
B. Petersen
2b74c58a45
add failing test for dc_get_filemeta()
2020-08-06 23:45:24 +02:00
bjoern
1d20ae6801
Merge pull request #1803 from deltachat/fix-chat_mute_duration_overflow
...
dc_set_chat_mute_duration: avoid panic on overflow
2020-08-06 23:03:09 +02:00
Alexander Krotov
3c8e60a2a3
dc_set_chat_mute_duration: avoid panic on overflow
2020-08-06 18:48:22 +03:00
Alexander Krotov
7eb72fea92
peerstate: add regression test
...
Test that default values for acpeerstate table can be successfully
loaded from the database.
2020-08-06 13:19:36 +03:00
Alexander Krotov
5bfa82e7ec
Resultify Peerstate::from_fingerprint
2020-08-06 13:19:36 +03:00
Alexander Krotov
cfd222a109
Resultify Peerstate::from_addr
2020-08-06 13:19:36 +03:00
Alexander Krotov
3577491b31
peerstate: log database errors
2020-08-06 13:19:36 +03:00
Alexander Krotov
d106a027c7
Make Peerstate.save_to_db atomic
...
This should prevent creation of acpeerstate entries using default values
(empty strings) for fingerprint columns.
2020-08-06 13:19:36 +03:00
Alexander Krotov
dc4fa1de65
peerstate: ignore invalid fingerprints in SQL
...
Normally NULL is used when there is no fingerprint, but default value
for fingerprint columns is an empty string.
In this case, loading should not fail with an "invalid length" error,
but treat the fingerprint as missing.
Strict check was introduced in commit ca95f25639
2020-08-06 13:19:36 +03:00
Alexander Krotov
f480c65071
Compress icon-saved-messages.png
...
Used oxipng --nx --zopfli
2020-08-05 21:28:49 +03:00
Alexander Krotov
a315f919e4
Update device chat icon to use RGBA
2020-08-05 21:24:42 +03:00
bjoern
03a4115a52
Merge pull request #1798 from deltachat/prep-1.43
...
prepare 1.43
2020-08-04 13:36:49 +02:00
B. Petersen
6807bc6eb2
bump version to 1.43
1.43.0
2020-08-04 13:02:57 +02:00
B. Petersen
74d08d581a
update changelog for 1.43
2020-08-04 13:01:33 +02:00