holger krekel
2f09bb468e
fix configure_canceled test
2020-05-20 19:10:36 +02:00
holger krekel
1029c63a20
python fixes
2020-05-20 17:21:57 +02:00
holger krekel
f67c86cb39
refactor callback thread handling
2020-05-20 16:32:12 +02:00
holger krekel
b91d7f314b
progress
2020-05-20 14:52:17 +02:00
dignifiedquire
ba4df23bff
python: remove unused start_threads calls
2020-05-19 15:47:20 +02:00
dignifiedquire
8a7923c974
Merge remote-tracking branch 'origin/master' into feat/async-jobs
2020-05-13 18:29:22 +02:00
bjoern
30be5e33d7
Merge pull request #1410 from deltachat/remove_addremove
...
remove all member_added/remove_events
2020-04-23 00:59:09 +02:00
holger krekel
7c33c7f7da
expose obtaining list of fresh messages to python
2020-04-21 13:53:56 +02:00
holger krekel
70c082a1b1
remove all member_added/remove_events
2020-04-19 21:15:45 +02:00
holger krekel
02cda1e611
refine member/add remove further, and introduce ac_outgoing_message
2020-04-19 21:00:55 +02:00
holger krekel
a1c82eaea6
refine bot testing and ac_member* handling
2020-04-19 21:00:55 +02:00
holger krekel
9eda710538
refine member-added and member-removed plugin hooks to signal the sender (who added/removed a contact )
...
add ac_chat_modified hook event
add account.get_contact_by_addr (thanks @r10s)
2020-04-19 21:00:55 +02:00
B. Petersen
0b6b8ced92
remove unused dc_chat_get_subtitle() api
2020-04-16 22:08:17 +02:00
holger krekel
ea455323d8
increase timeout while waiting for rsa2048 keygen -- default timeout is 30secs, and it sometimes takes 31 or more on the CI machines
2020-04-13 17:39:31 +02:00
holger krekel
1855f84fe0
fix bug in that remove-contact failed on new groups where we didn't have the peerstate of the removed-contact yet
2020-04-13 17:39:31 +02:00
holger krekel
323d996d5f
a few streamlinings
2020-04-13 17:39:31 +02:00
holger krekel
1b858393c5
make create_contact accept email addresses that parse into routable_email and display_name
2020-04-13 17:39:31 +02:00
holger krekel
ca88c5b41c
rename hooks to use "ac_" (account) and "dc_" (global)
2020-04-13 17:39:31 +02:00
holger krekel
7e1470ea46
refactor preconfigure handling to not break deltabot's usage of deltachat's test fixtures and
...
relax timestamp comparisons
2020-04-13 17:39:31 +02:00
holger krekel
f98d0bbc1f
fix failing sync test
2020-04-13 17:39:31 +02:00
holger krekel
d4e1c1b109
refine handling of accepted contacts in example
2020-04-13 17:39:31 +02:00
holger krekel
f38386d164
fix member_added/member_removed event with tests and and provide a group-tracking example
2020-04-13 17:39:31 +02:00
holger krekel
d66829702f
fix #164 add MEMBER_REMOVED event and member_removed plugin python hook
2020-04-13 17:39:31 +02:00
holger krekel
36b50436d7
add Message.mark_seen shortcut
2020-04-13 17:39:31 +02:00
holger krekel
91cdc76414
refactor docs and ffi/high level event handling to pass all tests again
2020-04-13 17:39:31 +02:00
holger krekel
a665d6de59
add chat.is_group() API to help callers avoid having to check with constants
...
deprecate get_type()
2020-04-13 17:39:31 +02:00
holger krekel
84f17b7539
emit "DC_EVENT_MEMBER_ADDED" and python plugin event "member_added" for securejoin or non-securejoin additions of a contact to a chat. also fixup some docs
2020-04-13 17:39:31 +02:00
holger krekel
6213917089
start some docs
2020-04-13 17:39:31 +02:00
holger krekel
fb33c31378
fix a couple of issues wrt to configuring move/mvbox behaviour in tests
2020-04-13 17:39:31 +02:00
holger krekel
0d4b6f5627
move io thread handling into own module
2020-04-13 17:39:31 +02:00
holger krekel
2d74514dd0
add some incoming/outgoing message hooks
2020-04-13 17:39:31 +02:00
holger krekel
84012e760e
refine low level event handling
...
slight refactor on printing
2020-04-13 17:39:31 +02:00
holger krekel
95d45b386f
separate out FFI eventracking to only be used in running tests
2020-04-13 17:39:31 +02:00
dignifiedquire
49b2f80ded
Merge remote-tracking branch 'origin/master' into feat/async-jobs
2020-03-26 16:52:07 +01:00
dignifiedquire
f8cd602cbd
happy python lint
2020-03-25 17:56:35 +01:00
dignifiedquire
3871c5a4a0
fix some more python test
2020-03-25 13:48:02 +01:00
dignifiedquire
b616a2b3e7
fix more tests
2020-03-22 21:57:26 +01:00
B. Petersen
3c34096392
add a failing test that crashes when sending a message to a self-only group with bcc_self enabled
2020-03-22 18:23:55 +01:00
dignifiedquire
20ef115eb2
fix various integration tests with the python bindings
2020-03-22 16:21:15 +01:00
dignifiedquire
11fa60d690
stop python tests from blowing up
2020-03-21 23:37:52 +01:00
Alexander Krotov
e7e4821804
Reset group member list when we are added to the group
...
This makes test_synchronize_member_list_on_group_rejoin pass.
2020-03-19 17:03:31 +03:00
Alexander Krotov
9654802acc
Add failing group rejoin test
2020-03-19 17:03:31 +03:00
holger krekel
34347ccaf5
strike get_infostring
2020-02-22 17:11:37 +01:00
Alexander Krotov
d9dda44409
Add integration test for RSA and Ed25519 keys
...
Test that two chat clients using different key types can communicate
using Autocrypt.
2020-02-18 17:51:06 +01:00
Alexander Krotov
52520635ea
Fix a typo ("requests")
2020-02-11 22:32:35 +03:00
Simon Laux
8461cf6443
Merge pull request #1143 from deltachat/feat_mute_chat
...
feat: mute chat
2020-02-10 01:39:50 +01:00
Alexander Krotov
bb10501f56
Improve test_one_account_send_bcc_setting
...
Clone the first account and check that second device actually sees the
message copied via BCC-to-self.
2020-02-10 01:17:28 +01:00
Alexander Krotov
c4d5f657da
python tests: remove peek_online_config()
...
Using peek_online_config() results in a message being sent to some
other account, used by previous test. If tests are run in parallel,
for example with pytest-xdist, we could be sending a message to a still
online DC client.
2020-02-10 01:17:28 +01:00
Floris Bruynooghe
e525c42c7d
Unmute should also raise exceptions
...
And tests should not care about return values.
2020-02-09 19:12:21 +01:00
Floris Bruynooghe
0242322d24
Tweak error halding a little
...
- Python should raise exceptions on error. Not return False.
- Negative durations are nonense.
- ChatID validity is already checked by the Rust API, let's not duplicate.
2020-02-09 18:01:42 +01:00