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
dependabot[bot]
3129e20726
chore(cargo): bump pin-project from 1.1.5 to 1.1.7
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.1.5 to 1.1.7.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.5...v1.1.7 )
---
updated-dependencies:
- dependency-name: pin-project
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-02 03:40:10 +00:00
link2xt
4ee65a049f
fix: always exit fake IDLE after at most 60 seconds
...
Do not call `fetch_new_messages`,
always exit and let the IMAP loop
prepare the connection properly and run all pending tasks.
2024-11-01 21:28:22 +00:00
iequidoo
bea7e4792c
fix: Save contact name from SecureJoin QR to authname, not to name ( #6115 )
...
3f9242a saves name from all QR codes to `name` (i.e. manually edited name), but for SecureJoin QR
codes the name should be saved to `authname` because such QR codes are generated by the
inviter. Other QR codes may be generated locally and not only by Delta Chat, so the name from them
mustn't go to `authname` and be revealed to the network or other contacts.
2024-11-01 12:34:24 -03:00
link2xt
ded8c02c0f
fix(send_msg_to_smtp): do not fail if the message does not exist anymore
...
If the number of retries for message is exceeded,
do not fail when marking it as failed if the message does not exist.
Otherwise we may never delete the message from SMTP queue
because corresponding msg_id is not valid anymore.
2024-11-01 13:39:24 +00:00
link2xt
cbca5101b1
fix: do not percent-encode dot when passing to autoconfig server
...
The server should decode the URL and according to RFC 3986
query parameters may or may not be URL-encoded,
but at some servers don't decode the dot correctly.
`@` is decoded correctly by autoconfig.murena.io
2024-11-01 00:27:22 +00:00
B. Petersen
88278fc826
chore(release): prepare for 1.148.6
v1.148.6
2024-10-31 17:29:55 +01:00
Hocuri
d8f07b2c5f
feat: Enable Webxdc realtime by default ( #6125 )
2024-10-31 13:33:14 +01:00
link2xt
4850e3696d
chore(cargo): upgrade iroh to 0.26.0
2024-10-31 02:17:37 +00:00
Hocuri
d6c2c863b7
refactor: Use Message::new_text() more ( #6127 )
...
Follow-up to https://github.com/deltachat/deltachat-core-rust/pull/6123
2024-10-30 12:05:58 +00:00
WofWca
6abadac4bb
api: add MessageSearchResult.chat_id ( #6120 )
2024-10-30 02:58:17 +00:00
l
55702e4985
fix: skip IDLE if we got unsolicited FETCH ( #6130 )
...
This may indicate that there was a new \Seen flag
that we don't want to skip.
Also don't drain unsolicited responses while scanning folders. Now we
only drain unsolicited responses right before IDLE and always redo the
whole fetch cycle if there have been some. Some message in the scanned
folder may not be fetched that would be previously fetched otherwise,
but it will be picked up on the next folder scan.
2024-10-30 02:38:15 +00:00
Sebastian Klähn
9cb60f5f49
refactor: directly use connectives ( #6128 )
...
Just a small refactoring. Instead of rebinding res all the time just use
`and` and `and_then`how they are inteded to be used. Improves code
readability imo.
2024-10-29 21:49:44 +00:00
Hocuri
bb8b262e68
chore: Silence another rust-analyzer false-positive ( #6124 )
...
Follow-up to #6077 . Not sure why this error didn't show up in my
rust-analyzer until now.
2024-10-29 17:45:26 +01:00
Hocuri
69fbb98f3c
api: Add Message::new_text() ( #6123 )
...
This adds a function to `Message`:
```rust
pub fn new_text(text: String) -> Self {
Message {
viewtype: Viewtype::Text,
text,
..Default::default()
}
}
```
I keep expecting that a function like this must exist and being
surprised that it doesn't.
Open question is whether it should be `pub` or `pub(crate)` - I made it
`pub` for now because it may be useful for others and we currently we
aren't thinking about the Rust API that much, anyway, but I can make it
`pub(crate)`, too (then it can't be used in deltachat-jsonrpc and
deltachat-repl).
I replaced some usages of Message::new(Viewtype::Text), but not all yet,
I'm going to do this in a follow-up, which will remove another around 65
LOC.
2024-10-29 16:22:52 +01:00
Hocuri
c98d3818d5
fix: Show root SMTP connection failure in connectivity view ( #6121 )
...
Right now, when there is an SMTP connection error, the connectivity view
will always show "Error: SMTP connection failure: SMTP failed to
connect".
Instead, I just used the same method that is used in imap connect()
already.
2024-10-29 13:55:15 +01:00
iequidoo
10aa308501
fix: Save full text to mime_headers for long outgoing messages ( #6091 )
...
0a63083df7 (fix: Shorten message text in locally sent messages too)
sets `msgs.mime_modified` for long outgoing messages, but forgets to save full message text.
2024-10-28 12:30:29 -03:00
link2xt
146bcfe455
chore(release): prepare for 1.148.5
v1.148.5
2024-10-27 17:03:49 +00:00
link2xt
f57cdc3a2c
Revert "build: nix flake update fenix"
...
This reverts commit aa3ef5011b .
This fixes `nix build .#deltachat-rpc-server-armeabi-v7a-android`.
2024-10-27 16:53:49 +00:00
link2xt
e11fddf9aa
ci: take CHATMAIL_DOMAIN from variables instead of secrets
2024-10-26 16:44:28 +00:00
link2xt
f396ff4297
fix: do not lock the account manager for the whole duration of background_fetch
2024-10-26 16:38:43 +00:00
link2xt
51a1762228
fix: do not take write lock for maybe_network_lost() and set_push_device_token()
2024-10-26 16:38:43 +00:00
link2xt
69b4c0ccb4
refactor: factor out add_gossip_peer_from_header()
...
Also don't even add the peer to SQL if realtime is disabled.
2024-10-25 19:25:51 +00:00
iequidoo
3f1dfef0e7
feat: Auto-restore 1:1 chat protection after receiving old unverified message
...
I.e. add the "Messages are guaranteed to be end-to-end encrypted from now on." message and mark the
chat as protected again because no user action is required in this case. There are a couple of
problems though:
- If the program crashes earlier than the protection is restored, the chat remains
protection-broken. But this problem already exists because `ChatId::set_protection()` is never
retried.
- If multiple old unverified messages are received, protection messages added in between don't
annihilate, so they clutter the chat.
2024-10-25 14:20:09 -03:00
iequidoo
c0f5771140
refactor: receive_imf::add_parts: Remove excessive from_id == ContactId::SELF checks
...
`mime_parser.incoming` is already here for this and is checked above.
2024-10-25 14:20:09 -03:00
iequidoo
33cae2815d
fix: Set Config::NotifyAboutWrongPw before saving configuration ( #5896 )
...
Let's always set `Config::NotifyAboutWrongPw` before saving configuration, better if a wrong
password notification is shown once more than not shown at all. It shouldn't be a big problem
because reconfiguration is a manual action and isn't done frequently.
Also for the same reason reset `Config::NotifyAboutWrongPw` only after a successful addition of the
appropriate device message.
2024-10-25 13:14:37 -03:00
link2xt
fc2b111f5d
chore(release): prepare for 1.148.4
v1.148.4
2024-10-24 20:25:58 +00:00
link2xt
913d2c45b3
fix: do not wait for connections in maybe_add_gossip_peers()
...
join() method of Gossip [1]
waits for at least one connection
and this is not what we want
because it may block receive_imf()
forever if no connection arrives.
[1] https://docs.rs/iroh-gossip/0.25.0/iroh_gossip/net/struct.Gossip.html#method.join
2024-10-24 19:59:00 +00:00
link2xt
e32d676a08
fix: normalize proxy URLs before saving into proxy_url
2024-10-24 16:43:10 +00:00
Simon Laux
9812d5ba75
feat: jsonrpc: add private_tag to Account::Configured Object ( #6107 )
...
Co-authored-by: iequidoo <117991069+iequidoo@users.noreply.github.com >
2024-10-24 16:00:27 +00:00
link2xt
bc7568e39b
chore(release): prepare for 1.148.3
v1.148.3
2024-10-24 14:08:59 +00:00
link2xt
11bf1c45d2
test: test that realtime advertisements work after chatting
2024-10-24 13:56:04 +00:00
link2xt
122c23ad4e
api(deltachat-rpc-client): add EventType.WEBXDC_REALTIME_ADVERTISEMENT_RECEIVED
2024-10-24 13:56:04 +00:00