iequidoo
ba4055b7df
test(rpc-client): Replace remaining print()s with logging ( #6082 )
...
This is to fix tests failing with `OSError: [Errno 9] Bad file descriptor`. Maybe stdout closes
earlier than stderr, before the test finishes, not sure. For reference, the previous commit removing
print()s is 800edc6fce .
2026-01-11 14:52:13 -03:00
B. Petersen
c06f53cb86
docs: fix chat types
...
- DC_CHAT_TYPE_BROADCAST does no longer exist
- DC_CHAT_TYPE_MAILINGLIST is no longer always read-only
- avoid double docs by moving everything to DC_CHAT_TYPE group
(here, things were also updated recently)
2026-01-11 01:48:55 +01:00
link2xt
13dafa46b5
fix: take transport_id into account when marking messages with \Seen flags
...
Otherwise wrong IMAP client corresponding to a different transport
may pick up the job to mark the message as seen there,
and fail to do it as the message does not exist.
It may also mark the wrong message with the correct folder
and UID, but wrong IMAP server.
2026-01-09 18:40:46 +00:00
iequidoo
d552250dc4
test: Port test_dont_move_sync_msgs to JSON-RPC ( #7676 )
2026-01-09 15:26:00 -03:00
Simon Laux
1383e790c3
feat: connectivity view: move quota up and combine with IMAP state. ( #7653 )
...
like described in
https://github.com/chatmail/core/pull/7630#discussion_r2641514867
## classical account (with legacy option mvbox)
|||
|---|---|
| <img width="891" height="635" alt="image"
src="https://github.com/user-attachments/assets/723f3dba-79dc-4b57-a14f-c5879c1a1d1d "
/>| <img width="890" height="578" alt="image"
src="https://github.com/user-attachments/assets/d45eaf35-d7b2-40d4-8c37-bbc77947c27d "
/>|
## multi transport
|||
|---|---|
|<img width="891" height="1236" alt="image"
src="https://github.com/user-attachments/assets/053cb088-7d9d-4591-b2bc-6b49399d33a0 "
/> |<img width="885" height="1230" alt="image"
src="https://github.com/user-attachments/assets/c455b4f1-f521-4ae8-8884-9042af62ca46 "
/>|
2026-01-09 17:20:59 +00:00
Simon Laux
b536902827
fix: do not show contact address in message info ( #7695 )
...
closes #7686
2026-01-09 17:04:22 +00:00
Simon Laux
2631745a57
feat: pre-messages / next version of download on demand ( #7371 )
...
Closes <https://github.com/chatmail/core/issues/7367 >
Co-authored-by: iequidoo <dgreshilov@gmail.com >
Co-authored-by: Hocuri <hocuri@gmx.de >
2026-01-08 22:14:32 +00:00
link2xt
46bbe5f077
chore(release): prepare for 2.37.0
v2.37.0
2026-01-08 20:45:33 +00:00
iequidoo
0f14edd5d9
feat: Don't download group messages unconditionally
...
There was a comment that group messages should always be downloaded to avoid inconsistent group
state, but this is solved by the group consistency algo nowadays in the sense that inconsistent
group state won't spread to other members if we send to the group.
2026-01-08 16:57:39 -03:00
Simon Laux
fe6e942191
api: cffi api to create account manager with existing events channel to see events emitted during startup. dc_event_channel_new, dc_event_channel_unref, dc_event_channel_get_event_emitter and dc_accounts_new_with_event_channel ( #7609 )
...
closes #7606
2026-01-08 18:08:00 +00:00
B. Petersen
67aac12995
docs: update instructions to UI where to display the address
2026-01-08 17:19:54 +01:00
B. Petersen
f2fb59f0cc
test that channel summary does not have sender name
2026-01-08 17:17:16 +01:00
B. Petersen
55ab1b86f7
feat: more text instead of sender in channel summary
...
the sender is usually always the same and is not needed already in the summary;
making more place for the message instead
2026-01-08 17:17:16 +01:00
Hocuri
ceba687df3
feat: Config option to skip seen synchronization ( #7694 )
...
At urgent request from @hpk42, this adds a config option `team_profile`.
This option is only settable via SQLite (not exposed in the UI), and the
only thing it does is disabling synchronization of seen status.
I tested manually on my Android phone that it works.
Not straigthforward to write an automatic test, because we want to test that something
does _not_ happen (i.e. that the seen status is _not_ synchronized), and
it's not clear how long to wait before we check.
Probably it's fine to just not add a test.
This is what I tried:
```python
@pytest.mark.parametrize("team_profile", [True, False])
def test_markseen_basic(team_profile, acfactory):
"""
Test that seen status is synchronized iff `team_profile` isn't set.
"""
alice, bob = acfactory.get_online_accounts(2)
# Bob sets up a second device.
bob2 = bob.clone()
bob2.start_io()
alice_chat_bob = alice.create_chat(bob)
bob.create_chat(alice)
bob2.create_chat(alice)
alice_chat_bob.send_text("Hello Bob!")
message = bob.wait_for_incoming_msg()
message2 = bob2.wait_for_incoming_msg()
assert message2.get_snapshot().state == MessageState.IN_FRESH
message.mark_seen()
# PROBLEM: We're not waiting 'long enough',
# so, the 'state == MessageState.IN_SEEN' assertion below fails
bob.create_chat(bob).send_text("Self-sent message")
self_sent = bob2.wait_for_msg(EventType.MSGS_CHANGED)
assert self_sent.get_snapshot().text == "Self-sent message"
if team_profile:
assert message2.get_snapshot().state == MessageState.IN_FRESH
else:
assert message2.get_snapshot().state == MessageState.IN_SEEN
```
2026-01-08 17:06:03 +01:00
link2xt
7e811469b3
api: add who_can_call_me config option
2026-01-07 22:00:54 +00:00
link2xt
cdacad235e
chore: update lru 0.12.3 to 0.12.5 and add RUSTSEC-2026-0002 exception
...
Closes https://github.com/chatmail/core/issues/7692
2026-01-07 20:18:32 +00:00
link2xt
c766397abc
test: regression test for vc-request encrypted by the server
2026-01-07 15:47:16 +00:00
link2xt
14a59afd5d
fix: do not rely on Secure-Join header to detect {vc,vg}-request
2026-01-07 15:47:16 +00:00
dependabot[bot]
9c883e6424
chore(cargo): bump rsa from 0.9.9 to 0.9.10
...
Bumps [rsa](https://github.com/RustCrypto/RSA ) from 0.9.9 to 0.9.10.
- [Changelog](https://github.com/RustCrypto/RSA/blob/v0.9.10/CHANGELOG.md )
- [Commits](https://github.com/RustCrypto/RSA/compare/v0.9.9...v0.9.10 )
---
updated-dependencies:
- dependency-name: rsa
dependency-version: 0.9.10
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-06 17:08:26 -03:00
Simon Laux
9d7db20225
refactor(ffi): replace implicit drop in cffi with explicit drop(Arc::from_raw(var)) ( #7664 )
...
for improved clarity and consistency with existing code.
2026-01-05 19:27:48 +00:00
Simon Laux
fdb583b5e9
api: jsonrpc api get_all_ui_config_keys to get all "ui.*" config keys ( #7579 )
...
Adds an api to get all ui config keys. There already is an option to get
all normal config keys (`"sys.config_keys"`), but before this pr there
was no way to get all `ui.*` config keys.
#### Why is this api needed?
For webxdc cleanup on desktop, which stores window position in a ui
config key (such as `ui.desktop.webxdcBounds.676464`) as soon as a
webxdc is opened since many versions now. So listing all ui keys is a
good way for us to find out which webxdc may have web data stored.
unfortunately electron does not (yet?) have a way to list all origins
that have web-data like android does, so this is the next best thing we
can do before itterating all possible ids, see also
https://github.com/deltachat/deltachat-desktop/issues/5758 .
#### Why is this only a jsonrpc api and not another special/virtual
config key like `"sys.config_keys"`?
r10s indicated that `ui.*`-config keys are barely used
(https://github.com/deltachat/deltachat-desktop/issues/5790#issuecomment-3598512802 ),
so I thought it makes more sense to add it as dedicated api which's
existentence is checked by the typechecker, so it will be easier to not
miss it when we should remove the api again in the future.
But we could also do a dedicated special/virtual config key for it, if
you think that is better, this is easy to change.
---------
Co-authored-by: iequidoo <117991069+iequidoo@users.noreply.github.com >
2026-01-03 21:14:00 +01:00
link2xt
8d6f4b0354
chore(release): prepare for 2.36.0
v2.36.0
2026-01-03 18:39:16 +00:00
link2xt
284469363e
docs: remove references to sentbox_watch config
...
This config was already removed in 2.23.0.
2026-01-03 13:40:24 +00:00
dependabot[bot]
6078c79020
chore(cargo): bump criterion from 0.7.0 to 0.8.1
...
Bumps [criterion](https://github.com/criterion-rs/criterion.rs) from 0.7.0 to 0.8.1.
- [Release notes](https://github.com/criterion-rs/criterion.rs/releases)
- [Changelog](https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/criterion-rs/criterion.rs/compare/criterion-plot-v0.7.0...criterion-v0.8.1)
---
updated-dependencies:
- dependency-name: criterion
dependency-version: 0.8.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
2026-01-02 15:50:49 -03:00
dependabot[bot]
161e5ae358
chore(cargo): bump rustls-pki-types from 1.13.0 to 1.13.2
...
Bumps [rustls-pki-types](https://github.com/rustls/pki-types ) from 1.13.0 to 1.13.2.
- [Release notes](https://github.com/rustls/pki-types/releases )
- [Commits](https://github.com/rustls/pki-types/compare/v/1.13.0...v/1.13.2 )
---
updated-dependencies:
- dependency-name: rustls-pki-types
dependency-version: 1.13.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-02 15:32:06 -03:00
dependabot[bot]
a66859ebf2
chore(cargo): bump log from 0.4.28 to 0.4.29
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.28 to 0.4.29.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.28...0.4.29 )
---
updated-dependencies:
- dependency-name: log
dependency-version: 0.4.29
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-02 15:29:04 -03:00
dependabot[bot]
de902babc3
chore(cargo): bump hyper-util from 0.1.18 to 0.1.19
...
Bumps [hyper-util](https://github.com/hyperium/hyper-util ) from 0.1.18 to 0.1.19.
- [Release notes](https://github.com/hyperium/hyper-util/releases )
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.18...v0.1.19 )
---
updated-dependencies:
- dependency-name: hyper-util
dependency-version: 0.1.19
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-02 14:48:44 -03:00
dependabot[bot]
98a8679779
chore(cargo): bump tracing from 0.1.41 to 0.1.44
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.41 to 0.1.44.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.41...tracing-0.1.44 )
---
updated-dependencies:
- dependency-name: tracing
dependency-version: 0.1.44
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-02 14:46:33 -03:00
dependabot[bot]
8ce3ecc809
chore(cargo): bump libc from 0.2.177 to 0.2.178
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.177 to 0.2.178.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.178/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.177...0.2.178 )
---
updated-dependencies:
- dependency-name: libc
dependency-version: 0.2.178
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-02 14:39:44 -03:00
dependabot[bot]
50a1f907a5
chore(cargo): bump tempfile from 3.23.0 to 3.24.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.23.0 to 3.24.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.23.0...v3.24.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-version: 3.24.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-02 14:18:29 -03:00
dependabot[bot]
c2bf2a32b5
chore(cargo): bump toml from 0.9.8 to 0.9.10+spec-1.1.0
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.9.8 to 0.9.10+spec-1.1.0.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.9.8...toml-v0.9.10 )
---
updated-dependencies:
- dependency-name: toml
dependency-version: 0.9.10+spec-1.1.0
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-02 04:41:37 -03:00
dependabot[bot]
84710384fe
chore(cargo): bump uuid from 1.18.1 to 1.19.0
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.18.1 to 1.19.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.18.1...v1.19.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-version: 1.19.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-02 04:38:57 -03:00
dependabot[bot]
f60fce22ed
chore(cargo): bump serde_json from 1.0.145 to 1.0.147
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.145 to 1.0.147.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.145...v1.0.147 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-version: 1.0.147
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-02 04:36:56 -03:00
link2xt
0d2f2b3266
refactor(ffi): remove one pointer indirection for dc_accounts_t
...
Arc can be converted directly to raw pointers,
so there is no need to create a pointer to Arc
using a Box.
2026-01-01 15:34:55 +00:00
Casper Zandbergen
516f0a1a98
fix: Don't send webxdc notification for notify: "*" when chat is muted ( #7658 )
...
- webxdc notify specifically to Bob: notifies Bob even when chat is
muted
- webxdc notify to everyone ("*"): notifies Bob if he does not have the
chat muted
This aligns with how we handle notifications with quote replies.
---------
Co-authored-by: link2xt <link2xt@testrun.org >
2025-12-30 23:14:35 +01:00
link2xt
25750de4e1
feat: send sync messages over SMTP and do not move them to mvbox
2025-12-26 10:58:33 +00:00
link2xt
a89ce8ce7a
docs: update documentation for TransportsModified event
...
It is a follow-up to https://github.com/chatmail/core/pull/7643
Event is not emitted when the transports are modified on this device
and we should consistently say that this event is not only for testing.
2025-12-25 11:16:36 +00:00
Simon Laux
9ac64ea6b9
feat: connectivity view: quota for all transports ( #7630 )
...
- **show quota of all relays**
- **remove `DC_STR_STORAGE_ON_DOMAIN` stock string**
- renames the quota section to "Relay Capacity" until we come up with a
better name in
https://github.com/chatmail/core/issues/7580#issuecomment-3633803432
closes #7591
<img width="300" alt="image"
src="https://github.com/user-attachments/assets/1909dccd-e6b3-42e6-963f-004b2b464db7 "
/> <img width="300" alt="image"
src="https://github.com/user-attachments/assets/1e97e67b-e0ed-492b-95a0-6ef12595abe4 "
/>
2025-12-24 12:19:58 +00:00
iequidoo
294e23d82d
docs: delete_chat(): Don't lie that messages aren't deleted from server
...
Messages are actually deleted from the server. I've checked this in Desktop.
2025-12-24 00:56:41 -03:00
link2xt
184736723f
fix: reset options not available for chatmail on chatmail profiles
2025-12-24 03:23:23 +00:00
dependabot[bot]
cea528ed61
chore(deps): bump cachix/install-nix-action from 31.8.4 to 31.9.0
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 31.8.4 to 31.9.0.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Changelog](https://github.com/cachix/install-nix-action/blob/master/RELEASE.md )
- [Commits](0b0e072294...4e002c8ec8 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-version: 31.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-23 21:09:35 +00:00
dependabot[bot]
9b11f53da6
chore(deps): bump astral-sh/setup-uv from 7.1.4 to 7.1.6
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 7.1.4 to 7.1.6.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](1e862dfacb...681c641aba )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: 7.1.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-23 21:09:01 +00:00
B. Petersen
5c339efb70
feat: add transports event to ffi
2025-12-23 12:04:32 +01:00
dependabot[bot]
d71c163c7d
chore(deps): bump actions/upload-artifact from 5 to 6
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-23 08:00:54 +00:00
dependabot[bot]
19fde9594f
chore(deps): bump actions/download-artifact from 6 to 7
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-23 08:00:33 +00:00
iequidoo
20b3a06adf
fix: inner_configure: Check Config::OnlyFetchMvbox before MvboxMove for multi-transport ( #7637 )
...
`Config::OnlyFetchMvbox` should be checked before `MvboxMove` because the latter makes no sense in
presense of `OnlyFetchMvbox` and even grayed out in the UIs in this case. Otherwise users will see
an error mentioning the wrong setting.
2025-12-23 01:22:11 -03:00
B. Petersen
b0127fa381
fix: update fallback welcome message
...
this sets the welcome message to the one used by the current translations;
the fallback is used if that is not done for whatever reason.
2025-12-21 14:38:31 +01:00
iequidoo
6a293aebe2
test: Port test_import_export_online_all to JSON-RPC ( #7411 )
2025-12-19 01:17:59 -03:00
link2xt
fd90493766
feat: add core version to receive_imf failure message
2025-12-18 14:44:49 +00:00
link2xt
b1883c802b
refactor: turn DC_VERSION_STR into &str
2025-12-18 14:44:49 +00:00