link2xt
aff951440c
Release 1.112.3
v1.112.3
2023-03-30 20:32:49 +00:00
Floris Bruynooghe
ef63e01632
fix(imex): transfer::get_backup must always free ongoing process ( #4249 )
...
* fix(imex): transfer::get_backup must always free ongoing process
When the ongoing process is cancelled it is still the responsibility
of whoever took out the ongoing process to free it. This code was
only freeing the ongoing process when completed normally but not when
cancelled.
* add changelog
2023-03-30 20:23:50 +00:00
link2xt
d6fdc7cb67
Release 1.112.2
v1.112.2
2023-03-30 14:57:32 +00:00
link2xt
ea87c78d34
Do not return media from trashed messages in the "All media" view.
2023-03-30 08:10:06 +00:00
Floris Bruynooghe
a2927a6586
ref(deps): Upgrade to iroh 0.4.0 ( #4245 )
...
This moves us back to a released version;
- Ticket is now opaque, need to use accessor functions.
- Ticket now ensures it is valid itself, no need to inspect it's
inners. Deserialisation would fail if it was bad.
- The git version was accidentally used with default-features enabled
and thus pulled in a few too many dependencies. They are now gone.
2023-03-29 15:45:35 +02:00
Floris Bruynooghe
943c8a1ab3
feat(imex): Cancel BackupProvider when dropped ( #4242 )
...
This ensures that the BackupProvider will be stopped as soon as the
struct is dropped and the imex progress error event is emitted. This
makes it easier to use and also makes sure that the ffi call
dc_backup_provider_unref() does not lead to dangling resources.
2023-03-29 14:51:08 +02:00
Floris Bruynooghe
5be558ea68
feat(imex) Connect to all provider addresses concurrently ( #4240 )
...
This uses the new iroh API to connect to all provider addresses
concurrently. It simplifies the implementation as well as we no
longer need to try the addresses manually.
2023-03-29 09:47:00 +02:00
link2xt
fc25bba514
Add changelog for unreleased 1.112.2
2023-03-28 10:44:07 +00:00
Floris Bruynooghe
20b326415a
deps: Update iroh, remove default-net patch ( #4239 )
...
* deps: Update iroh, remove default-net patch
The released version of default-net is now sufficient and iroh makes
sure this dependency is recent enough.
* Update cargo-deny config
* Newer version of spin, previous has been yanked
2023-03-28 10:28:38 +00:00
link2xt
edf0c02bc8
Release 1.112.1
v1.112.1
2023-03-27 15:22:31 +00:00
link2xt
1d42907114
deltachat-ffi: document thread safety guarantees
2023-03-27 14:47:40 +00:00
bjoern
070d832580
check against null in dc_backup_provider_unref() ( #4232 )
...
this is what we're doing in most comparable unref() functions.
2023-03-26 19:25:23 +02:00
link2xt
0dfec83b0f
deltachat-rpc-client: configure setuptools_scm
...
This makes `python -m build` produce wheels with a version
other than 0.0.0.
2023-03-26 10:00:01 +00:00
link2xt
c84155cbd4
Add scripts/deny.sh
...
This can be used to manually run `cargo deny`
without specifying all the parameters manually.
Similar to existing scripts/clippy.sh
2023-03-25 19:54:24 +00:00
iequidoo
eb5ddf270f
receive_imf: Mark special messages as seen ( #3054 )
...
Exactly: delivery reports, webxdc status updates.
2023-03-25 15:47:38 -03:00
link2xt
fb093253c6
Update generated nodejs constants files
2023-03-25 10:20:17 +00:00
dependabot[bot]
1864be5c55
Merge pull request #4229 from deltachat/dependabot/cargo/fuzz/openssl-0.10.48
2023-03-25 01:06:43 +00:00
dependabot[bot]
7138d44083
build(deps): bump openssl from 0.10.45 to 0.10.48 in /fuzz
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.45 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.45...openssl-v0.10.48 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-25 00:31:14 +00:00
Floris Bruynooghe
04daff0608
Add comment
2023-03-24 23:20:14 +00:00
Floris Bruynooghe
801250a9e0
feat(imex): Sort IP addresses for getting from ticket
...
When trying IP addresses from the ticket, have a very rough sort order
in which to try them. Basically assume most local wifi's are
somewhere on 192.168.0.0/16 so prefer those first.
2023-03-24 23:20:14 +00:00
link2xt
20319b5426
Add --version option to deltachat-rpc-server
2023-03-24 23:11:11 +00:00
link2xt
9cca34bba5
Remove .wait_for_seen() calls in flaky tests
...
This is a merge commit for <https://github.com/deltachat/deltachat-core-rust/pull/4226 >
2023-03-24 23:09:44 +00:00
link2xt
530981119e
Update Cargo.lock
2023-03-24 23:08:46 +00:00
adbenitez
6d0327d057
deltachat-rpc-client: fix bug in Chat.send_message()
2023-03-24 18:56:08 -04:00
adbenitez
580ce5a9e9
deltachat-rpc-client: fix bug in Chat.send_message()
2023-03-24 17:34:41 -04:00
link2xt
6f327c950d
Cargo.toml: replace branch with rev in default-net patch entry
...
This makes `cargo install --path deltachat-rpc-server` work again.
2023-03-24 21:16:04 +00:00
link2xt
92ad843ff2
Reduce test code duplication
2023-03-24 20:59:31 +00:00
link2xt
a8059c6bff
python: remove flaky .wait_for_seen() from test_fetch_existing()
2023-03-24 18:09:40 +00:00
link2xt
4b468a25fe
Remove pytest-rerunfailures
...
It is not compatible with pytest-timeout anyway:
<https://github.com/pytest-dev/pytest-rerunfailures/issues/99 >
2023-03-24 16:13:33 +00:00
link2xt
1e135b649c
Do not use IDLE in test_send_and_receive_message_markseen
...
Fix flakyness in case Dovecot sends only EXISTS
but not FETCH unsolicited response.
2023-03-24 16:09:40 +00:00
link2xt
40d32f2d0c
Do not use IDLE in test_fetch_existing_msgs_group_and_single
...
Makes the test less flaky,
as Dovecot sometimes sends only the EXISTS response,
but not the FETCH response for flags.
2023-03-24 16:09:28 +00:00
link2xt
c9ec087cd8
python: do not use IDLE in test_markseen_message_and_mdn test
...
Make the test less flaky in case Dovecot notifies only about EXISTS
but not flag updates.
2023-03-24 16:09:15 +00:00
link2xt
84d79e1479
Do not use IDLE in test_mdn_asymmetric
...
Fixes test flakyness.
2023-03-24 16:08:58 +00:00
link2xt
83af248068
Turn more log messages into proper sentences.
2023-03-24 12:15:42 +00:00
link2xt
4f25edb1a1
Update OpenSSL to fix RUSTSEC-2023-0022
...
<https://rustsec.org/advisories/RUSTSEC-2023-0022 >
2023-03-24 09:56:00 +00:00
link2xt
ded1634b7d
python: look for "Marked messages ... as seen." by regexp
...
Tests reuse accounts, so UIDs may start from the number other than 1.
2023-03-24 09:43:59 +00:00
link2xt
635c73ffc6
python: use locally installed auditwheel
...
`auditwheel` is a part of manylinux images,
there is no need to create a virtual environment
and install it again.
2023-03-23 23:00:46 +00:00
link2xt
fcc1fe73be
Do not use .wait_for_seen() in test_one_account_send_bcc_setting
...
.wait_for_seen() is unreliable, because sometimes Dovecot
sends only EXISTS to the IDLE connection, but not the FETCH.
Dovecot sends updates like FETCH only if some
connection has already observed the message in previous state
without the \Seen flag.
To avoid this race condition, wait until the core sets the flag,
then FETCH the message manually and check that the flag is set.
2023-03-23 22:57:35 +00:00
link2xt
fa278d50f7
Simplify layout of the deltachat-rpc-server crate
2023-03-23 22:10:28 +00:00
link2xt
2f02be4c64
ci: test the core on macOS
2023-03-23 20:46:58 +00:00
link2xt
7add1c116c
Attempt to fix deltachat-rpc-server binary release uploads
2023-03-23 17:19:28 +00:00
link2xt
124a0e90e1
Release 1.112.0
v1.112.0
2023-03-23 13:34:24 +00:00
Floris Bruynooghe
1716cdf51c
ref(ffi): dc_receive_backup should block ( #4211 )
...
The documentation says this blocks. This should block because it also
means the error reporting is more accurate by calling set_last_error
just before returning.
2023-03-23 14:15:34 +01:00
link2xt
3fdcffb314
Increase reference count before spawning background tasks in dc_receive_backup()
...
Merged PR <https://github.com/deltachat/deltachat-core-rust/pull/4206 >
2023-03-23 08:54:33 +00:00
link2xt
f033aae25c
Move most of the dc_receive_backup() into a safe function
2023-03-23 08:47:58 +00:00
Floris Bruynooghe
c42d942460
explicitly move for good measure
2023-03-23 08:47:58 +00:00
Floris Bruynooghe
0ba8201797
fix(dc_receive_backup): Increase refcount before spawn
...
Otherwise it is possible for the context that is used in the spawn to
be unreferenced. Really this should be caught by the borrow checker
that ensures we only spawn things with a 'static lifetime, but we're
handling raw pointers so it doesn't.
2023-03-23 08:47:49 +00:00
iequidoo
87252ab053
cargo: bump async_zip from 0.0.9 to 0.0.11
...
Bumps [async_zip](https://github.com/Majored/rs-async-zip) from 0.0.9 to 0.0.11.
- [Release notes](https://github.com/Majored/rs-async-zip/releases)
- [Commits](https://github.com/Majored/rs-async-zip/compare/v0.0.9...v0.0.11)
---
updated-dependencies:
- dependency-name: async_zip
dependency-type: direct:production
update-type: version-update:semver-patch
...
2023-03-23 00:33:25 +00:00
link2xt
53eec521dc
Make get_all_addresses_from_header non-generic
...
This saves 1287 lines according to `cargo llvm-lines --release`.
2023-03-22 23:51:41 +00:00
link2xt
238570a7b9
deltachat-ffi: update rand to 0.8.5
2023-03-22 23:37:01 +00:00