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
|
2a34022619
|
refine example doc and address https://github.com/deltachat/deltachat-core-rust/pull/1307#pullrequestreview-380876587
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
57f879a6ba
|
fix buffer handling so that the group-tracking bot example passes
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
d4ba09c753
|
refactor bot-setup and testing into a helper function
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
6c3a8448cf
|
Apply suggestions from code review
some fixes thanks to @adbenitez
Co-Authored-By: Asiel Díaz Benítez <asieldbenitez@gmail.com>
|
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
|
a1d5120e58
|
sipmlify plugins and tests and remove superflous core event
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
724e1ea97e
|
simplify example
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
6f8067ffd3
|
address @adbenitez and @r10s comments
|
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
|
33dd747ec7
|
some more test setup refinements and make example testing part of tox runs
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
d8e14d9993
|
refine example and make Contact accept Account object
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
f61b9f7964
|
add a test echo_and_quit examples
|
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
|
a1379f61da
|
fix up docs
|
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
|
6a6a719ab6
|
shift pytest support code into deltachat package so deltabot can make use of the test infrastructure
|
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
|
57141e478c
|
also add a changelog for plugin things
|
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
|
79f5e736b0
|
make eventlogger module a global plugin
|
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
|
5c8f558f60
|
- simplify to offer start() and shutdown() as primary account methods, strike start_threads/stop_threads.
- introduce update_config(kwargs) method.
- group APIs a bit better
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
c851f9d5a3
|
simplify internal thread handling
|
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
|
6baef49f9d
|
add after_shutdown hook
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
f55d4fa73a
|
rename process_low_level_event to process_ffi_event
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
ce00c627d4
|
don't run Eventlogging by default -- the tests instantiate it, though.
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
d3c6f530e2
|
introduce global plugin manager
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
cf6391d51b
|
move event tracking to new tracker.py file
some api cleanups
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
57311d731e
|
simplify logging
|
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 |
|
holger krekel
|
bbc8bed39c
|
move temp_plugin to account
|
2020-04-13 17:39:31 +02:00 |
|
holger krekel
|
ec67b3975c
|
good bye global plugin manager ... we only do per-account object plugin_management for now
|
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
|
9b4c195872
|
minimal get_next_event api
|
2020-03-22 01:07:06 +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 |
|