iequidoo
ba35e83db2
feat: Add device message about outgoing undecryptable messages ( #5164 )
...
Currently when a user sets up another device by logging in, a new key is created. If a message is
sent from either device outside, it cannot be decrypted by the other device.
The message is replaced with square bracket error like this:
```
<string name="systemmsg_cannot_decrypt">This message cannot be decrypted.\n\n• It might already help to simply reply to this message and ask the sender to send the message again.\n\n• If you just re-installed Delta Chat then it is best if you re-setup Delta Chat now and choose "Add as second device" or import a backup.</string>
```
(taken from Android repo `res/values/strings.xml`)
If the message is outgoing, it does not help to "simply reply to this message". Instead, we should
add a translatable device message of a special type so UI can link to the FAQ entry about second
device. But let's limit such notifications to 1 per day. And as for the undecryptable message
itself, let it go to Trash if it can't be assigned to a chat by its references.
2024-02-11 23:22:52 -03:00
dependabot[bot]
61a2c551fc
chore(cargo): bump toml from 0.8.8 to 0.8.10
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.8 to 0.8.10.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.8...toml-v0.8.10 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-11 03:48:58 +00:00
dependabot[bot]
20c91ba2fa
chore(cargo): bump serde from 1.0.194 to 1.0.196
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.194 to 1.0.196.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.194...v1.0.196 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 21:39:05 +00:00
dependabot[bot]
969f8b916b
chore(cargo): bump syn from 2.0.46 to 2.0.48
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.46 to 2.0.48.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.46...2.0.48 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 21:38:55 +00:00
dependabot[bot]
b7b7a7e95d
chore(cargo): bump serde_json from 1.0.111 to 1.0.113
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.111 to 1.0.113.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.111...v1.0.113 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 18:50:12 +00:00
dependabot[bot]
455b108a6c
chore(cargo): bump fast-socks5 from 0.9.2 to 0.9.5
...
Bumps [fast-socks5](https://github.com/dizda/fast-socks5 ) from 0.9.2 to 0.9.5.
- [Release notes](https://github.com/dizda/fast-socks5/releases )
- [Commits](https://github.com/dizda/fast-socks5/commits )
---
updated-dependencies:
- dependency-name: fast-socks5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 18:50:01 +00:00
dependabot[bot]
645ca7741b
chore(cargo): bump uuid from 1.6.1 to 1.7.0
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.6.1...1.7.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 06:13:42 +00:00
dependabot[bot]
36643c551d
chore(cargo): bump axum from 0.7.3 to 0.7.4
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.7.3 to 0.7.4.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.7.3...axum-v0.7.4 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 04:36:49 +00:00
link2xt
0fcdee8857
refactor: resultify token::exists
2024-02-09 04:36:32 +00:00
dependabot[bot]
26ae686687
chore(cargo): bump reqwest from 0.11.23 to 0.11.24
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.23 to 0.11.24.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.23...v0.11.24 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 04:02:42 +00:00
iequidoo
b94bd9a659
fix: Emit ConfigSynced event on the second device
...
Before it was emitted only on the source device and `test_sync()` didn't catch the bug because of
the interference of the previous call to `set_config_bool()`. Now there's a separate test that does
its job well.
2024-02-09 00:41:01 -03:00
iequidoo
f15e7d43e3
fix: ImapSession::select_or_create_folder(): Don't fail if folder is created in parallel
2024-02-08 23:39:09 -03:00
iequidoo
05c256dd5b
fix: Imap::configure_mvbox: Do select_with_uidvalidity() before return
...
Before moving emails to the mvbox we need to remember its UIDVALIDITY, otherwise emails moved before
that wouldn't be fetched but considered "old" instead.
Also:
- Don't use `session.create()` to create mvbox as `select_with_uidvalidity()` already creates mvbox
on its own.
- Don't try to create compat folders like "INBOX.DeltaChat", but only look for them.
2024-02-08 23:39:09 -03:00
dependabot[bot]
37295f6967
chore(cargo): bump libc from 0.2.151 to 0.2.153
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.151 to 0.2.153.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.151...0.2.153 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 02:34:41 +00:00
dependabot[bot]
dfdbb91f0a
chore(cargo): bump regex from 1.10.2 to 1.10.3
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.10.2 to 1.10.3.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.10.2...1.10.3 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 02:32:50 +00:00
dependabot[bot]
72f93dca7a
chore(cargo): bump base64 from 0.21.5 to 0.21.7
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.21.5 to 0.21.7.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.5...v0.21.7 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 02:31:48 +00:00
dependabot[bot]
ec2cf31cfa
chore(cargo): bump smallvec from 1.11.2 to 1.13.1
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.11.2 to 1.13.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.11.2...v1.13.1 )
---
updated-dependencies:
- dependency-name: smallvec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 02:31:24 +00:00
iequidoo
ecd4d2afe0
test: delete_server_after="1" should cause immediate message deletion ( #5201 )
2024-02-08 12:18:11 -03:00
Hocuri
ec9d104cf3
Basic self-reporting, core part ( #5129 )
...
Part of https://github.com/deltachat/deltachat-android/issues/2909
For now, this is only sending a few basic metrics.
2024-02-07 20:23:11 +01:00
Hocuri
11214c7d1f
fix: Never allow a message timestamp to be a lot in the future ( #5249 )
...
We must finish what was started in
https://github.com/deltachat/deltachat-core-rust/issues/5088 .
2024-02-07 20:17:46 +01:00
iequidoo
fba27ff884
fix: Guarantee immediate message deletion if delete_server_after == 0 ( #5201 )
2024-02-07 11:43:11 -03:00
link2xt
f8907e3c83
feat: add wildcard pattern support to provider database
2024-02-06 21:02:28 +00:00
Hocuri
f1688d2b3f
fix: Mark the gossip keys from the message as verified, not the ones from the db ( #5247 )
2024-02-06 10:22:38 +01:00
iequidoo
693045b542
chore(cargo): bump iana-time-zone from yanked 0.1.59 to 0.1.60
2024-02-04 10:42:13 +01:00
dependabot[bot]
14dfb9abec
Merge pull request #5235 from deltachat/dependabot/cargo/image-0.24.8
2024-02-03 17:09:30 +00:00
dependabot[bot]
c8ed3ed73b
Merge pull request #5236 from deltachat/dependabot/cargo/chrono-0.4.33
2024-02-03 17:04:12 +00:00
dependabot[bot]
bce5203eeb
Merge pull request #5241 from deltachat/dependabot/cargo/futures-lite-2.2.0
2024-02-03 16:53:21 +00:00
dependabot[bot]
74c0c2cc38
Merge pull request #5243 from deltachat/dependabot/cargo/pin-project-1.1.4
2024-02-03 16:51:59 +00:00
iequidoo
4f25072352
fix: dehtml: Don't just truncate text when trying to decode ( #5223 )
...
If `escaper::decode_html_buf_sloppy()` just truncates the text (which happens when it fails to
html-decode it at some position), then it's probably not HTML at all and should be left as
is. That's what happens with hyperlinks f.e. and there was even a test on this wrong behaviour which
is fixed now. So, now hyperlinks are not truncated in messages and should work as expected.
2024-02-02 14:55:52 -03:00
B. Petersen
91c3a39134
update welcome image, thanks @paulaluap
2024-02-01 23:16:47 +01:00
dependabot[bot]
ae94b2a7b3
chore(cargo): bump pin-project from 1.1.3 to 1.1.4
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.3...v1.1.4 )
---
updated-dependencies:
- dependency-name: pin-project
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-01 21:27:59 +00:00
dependabot[bot]
3b013a1017
chore(cargo): bump futures-lite from 2.1.0 to 2.2.0
...
Bumps [futures-lite](https://github.com/smol-rs/futures-lite ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/smol-rs/futures-lite/releases )
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/futures-lite/compare/v2.1.0...v2.2.0 )
---
updated-dependencies:
- dependency-name: futures-lite
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-01 21:27:11 +00:00
dependabot[bot]
80aab220b6
chore(cargo): bump chrono from 0.4.31 to 0.4.33
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.31 to 0.4.33.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.31...v0.4.33 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-01 21:25:01 +00:00
dependabot[bot]
34c3e44b9d
chore(cargo): bump image from 0.24.7 to 0.24.8
...
Bumps [image](https://github.com/image-rs/image ) from 0.24.7 to 0.24.8.
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.24.7...v0.24.8 )
---
updated-dependencies:
- dependency-name: image
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-01 21:24:34 +00:00
B. Petersen
78d304443a
chore(release): prepare for 1.134.0
v1.134.0
2024-01-31 14:52:40 +00:00
link2xt
d6c24eb9f6
Make Accounts::background_fetch() not return Result
2024-01-31 14:04:03 +01:00
link2xt
f7fd1ef2bf
Emit DC_EVENT_ACCOUNTS_BACKGROUND_FETCH_DONE even on timeout
...
Otherwise if there is a timeout,
UI will wait for DC_EVENT_ACCOUNTS_BACKGROUND_FETCH_DONE forever.
2024-01-31 14:04:03 +01:00
link2xt
af7bf5bd2b
s/forgeting/forgetting/
2024-01-31 14:04:03 +01:00
link2xt
ea666f1098
Hide background_fetch_without_timeout from public API
2024-01-31 14:04:03 +01:00
Simon Laux
5bb80f94c7
Apply suggestions from code review
...
Co-authored-by: bjoern <r10s@b44t.com >
2024-01-31 14:04:03 +01:00
link2xt
2f29c56a36
fix: do not log error if watched folder is not configured
...
This may happen if Sent folder does not exist
but configuration option to watch it is enabled.
2024-01-31 14:04:03 +01:00
Simon Laux
de86b8a96e
rename event also in core
2024-01-31 14:04:03 +01:00
Simon Laux
060c9c8aa1
cargo fmt
2024-01-31 14:04:03 +01:00
Simon Laux
727428a965
rename event and mention event in method documentation
2024-01-31 14:04:03 +01:00
Simon Laux
df455bbcf5
BackgroundFetchCompletedForAllAccounts event
2024-01-31 14:04:03 +01:00
Simon Laux
946eea4c9e
add rate limit for quota check in background fetch (12h for now)
2024-01-31 14:04:03 +01:00
Simon Laux
5cbc87369e
rename cffi function
2024-01-31 14:04:03 +01:00
Simon Laux
5cdd5e0564
Apply suggestions from code review
...
Co-authored-by: link2xt <link2xt@testrun.org >
2024-01-31 14:04:03 +01:00
Simon Laux
f493d6bb40
don't hold write lock in cffi (this blocked events)
2024-01-31 14:04:03 +01:00
Simon Laux
8e073b9c3e
log time that the function took
2024-01-31 14:04:03 +01:00