Commit Graph
289 Commits
Author SHA1 Message Date
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 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 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 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
holger krekel 4fdf496cac refine one more test to "newstyle" 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
Alexander Krotov 6d9ff3d248 Enable strict TLS certificate checks by default 2020-06-06 00:08:29 +02:00
holger krekel d97d9980dd cleanup 2020-06-05 23:28:27 +02:00
holger krekelandHocuri 4ad4d6d10d Update python/src/deltachat/direct_imap.py
Co-authored-by: Hocuri <hocuri@gmx.de>
2020-06-05 23:28:27 +02:00
holger krekel 04bdfa17f7 improve shutdown order 2020-06-05 23:28:27 +02:00
holger krekel 7a5759de4b some streamlining and test fixing 2020-06-05 23:28:27 +02:00
holger krekel e29dcbf8eb remove wrong inbox folders 2020-06-05 23:28:27 +02:00
holger krekel 469451d5dd rework imap structure logging 2020-06-05 23:28:27 +02:00
holger krekel af33c2dea7 test pass again 2020-06-05 23:28:27 +02:00
holger krekel e66ed8eadb shift tests away a little, mark "ignored" for regular pytest runs 2020-06-05 21:59:33 +02:00
Hocuri 05e1c00cd1 fix: update message ids correctly
Fixes #1495
2020-06-05 16:27:22 +02:00
B. Petersen ec601a3381 revert renaming of data2_str to data3_str, while this looks clearer at a first glance, it would mean to introduce much noise in the existing bindings and understandings 2020-05-25 12:58:21 +02:00
holger krekel d9de33820f add a stress test 2020-05-24 21:25:13 +02:00
holger krekel fa3ee4205d refactor some python infra, and don't do shutdown on __del__, it's not prepared for running during teardown 2020-05-24 15:48:12 +02:00
holger krekel 7f4627356b test and fix buggy parsing of incoming message which would show MDNs as empty incoming messages 2020-05-24 15:22:55 +02:00
holger krekel d4ddc2f9da make wheel building work again -- switch manylinux2014 (#1522) 2020-05-23 21:57:50 +02:00
holger krekel e55dc2213a fix python lifecycles so that termination works 2020-05-23 10:17:56 +02:00
dignifiedquire 8569e1c18b python: first pass at updates for dc_open/dc_close removal 2020-05-22 23:56:03 +02:00
Friedel Ziegelmayer 014d2946b2 feat: use EventEmitter for events 2020-05-22 21:03:01 +02:00
holger krekel 4b4e6e1732 use bjoern's naming suggestion 2020-05-22 18:44:57 +02:00
holger krekel d0686ada83 a round of renaming towards dc_io_* methods for start/stop/io scheduling 2020-05-22 18:44:57 +02:00