Asiel Díaz Benítez
e5c255e011
Merge pull request #3492 from deltachat/adb/qr-mailto-draft
...
Detect draft from QR with mailto data
2022-07-09 22:49:04 -04:00
adbenitez
8c70393c90
fix other tests
2022-07-09 16:35:00 -04:00
adbenitez
37cb16b95c
update documentation
2022-07-09 16:23:31 -04:00
adbenitez
50e1866572
update CHANGELOG.md
2022-07-09 15:51:10 -04:00
adbenitez
68a15725d2
fix tests
2022-07-09 15:45:06 -04:00
adbenitez
62a0ce29e9
decode draft
2022-07-09 15:19:39 -04:00
adbenitez
6b9aac5234
detect draft when scanning QR with mailto link as data
2022-07-09 05:42:39 -04:00
Asiel Díaz Benítez
e280ca9db8
Merge pull request #3416 from deltachat/adb/add-missing-message-api
...
add missing Message API
2022-06-10 22:35:41 -04:00
adbenitez
a96a4362cd
add missing Message API
2022-06-10 07:57:17 -04:00
Asiel Díaz Benítez
1fb6d1b59d
Merge pull request #3412 from deltachat/adb/allow-comparing-with-none
...
avoid exceptions when messages/contacts/chats are compared with None
2022-06-10 03:21:41 -04:00
adbenitez
f94d7d9ea5
add tests
2022-06-10 02:30:37 -04:00
Asiel Díaz Benítez
8eb04de748
Merge pull request #3411 from deltachat/adb/tweak-isort-config
...
move isort configuration to pyproject.toml
2022-06-09 05:08:54 -04:00
adbenitez
521d14a6e0
avoid exceptions when messages/contacts/chats are compared with None
2022-06-09 05:00:02 -04:00
adbenitez
e334b781fb
move isort configuration to pyproject.toml instead of passing it in command line usage in tox.ini, this allows isort usage with editors to pick the right configuration without manually tweaking it in the editors
2022-06-09 04:24:28 -04:00
Asiel Díaz Benítez
4f02c811a3
update python API ( #3394 )
2022-06-04 18:12:38 +02:00
Asiel Díaz Benítez
1d568076df
Merge pull request #3381 from deltachat/adb/apply-black-and-isort
...
apply isort and black formatters, add format checking to CI
2022-06-02 08:01:17 -04:00
adbenitez
17aab01eaa
apply black with new line-length == 120
2022-05-31 23:05:20 -04:00
adbenitez
d3e6cc5acb
set black.line-length to 120
2022-05-31 23:02:51 -04:00
adbenitez
723d1828ec
configure flake8 to be compatible with black
2022-05-31 05:29:35 -04:00
adbenitez
16e0f0e986
apply isort and black formatters, add format checking to CI
2022-05-29 21:11:49 -04:00
adbenitez
f1d09e4127
apply rustfmt
2022-04-09 19:15:48 -04:00
adbenitez
e29d008914
send setup-changed messages only in the chats we share with the peer, do not create contact request
2022-04-04 01:05:49 -04:00
adbenitez
e6d2b1052c
fix typo
2021-04-13 04:23:36 -04:00
adbenitez
19c1e6efc3
try to fix test
2021-04-13 04:11:15 -04:00
adbenitez
26d9addc5d
improve test, test has_html()
2021-04-13 04:11:15 -04:00
adbenitez
6601015a09
add test_html_message()
2021-04-13 04:11:15 -04:00
adbenitez
36653928f7
add html API
2021-04-13 04:11:15 -04:00
adbenitez
2e015e685f
add aditional check
2021-04-13 03:53:37 -04:00
adbenitez
d4a1858d41
try to fix test
2021-04-13 03:53:21 -04:00
adbenitez
d6a6ba01e4
fix test
2021-04-13 02:38:42 -04:00
adbenitez
27714f596e
add test_message_override_sender_name()
2021-04-13 02:14:53 -04:00
adbenitez
f6136f0ecc
fix Chat.prepare_message()
2021-04-12 14:59:15 -04:00
adbenitez
b2517d3060
make Message.id a property
2021-04-12 14:59:15 -04:00
adbenitez
dc6fb7d481
add "override_sender_name" API
2021-04-11 21:18:46 -04:00
adbenitez
d1237c9f8d
add Message.is_sticker()
2021-04-11 20:37:47 -04:00
adbenitez
b9beaee7d4
update Message.new_empty() to allow view_type="sticker" and also allow using
...
message type directly (ex. `const.DC_MSG_STICKER`) so if new message types are
added, they can be used direcly without needing the python API to be updated.
2021-04-11 20:37:47 -04:00
adbenitez
258856c23a
add sticker type
2021-04-11 20:37:47 -04:00
adbenitez
72ddd33adf
avoid for loop
2021-04-11 20:37:47 -04:00
adbenitez
1ce1a01d49
improve docstring
2020-10-23 21:10:12 +02:00
adbenitez
1cd3ee6a05
add failing test
2020-10-23 21:10:12 +02:00
adbenitez
1cacfb30ff
avoid usage of deprecated contact.set_blocked()
2020-10-23 08:25:46 +02:00
Asiel Díaz Benítez
a128e7e7ab
Update CHANGELOG.md
2020-05-14 03:22:45 -04:00
Asiel Díaz Benítez
531928bf0b
Update proxy.py
2020-02-17 14:43:43 +01:00
Asiel Díaz Benítez
490c8e055b
Create proxy.py
2020-02-17 14:43:43 +01:00
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
Asiel Díaz Benítez
118599b4cc
Update account.py
...
fix doc string
2019-08-20 17:10:39 +02:00
Asiel Díaz Benítez
8077fdeddb
Update examples.rst
...
just replaced `send_text_message` with `send_text`
2019-08-15 01:47:03 +02:00