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
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
link2xt
c9b2ad4ffa
Prefer TLS over STARTTLS during autoconfiguration
2023-02-10 11:28:11 +00: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
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
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
link2xt
cd293e6f49
Update async-smtp to 0.8
2023-02-03 11:36:58 +00:00
dependabot[bot]
d178c4a91a
Merge pull request #4008 from deltachat/dependabot/cargo/toml-0.7.1
2023-02-02 08:30:53 +00:00
dependabot[bot]
ff63ce0630
cargo: bump toml from 0.7.0 to 0.7.1
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/toml-rs/toml/releases )
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.0...toml-v0.7.1 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-01 23:13:38 +00:00
dependabot[bot]
757b77786a
Merge pull request #4009 from deltachat/dependabot/cargo/human-panic-1.1.0
2023-02-01 23:12:20 +00:00
dependabot[bot]
7a78449950
Merge pull request #4010 from deltachat/dependabot/cargo/uuid-1.3.0
2023-02-01 23:11:57 +00:00
dependabot[bot]
7b44b26e9e
cargo: bump uuid from 1.2.2 to 1.3.0
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.2.2...1.3.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-01 21:02:05 +00:00
dependabot[bot]
3f5da7357f
cargo: bump human-panic from 1.0.3 to 1.1.0
...
Bumps [human-panic](https://github.com/rust-cli/human-panic ) from 1.0.3 to 1.1.0.
- [Release notes](https://github.com/rust-cli/human-panic/releases )
- [Changelog](https://github.com/rust-cli/human-panic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/human-panic/compare/v1.0.3...v1.1.0 )
---
updated-dependencies:
- dependency-name: human-panic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-01 21:01:40 +00:00
dependabot[bot]
8ac972856c
Merge pull request #4001 from deltachat/dependabot/cargo/rustyline-10.1.1
2023-02-01 16:50:01 +00:00
dependabot[bot]
1f49fcc777
cargo: bump rustyline from 10.0.0 to 10.1.1
...
Bumps [rustyline](https://github.com/kkawakam/rustyline ) from 10.0.0 to 10.1.1.
- [Release notes](https://github.com/kkawakam/rustyline/releases )
- [Changelog](https://github.com/kkawakam/rustyline/blob/master/History.md )
- [Commits](https://github.com/kkawakam/rustyline/compare/v10.0.0...v10.1.1 )
---
updated-dependencies:
- dependency-name: rustyline
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-01 16:16:27 +00:00
link2xt
f2f5bfd17c
Fix python file code style
...
New version of `black` complains otherwise.
2023-02-01 16:10:08 +00:00
link2xt
59f5cbe6f1
Merge from stable branch
2023-02-01 15:36:26 +00:00
link2xt
72e004c12b
Release 1.107.1
py-1.107.1
1.107.1
2023-02-01 14:52:06 +00:00
link2xt
52a4b0c2b8
Revert to async-smtp 0.5 to disable SMTP pipelining
2023-02-01 14:43:22 +00:00
link2xt
74abb82de2
Log server security (TLS/STARTTLS/plain) type
2023-02-01 00:01:47 +00:00
link2xt
e318f5c697
Simplify unset_empty()
2023-01-31 23:58:38 +00:00
link2xt
b62c61329a
Update to base64 0.21
2023-01-31 19:24:20 +00:00
dependabot[bot]
1e71d8dcc8
Merge pull request #3997 from deltachat/dependabot/cargo/toml-0.7.0
2023-01-31 14:40:19 +00:00
link2xt
f342dc8196
Update for new toml API
2023-01-31 13:12:54 +00:00
link2xt
87c333ff7a
Always optimize dependencies
...
They are only built once, but the time of
`cargo nextest run` is reduced by around 40% as a result.
2023-01-31 12:20:58 +01:00
Floris Bruynooghe
76893df5bd
Remove the nightly PGP feature
...
This was to test pgp early on, but that's not deltachat's business.
If needed the PGP project can always do this with patching.
2023-01-31 11:54:48 +01:00