link2xt
b970ebe67a
fix: do not compress SecureJoin messages
2024-03-04 21:07:10 +00:00
link2xt
3c4c701f9b
fix: protect Secure-Join header
...
Secure-Join header must come from protected headers
unless it is a "vc-request" or "vg-request".
2024-03-04 21:07:10 +00:00
link2xt
01ac9c8b90
fix: ensure Autocrypt-Gossip is not taken from insecure headers
2024-03-04 21:07:10 +00:00
link2xt
f6de23738d
build: increase MSRV to 1.74.0
...
This is what updated dependencies require.
Also update Rust used to build manylinux wheels
from 1.72.0 to 1.76.0.
2024-03-04 21:07:10 +00:00
link2xt
ddc2704278
chore: cargo update
2024-03-04 21:07:10 +00:00
link2xt
3d2b164c05
chore(deps): update mio to fix RUSTSEC-2024-0019
2024-03-04 21:07:09 +00:00
link2xt
2094bc3135
chore(deps): update buffer-redux to remove unmaintained safemem
2024-03-04 21:07:09 +00:00
holger krekel
acff8205e2
test: fix pytest compat ( #5317 )
...
seems pytest_report_header has changed with pytest incompatible but we
don't need it anyway so we can just leave it out.
2024-03-04 21:07:09 +00:00
link2xt
255400028a
build: do not vendor OpenSSL when cross-compiling ( #5316 )
...
Compilation of vendored OpenSSL inside Nix is broken since
<https://github.com/alexcrichton/openssl-src-rs/pull/229 > due to build
script changes.
There is anyway no need to compile vendored OpenSSL as nixpkgs already
contains OpenSSL package.
This fixes `nix build .#deltachat-rpc-server-x86_64-linux` and similar
commands which are used during releases.
2024-03-04 21:07:09 +00:00
Hocuri
d7615b223f
feat(Self-Reporting): Report number of protected/encrypted/unencrypted chats ( #5292 )
2024-03-04 21:07:09 +00:00
dependabot[bot]
00fbf540c4
chore(cargo): bump tempfile from 3.10.0 to 3.10.1
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.10.0 to 3.10.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.0...v3.10.1 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-04 21:07:09 +00:00
dependabot[bot]
288eccf722
chore(cargo): bump image from 0.24.8 to 0.24.9
...
Bumps [image](https://github.com/image-rs/image ) from 0.24.8 to 0.24.9.
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.24.8...v0.24.9 )
---
updated-dependencies:
- dependency-name: image
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-03 14:46:53 +00:00
dependabot[bot]
99ee769580
chore(cargo): bump textwrap from 0.16.0 to 0.16.1
...
Bumps [textwrap](https://github.com/mgeisler/textwrap ) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/mgeisler/textwrap/releases )
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mgeisler/textwrap/compare/0.16.0...0.16.1 )
---
updated-dependencies:
- dependency-name: textwrap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-03 08:01:51 +00:00
dependabot[bot]
345759d653
chore(cargo): bump syn from 2.0.48 to 2.0.52
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.48 to 2.0.52.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.48...2.0.52 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-03 04:15:51 +00:00
link2xt
db0143f01a
build: remove deprecated unmaintained field from deny.toml
2024-03-03 03:49:27 +00:00
link2xt
4da0c19766
test: fixup tests/test_3_offline.py::TestOfflineAccountBasic::test_wrong_db
2024-03-03 03:28:47 +00:00
link2xt
08247a5d37
refactor: build contexts using ContextBuilder
2024-03-02 17:19:50 +00:00
link2xt
ceadd8928e
api: add ContextBuilder.build() to build Context without opening
2024-03-02 17:19:50 +00:00
dependabot[bot]
c3d96814ca
chore(cargo): bump walkdir from 2.4.0 to 2.5.0
...
Bumps [walkdir](https://github.com/BurntSushi/walkdir ) from 2.4.0 to 2.5.0.
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.4.0...2.5.0 )
---
updated-dependencies:
- dependency-name: walkdir
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-02 17:08:47 +00:00
dependabot[bot]
c2953623b9
chore(cargo): bump serde from 1.0.196 to 1.0.197
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.196 to 1.0.197.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-02 17:07:36 +00:00
dependabot[bot]
1907d1859e
chore(cargo): bump anyhow from 1.0.79 to 1.0.80
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.79 to 1.0.80.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.79...1.0.80 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-02 16:00:57 +00:00
dependabot[bot]
a1970e998f
chore(cargo): bump log from 0.4.20 to 0.4.21
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.20 to 0.4.21.
- [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.20...0.4.21 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-02 16:00:33 +00:00
dependabot[bot]
1e9baefca0
chore(cargo): bump serde_json from 1.0.113 to 1.0.114
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.113 to 1.0.114.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.113...v1.0.114 )
---
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-03-02 15:59:55 +00:00
iequidoo
e16322d99d
test: get_protected_chat(): Use FFIEventTracker instead of dc_wait_next_msgs() ( #5207 )
...
The way it was implemented it threw out all remaining messages after finding the next incoming
message. Better use FFIEventTracker functions, they are used in all the tests anyway.
2024-03-02 12:12:26 -03:00
dependabot[bot]
ecfe3898c6
Merge pull request #5311 from deltachat/dependabot/cargo/rusqlite-0.31.0
2024-03-02 03:12:56 +00:00
link2xt
5499ca52bf
refactor: get rid of ImapActionResult
2024-03-02 01:31:29 +00:00
link2xt
4e8979f7c8
refactor: merge ImapConfig into Imap
2024-03-01 21:12:21 +00:00
dependabot[bot]
417db31098
chore(cargo): bump rusqlite from 0.30.0 to 0.31.0
...
Bumps [rusqlite](https://github.com/rusqlite/rusqlite ) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/rusqlite/rusqlite/releases )
- [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md )
- [Commits](https://github.com/rusqlite/rusqlite/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: rusqlite
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-01 21:11:09 +00:00
link2xt
cd9f6c3d5b
ci: build c.delta.chat docs with nix
2024-03-01 20:28:20 +00:00
link2xt
07870a6d69
refactor(imap): remove Session from Imap structure
...
Connection establishment now happens only in one place in each IMAP loop.
Now all connection establishment happens in one place
and is limited by the ratelimit.
Backoff was removed from fake_idle
as it does not establish connections anymore.
If connection fails, fake_idle will return an error.
We then drop the connection and get back to the beginning of IMAP
loop.
Backoff may be still nice to have to delay retries
in case of constant connection failures
so we don't immediately hit ratelimit if the network is unusable
and returns immediate error on each connection attempt
(e.g. ICMP network unreachable error),
but adding backoff for connection failures is out of scope for this change.
2024-03-01 18:36:03 +00:00
link2xt
b08a4d6fcf
ci: upload cffi docs without GH actions
2024-03-01 02:30:55 +00:00
link2xt
b3a82b416f
ci: upload python docs without GH actions
2024-03-01 02:21:35 +00:00
link2xt
4e5d7fb821
ci: build Python docs with Nix
2024-03-01 02:00:53 +00:00
link2xt
1d73f97ef3
nix: add deltachat-time to sources
2024-03-01 01:58:11 +00:00
link2xt
f5601e7683
Merge pull request #5296 from deltachat/link2xt/imap-session
...
refactor: move more methods from Imap into Session
2024-02-29 02:29:52 +00:00
link2xt
0000c09ad3
fix(imap): allow maybe_network to interrupt connection ratelimit
...
ratelimit can be exhausted quickly if the network is not available,
i.e. if every connection attempt returns "network unreachable" error.
When the network becomes available, we want to retry connecting
as soon as maybe_network is called without waiting for ratelimiter.
2024-02-29 02:29:18 +00:00
link2xt
a83884d7e9
refactor(imap): require watch_folder for fake_idle()
2024-02-28 23:18:30 +00:00
link2xt
9e00e8627f
refactor(imap): pass Session to add_all_recipients_as_contacts()
2024-02-28 22:51:07 +00:00
link2xt
85c9622675
refactor(imap): move fetch_many_msgs() into Session
2024-02-28 22:48:23 +00:00
link2xt
30432d8fa5
refactor(imap): move fetch_metadata() to Session
2024-02-28 22:42:54 +00:00
link2xt
8b9f19be70
refactor(imap): move get_all_recipients() to Session
2024-02-28 22:40:37 +00:00
link2xt
39c317e211
refator(imap): move sync_seen_flags() to Session
2024-02-28 22:39:06 +00:00
link2xt
36ab7bdf47
refactor(imap): do not get Session twice in fetch_new_messages()
2024-02-28 22:32:38 +00:00
link2xt
f8f0ca08da
refactor(imap): pass Imap Session to update_recent_quota()
2024-02-28 22:30:19 +00:00
link2xt
2a0a05d03c
refactor(imap): move resync_folders() to Session
2024-02-28 22:26:25 +00:00
link2xt
7bc2f0cb6b
refactor(imap): move select_with_uidvalidity() to Session
2024-02-28 22:15:33 +00:00
link2xt
4355bd77a9
refactor(imap): move resync_folder_uids() to Session
2024-02-28 22:02:36 +00:00
link2xt
f0091696c2
refactor(imap): move prefetch() to Session
2024-02-28 21:56:28 +00:00
link2xt
d2e86c5852
refactor(imap): move prefetch_existing_msgs to Session
2024-02-28 21:49:44 +00:00
link2xt
d4a505b52e
refactor(imap): move list_folders() to Session
2024-02-28 21:43:25 +00:00