Floris Bruynooghe
feb21b8731
Start refactoring peer channels to stop iroh when not needed
2025-07-16 14:42:54 +02:00
link2xt
a8a7cec376
refactor: use CancellationToken instead of a 1-message channel
2025-06-11 14:28:24 +00:00
d2weber
7f6beeeecb
feat: put "biography" in the vCard ( #6819 )
...
Co-authored-by: iequidoo <117991069+iequidoo@users.noreply.github.com >
2025-06-11 10:08:18 -03:00
link2xt
15092407ea
build: enable async-native-tls/vendored feature
...
OpenSSL is vendored, but because of rusqlite feature
transitively enabling vendoring feature.
This change makes vendoring explicit
even if we disable SQLCipher in the future.
2025-06-09 22:17:52 +00:00
dependabot[bot]
bd70d48cdf
chore(cargo): bump criterion from 0.5.1 to 0.6.0
...
Bumps [criterion](https://github.com/bheisler/criterion.rs ) from 0.5.1 to 0.6.0.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.5.1...0.6.0 )
---
updated-dependencies:
- dependency-name: criterion
dependency-version: 0.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Co-authored-by: iequidoo <dgreshilov@gmail.com >
2025-06-07 06:04:05 -03:00
iequidoo
ce04e904e2
fix: Sort multiple saved messages by timestamp ( #6862 )
2025-06-06 03:59:36 -03:00
link2xt
026ddbf9f1
build: upgrade parking_lot to 0.12.4
2025-06-05 20:15:37 +00:00
link2xt
628b178076
build: update cargo-bolero from 0.8.0 to 0.13.3
...
New `fuzz` profile is added
because cargo-bolero now requires it and uses
by default, while `--release` option is removed.
Instructions for running AFL are removed from the README
because it requires some system reconfiguration
and I did not test it this time.
2025-06-05 16:15:01 +00:00
WofWca
823a16e8e9
fix: fetch_url: return err on non 2xx reponses
...
The main reason for this change is the app picker
that Delta Chat clients use, which utilizes
the `fetch_url` function.
Sometimes we get an error from the server,
but we have no way to figure out that it's an error,
other than inspecting the body, which we don't (and shouldn't) do.
This results in us attempting to send webxdc apps
that are not even valid .zip files.
Another, arguably even worse thing is that
we also put the error responses to the cache,
so it's not easy to recover from such an error.
So, let's just return an error if the response code
is not a successful response code.
2025-06-04 23:28:17 +00:00
link2xt
407ec1311e
docs: add more code style guide references
2025-06-04 19:03:51 +00:00
link2xt
b9667aae6b
feat: better error for quoting a message from another chat
2025-06-04 18:28:35 +00:00
dependabot[bot]
806b437209
chore(cargo): bump tempfile from 3.19.1 to 3.20.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.19.1 to 3.20.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.19.1...v3.20.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-version: 3.20.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 16:57:04 +00:00
dependabot[bot]
1a5232f863
chore(cargo): bump rustls-pki-types from 1.11.0 to 1.12.0
...
Bumps [rustls-pki-types](https://github.com/rustls/pki-types ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/rustls/pki-types/releases )
- [Commits](https://github.com/rustls/pki-types/compare/v/1.11.0...v/1.12.0 )
---
updated-dependencies:
- dependency-name: rustls-pki-types
dependency-version: 1.12.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 16:56:30 +00:00
dependabot[bot]
7ad119f126
chore(cargo): bump mail-builder from 0.4.2 to 0.4.3
...
Bumps [mail-builder](https://github.com/stalwartlabs/mail-builder ) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/stalwartlabs/mail-builder/releases )
- [Changelog](https://github.com/stalwartlabs/mail-builder/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stalwartlabs/mail-builder/commits )
---
updated-dependencies:
- dependency-name: mail-builder
dependency-version: 0.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 16:56:08 +00:00
dependabot[bot]
1682f4b252
chore(cargo): bump hyper-util from 0.1.11 to 0.1.13
...
Bumps [hyper-util](https://github.com/hyperium/hyper-util ) from 0.1.11 to 0.1.13.
- [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.11...v0.1.13 )
---
updated-dependencies:
- dependency-name: hyper-util
dependency-version: 0.1.13
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 00:46:22 +00:00
dependabot[bot]
6a320d545b
chore(cargo): bump uuid from 1.16.0 to 1.17.0
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.16.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-version: 1.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 00:45:22 +00:00
dependabot[bot]
e7aebd6fbc
chore(cargo): bump rustyline from 15.0.0 to 16.0.0
...
Bumps [rustyline](https://github.com/kkawakam/rustyline ) from 15.0.0 to 16.0.0.
- [Release notes](https://github.com/kkawakam/rustyline/releases )
- [Changelog](https://github.com/kkawakam/rustyline/blob/master/History.md )
- [Commits](https://github.com/kkawakam/rustyline/compare/v15.0.0...v16.0.0 )
---
updated-dependencies:
- dependency-name: rustyline
dependency-version: 16.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 00:44:42 +00:00
dependabot[bot]
8189abd660
chore(cargo): bump num_cpus from 1.16.0 to 1.17.0
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.16.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: num_cpus
dependency-version: 1.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 00:44:23 +00:00
dependabot[bot]
5ded153ae4
chore(cargo): bump tokio from 1.44.2 to 1.45.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.44.2 to 1.45.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.2...tokio-1.45.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.45.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 00:43:58 +00:00
dependabot[bot]
2fd5507c00
chore(cargo): bump brotli from 8.0.0 to 8.0.1
...
Bumps [brotli](https://github.com/dropbox/rust-brotli ) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/dropbox/rust-brotli/releases )
- [Commits](https://github.com/dropbox/rust-brotli/commits )
---
updated-dependencies:
- dependency-name: brotli
dependency-version: 8.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 00:43:48 +00:00
link2xt
becb83faf1
fix: create group chats unprotected on verification error
2025-05-31 12:54:44 +00:00
link2xt
32263b4574
fix: ignore verification error if the chat is not protected yet
...
If we receive a message from non-verified contact
in a non-protected chat with a Chat-Verified header,
there is no need to upgrade the chat
to verified and display an error.
If it was an attack, an attacker could
just not send the Chat-Verified header.
Most of the time, however, it is just
message reordering.
2025-05-31 12:54:44 +00:00
link2xt
fd3e48dcb2
chore: run npm run prettier:fix
2025-05-29 15:13:42 +00:00
link2xt
69573cd735
chore: update deltachat-jsonrpc JS dependencies
2025-05-29 15:13:42 +00:00
Friedel Ziegelmayer
5c2af42cdd
build: update to rPGP 0.16.0 ( #6719 )
...
Co-authored-by: Heiko Schaefer <heiko@schaefer.name >
Co-authored-by: link2xt <link2xt@testrun.org >
2025-05-29 13:06:18 +00:00
link2xt
42975b2ff3
chore: expect clippy::large_enum_variant
2025-05-29 11:58:11 +00:00
link2xt
c7063c00f7
ci: use installed toolchain to lint Rust
2025-05-29 11:58:11 +00:00
link2xt
89df9536e9
fix: reduce the scope of the last_full_folder_scan lock in scan_folders
...
This makes it easier to ensure that holding this lock
does not result in deadlocks.
2025-05-28 15:46:01 +00:00
Sebastian Klähn
0e45c2246f
fix: remove faulty test ( #6880 )
...
The test was still WIP but got merged together with the fix. I suggest
to keep the fix in main and add the test in a follow-up RP. The test
should suffice becaues I tested it manually.
2025-05-28 17:43:05 +02:00
Sebastian Klähn
81a6afde15
Fix(jsonrpc): Do not error on missign webxdc info ( #6866 )
...
When an invalid webxdc is set as draft, json-rpc's `get_draft` fails,
because `get_webxdc_info` which it calls, fails because the zip reader
can not read a non-zip file. With this change, any error occurring in
`get_webxdc_info` is ignored and the None-variant is returned instead. I
also added a test, that setting invalid xdcs is draft is fine core-wise
and checked that the input field stays responsive when a fake.xdc
produced like in #6826 is added to draft
close #6826
2025-05-28 16:29:54 +02:00
link2xt
adcc8a919c
build: update Doxygen config and layout file
2025-05-26 18:19:26 +00:00
bjoern
a24e6d4278
feat: sort apps by recently-updated ( #6875 )
...
closes #6873 , see there for reasoning.
tested that on iOS already, works like a charm - and was much easier
than expected as @iequidoo already updated `timestamp_rcvd` on status
updates in https://github.com/chatmail/core/pull/5388
~~a test is missing, ordering is not tested at all, will check if that
is doable reasonably easy~~ EDIT: added a test
2025-05-26 18:33:48 +02:00
dependabot[bot]
776b2247dd
chore(deps): bump astral-sh/setup-uv from 5 to 6
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 5 to 6.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-26 16:31:29 +00:00
link2xt
37dc1f5ca0
api!: deprecate DC_GCL_VERIFIED_ONLY
2025-05-20 16:14:43 +00:00
link2xt
a68ddab703
chore: apply beta clippy fixes
2025-05-20 14:09:07 +00:00
link2xt
877f873910
feat: add more IMAP logging
...
E.g. log when the folder is selected.
2025-05-19 08:25:05 +00:00
link2xt
53fa0147ae
docs: update Imap.prepare() documentation
2025-05-19 08:25:05 +00:00
link2xt
7655c5b150
docs: update Imap.connect() documentation
2025-05-19 08:25:05 +00:00
link2xt
235b625f71
refactor: remove explicit lock drop at the end of scope
2025-05-19 08:25:05 +00:00
dependabot[bot]
014b0024a0
chore(deps): bump dependabot/fetch-metadata from 2.3.0 to 2.4.0
...
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases )
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
dependency-version: 2.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-17 17:49:27 +00:00
dependabot[bot]
b0508e661a
Merge pull request #6827 from chatmail/dependabot/cargo/shadowsocks-1.23.1
2025-05-16 04:30:39 +00:00
link2xt
ab3cd6a8f7
chore(deny.toml): add exception for deplicate spin 0.9.8 dependency
2025-05-16 04:14:27 +00:00
dependabot[bot]
85461204c5
chore(cargo): bump shadowsocks from 1.22.0 to 1.23.1
...
Bumps [shadowsocks](https://github.com/shadowsocks/shadowsocks-rust ) from 1.22.0 to 1.23.1.
- [Release notes](https://github.com/shadowsocks/shadowsocks-rust/releases )
- [Commits](https://github.com/shadowsocks/shadowsocks-rust/compare/v1.22.0...v1.23.1 )
---
updated-dependencies:
- dependency-name: shadowsocks
dependency-version: 1.23.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-16 03:07:34 +00:00
link2xt
3abf2b5227
build: increase MSRV to 1.85.0
2025-05-16 03:03:58 +00:00
link2xt
0d5d7032fe
build: nix flake update nixpkgs
2025-05-16 03:03:58 +00:00
link2xt
c48b04ab99
ci(nix): test build on macOS without cross-compilation
2025-05-16 03:03:58 +00:00
link2xt
eaa30dbe21
build: nix flake update fenix
2025-05-16 03:03:58 +00:00
link2xt
bb0f812f71
ci: update Rust to 1.87.0
2025-05-16 03:03:58 +00:00
link2xt
4c287075da
fix: do not allow chat creation if decryption failed
2025-05-15 18:02:19 +00:00
link2xt
09d18f9097
test: fixup for test_restore_backup_after_60_days
2025-05-15 18:02:19 +00:00