link2xt
2939de013b
api(jsonrpc): return only chat IDs for similar chats
...
This is already the way `get_chatlist_entries` works.
`get_similar_chatlist_entries` is renamed into
`get_similar_chat_ids` because return values are not entries anymore.
2023-09-08 18:47:31 +00:00
link2xt
0562e23ee0
chore(cargo): bump webpki from 0.22.0 to 0.22.1
2023-09-08 07:00:18 +00:00
link2xt
a8551510cd
chore(release): prepare for 1.121.0
v1.121.0
2023-09-06 20:53:00 +00:00
link2xt
087f6edd0c
refactor: make set_msg_failed accept &mut Message instead of MsgId
2023-09-06 20:33:37 +00:00
link2xt
d6b7ee04a0
docs: document range argument of render_webxdc_status_update_object()
2023-09-06 20:33:37 +00:00
link2xt
d5c5ff8b3f
refactor: accept &mut Message in create_send_msg_job()
2023-09-06 20:33:37 +00:00
link2xt
dc4396a699
fix: update passed by reference Message in prepare_msg_raw()
2023-09-06 20:33:37 +00:00
link2xt
a74b00c3f9
refactor: move try_calc_and_set_dimensions() call to prepare_msg_blob()
2023-09-06 20:33:37 +00:00
link2xt
2fdb9f8b7e
fix: do not ignore errors in try_calc_and_set_dimensions
2023-09-06 20:33:37 +00:00
link2xt
80fac3f1b8
refactor: use let-else in resend_msgs()
2023-09-06 20:33:37 +00:00
link2xt
17a6c88cc7
api: add Message.set_file_from_bytes() API
2023-09-06 20:33:37 +00:00
link2xt
1ba69dbb9b
fix: reset MIME type if passed to set_file value is None
2023-09-06 20:33:37 +00:00
link2xt
ab1c7ebbe2
refactor: remove unnecessary local variable save_param
2023-09-06 20:33:37 +00:00
link2xt
ee715da078
fix: do not ignore chat loading errors in forward_msgs()
2023-09-06 20:33:37 +00:00
link2xt
27e177dc05
refactor: resultify set_msg_failed()
2023-09-06 20:33:37 +00:00
link2xt
7aac4bfc83
docs: document WebXDC-related SQL tables
2023-09-06 20:33:37 +00:00
link2xt
7b24f9b7a4
docs: comment that msgs_status_updates.update_item_read column is unused
2023-09-06 20:33:37 +00:00
link2xt
b36b902eeb
build: build node packages on Ubuntu 18.04
...
Debian 10 has glibc 2.28, so packages built with it
do not work on Ubuntu 18.04.
2023-09-06 17:23:04 +00:00
link2xt
30024abb6c
feat: add API to get similar chats
2023-09-05 16:47:19 +00:00
link2xt
1d9702e9e7
refactor: add ChatId::get_timestamp()
2023-09-05 16:47:19 +00:00
link2xt
ee2eae63d6
fix: do not allow dots at the end of email addresses
2023-09-05 13:14:37 +00:00
link2xt
cd477936b5
api: add dc_context_change_passphrase()
2023-09-05 12:41:31 +00:00
link2xt
dbe9d7e34e
refactor(provider): create provider database entries at compile time
...
According to cargo-llvm-lines it reduces the number of lines
in the crate by 0.7%.
2023-09-05 00:03:34 +00:00
link2xt
49f143e0d5
refactor: make get_abs_path non-generic
...
Generic functions compile into multiple implementations,
increasing number of lines for LLVM to process,
code size and compilation times.
2023-09-04 00:43:24 +00:00
link2xt
9d7bdf369d
refactor: use slices instead of vectors in provider database
2023-09-03 20:19:58 +00:00
adbenitez
a270db1d87
remove aiodns optional dependency from required dependencies
2023-09-03 00:32:08 +00:00
iequidoo
7c7cd9cc80
fix: Return from dc_get_chatlist(DC_GCL_FOR_FORWARDING) only chats where we can send ( #4616 )
...
I.e. exclude from the list the following chats as well:
- Read-only mailing lists.
- Chats we're not a member of.
But as for ProtectionBroken chats, we return them, as that may happen to a verified chat at any
time. It may be confusing if a chat that is normally in the list disappears suddenly. The UI need to
deal with that case anyway.
(cherry picked from commit 83ef25e7de )
2023-09-01 12:28:41 -03:00
iequidoo
47d465e6e4
fix: Save mime headers for messages not signed with a known key ( #4557 )
...
If a message is unsigned or signed with an unknown key, `MimeMessage::was_encrypted()` returns
false. So, it mustn't be checked when deciding whether to look into
`MimeMessage::decoded_data`. Looking through git history one can see that it's just a wrong check
left in the code for historical reasons.
2023-08-31 14:07:12 -03:00
link2xt
03d3e0578f
refactor(deltachat-rpc-client): drop support for keyword arguments
...
All Rust methods have positional arguments and it is not going to change.
2023-08-31 00:46:04 +00:00
iequidoo
440a442f30
fix: Allow membership changes by a MUA if we're not in the group ( #4624 )
...
Other MUAs don't set add/remove headers, so the only way for them to re-add us to the group is to
add us to To/CC/wherever. Previously it worked only for other members that are still in the group so
that they properly handled our re-addition, but we didn't.
2023-08-29 22:19:15 -03:00
link2xt
1da52d7d1d
refactor: use split_once() instead of regexp in heuristically_parse_ndn
...
Reduce dependency on the huge `regex` crate.
2023-08-29 18:41:07 +00:00
link2xt
4d74f625d3
chore(release): prepare for 1.120.0
v1.120.0
2023-08-28 11:54:38 +00:00
link2xt
0a94fbc735
fix: update async-imap to 0.9.1 to fix memory leak
2023-08-28 09:04:28 +00:00
link2xt
9ef34890fa
chore: fix beta clippy warnings
2023-08-28 04:09:52 +00:00
iequidoo
3e07f2c173
fix: prepare_msg_blob(): If cannot recode image, don't use it if it has Exif
...
We mustn't send images with Exif as it can leak metadata such as location, camera model, etc.
2023-08-27 23:16:19 -03:00
iequidoo
ee28298d7f
fix: W/a sending images sent as stickers on some platforms ( #4611 )
...
Check if a sticker has at least one fully transparent corner and otherwise change the Sticker type
to Image. This would fix both Android and iOS at the same time and prevent similar bug on future
platforms that may get this bug like Ubuntu Touch.
2023-08-27 23:16:19 -03:00
link2xt
62aed13880
refactor: hide pgp module from public API
2023-08-27 22:03:00 +00:00
link2xt
bffe934acc
refactor: hide accounts.rs constants from public API
2023-08-27 22:03:00 +00:00
link2xt
87ffcaf03e
build: update to Rust 1.72.0
2023-08-25 23:04:47 +00:00
link2xt
2635146328
build: update to Zig 0.11.0
2023-08-25 21:20:11 +00:00
link2xt
d727d85f6d
chore(python): fix ruff 0.0.286 warnings
2023-08-25 20:57:44 +00:00
link2xt
81a7af10c7
chore(python): fix lint errors
2023-08-25 01:14:24 +00:00
link2xt
4a6e94f8ab
build(deny): ignore RUSTSEC-2023-0052
2023-08-25 01:04:02 +00:00
link2xt
146fe50e20
build(cargo-deny): ignore RUSTSEC-2022-0093
...
It is an API issue that can only be fixed in rPGP and iroh upstream.
2023-08-25 01:03:56 +00:00
link2xt
9bf2850fb1
ci: run on push to stable branch
2023-08-25 00:58:14 +00:00
iequidoo
ba2c36548e
fix: Delete messages from SMTP queue only on user demand ( #4579 )
...
I.e. from delete_msgs(). Otherwise messages must not be deleted from there, e.g. if a message is
ephemeral, but a network outage lasts longer than the ephemeral message timer, the message still
must be sent upon a successful reconnection.
2023-08-24 23:24:24 +00:00
Simon Laux
d07c743cdc
api(jsonrpc): add resend_messages
2023-08-24 22:04:47 +00:00
link2xt
d70c1d48b5
chore(release) prepare for 1.119.1
v1.119.1
2023-08-06 16:49:06 +00:00
link2xt
a8e0cb9b5a
fix: update xattr from 1.0.0 to 1.0.1 to fix UnsupportedPlatformError import
...
See the folowing PRs on the `xattr` repository:
- https://github.com/Stebalien/xattr/pull/34
- https://github.com/Stebalien/xattr/pull/38
2023-08-06 16:45:58 +00:00
link2xt
6ea9a8988b
test(webxdc): ensure unknown WebXDC update properties do not result in an error
2023-08-06 16:27:29 +00:00