holger krekel
76610f1e72
rename to more specific name, also not using the difficult to type "succeeded" word :)
2019-11-27 13:02:07 +01:00
holger krekel
42ef43bdf6
test the new event
2019-11-27 00:43:50 +01:00
B. Petersen
f53b3c2e7b
add DC_EVENT_SECUREJOIN_SUCCEEDED
2019-11-27 00:43:50 +01:00
holger krekel
e522920d49
fix the check for not installing bindings (used from CI), and refined rerun policy
2019-11-22 13:54:30 +01:00
holger krekel
f44b2a63b0
revert back to split doc and lint
2019-11-22 12:28:19 +01:00
holger krekel
8ef0ea8aea
simplify double-fetching
2019-11-22 12:28:19 +01:00
holger krekel
eae9ad6f8b
remove context.inbox in favour of a context.inbox_thread following the mvbox_thread and sentbox_thread patterns. Also some streamlining of shutdown logic.
2019-11-22 12:28:19 +01:00
holger krekel
254b061921
update docs and add a simple manual script to run python/rust tests
2019-11-22 12:28:19 +01:00
holger krekel
e14c4d0683
re-enable cross, some streamlining of docs
2019-11-22 12:28:19 +01:00
holger krekel
932c86bb3b
various cleanups, better parallelism and build-dir structure
2019-11-22 12:28:19 +01:00
holger krekel
8e7dc5e86f
reconfigure running of rust and python tests
2019-11-22 12:28:19 +01:00
holger krekel
c6f4d6d8bd
* fix interrupt_idle by signalling "skip_next_idle_wait" to the potentially concurrently "fn idle" function
...
* fixes double-export issue
2019-11-22 12:28:19 +01:00
holger krekel
545376875a
fix python tests
2019-11-12 16:10:48 +01:00
B. Petersen
cbaa4e03b3
basic devicetalk implementation
2019-11-06 13:33:30 +01:00
B. Petersen
be08bcb22b
rename DC_CONTACT_ID_DEVICE to DC_CONTACT_ID_INFO to be in-line with dc_msg_is_info()
2019-11-06 13:33:30 +01:00
holger krekel
dcd92a894e
fix export: write backup_time to the destination not the source sql file
...
and perform slightly cleaner teardown in python
2019-11-06 13:26:32 +01:00
holger krekel
31571be71e
add account.get_chat_by_id API
2019-11-03 20:14:57 +01:00
holger krekel
661fc45106
split "chatting.py" into "contact.py" and "chat.py" to be more reminiscent of the core-rust structure
2019-11-03 20:14:57 +01:00
holger krekel
c5f64d2988
address @link2xt comments
2019-11-03 00:21:27 +01:00
holger krekel
4eb068613d
extend and fix python/test side of location streaming
2019-11-03 00:21:27 +01:00
holger krekel
d24a982757
fix various location-streaming issue, test passes now
2019-11-03 00:21:27 +01:00
holger krekel
d74c70a57c
fix and streamline location-outgoing pipeline
2019-11-03 00:21:27 +01:00
holger krekel
a6f0f78588
addresses #757 test and add location streaming python api
2019-11-03 00:21:27 +01:00
holger krekel
b0ccbc36d9
fix FFI-behaviour: return default empty messages when asked for special ones
2019-10-30 19:29:13 +01:00
holger krekel
41443bb7f9
fix sending of autocrypt setup message
2019-10-30 15:48:06 +01:00
holger krekel
911c0e45dc
expose empty server functionality and test it (also introducing a new DC_EVENT_IMAP_FOLDER_EMPTIED event)
2019-10-29 22:19:13 +01:00
Alexander Krotov
c85f1b20ca
Add constants for certificate checks configuration
2019-10-27 11:51:14 +01:00
holger krekel
4b24f32d6c
add tests and API for is_forwarded
2019-10-21 23:00:42 +02:00
holger krekel
7bb73f45a5
add LP smtp/imap connection flags to const
2019-10-15 13:46:39 +02:00
VP-
cfe3c69f00
Don't use hard-coded email addresses in tests
2019-10-15 13:10:55 +02:00
holger krekel
45f011c63c
expose and test set_stock_translation to Python
2019-10-09 15:59:31 +02:00
holger krekel
24d744b94c
try generating and uploading doxygen docs ( #697 )
2019-10-08 18:52:13 +02:00
holger krekel
ba5b3ad675
fix #690 by avoiding account.__del__ and registering/unregistering with atexit (a module that manages process/interpreter shutdown and calls into registered shutdown. Recommended way for user code still is to call account.shutdown() explcitely.
2019-10-07 12:24:50 +02:00
holger krekel
51534b2fae
move all alloc/free/stop/has/shall_stop*ongoing* methods to context
...
introduce stop_ongoing to bindings and test for cancelation of configure
2019-10-07 00:55:33 +02:00
holger krekel
dd03f6e8af
test and fix that a group with mixed-encryption members (with some we can encrypt, others not) does not break
2019-10-05 15:02:03 +02:00
holger krekel
603761e4b7
add DC_EVENT_DELETED_BLOB_FILE
2019-10-03 18:01:56 +02:00
holger krekel
467c09f491
introduce DC_EVENT_NEW_BLOB_FILE event and test for it
2019-10-03 18:01:56 +02:00
Alexander Krotov
59df97944f
Enable strict certificate checks for test online accounts
2019-10-03 01:26:07 +03:00
holger krekel
230c65594c
add test for markseen not sending out smtp on second call
2019-10-02 23:51:14 +02:00
holger krekel
509a21ff05
introduce DC_IMAP_MESSAGE_MOVED event and try harder to send out MDNs
2019-10-02 23:51:14 +02:00
holger krekel
96066712bd
add and test for DC_IMAP_MESSAGE_DELETED event
2019-10-02 23:51:14 +02:00
holger krekel
92438737c9
- introduce and test BccSelf config, to prevent bcc-self on outgoing mails
...
- introduce context.get_config_int() which respects default values
declared in config.rs (Config)
2019-10-02 22:51:09 +02:00
Alexander Krotov
f7ad93229d
test_account.py: fix a typo in test message
2019-10-02 13:10:16 +02:00
Alexander Krotov
555b4bc8c7
python/README.rst: s/mail_pwd/mail_pw/
...
mail_pw is the option that is actually read by the tests
2019-10-02 13:09:45 +02:00
Floris Bruynooghe
8b7cd2dd1a
Revert back to only ffi-level checking of open context
...
The Rust context is always open, the return value of this function was
simply the wrong way around.
2019-09-26 20:08:36 +02:00
Florian Bruhin
03661e2a71
python: Allow to configure debug logging via account
2019-09-26 19:20:56 +02:00
holger krekel
02b73207f9
fixup this PR with tests, and returning None from get_filemime
2019-09-26 17:12:06 +02:00
Floris Bruynooghe
69f1497986
Make dc_get_info() work on a closed context
...
There is very little API guarantees about this, but clients seem to
expect *something* to work on a closed context. So split this up into
static info an more dynamic context-related info, but let's not
provide any guarantees about what keys are available when.
Fixes #599
2019-09-26 14:22:03 +02:00
Florian Bruhin
2b46f01fe3
Use sys.executable in install_python_bindings.py
...
When calling pip this way, the virtualenv is used even if not activated.
2019-09-26 13:09:08 +02:00
holger krekel
6cd3580263
rustifying dc_continue_key_transfer and fix master-conflict
2019-09-25 23:46:44 +02:00