Asiel Díaz Benítez
369bb9166e
Update message.py
...
use `email.message_from_bytes()` instead of decoding the bytes to then call `message_from_string`
2019-12-01 12:08:34 +01:00
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
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
932c86bb3b
various cleanups, better parallelism and build-dir structure
2019-11-22 12:28:19 +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
a6f0f78588
addresses #757 test and add location streaming python api
2019-11-03 00:21:27 +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
holger krekel
45f011c63c
expose and test set_stock_translation to Python
2019-10-09 15:59:31 +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
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
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
Florian Bruhin
03661e2a71
python: Allow to configure debug logging via account
2019-09-26 19:20:56 +02:00
holger krekel
d5383aecc9
finish dc_imex refactoring, fix linting, rustify some things
2019-09-25 23:46:44 +02:00
holger krekel
8518d8f456
rustify imex and friends
2019-09-25 23:46:44 +02:00
holger krekel
adc0db04bc
failing test
2019-09-25 23:46:44 +02:00
B. Petersen
40f9072250
add get_setupcodebegin to python bindings, test the function
2019-09-25 21:13:05 +02:00
holger krekel
91b98e8c6d
as discussed during camp and otherwise ... add dc_perform_{mvbox,sentbox}_jobs hooks which, however, for now have an empty implementation. They can already be called from UIs, though. Next step is refactoring imap-job handling to only execute jobs belonging to the respective imap folder.
2019-09-20 01:03:25 +02:00
holger krekel
ceff85d892
add test and python API for verified group handling/chatting
...
add msg.is_encrypted() API and check for it from some tests
2019-09-20 00:33:33 +02:00
Simon Laux
37f854be3e
Add provider info functions to the FFI API
...
A lot of work from @Hocuri and @Simon-Laux mostly.
This exposes the API of the deltachat-provider-overview crate on the
deltachat FFI API, allowing clients to use it to help users set up
their accounts.
2019-09-19 07:17:44 +02:00
holger krekel
cee0e22ce7
fix #538 -- don't crash on wrong setup codes for ac-message, don't use "expect(), added test
2019-09-18 19:21:41 +02:00
holger krekel
fc1f1ce37c
streamline fixtures for online accounts, reducing test functions
2019-09-18 14:15:16 +02:00
holger krekel
ee327dc87d
remove an ancient hack on context-teardown, refine and use more regular API for finalizing online accounts
2019-09-18 14:15:16 +02:00
holger krekel
5b0c8dd9dd
address @r10s and @flub review comments, and fix some docstrings/test meta docs
2019-09-09 18:07:32 +02:00
holger krekel
650d8c45ec
fix test, and cleanup according profile-image API
2019-09-09 18:07:32 +02:00
holger krekel
383d8980d6
add profile image API to python, tests, Rust fixes/cleanups
2019-09-09 18:07:32 +02:00
holger krekel
dd0afdfeb0
add QR based join-group API, with test and SEGFAULT fix to rust
2019-09-05 22:55:25 +02:00
holger krekel
b6997c4455
regen constants and improve high level API for QR setup contact
2019-09-05 22:55:25 +02:00
holger krekel
2920732435
(dignifiedquire, hpk, jikstra)
...
- fix and test peerstate::from_fingerprint
- add and test python API for secure-join QR + setup-contact
2019-09-05 22:55:25 +02:00
Asiel Díaz Benítez
118599b4cc
Update account.py
...
fix doc string
2019-08-20 17:10:39 +02:00
Friedel Ziegelmayer
8c10aa287c
fix(python): free allocated string pointers ( #393 )
...
* fix(python): free allocated string pointers
* Update python/src/deltachat/cutil.py
Co-Authored-By: holger krekel <holger@merlinux.eu >
* Update cutil.py
* probably the proper way to handle ffi.strings
2019-08-18 12:45:38 +02:00
holger krekel
77db475663
- rework running of liveconfig tests
...
- better README reflecting how to use things, don't advertise
run-integration-tests to only have one documented way
and use less tools for rust-devs that just want to run
python tests
- fix test skipping and get circle-ci to play along
- update docker related docs as well
2019-08-11 23:09:48 +02:00
Dmitry Bogatov
47b76ceb3e
python: assert that underlying dc_msg_t* for Message is not NULL
2019-08-04 09:17:54 +00:00
holger krekel
67d9515033
(jikstra, hpk) fix markseen logic to work like C: ignore if we get no rows for a message (eg desktop calls itwith msg_id=9 which is a special id -- and C just ignored it)
2019-07-26 09:02:11 +02:00
holger krekel
f63e79cd6d
remove MessageType, remove account.get_blob_dir which is duplicate of get_blobdir()
2019-07-26 08:57:31 +02:00