link2xt
5e3b1fa540
Merge branch 'stable'
2023-08-26 18:12:13 +00:00
iequidoo
95f29f7b63
fix: receive_imf: Set protection only for Chattype::Single ( #4597 )
...
Also don't set protection to ProtectionBroken if it already is.
Co-authored-by: Hocuri <hocuri@gmx.de >
2023-08-26 13:19:48 -03:00
link2xt
87ffcaf03e
build: update to Rust 1.72.0
2023-08-25 23:04:47 +00:00
link2xt
2635146328
build: update to Zig 0.11.0
2023-08-25 21:20:11 +00:00
link2xt
d727d85f6d
chore(python): fix ruff 0.0.286 warnings
2023-08-25 20:57:44 +00:00
link2xt
20513475ef
Merge branch 'stable'
2023-08-25 01:59:04 +00:00
link2xt
81a7af10c7
chore(python): fix lint errors
2023-08-25 01:14:24 +00:00
link2xt
4a6e94f8ab
build(deny): ignore RUSTSEC-2023-0052
2023-08-25 01:04:02 +00:00
link2xt
146fe50e20
build(cargo-deny): ignore RUSTSEC-2022-0093
...
It is an API issue that can only be fixed in rPGP and iroh upstream.
2023-08-25 01:03:56 +00:00
link2xt
9bf2850fb1
ci: run on push to stable branch
2023-08-25 00:58:14 +00:00
iequidoo
ba2c36548e
fix: Delete messages from SMTP queue only on user demand ( #4579 )
...
I.e. from delete_msgs(). Otherwise messages must not be deleted from there, e.g. if a message is
ephemeral, but a network outage lasts longer than the ephemeral message timer, the message still
must be sent upon a successful reconnection.
2023-08-24 23:24:24 +00:00
link2xt
3b806320ec
Merge branch 'stable'
2023-08-24 22:25:02 +00:00
Simon Laux
d07c743cdc
api(jsonrpc): add resend_messages
2023-08-24 22:04:47 +00:00
dependabot[bot]
c857d6e1bd
Merge pull request #4591 from deltachat/dependabot/cargo/sanitize-filename-0.5.0
2023-08-24 20:01:21 +00:00
dependabot[bot]
94cd9a713f
chore(cargo): bump sanitize-filename from 0.4.0 to 0.5.0
...
Bumps [sanitize-filename](https://github.com/kardeiz/sanitize-filename ) from 0.4.0 to 0.5.0.
- [Commits](https://github.com/kardeiz/sanitize-filename/commits )
---
updated-dependencies:
- dependency-name: sanitize-filename
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-24 18:42:54 +00:00
link2xt
7676473ebd
fix: do not mark non-verified group chats as verified when using securejoin
...
Only mark the chat is verified if 1:1 verified chats are enabled
and securejoin targets a 1:1 chat.
2023-08-24 18:39:56 +00:00
link2xt
8c778b3f5c
test: extend test_qr_join_chat to check that the group is not verified
2023-08-24 18:39:56 +00:00
iequidoo
a66f8bd9fc
fix: Delete messages from SMTP queue only on user demand ( #4579 )
...
I.e. from delete_msgs(). Otherwise messages must not be deleted from there, e.g. if a message is
ephemeral, but a network outage lasts longer than the ephemeral message timer, the message still
must be sent upon a successful reconnection.
2023-08-24 13:39:22 -03:00
iequidoo
95b2a15930
fix: Sort old incoming messages below all outgoing ones ( #4621 )
...
If the Inbox is fetched before the Sentbox (as done currently), messages from the Sentbox will
correctly mingle with the Inbox messages in the end. So, this commit changes message ordering only
if we already have processed outgoing messages, e.g. if we just sent them in the chat as described
in #4621 . Otherwise new incoming messages are displayed somewhere in the middle of the chat which
doesn't look usable.
2023-08-24 13:22:26 -03:00
iequidoo
0179ec2da9
fix: receive_imf: Update peerstate from db after handling Securejoin handshake ( #4600 )
...
Otherwise has_verified_encryption() would check a stale Peerstate object.
2023-08-24 01:29:25 +00:00
iequidoo
8f2313bb2a
test: test_openrpc_command_line: Check that deltachat-rpc-server exists with 0
2023-08-23 19:30:14 +00:00
link2xt
488a3d1118
build(deny): ignore RUSTSEC-2023-0052
2023-08-23 19:30:14 +00:00
link2xt
9094df7bc7
build(python): pin sphinx to 7.1.2
2023-08-23 19:30:14 +00:00
link2xt
16aad3fa67
build(cargo-deny): ignore RUSTSEC-2022-0093
...
It is an API issue that can only be fixed in rPGP and iroh upstream.
2023-08-17 12:20:58 +00:00
iequidoo
3b47c3f21d
ci: Run Rust tests with RUST_BACKTRACE set
2023-08-15 14:24:02 -03:00
link2xt
987ce58926
chore(python): fix lint errors
2023-08-11 17:06:15 +00:00
iequidoo
20c88743df
test: W/a message reordering in test_reaction_to_partially_fetched_msg()
2023-08-08 21:02:41 -03:00
dependabot[bot]
03395b95cb
chore(cargo): bump quick-xml from 0.29.0 to 0.30.0
...
Bumps [quick-xml](https://github.com/tafia/quick-xml ) from 0.29.0 to 0.30.0.
- [Release notes](https://github.com/tafia/quick-xml/releases )
- [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md )
- [Commits](https://github.com/tafia/quick-xml/compare/v0.29.0...v0.30.0 )
---
updated-dependencies:
- dependency-name: quick-xml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-08 21:02:41 -03:00
Hocuri
53f04a134a
test: Don't accidentally accept that a chat protection is broken ( #4550 )
2023-08-08 11:35:38 +02:00
Hocuri
885f26ea8c
test: Directly unwrap in TestContext::get_chat() ( #4614 )
...
Directly unwrap in TestContext::get_chat()
Turns out that all usages of get_chat() directly unwrapped, because in a
test it doesn't make sense to handle the error of there being no chat.
2023-08-08 11:34:52 +02:00
link2xt
3ab181fdf8
build: update to Zig 0.11.0
2023-08-06 19:44:48 +00:00
link2xt
d70c1d48b5
chore(release) prepare for 1.119.1
v1.119.1
2023-08-06 16:49:06 +00:00
link2xt
a8e0cb9b5a
fix: update xattr from 1.0.0 to 1.0.1 to fix UnsupportedPlatformError import
...
See the folowing PRs on the `xattr` repository:
- https://github.com/Stebalien/xattr/pull/34
- https://github.com/Stebalien/xattr/pull/38
2023-08-06 16:45:58 +00:00
link2xt
6ea9a8988b
test(webxdc): ensure unknown WebXDC update properties do not result in an error
2023-08-06 16:27:29 +00:00
iequidoo
45e35b3571
feat: Guess message viewtype from "application/octet-stream" attachment extension ( #4378 )
2023-08-05 16:34:06 -03:00
link2xt
e12044e6af
api!(deltachat-jsonrpc): use kind as a tag for all union types
2023-08-03 23:46:24 +00:00
link2xt
954067eb6d
Merge tag 'v1.119.0'
2023-08-03 17:05:00 +00:00
link2xt
e43f9066d8
chore(release): prepare for 1.119.0
v1.119.0
2023-08-03 17:03:26 +00:00
link2xt
aecbebd566
docs: improve JSON-RPC API documentation
2023-08-03 16:06:36 +00:00
link2xt
3111bcde5e
refactor: flatten imports in deltachat-jsonrpc
2023-08-03 15:58:48 +00:00
link2xt
e6cffd537e
refactor: remove Chattype::Undefined
2023-08-02 17:02:28 +00:00
link2xt
70000d9ebb
build: increase MSRV to 1.67.0
...
This is required by time v0.3.24
2023-08-02 03:27:21 +00:00
link2xt
d95843b0bf
chore(deps): update dependencies
2023-08-02 03:23:19 +00:00
link2xt
13e766bc37
feat(deltachat-rpc-server): add --openrpc option
2023-08-01 18:27:02 +00:00
link2xt
c34edc582e
test: test that get_system_info() works over RPC backup import
2023-08-01 01:05:06 +00:00
link2xt
8eee389c09
refactor: use SQL transaction in MsgId.delete_from_db()
2023-07-31 20:01:35 +00:00
link2xt
8ed6d4d709
api!: make MsgId.delete_from_db() private
...
Use `delete_msgs()` if you are using the Delta Chat core
as a library and want to delete a message.
2023-07-31 20:01:35 +00:00
Hocuri
60bacbec47
feat: Don't show a contact as verified if their key changed since the verification ( #4574 )
...
Don't show a contact as verified if their key changed in the meantime
If a contact's key changed since the verification, then it's very
unlikely that they still have the old, verified key. So, don't show them
as verified anymore.
This also means that you can't add a contact like this to a verified
group, which is good.
The documentation actually already described this (new) behavior:
```rust
/// and if the key has not changed since this verification.
```
so, this adapts the code to the documentation.
2023-07-31 18:59:45 +02:00
link2xt
af013559de
refactor: hide DcSecretKey trait from the API
2023-07-29 18:10:25 +00:00
link2xt
b784415c57
refactor: move dc_preconfigure_keypair() implementation into deltachat crate
...
This allows to hide `DcKey` trait from public API.
2023-07-29 18:05:05 +00:00