link2xt
7ec3a1a9a2
ci: fixup for artifact uploading in deltachat-rpc-server.yml
2023-03-21 23:17:15 +00:00
link2xt
19fa86b276
ci: remove android dependency from deltachat-rpc-server workflow
2023-03-21 22:21:05 +00:00
link2xt
c4657991c8
ci: build all deltachat-rpc-server binaries without NDK
2023-03-21 22:17:14 +00:00
link2xt
484aebdb16
smtp: disable buffering while running STARTTLS
...
Otherwise TLS setup fails on macOS and iOS with `errSSLClosedAbort`.
(<https://developer.apple.com/documentation/security/errsslclosedabort >)
2023-03-21 17:57:52 +00:00
Floris Bruynooghe
9c15cd5c8f
Explicitly call Context::set_last_error in ffi ( #4195 )
...
This adds a result extension trait to explicitly set the last error,
which *should* be the default for the FFI. Currently not touching all
APIs since that's potentially disruptive and we're close to a release.
The logging story is messy, as described in the doc comment. We
should further clean this up and tidy up these APIs so it's more
obvious to people how to do the right thing.
2023-03-21 13:37:25 +01:00
Hocuri
8302d22622
Improve comment on write_lock() ( #4134 )
2023-03-21 11:49:14 +01:00
bjoern
034cde9289
typo: CollectionReceived ( #4189 )
2023-03-21 10:21:30 +01:00
link2xt
02455d8485
ci: upload deltachat-rpc-server binaries on release
2023-03-20 18:59:14 +00:00
Floris Bruynooghe
35f50a8965
feat: Pause IO for BackupProvider ( #4182 )
...
This makes the BackupProvider automatically invoke pause-io while it
is needed.
It needed to make the guard independent from the Context lifetime to
make this work. Which is a bit sad.
2023-03-20 19:57:17 +01:00
link2xt
e04efdbd94
tox: quiet noisy message from black
2023-03-20 17:57:38 +00:00
Hocuri
57445eedb1
More accurate maybe_add_bcc_self device message text ( #4175 )
...
* More accurate maybe_add_bcc_self device message text
* changelog
* Update src/imex.rs
Co-authored-by: bjoern <r10s@b44t.com >
* Capitalize Send Copy to Self
---------
Co-authored-by: bjoern <r10s@b44t.com >
2023-03-20 12:54:16 +01:00
link2xt
a501f10756
Get rid of duplicate uuid dependency
2023-03-20 10:07:59 +00:00
link2xt
5d80d4788c
Pause I/O in get_backup()
2023-03-20 10:24:59 +01:00
link2xt
0c02886005
Update human-panic, but disable color
...
Avoid pulling in new `anstream` dependency
2023-03-19 19:10:25 +00:00
link2xt
24856f3050
Merge branch 'flub/send-backup'
...
PR: <https://github.com/deltachat/deltachat-core-rust/pull/4007 >
2023-03-19 15:21:59 +00:00
link2xt
8e6434068e
Fix remaining cargo-deny warnings
2023-03-19 14:40:46 +00:00
link2xt
800d2b14a5
Add cargo-deny exceptions for old crates
2023-03-19 14:37:23 +00:00
B. Petersen
3a861d2f84
some doxygen fixes
2023-03-19 15:24:51 +01:00
dependabot[bot]
4ba00f7440
Merge pull request #4171 from deltachat/dependabot/cargo/axum-0.6.11
2023-03-19 13:30:54 +00:00
link2xt
40fc61da4f
changelog: add link and date to the latest release
2023-03-19 12:07:55 +00:00
link2xt
eb0f896d57
Use scheduler.is_running()
2023-03-19 11:23:09 +00:00
link2xt
71bb89fac1
Merge remote-tracking branch 'origin/master' into flub/send-backup
2023-03-19 11:10:07 +00:00
link2xt
b89199db54
Merge branch 'flub/pause-io'
...
PR: <https://github.com/deltachat/deltachat-core-rust/pull/4138 >
2023-03-19 11:06:01 +00:00
link2xt
e39429c2e3
rustfmt
2023-03-19 10:18:49 +00:00
link2xt
17de3d3236
Remove TODOs
2023-03-19 10:17:18 +00:00
link2xt
3177f9967d
Add a comment aronud IMAP loop task handle
2023-03-19 10:16:43 +00:00
link2xt
81418d8ee5
Log error on pause guard drop without resuming instead of working around
...
I checked that tests still pass even if error! is replaced with panic!
2023-03-19 10:13:59 +00:00
link2xt
a2e7d914a0
Changelog fixup
2023-03-19 09:37:09 +00:00
Floris Bruynooghe
4bf38c0e29
clippy
2023-03-19 09:36:41 +00:00
Floris Bruynooghe
0079cd4766
Add changelog
2023-03-19 09:36:38 +00:00
Floris Bruynooghe
2c3b2b8c2d
move pause to only exist on Scheduler
2023-03-19 09:36:03 +00:00
Floris Bruynooghe
52fa58a3ce
No need for jsonrpc to do this manually
2023-03-19 09:36:03 +00:00
Floris Bruynooghe
32a7e5ed82
Remove requirement for stopping io for imex
2023-03-19 09:36:03 +00:00
Floris Bruynooghe
097113f01e
fixup paused flag use
2023-03-19 09:36:03 +00:00
Floris Bruynooghe
1d42e4743f
Allow pausing IO scheduler from inside core
...
To handle backups the UIs have to make sure they do stop the IO
scheduler and also don't accidentally restart it while working on it.
Since they have to call start_io from a bunch of locations this can be
a bit difficult to manage.
This introduces a mechanism for the core to pause IO for some time,
which is used by the imex function. It interacts well with other
calls to dc_start_io() and dc_stop_io() making sure that when resumed
the scheduler will be running or not as the latest calls to them.
This was a little more invasive then hoped due to the scheduler. The
additional abstraction of the scheduler on the context seems a nice
improvement though.
2023-03-19 09:36:03 +00:00
dependabot[bot]
5ecdea47db
cargo: bump axum from 0.6.9 to 0.6.11
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.6.9 to 0.6.11.
- [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.6.9...axum-v0.6.11 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-19 09:35:20 +00:00
dependabot[bot]
5b92b6355e
Merge pull request #4168 from deltachat/dependabot/cargo/fuzz/libsqlite3-sys-0.25.2
2023-03-19 09:24:18 +00:00
link2xt
5eb7206b2d
Format documentation comment for sync_qr_code_token_deletion
2023-03-19 00:10:45 +00:00
link2xt
a566fd6301
Upgrade async-smtp to 0.9.0
...
async-smtp does not implement read buffering anymore
and expects library user to implement it.
To implement read buffer, we wrap streams into BufStream
instead of BufWriter.
2023-03-18 21:26:39 +00:00
link2xt
3eadc86217
Update Rust in coredeps docker image to 1.68.0
2023-03-18 21:08:40 +00:00
dependabot[bot]
0a65081db0
Bump libsqlite3-sys from 0.24.2 to 0.25.2 in /fuzz
...
Bumps [libsqlite3-sys](https://github.com/rusqlite/rusqlite ) from 0.24.2 to 0.25.2.
- [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/libsqlite3-sys-0.24.2...v0.25.2 )
---
updated-dependencies:
- dependency-name: libsqlite3-sys
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-18 19:31:46 +00:00
link2xt
dd57854ee3
Increase Minimum Supported Rust Version to 1.64
...
It is required for clap_lex v0.3.2
and async_zip 0.0.11.
2023-03-18 19:30:11 +00:00
link2xt
b83b9db712
repl: print errors with causes
2023-03-18 14:37:50 +00:00
dignifiedquire
a59e72e7d8
update iroh
2023-03-17 23:41:36 +01:00
dignifiedquire
fd358617f5
feat: implement more detailed progress on sending
2023-03-17 23:37:00 +01:00
link2xt
b26a351786
Switch quinn to the main branch
...
It has Android fixes merged
2023-03-17 22:26:42 +00:00
link2xt
a32a3b8cca
Construct HashMaps in provider database from array
...
This saves 450 lines according to `cargo llvm-lines --release`.
2023-03-17 18:30:37 +00:00
dignifiedquire
575b43d9a0
Merge remote-tracking branch 'origin/master' into flub/send-backup
2023-03-17 15:53:40 +01:00
Friedel Ziegelmayer
6c5654f584
fix: do not delete columns
...
This requires currently too much memory, crashing on larger instances
2023-03-17 15:35:08 +01:00
link2xt
0a5542a698
Log transfer rate on success
2023-03-17 10:45:43 +00:00