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
Alexander Krotov
cd751a64cb
python tests: fix typos
2020-06-06 16:11:59 +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 krekel
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
82731ee86c
fix test
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
882f90b5ff
more cleanups, don't run the test 30 times anymore -- it's too wasteful
...
and doesn't gurantee test failure.
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
d076ab4d6d
fix grouping / helper function
2020-06-05 21:59:33 +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