Commit Graph
100 Commits
Author SHA1 Message Date
holger krekel 598dc86ca5 make sure we don't garble output during test runs by more carefully
switching logging on/off globally
2020-05-15 21:19:57 +02:00
holger krekel 4724101e75 fix upload error?! (#1454)
* use latest setuptools 
* clear indexes also if nothing was uploaded to dc/* branches
2020-05-06 17:31:43 +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
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 krekelandAsiel Díaz Benítez 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
holger krekel 900a17fc00 another fix, thanks @adbenitez 2020-02-22 17:11:37 +01:00
holger krekel 78f36aaa0d another bug fix 2020-02-22 17:11:37 +01:00
holger krekel e064e02794 fix eventlogger 2020-02-22 17:11:37 +01:00
holger krekel e22e5045f1 add missing file, some streamlining 2020-02-22 17:11:37 +01:00
holger krekel 087f35482b factor out imex tracking 2020-02-22 17:11:37 +01:00
holger krekel 23ff5fea28 move towards pluggy 2020-02-22 17:11:37 +01:00
holger krekel 34347ccaf5 strike get_infostring 2020-02-22 17:11:37 +01:00
holger krekel e704eb6cef move eventlogging to own module, start distinguishing ll events 2020-02-22 17:11:37 +01:00
holger krekel bf63423fec strike footer and refine index page 2020-02-22 17:11:37 +01:00
holger krekel f6d71ed8ef strike one Account parameter, always do eventlogging 2020-02-22 17:11:37 +01:00
holger krekel a18f4c9b1b prepare py-0.800.0 2020-02-21 14:09:05 +01:00
holger krekel e94c62e5b3 Update src/contact.rs
fix typo
2020-02-20 02:10:56 +01:00
holger krekel 0ac0eeda34 better naming, less code 2020-02-20 01:30:21 +01:00
holger krekel 4d066b4fd2 refine processing of errors and result handling 2020-02-20 01:30:21 +01:00
holger krekelandAlexander Krotov 4b6963122b Update src/smtp/mod.rs
Co-Authored-By: Alexander Krotov <ilabdsf@gmail.com>
2020-02-20 01:30:21 +01:00
holger krekel d5d662bc41 fix ordering error 2020-02-20 01:30:21 +01:00
holger krekel 0b0ed56901 directly attempt to re-connect if the smtp connection is maybe stale
also refactor performing the job-action into own function
2020-02-20 01:30:21 +01:00
holger krekel 13e361aabc add two variants 2020-02-19 14:21:15 +01:00
holger krekel d1a26e66a7 update 2020-02-19 13:48:05 +01:00
holger krekel ffe3c84e7c small refinements 2020-02-19 13:39:33 +01:00
holger krekel 702c7382a7 move 2020-02-19 13:35:07 +01:00
holger krekel b138d486e4 two ideas to tackle group consistency 2020-02-19 13:29:58 +01:00
holger krekel 5c17ec5f01 use new URL format and service provided by mailadm 2020-02-11 22:48:24 +01:00
holger krekel 875e89e71a better event information for moved messages 2020-02-11 20:38:14 +01:00
holger krekel 2f2fc17bd8 another try 2020-01-22 15:12:48 +01:00
holger krekel d5d4b49aaf try to get on-tag-builds to work 2020-01-22 15:11:19 +01:00
holger krekel 042c4efddf update Python README 2020-01-22 14:00:55 +01:00
holger krekel 01251d162c fix wheel upload target, and change python versioning 2020-01-22 14:00:55 +01:00
holger krekel 88d138b925 only upload manylinux1 packages as others are rejected by pypi anyway 2020-01-21 23:28:11 +01:00
holger krekel 2773b89815 prep beta.23 2020-01-21 21:40:32 +01:00
holger krekel 949d93fdaa - actually also upload py docs, not only c docs
- delete unused files on remote
- show a project number in doxygen
2020-01-21 19:14:16 +01:00
holger krekel d3b1972505 fix master build 2020-01-21 17:27:21 +01:00
holger krekel 3807d5fbd0 bringing back wheel building for linux, and fixing c.delta.chat 2020-01-21 17:25:01 +01:00
holger krekel e49e2021e5 i don't think this fuzzy test is very useful -- the mime-parser will end very early on random-input and DC's parsing machinery probably almost never runs. 2020-01-21 16:00:59 +01:00
holger krekel 929677afe0 fix typo 2020-01-11 21:10:08 +00:00
holger krekel 7f5e3aaaf7 add changelog for device-chat fix 2019-12-22 05:45:27 +01:00
holger krekel 6d5cf89d33 enable link-time-optimization 2019-12-21 23:09:15 +00:00
holger krekel b3b984f351 also "cargo update", pulls in aysnc-std 1.4.0 2019-12-21 23:09:15 +00:00
holger krekel d5a0f1e711 use latest lettre master that contains the normalization fix 2019-12-21 23:09:15 +00:00
holger krekel ee95e59243 "cargo update" 2019-12-20 18:11:29 +01:00
holger krekel b0694bcf2c prep beta21 2019-12-20 15:17:59 +01:00
holger krekel 01df2e2dc7 fix #1077 for unknown senders in a group chat (such as mailer daemons): don't recreate member list and show a special stockstring-ed message advising to hit "more info". 2019-12-20 11:59:10 +01:00
holger krekel 8c0ce38301 prep 1.0.0-beta.20 2019-12-19 16:55:24 +01:00
holger krekel cc6aa3209c fix the fix 2019-12-19 16:53:55 +01:00
holger krekel 76a86763dd address @r10s comment 2019-12-19 16:53:55 +01:00
holger krekel 09fb039528 another reverse mut bites the dust 2019-12-19 16:53:55 +01:00
holger krekel 174d3300c4 not sure it's much better but using a static-sized array is probably better than a dynamically sized vec, thanks @dignifiedquire 2019-12-19 16:53:55 +01:00
holger krekel 8b57ce1792 remove unused include_in_contactlist 2019-12-19 16:53:55 +01:00