iequidoo
d40ec88b94
test(python): Wait for bot's DC_EVENT_IMAP_INBOX_IDLE before sending messages to it ( #5699 )
...
Bot processes are run asynchronously, so we shouldn't send messages to a bot before it's fully
initialised and skipped existing messages for processing, i.e. before DC_EVENT_IMAP_INBOX_IDLE is
emitted.
2024-06-23 01:46:40 -03:00
link2xt
740f43a2d6
fix: do not resync IMAP after initial configuration
...
If there was no previous `configured_addr`,
then there is no need to run IMAP resync.
2023-07-17 16:38:09 +00:00
iequidoo
0a2200c2c8
python: Wait for initial Resync in the bot tests
2023-03-31 17:15:02 -03:00
link2xt
fac7b064b4
Refine Python CI
...
Add lint environment to `deltachat-rpc-client/`
and set line length to 120, same as in `python/`.
Switch from flake8 to ruff.
Fix ruff warnings.
2023-01-20 16:53:21 +00:00
adbenitez
16e0f0e986
apply isort and black formatters, add format checking to CI
2022-05-29 21:11:49 -04:00
holger krekel
45157f79a3
fix examples
2022-05-03 19:35:03 +02:00
holger krekel
04dd2d93d0
trim online account creation to a single get_online_accounts() function
2022-05-03 19:35:03 +02:00
holger krekel
c1b33a66c4
refactor "quiet" parameter away and provide more precise logging-control
2022-05-03 19:35:03 +02:00
holger krekel
933b14eedf
fix #1480
...
make ac_member_removed and ac_member_added work if the action was triggered remotely.
also pass in the "actor" contact so one can know who did this.
2020-07-16 11:56:13 +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
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
229606fcc5
fix last failing test -- make account.shutdown() robust against getting called from event thread
2020-05-22 15:12:55 +02:00
Alexander Krotov
c185d5b0b5
Fix python lint error about unused format
2020-05-12 11:02:27 +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
holger krekel
ca88c5b41c
rename hooks to use "ac_" (account) and "dc_" (global)
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
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
f61b9f7964
add a test echo_and_quit examples
2020-04-13 17:39:31 +02:00