link2xt
cc51d51a78
chore(cargo): update iroh from 0.17 to 0.20
2024-07-09 22:11:30 +00:00
link2xt
7f1068e37e
chore(release): prepare for 1.141.2
v1.141.2
2024-07-09 17:12:59 +00:00
B. Petersen
81777fac47
feat: add is_muted config option
2024-07-09 17:04:14 +00:00
iequidoo
9a6147b643
fix: MimeFactory::verified: Return true for self-chat
...
For purposes of building a message it's better to consider the self-chat as verified. Particularly,
this removes unencrypted name from the "From" header.
2024-07-08 23:52:13 -03:00
link2xt
a2dacc333c
fix: distinguish between database errors and no gossip topic
2024-07-09 02:37:48 +00:00
link2xt
088008a030
chore(cargo): update rPGP from 0.11 to 0.13
2024-07-09 01:32:38 +00:00
link2xt
a198e9fce8
chore(cargo): update yerpc to 0.6.2
2024-07-06 16:08:35 +00:00
iequidoo
3f087e5fb1
fix: Use and prefer Date from signed message part ( #5716 )
2024-07-04 15:38:23 -03:00
dependabot[bot]
5beb4a5f27
chore(cargo): bump quick-xml from 0.31.0 to 0.35.0
...
Bumps [quick-xml](https://github.com/tafia/quick-xml ) from 0.31.0 to 0.35.0.
- [Release notes](https://github.com/tafia/quick-xml/releases )
- [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md )
- [Commits](https://github.com/tafia/quick-xml/compare/v0.31.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: quick-xml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Co-authored-by: iequidoo <dgreshilov@gmail.com >
2024-07-02 18:52:29 -03:00
dependabot[bot]
ba7eaca762
Merge pull request #5743 from deltachat/dependabot/cargo/backtrace-0.3.73
2024-07-02 03:08:39 +00:00
dependabot[bot]
d31f897f9e
chore(cargo): bump uuid from 1.8.0 to 1.9.1
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.8.0 to 1.9.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.8.0...1.9.1 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-02 02:58:07 +00:00
dependabot[bot]
e60598bafd
chore(cargo): bump backtrace from 0.3.72 to 0.3.73
...
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs ) from 0.3.72 to 0.3.73.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.72...0.3.73 )
---
updated-dependencies:
- dependency-name: backtrace
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-02 02:46:39 +00:00
dependabot[bot]
df29767fc7
Merge pull request #5733 from deltachat/dependabot/cargo/proptest-1.5.0
2024-07-02 02:09:17 +00:00
dependabot[bot]
e58a1a2aad
Merge pull request #5747 from deltachat/dependabot/cargo/regex-1.10.5
2024-07-02 01:44:39 +00:00
dependabot[bot]
74f98e2b79
Merge pull request #5735 from deltachat/dependabot/cargo/log-0.4.22
2024-07-02 01:44:14 +00:00
dependabot[bot]
c4cfde3c4c
chore(cargo): bump url from 2.5.0 to 2.5.2
...
Bumps [url](https://github.com/servo/rust-url ) from 2.5.0 to 2.5.2.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.5.0...v2.5.2 )
---
updated-dependencies:
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-02 00:48:26 +00:00
link2xt
5792d7b18d
fix(imap): reset new_mail if folder is ignored
...
This prevents skipping IDLE in infinite loop
if folder is not fetched.
This happens on the INBOX
when OnlyFetchMvbox setting is enabled.
2024-07-02 00:47:52 +00:00
iequidoo
5fa7cff468
feat: Disable sending sync messages for bots ( #5705 )
...
If currently there are no multi-device bots, let's disable sync messages for bots at all. Another
option is to auto-disable sync messages when `Config::Bot` is set, so sync messages can be reenabled
if needed. But let's leave this option for the future.
2024-07-01 21:30:02 -03:00
dependabot[bot]
a76a2715ad
Merge pull request #5738 from deltachat/dependabot/cargo/async-broadcast-0.7.1
2024-07-02 00:29:04 +00:00
dependabot[bot]
2d2a61f7df
chore(cargo): bump regex from 1.10.4 to 1.10.5
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.10.4 to 1.10.5.
- [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.4...1.10.5 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-02 00:26:15 +00:00
dependabot[bot]
9f963c0b61
Merge pull request #5740 from deltachat/dependabot/cargo/syn-2.0.68
2024-07-02 00:25:10 +00:00
dependabot[bot]
69595a6bb4
Merge pull request #5734 from deltachat/dependabot/cargo/serde_json-1.0.120
2024-07-02 00:20:54 +00:00
dependabot[bot]
bbac5a499a
Merge pull request #5732 from deltachat/dependabot/cargo/toml-0.8.14
2024-07-02 00:19:30 +00:00
dependabot[bot]
1b241b62f3
chore(cargo): bump syn from 2.0.66 to 2.0.68
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.66 to 2.0.68.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.66...2.0.68 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-01 21:57:22 +00:00
dependabot[bot]
1f36595d19
chore(cargo): bump async-broadcast from 0.7.0 to 0.7.1
...
Bumps [async-broadcast](https://github.com/smol-rs/async-broadcast ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/smol-rs/async-broadcast/releases )
- [Changelog](https://github.com/smol-rs/async-broadcast/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-broadcast/compare/0.7.0...v0.7.1 )
---
updated-dependencies:
- dependency-name: async-broadcast
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-01 21:56:32 +00:00
dependabot[bot]
e8c0f85016
chore(cargo): bump log from 0.4.21 to 0.4.22
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.21 to 0.4.22.
- [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.21...0.4.22 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-01 21:55:24 +00:00
dependabot[bot]
2dbddef5e9
chore(cargo): bump serde_json from 1.0.117 to 1.0.120
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.117 to 1.0.120.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.117...v1.0.120 )
---
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-07-01 21:55:07 +00:00
dependabot[bot]
4a34ae5cdc
chore(cargo): bump proptest from 1.4.0 to 1.5.0
...
Bumps [proptest](https://github.com/proptest-rs/proptest ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-01 21:54:49 +00:00
dependabot[bot]
b2ad958340
chore(cargo): bump toml from 0.8.13 to 0.8.14
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.13 to 0.8.14.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.13...toml-v0.8.14 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-01 21:54:31 +00:00
Hocuri
53217d5eb8
chore: Remove two TODOs that are not worth fixing ( #5726 )
...
About the first TODO: I tried this out, but it didn't actually improve
things, for two reasons:
1. The trick with `#![cfg_attr(not(test),
warn(clippy::indexing_slicing))]` that enables the lint everywhere
except for tests doesn't work with workspace-wide lints. (Context: We
want to lint against indexing because it might panic, but in a test
panicking is fine, so we don't want to enable the lint in tests).
2. Most of our crates have different sets of lints right now, so it
would only be very few crates that use the workspace-wide list of lints.
About the second TODO:
It's not feasible right now to fully parse vCards, and for our
good-enough parser the current behavior is fine, I think. If we fail to
parse some realworld vCards because of this, we can still improve it.
2024-07-01 18:28:06 +00:00
link2xt
7a5dca2645
fix: do not try to register non-iOS tokens for heartbeats
...
Notification server uses APNS server
for heartbeat notifications,
so registering FCM tokens there
will result in failing to notify them
and unregistering them anyway.
2024-07-01 18:09:15 +00:00
iequidoo
170cbb6635
refactor: Move quota_needs_update calculation to a separate function ( #5683 )
...
And add a unit test for this function. At least this way we protect from the recently fixed bug when
a wrong comparison operator was used.
2024-06-30 11:37:42 -03:00
Hocuri
ee2fffb52b
feat: Parse vcards exported by protonmail ( #5723 )
2024-06-29 09:45:51 +02:00
Hocuri
68b62392bf
Document vCards in the specification ( #5724 )
...
Also, move the `Miscellaneous` section to the end again and update the
table of contents with https://derlin.github.io/bitdowntoc/ .
2024-06-29 09:44:51 +02:00
iequidoo
222e1ce4a6
refactor: Protect from reusing migration versions ( #5719 )
...
It's possible that when rebasing a PR adding a migration a merge-conflict doesn't occur if another
migration was added in the target branch. Better to have at least runtime checks that the migration
version is correct. Looks like compile-time checks are not possible because Rust doesn't allow to
redefine constants, only vars.
2024-06-28 20:52:01 -03:00
Hocuri
ac198b17bf
fix: Correctly sanitize input everywhere ( #5697 )
...
Best reviewed commit-by-commit; the commit messages explain what is
done.
2024-06-28 14:36:09 +02:00
iequidoo
4ed9c04e9b
refactor: MimeFactory::is_e2ee_guaranteed(): always respect Param::ForcePlaintext
...
Even if a chat is protected, `Param::ForcePlaintext` in fact disables e2ee. Reflect this behaviour
in `MimeFactory::is_e2ee_guaranteed()`.
2024-06-27 15:41:55 -03:00
iequidoo
ce44312ac0
fix: Don't fail if going to send plaintext, but some peerstate is missing
...
F.e. this allows to reexecute Securejoin and fix the problem.
2024-06-27 15:41:55 -03:00
link2xt
71104e9312
chore(release): prepare for 1.141.1
v1.141.1
2024-06-27 15:11:19 +00:00
link2xt
ced5f51482
refactor: improve logging during SMTP/IMAP configuration
2024-06-27 15:11:19 +00:00
link2xt
c400491c07
fix(sql): assign migration adding msgs.deleted a new number
2024-06-27 15:11:19 +00:00
iequidoo
72a1406b86
fix: Update quota if it's stale, not fresh ( #5683 )
2024-06-26 13:52:01 -03:00
link2xt
11e13d1873
refactor(mimefactory): factor out header confidentiality policy ( #5715 )
...
Instead of constructing lists of protected,
unprotected and hidden headers,
construct a single list of headers
and then sort them into separate lists
based on the well-defined policy.
This also fixes the bug
where Subject was not present in the IMF header
for signed-only messages.
Closes #5713
2024-06-26 16:39:04 +00:00
link2xt
6607b7fd62
chore(release): prepare for 1.141.0
v1.141.0
2024-06-24 21:03:24 +00:00
link2xt
8d862b5ad3
chore: update provider database
2024-06-24 20:58:46 +00:00
iequidoo
d40ec88b94
test(python): Wait for bot's DC_EVENT_IMAP_INBOX_IDLE before sending messages to it ( #5699 )
...
Bot processes are run asynchronously, so we shouldn't send messages to a bot before it's fully
initialised and skipped existing messages for processing, i.e. before DC_EVENT_IMAP_INBOX_IDLE is
emitted.
2024-06-23 01:46:40 -03:00
link2xt
a82eb7def6
fix: do not require the Message to render MDN
2024-06-23 04:25:19 +00:00
B. Petersen
92e8b80da8
docs: remove misleading configuration comment
...
we're always checking the configuration encrypted.
saying it is 'preferred' encrypted is misleading,
therfore, just remove it.
i do not think, it is worth saying that we do not query 'http',
this is clear from the source code.
moreover, fix two typos.
2024-06-22 16:18:36 +02:00
link2xt
76a84ec9b1
refactor: store public key instead of secret key for peer channels
...
We only need public key, so there is no need to derive
it from secret key every time.
2024-06-21 22:31:21 +00:00
iequidoo
7109692791
feat: Don't reveal profile data in MDNs ( #5166 )
...
Looks like it has no sense to send any profile data (From/To names, self-status; self-avatar was
never sent even before) in MDNs, they aren't normal messages and aren't seen in a MUA. Better not to
reveal profile data to the network and even to contacts in MDNs and make them more lightweight.
2024-06-21 16:35:24 -03:00