Septias
4b13f9352c
fmt
2024-11-13 13:35:17 +01:00
Septias
37f15c5282
fmt flake with alejandra
2024-11-13 13:35:17 +01:00
B. Petersen
fe53eb2b37
feat: tune down io-not-started info in connectivity-html
...
due to async processing,
it may happen getConnectivityHtml() is called from UI before startIO() is actually called.
eg. on iOS, we may delay startIo() if another process is still processing a PUSH notification -
when during this time, the connectivity view is opened,
it is weird if a big error "CONTACT THE DEVELOPERS!11!!!" is shown :)
also, there is not really a function is_connected(),
for $reasons, as this turned out to be flacky,
so it is not even easy to check the state before calling getConnectivityHtml()
it is not worth in doing too much special,
we are talking about rare situaton,
also, the connectivity view gets updated some moments later.
2024-11-13 13:20:00 +01:00
Sebastian Klähn
9c0e932e39
update flake.nix ( #6200 )
...
Before I was getting
```
error: attribute 'targetPlatforms' missing
at /nix/store/dyzl40h25l04565n90psbhzgnc5vp2xr-source/pkgs/build-support/rust/build-rust-package/default.nix:162:7:
161| meta.platforms or lib.platforms.all
162| rustc.targetPlatforms;
| ^
163| };
```
This was probably an upstream issues as discussed in here
https://discourse.nixos.org/t/error-attribute-targetplatforms-missing-after-updating-inputs/54494
After this update it is fixed.
2024-11-13 09:56:19 +01:00
iequidoo
19dc16d9d3
test: Reply to protected group from MUA
...
This must be possible if a message is properly signed and encrypted.
2024-11-11 14:35:00 -03:00
B. Petersen
302acb218f
add a test for is_quote_headline()
2024-11-11 17:26:32 +01:00
B. Petersen
a9b71aff6d
line-before-quote may be up to 120 character long.
...
80 characters are a bit limited in practise ...
On Mon, 3 Jan, 2022 at 8:34 PM "Anonymous The Mighty" <anonymous@example.com > wrote:
... already breaks the limit. it is good to allow up to 40 additional characters
for name + email address.
allowing any length, however, may catch too much,
as the line could also be a normal paragraph with important content,
so 120 characters seems reasonable.
the idea of adding more complexity here would probably lead only to, well more complexity -
things can anyways go wrong -
and, we have the "show full message..." button for exactly that purpose,
so that the user can access everything as original.
so, if things go wrong sometimes,
this is expected and fine.
2024-11-11 17:26:32 +01:00
link2xt
1e886a34f0
chore: remove some duplicate changelog entries
...
dc_chatlist_get_summary2() was added in 1.41.0
2024-11-11 15:09:06 +00:00
link2xt
99330dd2de
chore(cargo): update futures-concurrency from 7.6.1 to 7.6.2
2024-11-11 12:42:03 +00:00
link2xt
1412ffd771
build: silence RUSTSEC-2024-0384
2024-11-11 12:39:03 +00:00
Sebastian Klähn
6b2d49acb8
Copy over some docs as requested in the associated issue. ( #6193 )
...
Copy over some docs as requested in the associated issue.
close #5503
2024-11-10 23:30:43 +01:00
l
3b2f18f926
feat: use Rustls for connections with strict TLS ( #6186 )
2024-11-07 19:07:11 +00:00
iequidoo
c9cf2b7f2e
fix: Only add "member added/removed" messages if they actually do that ( #5992 )
...
There were many cases in which "member added/removed" messages were added to chats even if they
actually do nothing because a member is already added or removed. But primarily this fixes a
scenario when Alice has several devices and shares an invite link somewhere, and both their devices
handle the SecureJoin and issue `ChatGroupMemberAdded` messages so all other members see a
duplicated group member addition.
2024-11-07 14:29:09 -03:00
link2xt
800edc6fce
test: remove all calls to print() from deltachat-rpc-client tests
...
They frequently fail in CI with `OSError: [Errno 9] Bad file descriptor`.
2024-11-07 01:42:01 +00:00
iequidoo
4e5e9f6006
fix: send_msg_to_smtp: Return Ok if smtp row is deleted in parallel
...
Follow-up to ded8c02c0f . `smtp` rows may be deleted in parallel, in
this case there's just nothing to send.
2024-11-06 21:25:15 -03:00
link2xt
d9d694ead0
fix: remove footers from "Show Full Message..."
2024-11-07 00:24:21 +00:00
link2xt
faad576d10
feat: experimental header protection for Autocrypt
...
This change adds support for receiving
Autocrypt header in the protected part of encrypted message.
Autocrypt header is now also allowed in mailing lists.
Previously Autocrypt header was rejected when
List-Post header was present,
but the check for the address being equal to the From: address
is sufficient.
New experimental `protect_autocrypt` config is disabled
by default because Delta Chat with reception
support should be released first on all platforms.
2024-11-06 23:16:09 +00:00
Hocuri
b96593ed10
fix: Prevent accidental wrong-password-notifications ( #6122 )
...
Over the past years, it happend two times that a user came to me worried
about a false-positive "Cannot login as ***. Please check if the e-mail
address and the password are correct." message.
I'm not sure why this happened, but this PR makes the logic for
showing this notification stricter:
- Before: The notification is shown if connection fails two times in a
row, and the second error contains the word "authentication".
- Now: The notification is shown if the connection fails two times in a
row, and _both_ error messages contain the word "authentication".
The second commit just renames `login_failed_once` to
`authentication_failed_once` in order to reflect this change.
2024-11-05 21:13:21 +00:00
link2xt
d2324a8fc4
chore: fix nightly clippy warnings
2024-11-05 15:05:42 +00:00
link2xt
10a05fa6d9
chore(release): prepare for 1.149.0
v1.149.0
2024-11-05 12:08:00 +00:00
link2xt
97d2119028
chore(cargo): update iroh to 0.28.1
2024-11-04 21:01:40 +00:00
link2xt
a510d5f3c2
build: nix flake update android
2024-11-04 20:10:43 +00:00
link2xt
678f1b305c
build: update tokio to 1.41 and Android NDK to r27
...
Delta Chat for Android does not support Android 4 anymore,
so there is no reason to keep using unsupported NDK.
r27 is the latest LTS version of Android NDK.
Tested:
- `nix build .#deltachat-rpc-server-arm64-v8a-android`
- `nix build .#deltachat-rpc-server-armv6l-linux`
`nix build .#deltachat-rpc-server-x86_64-android`
and
`nix build .#deltachat-rpc-server-x86-android`
still fail, but we do not build it in CI.
2024-11-04 20:10:43 +00:00
link2xt
dface33699
chore(release): prepare for 1.148.7
v1.148.7
2024-11-03 21:50:59 +00:00
link2xt
92c6dd483c
api: add API to reset contact encryption
2024-11-03 02:04:41 +00:00
link2xt
c627d2fcc8
refactor: remove has_decrypted_pgp_armor()
...
Explicit check for `-----BEGIN PGP MESSAGE-----` is unnecessary
and not sufficient to ensure that the message is valid.
We have already checked the MIME type,
so ASCII-armored OpenPGP message should be inside.
If it's not, decryption will fail anyway.
2024-11-03 01:16:17 +00:00
dependabot[bot]
429c14ae0b
Merge pull request #6157 from deltachat/dependabot/cargo/libc-0.2.161
2024-11-02 17:29:07 +00:00
dependabot[bot]
ce40c04e63
Merge pull request #6156 from deltachat/dependabot/cargo/brotli-7.0.0
2024-11-02 17:09:32 +00:00
iequidoo
b89eec8bbb
feat: Emit chatlist events only if message still exists
...
Otherwise, if the message is already deleted, an appropriate chatlist event must be generated and
there's no need in any other events.
2024-11-02 13:55:23 -03:00
dependabot[bot]
7175ee8587
chore(cargo): bump libc from 0.2.159 to 0.2.161
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.159 to 0.2.161.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.161/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.159...0.2.161 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:38:04 +00:00
dependabot[bot]
c12a972abd
chore(cargo): bump brotli from 6.0.0 to 7.0.0
...
Bumps [brotli](https://github.com/dropbox/rust-brotli ) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/dropbox/rust-brotli/releases )
- [Commits](https://github.com/dropbox/rust-brotli/commits )
---
updated-dependencies:
- dependency-name: brotli
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:37:58 +00:00
dependabot[bot]
145b91c2de
chore(cargo): bump hyper from 1.4.1 to 1.5.0
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v1.4.1...v1.5.0 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:36:30 +00:00
dependabot[bot]
a49c25bbee
chore(cargo): bump kamadak-exif from 0.5.5 to 0.6.0
...
Bumps [kamadak-exif](https://github.com/kamadak/exif-rs ) from 0.5.5 to 0.6.0.
- [Changelog](https://github.com/kamadak/exif-rs/blob/master/NEWS )
- [Commits](https://github.com/kamadak/exif-rs/compare/0.5.5...0.6 )
---
updated-dependencies:
- dependency-name: kamadak-exif
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:36:30 +00:00
dependabot[bot]
a439224f9e
chore(cargo): bump once_cell from 1.19.0 to 1.20.2
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.19.0 to 1.20.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.2 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:36:30 +00:00
dependabot[bot]
64cd7f8d31
chore(cargo): bump futures from 0.3.30 to 0.3.31
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.30 to 0.3.31.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.30...0.3.31 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:36:30 +00:00
dependabot[bot]
48ab5d4089
chore(cargo): bump rustls-pki-types from 1.9.0 to 1.10.0
...
Bumps [rustls-pki-types](https://github.com/rustls/pki-types ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/rustls/pki-types/releases )
- [Commits](https://github.com/rustls/pki-types/compare/v/1.9.0...v/1.10.0 )
---
updated-dependencies:
- dependency-name: rustls-pki-types
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:36:30 +00:00
dependabot[bot]
cd2394c31e
chore(cargo): bump image from 0.25.2 to 0.25.4
...
Bumps [image](https://github.com/image-rs/image ) from 0.25.2 to 0.25.4.
- [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.25.2...v0.25.4 )
---
updated-dependencies:
- dependency-name: image
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:36:30 +00:00
dependabot[bot]
c972d7b6ef
chore(cargo): bump typescript-type-def from 0.5.12 to 0.5.13
...
Bumps [typescript-type-def](https://github.com/dbeckwith/rust-typescript-type-def ) from 0.5.12 to 0.5.13.
- [Changelog](https://github.com/dbeckwith/rust-typescript-type-def/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dbeckwith/rust-typescript-type-def/compare/v0.5.12...v0.5.13 )
---
updated-dependencies:
- dependency-name: typescript-type-def
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:36:30 +00:00
dependabot[bot]
170023f1c8
chore(cargo): bump human-panic from 2.0.1 to 2.0.2
...
Bumps [human-panic](https://github.com/rust-cli/human-panic ) from 2.0.1 to 2.0.2.
- [Changelog](https://github.com/rust-cli/human-panic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/human-panic/compare/v2.0.1...v2.0.2 )
---
updated-dependencies:
- dependency-name: human-panic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:36:30 +00:00
dependabot[bot]
5dc746d691
chore(cargo): bump serde_json from 1.0.128 to 1.0.132
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.128 to 1.0.132.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.128...1.0.132 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:36:30 +00:00
dependabot[bot]
91acf0708a
chore(cargo): bump anyhow from 1.0.89 to 1.0.92
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.89 to 1.0.92.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.89...1.0.92 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 16:36:30 +00:00
Sebastian Klähn
dd73d23a0a
fix: concat ndns ( #6129 )
...
close #2338
Concat error messages when receiving new ndns.
This PR adds a newline followed by the new NDN error to the error text.
Maybe we should use something more prominent like
```
-----------------------------------------------------------------------
```
or more newlines, but I'm not sure. This maybe has to be tested on a
real device to see what works best.
2024-11-02 08:20:27 +00:00
dependabot[bot]
3292ba260d
chore(cargo): bump futures-lite from 2.3.0 to 2.4.0
...
Bumps [futures-lite](https://github.com/smol-rs/futures-lite ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/smol-rs/futures-lite/releases )
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/futures-lite/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: futures-lite
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 03:44:40 +00:00
dependabot[bot]
5fe42f193e
chore(cargo): bump uuid from 1.10.0 to 1.11.0
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.10.0...1.11.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 03:43:53 +00:00
dependabot[bot]
af42abd0aa
chore(cargo): bump thiserror from 1.0.64 to 1.0.66
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.64 to 1.0.66.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.66 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 03:43:29 +00:00
dependabot[bot]
c8803f6f05
chore(cargo): bump hyper-util from 0.1.9 to 0.1.10
...
Bumps [hyper-util](https://github.com/hyperium/hyper-util ) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/hyperium/hyper-util/releases )
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.9...v0.1.10 )
---
updated-dependencies:
- dependency-name: hyper-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 03:43:09 +00:00
dependabot[bot]
3ad83ade12
chore(cargo): bump bytes from 1.7.2 to 1.8.0
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.7.2...v1.8.0 )
---
updated-dependencies:
- dependency-name: bytes
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 03:42:45 +00:00
dependabot[bot]
d9ce231199
chore(cargo): bump async-smtp from 0.9.1 to 0.9.2
...
Bumps [async-smtp](https://github.com/async-email/async-smtp ) from 0.9.1 to 0.9.2.
- [Commits](https://github.com/async-email/async-smtp/commits )
---
updated-dependencies:
- dependency-name: async-smtp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 03:42:28 +00:00
dependabot[bot]
0a3787c389
chore(cargo): bump quick-xml from 0.36.2 to 0.37.0
...
Bumps [quick-xml](https://github.com/tafia/quick-xml ) from 0.36.2 to 0.37.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.36.2...v0.37.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 >
2024-11-02 03:41:34 +00:00
dependabot[bot]
8a278c3ee9
chore(cargo): bump rustls from 0.23.13 to 0.23.14
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.13 to 0.23.14.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.13...v/0.23.14 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 03:40:59 +00:00