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
link2xt
edec80a917
ci: attempt to fix binary path for artifact upload
2023-02-22 00:35:35 +00:00
link2xt
439c57e3ac
ci: fix typo in deltachat-rpc-server.yml
2023-02-22 00:32:30 +00:00
link2xt
7bfff6c87c
ci: disable fail-fast on deltachat-rpc-server.yml builds
2023-02-22 00:11:45 +00:00
link2xt
57f221dcc9
Enable "vendored" feature on "deltachat-jsonrpc" from "deltachat-rpc-server"
2023-02-22 00:04:42 +00:00
link2xt
79212bee13
Add "vendored" feature to deltachat-jsonrpc
2023-02-22 00:03:40 +00:00
link2xt
178e67a262
Add "vendored" feature to deltachat-rpc-server
2023-02-22 00:00:32 +00:00
link2xt
877b3551ae
ci: add --target option when build deltachat-rpc-server
2023-02-21 23:54:20 +00:00
link2xt
a616c69f9a
ci: add missing include to deltachat-rpc-server.yml
2023-02-21 23:40:45 +00:00
link2xt
df1c1addfb
ci: add action to build deltachat-rpc-server
2023-02-21 23:35:53 +00:00
link2xt
45abaff275
Update provider database
2023-02-21 14:41:13 +00:00
iequidoo
15c9efaa95
Update provider/update.py according to the struct Provider changes
2023-02-21 10:53:15 -03:00
link2xt
e86fbf5855
ci: stop using deprecated Ubuntu 18.04
...
GitHub Actions fails running 18.04 jobs currently:
<https://github.com/actions/runner-images/issues/6002 >
2023-02-21 13:10:12 +00:00
bjoern
38a62d92ba
mention speedup of #4065 in CHANGELOG ( #4073 )
...
the speedup of #4065 is larger than measured first
running `cargo test`, first we thought there is only a slight speedup
from 13.5 seconds to 12.5 seconds on a m1pro.
however, there is one test that does 11 seconds of sleep() (test_modify_chat_disordered)
as this test is not run very first, this slows down things overall.
skipping this test,
speedup is from 13.5 seconds to 9.5 seconds -
28% faster - and this is something we should mention in the changelog :)
(this pr does not remove or change the slow test.
i think, due to the number of cores, this is not needed until someone
has a machine where the other tests run in 2 seconds or so)
2023-02-21 13:36:36 +01:00
link2xt
c01a2f2c24
Fix missing imports in deltachat_rpc_client
2023-02-21 12:21:17 +00:00
Hocuri
17acbca576
Correctly clear database cache after import ( #4067 )
2023-02-21 11:23:34 +00:00
link2xt
05a274a5f3
Enable more ruff checks in deltachat-rpc-client
2023-02-21 11:17:10 +00:00
link2xt
f07206bd6c
Pin ruff version in deltachat-rpc-client
...
Latest versions 0.0.248 and 0.0.249 report false positive:
src/deltachat_rpc_client/client.py:105:9: RET503 [*] Missing explicit `return` at the end of function able to return
2023-02-20 19:57:54 +00:00
link2xt
92c7cc40d4
sql: replace .get_conn() interface with .call()
...
.call() interface is safer because it ensures
that blocking operations on SQL connection
are called within tokio::task::block_in_place().
Previously some code called blocking operations
in async context, e.g. add_parts() in receive_imf module.
The underlying implementation of .call()
can later be replaced with an implementation
that does not require block_in_place(),
e.g. a worker pool,
without changing the code using the .call() interface.
2023-02-20 18:54:29 +00:00
Hocuri
710cec1beb
Remove show_emails argument from prefetch_should_download() ( #4064 )
...
IIRC, this was written this way back when we didn't have config caching,
in order to save database accesses by getting the config outside the
for loop.
2023-02-20 18:06:43 +00:00
link2xt
56d10f7c42
Use transaction in update_blocked_mailinglist_contacts
2023-02-20 17:17:59 +00:00
Franz Heinzmann
ef03a33b29
JSON-RPC: Add CommonJS build ( #4062 )
...
add CommonJS build
2023-02-20 18:10:32 +01:00
iequidoo
3b5227c42a
Move strict_tls, max_smtp_rcpt_to from Provider to ProviderOptions
2023-02-20 14:09:27 -03:00
iequidoo
604c4fcb71
Delete messages to the Trash folder for Gmail by default ( #3957 )
...
Gmail archives messages marked as `\Deleted` by default if those messages aren't in the Trash. But
if move them to the Trash instead, they will be auto-deleted in 30 days.
2023-02-20 14:09:27 -03:00
link2xt
4790ad0478
Merge switching SQLite connection pool from FIFO to LIFO
2023-02-20 16:43:19 +00:00