Hocuri
6d89638ca4
Get ChatId from Message
2020-04-13 17:43:01 +02:00
Hocuri
fdc091319b
Make Clippy happy
2020-04-13 17:43:01 +02:00
Hocuri
960c8745d9
For smtp error 5.5.0, try again. For others, send info message (doesn't work)
2020-04-13 17:43:01 +02:00
Hocuri
134b09dba5
Fix #1373 , ignore incorrect html close tags
2020-04-13 17:40:07 +02:00
holger krekel
76b93274e8
use latest sphinx -- seems to work again
2020-04-13 17:39:31 +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
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
Alexander Krotov
e9967c32e6
chat: filter parent messages by state instead of UID
...
Since introduction of server message deletion, message may not have
server UID even when it is not a draft or pending message. To handle
such messages correctly, we explicitly check message state.
2020-04-13 17:38:42 +02:00