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
holger krekel
0c8f951d8f
address @hocuri comment -- remove as_contact() as it's synonym with create_contact
...
and the latter is already an established API and conveys better that a contact
object will be created if it doesn't exist.
2020-06-09 14:39:00 +02:00
holger krekel
0bb4ef0bd9
introduce chat.num_contacts() as a more efficient shortcut
2020-06-09 14:39:00 +02:00
holger krekel
f93a863f5f
fix and steamline tests and test setup
2020-06-09 14:39:00 +02:00
holger krekel
f263843c5f
route all flexible contact add/remove through account.as_contact(obj)
2020-06-09 14:39:00 +02:00
holger krekel
503202376a
remove logid from Account creation, one can now just use the "displayname" for log purposes
2020-06-09 14:39:00 +02:00
holger krekel
ca70c6a205
remove account.create_chat_by_message in favor of message.create_chat(), simplifing the API
2020-06-09 14:39:00 +02:00
holger krekel
7d5fba8416
refine contact API and introduce account.create_chat() helper
...
strike create_chat_by_contact in favor of contact.create_chat()
2020-06-09 14:39:00 +02:00
holger krekel
3a85b671a1
remove acfactory.get_chat() in favour of account.create_chat(account2) directly working.
2020-06-09 14:39:00 +02:00
Alexander Krotov
35566f5ea5
Extend undecipherable group test
...
Reply to group messages assigned to 1:1 chat on ac4 and see where they
end up on ac1 and ac2. Currently they contain group ID in Reply-To field
and go to group chat, so the test is failing.
2020-06-08 23:16:35 +02:00
Alexander Krotov
c6f19ea0a4
Add failing test for undecipherable group messages
2020-06-08 23:16:35 +02:00
holger krekel
4fdf496cac
refine one more test to "newstyle"
2020-06-08 16:31:21 +02:00
holger krekel
6497e6397d
merge direct imap tests into their already existing counterparts
2020-06-08 16:31:21 +02:00
holger krekel
d8bbe2fcce
refine test / chat API
2020-06-08 16:31:21 +02:00
holger krekel
b6cc44a956
integrate direct imap test in existing BCC test
2020-06-08 16:31:21 +02:00
holger krekel
0105c831f1
make direct_imap a permanent feature of online accounts
2020-06-08 16:31:21 +02:00
holger krekel
d40f96ac65
fixing imap interactions
2020-06-08 16:31:21 +02:00
holger krekel
69135709ac
more refines and test fixes
2020-06-08 16:31:21 +02:00
holger krekel
612a9d012c
snap using imapclient
2020-06-08 16:31:21 +02:00
bjoern
ec441b16f1
Revert "Enable strict TLS certificate checks by default"
...
This reverts commit 6d9ff3d248 .
2020-06-06 18:42:54 +03:00