B. Petersen
1cc03ca264
update 'takes longer' fallback wording
2025-04-02 17:13:31 +02:00
link2xt
5cf8864066
test: use encryption in all JSON-RPC online tests
2025-04-02 14:34:34 +00:00
bjoern
c16c6f3ad6
update spec wrt edit/delete, minor rewordings ( #6708 )
...
this PR adds description of the `Chat-Edit` and `Chat-Delete` headers to
our spec.
corresponding PR introducing the new headers were
https://github.com/chatmail/core/pull/6550 and
https://github.com/chatmail/core/pull/6576
moreover, the PR does tiny changes wrt wording
closes #6707
2025-04-02 16:31:28 +02:00
dependabot[bot]
b0fa413aa9
chore(cargo): bump once_cell from 1.20.3 to 1.21.3
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.20.3 to 1.21.3.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.3...v1.21.3 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-version: 1.21.3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-02 14:14:19 +00:00
dependabot[bot]
9c974b40ac
chore(cargo): bump bytes from 1.10.0 to 1.10.1
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.10.0...v1.10.1 )
---
updated-dependencies:
- dependency-name: bytes
dependency-version: 1.10.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-02 02:04:51 +00:00
dependabot[bot]
5b47c4947f
chore(cargo): bump anyhow from 1.0.96 to 1.0.97
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.96...1.0.97 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-version: 1.0.97
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-02 01:51:05 +00:00
dependabot[bot]
c62bab3fe5
chore(cargo): bump libc from 0.2.170 to 0.2.171
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.170 to 0.2.171.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.171/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.170...0.2.171 )
---
updated-dependencies:
- dependency-name: libc
dependency-version: 0.2.171
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-02 01:50:50 +00:00
dependabot[bot]
7776060d68
chore(cargo): bump uuid from 1.15.1 to 1.16.0
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.15.1 to 1.16.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.15.1...v1.16.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-version: 1.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-02 01:50:27 +00:00
link2xt
3aea6884ac
chore(cargo): update textwrap from 0.16.1 to 0.16.2
...
This removes duplicate unicode-width dependency.
2025-04-02 01:49:07 +00:00
Sebastian Klähn
1ba0dd503c
Add python and tox to flake.nix devshell ( #6233 )
...
Without tox any python `scripts/make-python-env.sh` does not run. Maybe
at some point we can even generate the environment for testing with
`venvHook` like functionality. We could also add `python3` instead of
fixing it to 3.11, but I don't know which version core expects
2025-04-01 22:53:18 +00:00
iequidoo
a1837aeb8c
feat: Clear Param::IsEdited when forwarding a message
2025-04-01 15:07:51 -03:00
bjoern
ee079ce021
feat: no unencrypted chat when securejoin times out ( #6722 )
...
this PR leaves one-to-one chats that were created by a QR code scan
unwritable until e2ee is established.
the logic of the timeout is reused to show a message with additional
information:
<img width=250
src=https://github.com/user-attachments/assets/b9928e7b-8128-4d7a-934d-37d51c8275ce >
<img width=250
src=https://github.com/user-attachments/assets/4a3a28e9-4491-47f9-8962-86aa2302dd21 >
<img width=250
src=https://github.com/user-attachments/assets/5130a87c-ba1c-496f-81e1-899dc8aabe4e >
if the secure-join finishes faster than the 15 seconds, the middle
message is not shown.
closes #6706
2025-04-01 16:53:37 +02:00
link2xt
70563867a6
fix(jsonrpc): fix deadlock in get_all_accounts()
...
`self.accounts.read().await.get_all()` acquires a read lock
and does not release it until the end of `for` loop.
After that, a writer may get into the queue,
e.g. because of the concurrent `add_account` call.
In this case `let context_option = self.accounts.read().await.get_account(id);`
tries to acquire another read lock and deadlocks
because tokio RwLock is write-preferring and will not
give another read lock while there is a writer in the queue.
At the same time, writer never gets a write lock
because the first read lock is not released.
The fix is to get a single read lock
for the whole `get_all_accounts()` call.
This is described in <https://docs.rs/tokio/1.44.1/tokio/sync/struct.RwLock.html#method.read >:
"Note that under the priority policy of RwLock, read locks are not
granted until prior write locks, to prevent starvation. Therefore
deadlock may occur if a read lock is held by the current task, a write
lock attempt is made, and then a subsequent read lock attempt is made by
the current task."
2025-04-01 12:31:18 +00:00
link2xt
f72d27f7de
test: split public keys from secret keys in runtime
2025-04-01 01:09:55 +00:00
link2xt
ddc2f55a6f
test: encrypt 15 more Rust tests
...
- chat::chat_tests::test_forward_group
- chat::chat_tests::test_resend_foreign_message_fails
- chat::chat_tests::test_resend_info_message_fails
- ephemeral::ephemeral_tests::test_ephemeral_timer_non_member
- receive_imf::receive_imf_tests::test_delayed_removal_is_ignored
- receive_imf::receive_imf_tests::test_dont_readd_with_normal_msg
- receive_imf::receive_imf_tests::test_dont_recreate_contacts_on_add_remove
- receive_imf::receive_imf_tests::test_member_left_does_not_create_chat
- receive_imf::receive_imf_tests::test_outgoing_private_reply_multidevice
- receive_imf::receive_imf_tests::test_recreate_member_list_on_missing_add_of_self
- receive_imf::receive_imf_tests::test_references
- receive_imf::receive_imf_tests::test_send_as_bot
- receive_imf::receive_imf_tests::test_unsigned_chat_group_hdr
- securejoin::securejoin_tests::test_unknown_sender
- webxdc::webxdc_tests::test_webxdc_reject_updates_from_non_groupmembers
2025-04-01 01:09:55 +00:00
link2xt
8f3fc10625
test: add APIs to create dom@example.net and elena@example.net
2025-04-01 01:09:55 +00:00
bjoern
97b0d09ed2
feat: get contact-id for info messages ( #6714 )
...
instead of showing addresses in info message, provide an API to get the
contact-id.
UI can then make the info message tappable and open the contact profile
in scope
the corresponding iOS PR - incl. **screencast** - is at
https://github.com/deltachat/deltachat-ios/pull/2652 ; jsonrpc can come
in a subsequent PR when things are settled on android/ios
the number of parameters in `add_info_msg_with_cmd` gets bigger and
bigger, however, i did not want to refactor this in this PR. it is also
not really adding complexity
closes #6702
---------
Co-authored-by: link2xt <link2xt@testrun.org >
Co-authored-by: Hocuri <hocuri@gmx.de >
2025-03-31 18:56:57 +02:00
bjoern
e2f9c80cd5
feat: add name resp. "Me" to contact encryption info ( #6720 )
...
otherwise, by tuning down the email addresses,
one does not really has and idea who is SELF.
maybe the dialog is the only way at the end to get the transport
adresses of contacts,
this is unclear atm, this PR fixes the issue at hand
2025-03-31 15:11:31 +02:00
link2xt
394cba3c78
test: use encryption in more Rust tests
2025-03-31 00:24:15 +00:00
link2xt
f472c05120
chore: update yerpc to 0.6.3
2025-03-30 00:02:38 +00:00
link2xt
3efd94914c
chore(release): prepare for 1.158.0
v1.158.0
2025-03-29 16:40:10 +00:00
link2xt
99a6756d28
test: online test for renaming the group multiple times
2025-03-29 15:22:43 +00:00
link2xt
3310315865
test: set chat name multiple times in a row
2025-03-29 15:22:43 +00:00
link2xt
a7729e3548
fix: move group name timestamp update up in create_send_msg_jobs()
...
Otherwise outdated timestamp is rendered into the message.
2025-03-29 15:22:43 +00:00
link2xt
dc2e4df286
test: use vCards to create contacts in more Rust tests
2025-03-29 15:22:43 +00:00
link2xt
386b91a9a7
feat: stop saving txt_raw
...
It is redundant now that we have HTML view for long messages
and is not updated when the message is edited.
2025-03-29 15:10:57 +00:00
Hocuri
d4847206cf
refactor: Move proxy_config out of ConfiguredLoginParam ( #6712 )
...
We want to store ConfiguredLoginParam in the database as Json per-login,
but proxy_config should be global for all logins.
2025-03-29 14:04:40 +01:00
link2xt
7624a50cb1
fix: do not fail to send the message if some keys are missing
2025-03-29 00:02:48 +00:00
link2xt
568c044a90
feat: simplify e2ee decision logic
...
Removed remaining majority vote code.
2025-03-28 15:12:32 +00:00
Hocuri
a8f8d34c25
feat: understandable error message when accounts.lock can't be locked ( #6695 )
...
Targets https://github.com/chatmail/core/issues/6636
Right now the error message is:
> Error: Delta Chat is already running. To use Delta Chat, you must
first close the existing Delta Chat process, or restart your device.
>
> (accounts.lock lock file is already locked)
other suggestions welcome!
2025-03-27 12:33:29 +00:00
l
a308766e47
docs: make the logo rusty
2025-03-25 17:31:49 +00:00
Hocuri
0df86b6308
fix: fixes for transport JsonRPC ( #6680 )
...
Follow-up to #6582
---------
Co-authored-by: adbenitez <asieldbenitez@gmail.com >
2025-03-25 17:47:27 +01:00
link2xt
e951a697ec
test: use TestContextManager in more tests
2025-03-25 16:44:42 +00:00
link2xt
1ebaa2a718
feat(securejoin): do not create 1:1 chat on Alice's side until vc-request-with-auth
...
vc-request is an unencrypted message
that Bob sends when he does not have Alice's key.
It also does not contain
Bob's avatar and name,
so the contact has only the email address
at this point and it is too early
to show it.
2025-03-24 14:21:56 +00:00
link2xt
6cb6daaab2
fix: synchronize contact name changes
2025-03-23 22:34:57 +00:00
link2xt
d25fb4770c
test: use vCards more in Python tests
2025-03-23 15:45:42 +00:00
link2xt
e4e738ec5f
api(deltachat-rpc-client): accept Account as Account.create_contact() argument
2025-03-23 15:45:42 +00:00
link2xt
8a5a67d6f2
refactor: move mark_recipients_as_verified() call out of has_verified_encryption()
2025-03-21 14:11:05 +00:00
Hocuri
ee68b9c7ba
refactor: Use chat_id.get_timestamp() instead of duplicating its code ( #6691 )
2025-03-21 15:06:30 +01:00
Hocuri
a51b2fa751
refactor: Use created_timestamp() instead of duplicating its code ( #6692 )
2025-03-21 15:06:06 +01:00
link2xt
4c4646e72c
test: use add_or_lookup_email_contact in test_setup_contact_ex
2025-03-21 13:01:13 +00:00
link2xt
2ca866b644
test: use add_or_lookup_email_contact() in get_chat()
...
This avoids importing the key via vCard
as a side effect of looking for a chat.
2025-03-21 13:01:13 +00:00
link2xt
ed7dfd6b65
test: remove test_group_with_removed_message_id
...
The test is mostly testing that groups can be matched
even if Message-ID is replaced.
Delta Chat no longer places group ID into Message-ID
or References, so the test is not
testing anything other than the ability
to match groups based on References header.
2025-03-21 13:01:13 +00:00
link2xt
de79cd1583
test: use vCard in TestContext.add_or_lookup_contact()
2025-03-21 13:01:13 +00:00
holger krekel
0e84cfd8ad
docs: reference chatmail in the README
2025-03-21 10:42:15 +00:00
Hocuri
8a9e60afc3
feat: Nicer configuration error ( #6684 )
2025-03-20 18:56:12 +00:00
link2xt
b5fa6553af
api: add ContactId.set_name()
...
This API allows to explicitly set
a name of the contact
instead of trying to create a new contact
with the same address.
Not all contacts are identified
by the email address
and we are going to introduce
contacts identified by their keys.
2025-03-20 14:38:58 +00:00
link2xt
5280448cd3
refactor: factor out update_chat_names()
2025-03-20 14:38:58 +00:00
link2xt
891e166996
build(deltachat-rpc-client): move development dependencies from tox.ini to pyproject.toml
2025-03-20 14:26:18 +00:00
link2xt
df24532503
chore: update resolve-conf from 0.7.0 to 0.7.1
2025-03-20 12:32:11 +00:00