Floris Bruynooghe
44c1efe4e4
Add jsonrpc support
2023-02-14 13:05:54 +01:00
Floris Bruynooghe
ff0d675082
Make getting backup use the ongoing process
2023-02-14 12:19:40 +01:00
Floris Bruynooghe
e1087b4145
translate the string for qr code
2023-02-14 12:07:02 +01:00
Floris Bruynooghe
323535584b
implement ffi and use public sendme
2023-02-13 18:25:12 +01:00
Floris Bruynooghe
852adbe514
bits left over from master merge
2023-02-13 15:45:38 +01:00
Floris Bruynooghe
4c78553d90
Merge branch 'master' into flub/send-backup
2023-02-13 11:25:51 +01: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
link2xt
ef44aa0bd0
ci: there are no staging and trying branches
2023-02-12 16:14:10 +00:00
link2xt
af5a3235fd
python: save references to asyncio tasks to avoid GC
...
Otherwise the task may be garbage collected
and cancelled.
See <https://docs.python.org/3/library/asyncio-task.html#asyncio.create_task > for reference.
2023-02-12 15:13:54 +00:00
link2xt
07c510c178
Remove bitflags from get_chat_msgs() interface
...
get_chat_msgs() function is split into new get_chat_msgs() without flags
and get_chat_msgs_ex() which accepts booleans instead of bitflags.
FFI call dc_get_chat_msgs() is still using bitflags for compatibility.
JSON-RPC calls get_message_ids() and get_message_list_items()
accept booleans instead of bitflags now.
2023-02-12 15:11:04 +00:00
link2xt
c367bb63d1
ci: name run_clippy job
2023-02-12 12:19:15 +00:00
link2xt
819d658531
ci: don't use unmaintained actions-rs/toolchain
...
Also fix clippy version to prevent new clippy releases from breaking CI.
clippy version has to be updated manually now.
2023-02-12 11:45:27 +00:00
Asiel Díaz Benítez
48f098482e
Merge pull request #4023 from deltachat/adb/issue-2266
...
capture unexpected exceptions in EventThread
2023-02-11 22:00:02 -05:00
link2xt
1a49bc85b8
Add scripts/clippy.sh
...
The script makes it easier to manually check REPL and benchmark code
with clippy without the need to copy-paste all the flags.
2023-02-11 16:07:52 +00:00
link2xt
51ee564246
ci: consistently capitalize job names
2023-02-11 16:06:32 +00:00
link2xt
7f313c803e
ci: remove unnecessary Rust installation step
...
windows-latest image already contains Rust 1.67.0.
2023-02-11 15:25:20 +00:00
link2xt
0d7c33b1a9
Add missing "vendored" feature on deltachat-repl
2023-02-11 14:22:14 +00:00
link2xt
14f3abb51e
ci: Windows repl.exe action fixup
2023-02-11 14:11:30 +00:00
link2xt
46143ac54f
Move deltachat-repl into a separate crate
2023-02-11 13:54:49 +00:00
link2xt
6a30c0a997
Fix code style with black
2023-02-11 09:21:25 +00:00
link2xt
d1702e3081
python: display the diff on black failures
2023-02-11 09:13:42 +00:00
link2xt
fa198c3b5e
Use SOCKS5 configuration for HTTP requests
2023-02-10 23:20:11 +00:00
link2xt
151b34ea79
python: handle NULL value returned from dc_get_msg
...
Returning None in this case and checked with mypy that callers can handle it.
2023-02-10 23:17:42 +00:00
adbenitez
3e8687e464
capture unexpected exceptions in EventThread
2023-02-10 14:43:32 -05:00
Floris Bruynooghe
a31ae5297a
Add to repl example
2023-02-10 18:35:47 +01:00
Floris Bruynooghe
e7792a0c65
clippy
2023-02-10 18:27:03 +01:00
Floris Bruynooghe
3c32de1859
Generate a QR code
2023-02-10 18:16:01 +01:00
Floris Bruynooghe
6a3fe3db92
fixup doc comments
2023-02-10 14:15:39 +01:00
Floris Bruynooghe
ac048c154d
Add progress for provider
...
Fix progress for getter. Maths. It's hard.
Add test for progress.
2023-02-10 13:54:50 +01:00
link2xt
c9b2ad4ffa
Prefer TLS over STARTTLS during autoconfiguration
2023-02-10 11:28:11 +00:00
Floris Bruynooghe
3f51a8ffc2
Some more doc comments
2023-02-10 10:48:10 +01:00
Floris Bruynooghe
2129b2b7a0
Add a ton of code for receiver-side progress
2023-02-09 18:09:16 +01:00
link2xt
386b5bb848
Update flate2 dependency
...
Get rid of minize_oxide@0.5.3
2023-02-09 10:26:00 +00:00
link2xt
d8bd189175
Bump openssl-src from 111.24.0+1.1.1s to 111.25.0+1.1.1t
2023-02-09 10:18:47 +00:00
Floris Bruynooghe
3734fc25a7
update callback to take collection by ref
2023-02-09 10:02:18 +01:00
link2xt
817760a6ef
python: upgrade from .format() to f-strings
...
They are supported since Python 3.5.
2023-02-08 15:44:34 +00:00
link2xt
315e944b69
python: cut text in Message representation to 100 characters
2023-02-08 12:49:18 +00:00
dependabot[bot]
48722a22c9
Merge pull request #4012 from deltachat/dependabot/cargo/fuzz/tokio-1.25.0
2023-02-08 12:24:35 +00:00
dependabot[bot]
a8f018a208
Bump tokio from 1.24.1 to 1.25.0 in /fuzz
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.24.1...tokio-1.25.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-08 00:12:52 +00:00
Floris Bruynooghe
05ddc13054
Use name prefixes so the db can not be spoofed by a blob
2023-02-07 18:21:46 +01:00
Floris Bruynooghe
716504b833
do not pull in sendme cli deps
2023-02-07 17:20:35 +01:00
Floris Bruynooghe
187861c3b2
Make stuff work. With test!
2023-02-07 17:18:34 +01:00
Hocuri
fa70d8da09
Re-enable DKIM-checks ( #3935 )
...
Re-enable keychange-denying when the From address is wrong
Reverts #3728
Closes #3735
Reopens #3700
2023-02-07 17:07:43 +01:00
Floris Bruynooghe
0b075ac762
Stop after a transfer happened.
2023-02-06 14:58:08 +01:00
link2xt
cd293e6f49
Update async-smtp to 0.8
2023-02-03 11:36:58 +00:00
Floris Bruynooghe
a6c889ed5e
Clean up files on errors
2023-02-02 18:11:12 +01:00
Floris Bruynooghe
ca1533b0e4
delete device messages
2023-02-02 17:47:41 +01:00
Floris Bruynooghe
3267596a30
handle the database
2023-02-02 17:43:12 +01:00