link2xt
5bdd49b451
Add Unreleased section to changelog
2023-02-19 21:57:36 +00:00
link2xt
42a7e91f05
python: stop using pytest-rerunfailures
2023-02-19 21:55:28 +00:00
link2xt
44953d6bcc
Release 1.109.0
v1.109.0
py-1.109.0
1.109.0
2023-02-19 21:40:33 +00:00
link2xt
10066b2bc7
sql: use semaphore to limit access to the connection pool
...
This ensures that if multiple connections are returned
to the pool at the same time, waiters get them in the order
they were placed in the queue.
2023-02-19 17:06:25 +00:00
Simon Laux
609fc67f0d
fix websocket server & add ci test for building it ( #4047 )
...
the axum update broke the websocket server, because yerpc still uses a the old 5.9 version.
So I needed to downgrade the dependency until https://github.com/deltachat/yerpc/pull/35 is merged.
I want to retry the kaiOS client experiment, for this I need a working websocket server binary.
2023-02-19 14:57:00 +01:00
Hocuri
641d102aba
Add dc_msg_set_subject() C FFI ( #4057 )
2023-02-19 13:42:39 +00:00
link2xt
f65e1c1587
Sort dependencies in Cargo.toml
2023-02-19 13:18:58 +00:00
link2xt
626ec5e793
Document the meaning of empty Message.subject
2023-02-19 13:05:39 +00:00
link2xt
85517abf58
Derive Debug for Pool
2023-02-19 02:26:26 +00:00
link2xt
75f65b06e8
Run VACUUM on the same connection as sqlcipher_export
...
Otherwise export_and_import_backup test fails due to SQLITE_SCHEMA error.
2023-02-19 02:26:26 +00:00
link2xt
f2b05ccc29
Reimplement connection pool on top of crossbeam
2023-02-19 02:26:26 +00:00
link2xt
e88f21c010
Remove try_many_times r2d2 bug workaround
2023-02-19 02:26:26 +00:00
link2xt
ed8e2c4818
Replace r2d2 with an own connection pool
...
New connection pool does not use threads
and does not remove idle connections
or create new connections at runtime.
2023-02-19 02:26:26 +00:00
link2xt
48fee4fc92
python: replace "while 1" with "while True"
...
This makes pyright recognize that the function never returns implicitly.
2023-02-18 11:31:07 +00:00
link2xt
7586bcf45e
Update rusqlite to 0.28
2023-02-17 14:48:33 +00:00
link2xt
870527de1e
Remove r2d2_sqlite dependency
2023-02-17 11:06:17 +00:00
link2xt
a34aeb240a
Increase database timeout to 60 seconds
2023-02-16 18:37:47 +00:00
link2xt
6ee165fddc
python: type annotations for testplugin.py
2023-02-16 17:48:29 +00:00
link2xt
c9db41a7f6
python: build Python 3.11 wheels
2023-02-16 14:36:23 +00:00
link2xt
7a6bfae93b
Fix typo
2023-02-16 11:42:59 +00:00
link2xt
ae19c9b331
Add more documentation
2023-02-15 21:56:33 +00:00
link2xt
7d2cca8633
sql: enable auto_vacuum on all connections
2023-02-15 18:59:47 +00:00
link2xt
c52b48b0f5
sql: update version first in migration transactions
...
In execute_migration transaction first update the version, and only
then execute the rest of the migration. This ensures that transaction
is immediately recognized as write transaction and there is no need
to promote it from read transaction to write transaction later, e.g.
in the case of "DROP TABLE IF EXISTS" that is a read only operation if
the table does not exist. Promoting a read transaction to write
transaction may result in an error if database is locked.
2023-02-15 18:58:44 +00:00
link2xt
893794f4e7
accounts: retry filesystem operations in migrate_account()
2023-02-15 18:57:37 +00:00
link2xt
032da4fb1a
python: add py.typed file
...
It marks the package as supporting typing according to PEP 561 <https://peps.python.org/pep-0561/ >
Also remove zip-safe option from setuptools configuration for deltachat-rpc-client.
It is deprecated in setuptools and not used for wheel package format according to <https://setuptools.pypa.io/en/latest/deprecated/zip_safe.html >
2023-02-15 18:56:34 +00:00
Simon Laux
0de5125de8
jsonrpc: get_messages now returns a map with MessageLoadResult instead of failing completely if one of the requested messages could not be loaded. ( #4038 )
...
* jsonrpc: `get_messages` now returns a map with `MessageLoadResult`
instead of failing completely if one of the requested messages could not be loaded.
* add pr number to changelog
* format errors with causes instead of debug output
also for chatlistitemfetchresult
2023-02-15 18:46:34 +00:00
link2xt
cd3f1fe874
python: autoformat with black
2023-02-15 17:15:43 +00:00
link2xt
4f68e94fb3
python: use f-strings instead of percent-encoding
2023-02-15 16:33:05 +00:00
link2xt
b3ecbbc8b3
python: do not import print function in tests
2023-02-15 16:32:19 +00:00
link2xt
01653a881a
python: do not import print function
2023-02-15 16:28:16 +00:00
link2xt
e021a59b87
python: do not inherit from object
2023-02-15 16:27:34 +00:00
link2xt
243f28f8a5
python: use dataclasses to reduce boilerplate
2023-02-15 12:35:52 +00:00
link2xt
78577594d0
deltachat-rpc-server: spawn request handlers
2023-02-15 12:19:03 +00:00
link2xt
d3e2f38da0
deltachat-jsonrpc: fix "prettier" arguments
...
**.ts finds .ts files only in the current directory and no *.js files.
2023-02-15 11:18:58 +00:00
link2xt
05f0fe0a88
Derive Default where possible
2023-02-14 21:33:02 +00:00
link2xt
e11d7c0444
Remove unnecessary .into_iter()
2023-02-14 21:04:29 +00:00
link2xt
a203cde400
Remove TestHeader from non-test builds
2023-02-14 11:00:04 +00:00
link2xt
00c14dd9f6
Move changelog entry to unreleased section
2023-02-14 10:58:43 +00:00
link2xt
71d9716117
Remove MimeMessage::from_bytes()
...
It was not used anywhere except the tests.
2023-02-14 10:57:57 +00:00
link2xt
2e4f63a290
Add Unreleased changelog section
2023-02-14 01:54:22 +00:00
link2xt
9dee725895
Fix header levels for 1.108.0 changelog
2023-02-14 01:53:57 +00:00
link2xt
267263dab7
Release 1.108.0
py-1.108.0
1.108.0
2023-02-13 21:15:34 +00:00
link2xt
1d81457f38
Remove unused ConfiguredE2EEEnabled key
...
`e2ee_enabled` is always used without `configured_` prefix.
2023-02-13 21:14:47 +00:00
link2xt
0885cad089
Add deltachat-repl to scripts/set_core_version.py
2023-02-13 20:32:25 +00:00
iequidoo
19d7632be0
Show non-deltachat emails by default for new installations
2023-02-13 14:48:53 -03:00
link2xt
2a5fa9a0d3
Documentation improvements
2023-02-13 14:01:24 +00:00
link2xt
bb702a9342
Remove outdated comment
2023-02-13 10:20:41 +00:00
link2xt
6c8368fa23
jsonrpc: add API to check if the message is sent by a bot
...
Co-Authored-By: Asiel Díaz Benítez <asieldbenitez@gmail.com >
2023-02-12 18:53:26 +00:00
link2xt
1c875209f7
python: create test accounts in parallel
2023-02-12 18:50:01 +00:00
link2xt
82da09760c
ci: use --workspace instead of deprecated --all flag
2023-02-12 16:38:09 +00:00