link2xt
1ba69dbb9b
fix: reset MIME type if passed to set_file value is None
2023-09-06 20:33:37 +00:00
link2xt
ab1c7ebbe2
refactor: remove unnecessary local variable save_param
2023-09-06 20:33:37 +00:00
link2xt
ee715da078
fix: do not ignore chat loading errors in forward_msgs()
2023-09-06 20:33:37 +00:00
link2xt
27e177dc05
refactor: resultify set_msg_failed()
2023-09-06 20:33:37 +00:00
link2xt
7aac4bfc83
docs: document WebXDC-related SQL tables
2023-09-06 20:33:37 +00:00
link2xt
7b24f9b7a4
docs: comment that msgs_status_updates.update_item_read column is unused
2023-09-06 20:33:37 +00:00
link2xt
b36b902eeb
build: build node packages on Ubuntu 18.04
...
Debian 10 has glibc 2.28, so packages built with it
do not work on Ubuntu 18.04.
2023-09-06 17:23:04 +00:00
dependabot[bot]
f7a47e60cd
Merge pull request #4664 from deltachat/dependabot/cargo/strum_macros-0.25.2
2023-09-05 19:08:04 +00:00
link2xt
30024abb6c
feat: add API to get similar chats
2023-09-05 16:47:19 +00:00
link2xt
1d9702e9e7
refactor: add ChatId::get_timestamp()
2023-09-05 16:47:19 +00:00
link2xt
ee2eae63d6
fix: do not allow dots at the end of email addresses
2023-09-05 13:14:37 +00:00
link2xt
cd477936b5
api: add dc_context_change_passphrase()
2023-09-05 12:41:31 +00:00
Hocuri
2587ebbacd
fix: Clear VerifiedOneOnOneChats config on backup ( #4681 )
...
If the user makes a backup from a UI that supports the experimental verified 1:1 chats (e.g. nightly Android) and imports it into a UI that doesn't, then this config should be cleared.
We already talked about this a long time ago after @Simon-Laux noticed this problem, but I think we didn't actually solve it back then?
Best to review with whitespace changes disabled.
2023-09-05 09:15:15 +02:00
link2xt
dbe9d7e34e
refactor(provider): create provider database entries at compile time
...
According to cargo-llvm-lines it reduces the number of lines
in the crate by 0.7%.
2023-09-05 00:03:34 +00:00
dependabot[bot]
4815e9b990
Merge pull request #4680 from deltachat/dependabot/cargo/regex-1.9.5
2023-09-05 00:03:09 +00:00
dependabot[bot]
f05b0ddf04
chore(cargo): bump regex from 1.9.1 to 1.9.5
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.1 to 1.9.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.1...1.9.5 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 19:09:31 +00:00
link2xt
f94d34c94b
chore: remove idna from deny.toml
2023-09-04 19:08:49 +00:00
link2xt
e9811fb6da
AsyncResolver::tokio does not return a Result anymore
2023-09-04 19:08:49 +00:00
dependabot[bot]
178fc1736d
chore(cargo): bump trust-dns-resolver from 0.22.0 to 0.23.0
...
Bumps [trust-dns-resolver](https://github.com/bluejekyll/trust-dns ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/bluejekyll/trust-dns/releases )
- [Changelog](https://github.com/bluejekyll/trust-dns/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bluejekyll/trust-dns/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: trust-dns-resolver
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 19:08:49 +00:00
dependabot[bot]
54d632adaf
chore(cargo): bump axum from 0.6.19 to 0.6.20
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.6.19 to 0.6.20.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.6.19...axum-v0.6.20 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 19:08:34 +00:00
Hocuri
ae939e79da
Merge remote-tracking branch 'origin/stable'
2023-09-04 19:19:50 +02:00
link2xt
49f143e0d5
refactor: make get_abs_path non-generic
...
Generic functions compile into multiple implementations,
increasing number of lines for LLVM to process,
code size and compilation times.
2023-09-04 00:43:24 +00:00
link2xt
9d7bdf369d
refactor: use slices instead of vectors in provider database
2023-09-03 20:19:58 +00:00
dependabot[bot]
e12ef805a9
Merge pull request #4675 from deltachat/dependabot/cargo/backtrace-0.3.69
2023-09-03 19:50:35 +00:00
dependabot[bot]
b36acb2dc0
chore(cargo): bump log from 0.4.19 to 0.4.20
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.19 to 0.4.20.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-03 02:25:33 +00:00
dependabot[bot]
1b883ae3fa
chore(cargo): bump typescript-type-def from 0.5.7 to 0.5.8
...
Bumps [typescript-type-def](https://github.com/dbeckwith/rust-typescript-type-def ) from 0.5.7 to 0.5.8.
- [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.7...v0.5.8 )
---
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 >
2023-09-03 02:25:00 +00:00
dependabot[bot]
72c94e1037
chore(cargo): bump serde from 1.0.180 to 1.0.188
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.180 to 1.0.188.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.188 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-03 02:24:33 +00:00
adbenitez
a270db1d87
remove aiodns optional dependency from required dependencies
2023-09-03 00:32:08 +00:00
dependabot[bot]
0a4c993bb8
chore(cargo): bump serde_json from 1.0.104 to 1.0.105
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-03 00:01:58 +00:00
link2xt
ec56134583
Remove winreg entry from deny.toml
2023-09-02 23:01:00 +00:00
dependabot[bot]
d8bf1c1691
chore(cargo): bump reqwest from 0.11.18 to 0.11.20
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.18 to 0.11.20.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.18...v0.11.20 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 23:01:00 +00:00
dependabot[bot]
8ac1754e18
chore(cargo): bump tempfile from 3.7.0 to 3.8.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.7.0 to 3.8.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.7.0...v3.8.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 22:05:42 +00:00
dependabot[bot]
e1f1143919
chore(cargo): bump quote from 1.0.32 to 1.0.33
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.32...1.0.33 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 22:05:08 +00:00
dependabot[bot]
d9e38289c4
chore(cargo): bump image from 0.24.6 to 0.24.7
...
Bumps [image](https://github.com/image-rs/image ) from 0.24.6 to 0.24.7.
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.24.6...v0.24.7 )
---
updated-dependencies:
- dependency-name: image
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 21:57:51 +00:00
dependabot[bot]
486050d0b8
chore(cargo): bump backtrace from 0.3.68 to 0.3.69
...
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs ) from 0.3.68 to 0.3.69.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.68...0.3.69 )
---
updated-dependencies:
- dependency-name: backtrace
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 19:16:16 +00:00
dependabot[bot]
828c90ac3d
chore(cargo): bump tokio from 1.29.1 to 1.32.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.29.1 to 1.32.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.32.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 19:14:54 +00:00
dependabot[bot]
ab09ecce7e
chore(cargo): bump schemars from 0.8.12 to 0.8.13
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 0.8.12 to 0.8.13.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.12...v0.8.13 )
---
updated-dependencies:
- dependency-name: schemars
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 18:26:24 +00:00
dependabot[bot]
aebad2eb10
chore(cargo): bump url from 2.4.0 to 2.4.1
...
Bumps [url](https://github.com/servo/rust-url ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 17:45:25 +00:00
dependabot[bot]
2a39a85d9e
chore(cargo): bump thiserror from 1.0.44 to 1.0.47
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.44 to 1.0.47.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.47 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 17:44:37 +00:00
dependabot[bot]
cb0270baa7
chore(cargo): bump anyhow from 1.0.72 to 1.0.75
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.72 to 1.0.75.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.75 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 17:44:11 +00:00
dependabot[bot]
99302c9598
chore(cargo): bump base64 from 0.21.2 to 0.21.3
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.21.2 to 0.21.3.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.2...v0.21.3 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 17:44:02 +00:00
dependabot[bot]
88ae653760
chore(cargo): bump chrono from 0.4.26 to 0.4.28
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.26 to 0.4.28.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.26...v0.4.28 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 17:43:13 +00:00
dependabot[bot]
6881f9d70f
chore(cargo): bump syn from 2.0.28 to 2.0.29
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.28 to 2.0.29.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.28...2.0.29 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 17:42:09 +00:00
dependabot[bot]
60ddbe5729
chore(cargo): bump strum_macros from 0.25.1 to 0.25.2
...
Bumps [strum_macros](https://github.com/Peternator7/strum ) from 0.25.1 to 0.25.2.
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-01 21:09:22 +00:00
iequidoo
5e5e557c8b
Merge branch 'stable'
...
7c7cd9cc80 is a backport from `master`, so skip it.
2023-09-01 13:23:10 -03:00
iequidoo
bc8023644c
Merge commit '7c7cd9cc8084f0e425b1919b84d5e79ed150d16b~' into HEAD
...
Merge `stable` up to the mentioned commit.
2023-09-01 13:14:44 -03:00
iequidoo
7c7cd9cc80
fix: Return from dc_get_chatlist(DC_GCL_FOR_FORWARDING) only chats where we can send ( #4616 )
...
I.e. exclude from the list the following chats as well:
- Read-only mailing lists.
- Chats we're not a member of.
But as for ProtectionBroken chats, we return them, as that may happen to a verified chat at any
time. It may be confusing if a chat that is normally in the list disappears suddenly. The UI need to
deal with that case anyway.
(cherry picked from commit 83ef25e7de )
2023-09-01 12:28:41 -03:00
iequidoo
83ef25e7de
fix: Return from dc_get_chatlist(DC_GCL_FOR_FORWARDING) only chats where we can send ( #4616 )
...
I.e. exclude from the list the following chats as well:
- Read-only mailing lists.
- Chats we're not a member of.
But as for ProtectionBroken chats, we return them, as that may happen to a verified chat at any
time. It may be confusing if a chat that is normally in the list disappears suddenly. The UI need to
deal with that case anyway.
2023-09-01 10:26:22 -03:00
iequidoo
47d465e6e4
fix: Save mime headers for messages not signed with a known key ( #4557 )
...
If a message is unsigned or signed with an unknown key, `MimeMessage::was_encrypted()` returns
false. So, it mustn't be checked when deciding whether to look into
`MimeMessage::decoded_data`. Looking through git history one can see that it's just a wrong check
left in the code for historical reasons.
2023-08-31 14:07:12 -03:00
link2xt
03d3e0578f
refactor(deltachat-rpc-client): drop support for keyword arguments
...
All Rust methods have positional arguments and it is not going to change.
2023-08-31 00:46:04 +00:00