link2xt
aab35c3703
Add cargo-deny config and CI
2023-02-26 19:45:30 +00:00
link2xt
8177070673
Set minimum TLS version to 1.2
2023-02-26 18:48:32 +00:00
B. Petersen
247bf5865d
add countermitm and openpgp4fpr to "standard used"
...
noticed that this is missing
while working on https://github.com/deltachat/invite
2023-02-26 15:55:50 +01:00
link2xt
eace8c5fee
Note that 1.108.0 re-enables SMTP pipelining
2023-02-25 15:02:05 +00:00
B. Petersen
f8e86f4503
make slowest test faster
...
the slowest test was `test_modify_chat_disordered`;
due to several sleep(), it lasts at least 11 seconds.
however, many of the sleep() are not needed and were added
just to get things done that time.
this pr removes 7 superfluous sleeps,
making the test finish in about 3 seconds,
so that this test is no longer the bottleneck when running
`cargo test` on fast machines.
(this is not only useful to safe some seconds -
but also to notice degradations as of
https://github.com/deltachat/deltachat-core-rust/issues/4051#issuecomment-1436995166 )
2023-02-25 15:37:10 +01:00
iequidoo
d1923d68a5
Add a config option to sign all messages with Autocrypt header ( #3986 )
...
Although it does a little for security, it will help to protect from unwanted server-side
modifications and bugs. And now we have a time to test "multipart/signed" messages compatibility
with other MUAs.
2023-02-25 10:30:35 -03:00
iequidoo
89696582ad
mimeparser: Handle headers from the signed part of unencrypted signed message
...
This makes DC compatible with "multipart/signed" messages thus allowing switching to them someday
from the current "multipart/mixed" unencrypted message format.
2023-02-25 10:30:35 -03:00
link2xt
992a6cbfc2
mimeparser: wrap try_decrypt() into block_in_place()
...
try_decrypt() is a CPU-bound task.
When called from async function,
it should be wrapped in tokio::task::spawn_blocking().
Using tokio::task::spawn_blocking() is difficult here
because of &mail, &private_keyring and &public_keyring borrows,
so we should at least use tokio::task::block_in_place()
to avoid blocking the executor.
2023-02-25 11:00:05 +00:00
link2xt
1450bf5483
Remove Job::delay_seconds()
...
It always returned 0 for added jobs.
2023-02-25 02:45:22 +00:00
link2xt
9f804c379c
Remove always zero argument to Job::new()
2023-02-25 02:42:14 +00:00
link2xt
10e8bcb73e
job: remove unused variable
2023-02-25 02:35:08 +00:00
link2xt
7f2ccfb168
job: remove match with a single branch
2023-02-25 02:33:47 +00:00
link2xt
3fc67de35e
Stop saving and loading jobs.param column
2023-02-25 02:33:21 +00:00
link2xt
8f0d07b93c
Make smeared timestamp creation non-async
...
Using atomic operations instead,
so create_smeared_timestamp() can be used in sync functions,
such as SQL transactions.
2023-02-25 01:10:56 +00:00
link2xt
0890b669fa
Move RFC URLs in standards.md to the end
...
Also update Autodiscover URL
2023-02-24 23:47:51 +00:00
link2xt
c02c5ffe2c
Format docs_wheels.yml with prettier
2023-02-24 22:31:04 +00:00
link2xt
064f806d90
Remove UpdateRecentQuota job
2023-02-24 17:49:08 +00:00
link2xt
b6336ce7e9
Add Unreleased changelog section
2023-02-24 17:46:45 +00:00
link2xt
aeadbb35f3
Remove empty API-Changes section
2023-02-24 17:46:35 +00:00
link2xt
45817fcacd
Release 1.110.0
v1.110.0
2023-02-24 17:05:10 +00:00
link2xt
c8ce4ce5aa
Switch to "vX.Y.Z" tagging scheme
...
Previously we used tags like "1.109.0" and "py-1.109.0".
Since Python bindings are always released
at the same time as the core,
it is easier to use a single tag for them.
"v" prefix is added to make matching by "v*" easier
in CI and scripts.
2023-02-24 16:48:37 +00:00
Franz Heinzmann (Frando)
75670134d8
chore(jsonrpc): bump yerpc version
2023-02-24 16:40:24 +00:00
Franz Heinzmann (Frando)
e3eb35e160
deltachat-jsonrpc: bump yerpc version in ts client
2023-02-24 16:40:24 +00:00
B. Petersen
08c9deee04
add test for Context::update_contacts_timestamp(), esp. the condition and the update was not covered before
2023-02-24 16:23:33 +01:00
adbenitez
a2e088b415
Compile deltachat-rpc-server for Android
...
Co-Authored-By: link2xt <link2xt@testrun.org >
2023-02-24 15:17:40 +00:00
link2xt
7af1a19491
Do not build more than one deltachat-rpc-server at a time
2023-02-24 15:16:38 +00:00
link2xt
d0a7e5f1b7
Update timestamps in parameters with transactions
...
This avoids accidentally reverting the changes
to the `param` column done by another thread.
2023-02-24 14:39:59 +00:00
link2xt
a82b09bfc2
Move TLS support to net::tls module
2023-02-24 13:23:17 +00:00
link2xt
e9668b3cfa
Cache INSERT statement in receive_imf
...
It reduces iteration time by ~8% in message reception benchmarks
ran by `cargo criterion --bench receive_emails`.
2023-02-24 10:51:55 +00:00
link2xt
bc9e347a80
ci: there are no staging and trying branches
2023-02-24 01:14:00 +00:00
link2xt
b5187661ee
ci: cancel running node.js tests when the branch is updated
...
Do not waste CI time running the tests for previous commit.
2023-02-24 01:13:40 +00:00
link2xt
059c673d00
ci: add workflow to the group
...
Otherwise it cancels other workflows.
2023-02-23 18:50:44 +00:00
link2xt
76514178b6
ci: do not run CI multiple times on the same branch
...
Especially for PRs, if the branch is updated
multiple times, only the last commit should be tested.
2023-02-23 18:45:55 +00:00
gerryfrancis
0d7a3fe552
Fix typo in CHANGELOG.md ( #4086 )
...
Fix typo
2023-02-23 19:05:20 +01:00
link2xt
2cc85e6637
Hide some constants from public crate interface
2023-02-23 14:48:25 +00:00
link2xt
ade3d0d4eb
Add more documentation comments
2023-02-23 12:55:43 +00:00
link2xt
ee81d61988
Fix ruff warnings
2023-02-23 01:31:09 +00:00
link2xt
880ee63fed
Document aarch64-unknown-linux-musl.sh
2023-02-22 20:39:46 +00:00
link2xt
b0f77f7a33
ci: add arch prefix to deltachat-rpc-server binary names
2023-02-22 20:13:27 +00:00
link2xt
cff4a9dce3
ci: cross-compile deltachat-rpc-server for aarch64 Linux
2023-02-22 19:50:42 +00:00
link2xt
5dc20a5b98
ci: link deltachat-rpc-server statically on Linux
2023-02-22 18:56:37 +00:00
link2xt
9e28ee95e5
Document PeerstateChange
2023-02-22 15:10:33 +00:00
Hocuri
7c099c19c8
Re-disable DKIM-checks ( #4076 )
2023-02-22 16:03:20 +01:00
link2xt
adb5bc77c4
Enable clippy::missing_docs_in_private_items in deltachat-ffi
2023-02-22 14:51:13 +00:00
link2xt
c7b7fbaf78
ci: use minimal profile for rustup
...
Avoid installing unnecessary documentation.
2023-02-22 13:53:02 +00:00
link2xt
42a18d4d0d
Unpin ruff version
...
False positive is fixed in the latest version.
2023-02-22 11:27:37 +00:00
Robert Schütz
d3f4654d4b
python: replace pkg_resources with importlib.metadata
...
Use of pkg_resources is discouraged in favor of importlib.resources,
importlib.metadata, and their backports.
2023-02-21 21:32:12 -08:00
link2xt
999a9550f5
Remove explicit native-tls dependency
2023-02-22 05:09:38 +00:00
link2xt
7f5217fc87
ci: do not try to cross-compile deltachat-rpc-server on i686
...
It does not work because vendored OpenSSL compilation fails
2023-02-22 01:07:31 +00:00
link2xt
df96fbdcef
ci: error if deltachat-rpc-server artifact cannot be uploaded
2023-02-22 00:37:17 +00:00