Alexander Krotov
fe1c99c5e8
Set contact ID in ContactsChanged on modification
2020-09-19 22:01:45 +03:00
Alexander Krotov
d6a0763b1d
Teach Python bindings to process (char *)0
2020-09-12 19:42:41 +03:00
B. Petersen
c6339c4ae4
remove python bindings and tests for unused dc_empty_server()
2020-09-07 06:38:48 +03:00
Alexander Krotov
e388e4cc1e
Do not emit network errors during configuration
...
Previously DC_EVENT_ERROR_NETWORK events were emitted for each failed
attempt during autoconfiguration, even if eventually configuration
succeeded. Such error reports are not useful and often confusing,
especially if they report failures to connect to domains that don't
exist, such as imap.example.org when mail.example.org should be used.
Now DC_EVENT_ERROR_NETWORK is only emitted when attempting to connect
with existing IMAP and SMTP configuration already stored in the
database.
Configuration failure is still indicated by DC_EVENT_CONFIGURE_PROGRESS
with data1 set to 0. Python tests from TestOnlineConfigurationFails
group are changed to only wait for this event.
2020-09-05 21:17:26 +03:00
Alexander Krotov
f6854fd22f
Add python test for contact renaming
2020-08-23 16:44:13 +03:00
Alexander Krotov
4bd2a9084c
Fix a typo
2020-08-22 17:29:38 +03:00
Alexander Krotov
be922eef0f
Format plain text as Format=Flowed DelSp=No
...
This avoids triggering spam filters which require that lines are wrapped
to 78 characters.
2020-08-22 13:57:10 +03:00
Hocuri
1325b2f7c6
Fix #1791 Receive group system messages from blocked users ( #1823 )
...
Fix #1791 and show all group messages if the user already is in the group, even if the sender is blocked
Also fix a comment
Co-authored-by: link2xt <ilabdsf@gmail.com >
2020-08-21 11:57:37 +02:00
Alexander Krotov
8b22f74fa6
Expand changelog
2020-08-08 22:44:22 +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
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
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
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
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
holger krekel
81fab2d783
try to do the release packaging with lto
...
and the default "python install_python_bindings.py" without it.
2020-07-29 13:18:22 +02:00
Alexander Krotov
63dd3c91e1
python tests: do not enable strict certificate checks by default
...
Since introduction of provider database, these certificate checks are
enabled for test servers anyway, but this setting prevents usage of
local servers with self-signed certificates.
2020-07-28 01:40:35 +02:00
holger krekel
2cbf2d8f65
fix bug reported by @adbenitez
2020-07-20 16:00:00 +02:00
Alexander Krotov
861325591e
Remove outdated references to nightly.
2020-07-19 23:38:01 +03:00
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
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
2020-07-17 23:17:10 +02: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
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
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
6cb75114c1
Cleanup test_basic_imap_api()
2020-07-13 01:53:28 +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
7da69a4644
Add dc_msg_get_ephemeral_{timer, timestamp}()
2020-07-11 22:25:17 +03:00
Alexander Krotov
7f8f871813
Make ephemeral timer changes not ephemeral
2020-07-08 20:25:05 +03:00
Alexander Krotov
d6b30c9703
Fix python test for ephemeral timer
2020-07-01 09:32:08 +03:00
Alexander Krotov
7d048ac419
Add autodelete timers
2020-06-29 23:04:34 +03:00
holger krekel
07236efc45
fix bcc_self to remain "0" for testrun/fivechat test accounts
2020-06-23 08:06:32 +02:00
Hocuri
351e5dc6f3
Add Python test
2020-06-17 10:58:27 +02:00
Alexander Krotov
dad6381519
run_bot_process: remove account from _accounts before starting the bot
...
Otherwise wait_configure_and_start_io() will start account, and it will
operate on the same database as the bot.
2020-06-13 06:36:07 +02:00
holger krekel
554160db15
also catch DC_KEY_GEN_RSA2048 as const
2020-06-11 09:22:31 +02:00
Floris Bruynooghe
d8bd9b0515
Import constants from cffi
...
This replaces the constants list with those compiled by CFFI. There
is perhaps not much point in having this module anymore but this is
easy to do.
2020-06-11 09:22:31 +02:00
Floris Bruynooghe
27b75103ca
Refactor cffi build script to extract defines from header file
...
This adds functionality to the cffi build script to also extract
defines so that we can ask the compiler to figure out what the correct
values are. To do this we need to be able to locate the header file
used in the first place, for which we add a small utility in the
header file itself guarded to only be compiled for this specific case.
2020-06-11 09:22:31 +02:00
holger krekel
e7dd74e4b1
simplify configure() and don't keep state on the account in non-test mode
2020-06-10 12:47:49 +02:00
holger krekel
95b40ad1d8
avoid hello.com and use example.org
2020-06-09 14:39:00 +02:00
holger krekel
0efb2215e4
renamings and parallel sending
2020-06-09 14:39:00 +02:00