Nico de Haen
e0dfba87b6
feat: save messages API in JSON RPC ( #6554 )
...
relates to https://github.com/deltachat/deltachat-desktop/issues/4596
2025-02-18 16:41:04 +01:00
link2xt
0f449cc7eb
chore: update some dependencies
2025-02-18 11:19:53 +00:00
link2xt
48fcf66002
chore(release): prepare for 1.155.6
v1.155.6
2025-02-17 20:42:48 +00:00
link2xt
8eff4f40ff
fix: show padlock when the message is not sent over the network
2025-02-17 20:30:52 +00:00
link2xt
20d6f0f2ca
fix: do not allow non-members to change ephemeral timer settings
2025-02-17 13:44:18 +00:00
link2xt
546d13ef72
fix: use dedicated ID for sync messages affecting device chat
...
Otherwise `device@localhost` chat may appear on the other device.
2025-02-17 12:33:35 +00:00
link2xt
130bef8c4a
feat: use UUID v4 to generate Message-IDs
...
This hopefully does not trigger Apple spam filter
which seems to pass thorugh Message-IDs with hyphens.
It is not confirmed, but better blend in
by mimicking existing popular email
where possible.
2025-02-17 12:11:51 +00:00
link2xt
41c2a80bd7
feat: sort past members by the timestamp of removal
2025-02-17 09:33:31 +00:00
link2xt
4f71c77ae4
build: remove deprecated node module
2025-02-15 23:06:49 +00:00
link2xt
96704eb73d
ci: audit workflows with zizmor
2025-02-15 01:36:46 +00:00
WofWca
5c3d1e7dae
docs: improve docstrings ( #6496 )
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2025-02-14 23:11:11 +00:00
link2xt
4fb24d05dc
chore(release): prepare for 1.155.5
v1.155.5
2025-02-14 01:07:16 +00:00
Hocuri
9b6ef5e54f
fix: get_filename() is now guaranteed to return a valid filename ( #6537 )
...
With iOS and Desktop copying the file to a to a temp file with the name
of `get_filename()`, it should be sanitized first.
The PR can be reviewed commit-by-commit or all at once.
2025-02-13 11:26:23 +00:00
link2xt
81e9628ab7
refactor: do not cancel the task returned from async_imap Handle.wait_with_timeout
...
This task is not guaranteed to be cancellation-safe
and provides a stop token for safe cancellation instead.
We should always cancel the task properly
and not by racing against another future.
Otherwise following call to Handle.done()
may work on IMAP session that is in the middle
of response, for example.
2025-02-10 20:12:36 +00:00
link2xt
aaa02968d3
chore: add RUSTSEC-2025-0006 to deny.toml
2025-02-10 20:11:47 +00:00
link2xt
302aa5a5f7
chore(release): prepare for 1.155.4
v1.155.4
2025-02-10 19:19:03 +00:00
bjoern
8bddd455a7
fix: accept QR codes with 'broken' JSON ( #6528 )
...
this converts old QR codes to the new format, in an hacky, but simple
way, see #6518 for more details and for code snippet
then QR code change is esp. bad as ppl will have different versions for
some days at least, weakening overall UX, esp. of first-time-users that
may come to delta because of praised, seamless multidevice ... :)
i tested in https://github.com/deltachat/deltachat-ios/pull/2595 that
this actually fixes the problem, and there is no deeper issue with
changed chashes or so - seemed not to be the case, at least, with this
hack, core accepts QR codes from the released 1.52-and-before series
this hack gives user time to update, it can be removed after some months
(we can also remove the old BACKUP qr code alltogether then)
we should still not wait too long with the PR as there are already
versions out with the "new/bad" QR code (and growing, as new iOS
installations will get the new format, one cannot revert a version, only
pause rollout)
---------
Co-authored-by: link2xt <link2xt@testrun.org >
2025-02-10 15:30:23 +00:00
link2xt
a0ff0d71bc
fix: do not include CRLF before MIME boundary in the part body
...
This change adds a test and updates mailparse from 0.15.0 to 0.16.0.
mailparse 0.16.0 includes a fix for the bug
that resulted in CRLF being included at the end of the body.
Workaround for the bug in the `pk_validate` function is also removed.
2025-02-10 12:35:27 +00:00
link2xt
068726453e
ci: upgrade Rust from 1.84.0 to 1.84.1
2025-02-09 17:34:41 +00:00
link2xt
0973a46245
fix: make vCard parsing more robust in case of trailing newlines
...
Contacts should be added only if there is an END:VCARD
detected, not because we found the end of file.
2025-02-06 22:25:47 +00:00
link2xt
e22d980845
fix: use CRLF newlines in vCards
...
This is a requirement from
<https://datatracker.ietf.org/doc/html/rfc6350#section-3.2 >
2025-02-06 21:54:12 +00:00
Hocuri
0c0afead2c
refactor: Move even more tests into their own files ( #6521 )
...
As always, I moved the tests from the biggest files. I left out
`mimefactory.rs` because @link2xt has an active PR modifying the tests.
2025-02-06 22:37:25 +01:00
WofWca
3eae9cb30c
improvement: add MessageQuote.chat_id
...
For the "Reply Privately" feature.
Co-authored-by: Hocuri <hocuri@gmx.de >
2025-02-05 10:42:32 +00:00
link2xt
4ef6788ffd
chore(release): prepare for 1.155.3
v1.155.3
2025-02-05 05:56:25 +00:00
link2xt
4198ed1efb
fix: store device token in IMAP METADATA on each connection
...
APNS tokens never expire unless
the user uninstalls the application.
Because of this in most cases
the token remains valid forever
and chatmail server never removes the token
even if it is unencrypted
or the user has removed Delta Chat profile
from the device but not the whole application.
We want to modify chatmail servers
to remember the last time the token was stored
and remove them after some time.
Before we do this, we need to modify
the client to store the device token
each time so the server knows which tokens are used
and can update their timestamps.
2025-02-05 05:36:50 +00:00
link2xt
6f5620dad5
chore: update futures-concurrency
...
This removes two duplicate dependencies.
2025-02-05 03:21:13 +00:00
link2xt
1d55458781
chore: upgrade iroh from 0.31 to 0.32
2025-02-04 19:45:01 +00:00
link2xt
6297bb967a
chore: upgrade iroh from 0.30 to 0.31
2025-02-04 19:16:50 +00:00
link2xt
0040c17892
test: make sure DCBACKUP2 compatibility does not break again
...
QR code format changed because `NodeAddr` serialization
changed between iroh 0.29.0 and iroh 0.30.0.
We have already released iroh 0.30.0,
so the test at least makes change we don't break compatibility again.
2025-02-04 19:03:46 +00:00
link2xt
258b5cde70
chore: update pgp to 0.15
2025-02-04 17:55:58 +00:00
dependabot[bot]
a58103ae4a
Merge pull request #6502 from deltachat/dependabot/cargo/rustls-pki-types-1.11.0
2025-02-03 18:01:21 +00:00
dependabot[bot]
bf36a479db
Merge pull request #6498 from deltachat/dependabot/cargo/log-0.4.25
2025-02-03 18:01:06 +00:00
dependabot[bot]
9a2924ed88
Merge pull request #6513 from deltachat/dependabot/cargo/uuid-1.12.1
2025-02-03 17:58:36 +00:00
dependabot[bot]
4be4a3c72f
Merge pull request #6509 from deltachat/dependabot/cargo/serde_json-1.0.138
2025-02-03 17:58:16 +00:00
dependabot[bot]
7b6ba0e011
Merge pull request #6514 from deltachat/dependabot/cargo/data-encoding-2.7.0
2025-02-03 17:58:00 +00:00
dependabot[bot]
4e601c31b4
chore(cargo): bump data-encoding from 2.6.0 to 2.7.0
...
Bumps [data-encoding](https://github.com/ia0/data-encoding ) from 2.6.0 to 2.7.0.
- [Commits](https://github.com/ia0/data-encoding/commits )
---
updated-dependencies:
- dependency-name: data-encoding
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 16:46:49 +00:00
dependabot[bot]
fa0382da2d
chore(cargo): bump serde_json from 1.0.134 to 1.0.138
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.134 to 1.0.138.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.134...v1.0.138 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 16:44:22 +00:00
dependabot[bot]
64bd05aa44
chore(cargo): bump log from 0.4.22 to 0.4.25
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.22 to 0.4.25.
- [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.22...0.4.25 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 16:44:18 +00:00
dependabot[bot]
e651001a57
chore(cargo): bump rustls-pki-types from 1.10.1 to 1.11.0
...
Bumps [rustls-pki-types](https://github.com/rustls/pki-types ) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/rustls/pki-types/releases )
- [Commits](https://github.com/rustls/pki-types/compare/v/1.10.1...v/1.11.0 )
---
updated-dependencies:
- dependency-name: rustls-pki-types
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 16:44:06 +00:00
dependabot[bot]
8c251afeb1
Merge pull request #6506 from deltachat/dependabot/cargo/rustls-0.23.22
2025-02-03 16:15:14 +00:00
dependabot[bot]
8e7f1d83ec
chore(cargo): bump uuid from 1.11.0 to 1.12.1
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.11.0 to 1.12.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.11.0...1.12.1 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 16:05:23 +00:00
dependabot[bot]
15fc12e525
chore(cargo): bump rustls from 0.23.20 to 0.23.22
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.20 to 0.23.22.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.20...v/0.23.22 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 15:41:34 +00:00
dependabot[bot]
81930c1731
Merge pull request #6516 from deltachat/dependabot/cargo/syn-2.0.98
2025-02-03 15:38:18 +00:00
dependabot[bot]
ee39615dbd
chore(cargo): bump syn from 2.0.94 to 2.0.98
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.94 to 2.0.98.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.94...2.0.98 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 15:08:50 +00:00
dependabot[bot]
058ac3006c
Merge pull request #6500 from deltachat/dependabot/cargo/tokio-1.43.0
2025-02-03 15:06:15 +00:00
dependabot[bot]
f0c4414d34
chore(cargo): bump tokio from 1.42.0 to 1.43.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 13:58:35 +00:00
link2xt
4e5125b98d
chore: update OpenSSL to fix RUSTSEC-2025-0004
2025-02-03 13:53:34 +00:00
dependabot[bot]
8cb1ba5000
Merge pull request #6505 from deltachat/dependabot/cargo/futures-lite-2.6.0
2025-02-03 09:39:13 +00:00
dependabot[bot]
feac84c5fc
Merge pull request #6512 from deltachat/dependabot/cargo/webpki-roots-0.26.8
2025-02-03 09:38:52 +00:00
dependabot[bot]
d762972c95
Merge pull request #6508 from deltachat/dependabot/cargo/hyper-1.6.0
2025-02-03 09:38:34 +00:00