link2xt
b56cf72c87
api: add legacy Python bindings for make_vcard and import_vcard
2025-04-06 07:42:34 +00:00
link2xt
ef4d2a7ed0
api!(python): use dc_contact_get_verifier_id()
...
get_verifier() returns a Contact rather than an address now
dc_contact_get_verifier_addr() is unused.
2023-09-30 15:49:22 +00:00
link2xt
437f8c48c4
api(python): make Contact.is_verified() return bool
2023-06-07 19:50:42 +00:00
link2xt
d1d43e889a
python: add more type annotations
2023-02-27 13:07:35 +00:00
link2xt
e021a59b87
python: do not inherit from object
2023-02-15 16:27:34 +00:00
link2xt
817760a6ef
python: upgrade from .format() to f-strings
...
They are supported since Python 3.5.
2023-02-08 15:44:34 +00: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
Sebastian Klähn
c562d17925
Add verifier information ( #3839 )
...
* add verifier information
* cleanup
Co-authored-by: bjoern <r10s@b44t.com >
* finish name change
* simple improvements & new ffi
* fixs
Co-authored-by: bjoern <r10s@b44t.com >
Co-authored-by: septias <xxsebastian.kleahnxx@gmail.com >
2022-12-27 10:41:15 +00:00
adbenitez
521d14a6e0
avoid exceptions when messages/contacts/chats are compared with None
2022-06-09 05:00:02 -04:00
adbenitez
17aab01eaa
apply black with new line-length == 120
2022-05-31 23:05:20 -04:00
adbenitez
16e0f0e986
apply isort and black formatters, add format checking to CI
2022-05-29 21:11:49 -04:00
link2xt
5c571520a0
contact: use last_seen column
...
It was there since the C core, labeled with "/* last_seen is for
future use */" but never actually used. The comment was lost during
the translation from C to Rust.
2021-11-21 21:14:17 +03:00
link2xt
ddefd2cf09
python: add cutil.from_optional_dc_charpointer()
...
`cutil.from_dc_charpointer()` is guaranteed to return `str`, while
`cutil.from_optional_dc_charpointer()` may return `None` if C function
returns `NULL`.
2021-11-21 20:00:29 +03:00
link2xt
0601b05cb7
Use footer as a contact status
2021-02-11 13:57:49 +03:00
holger krekel
5a9a4dbbab
introduce Account.get_blocked_contacts
...
also introduce Contact.block() and Contact.unblock() methods
and deprecate the c-ish "Contact.set_blocked()" api.
fixes #2011
2020-10-20 11:56:02 +02:00
Hocuri
1325b2f7c6
Fix #1791 Receive group system messages from blocked users ( #1823 )
...
Fix #1791 and show all group messages if the user already is in the group, even if the sender is blocked
Also fix a comment
Co-authored-by: link2xt <ilabdsf@gmail.com >
2020-08-21 11:57:37 +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
3a85b671a1
remove acfactory.get_chat() in favour of account.create_chat(account2) directly working.
2020-06-09 14:39:00 +02:00
holger krekel
e55dc2213a
fix python lifecycles so that termination works
2020-05-23 10:17:56 +02:00
holger krekel
d8e14d9993
refine example and make Contact accept Account object
2020-04-13 17:39:31 +02:00
holger krekel
8ab3363097
add a test that runs until an avatar is send encrypted
2019-12-13 01:17:48 +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