link2xt
275791595c
Merge tag 'v1.124.0'
2023-10-04 21:14:17 +00:00
link2xt
1040bc551f
chore(release): prepare for 1.124.0
v1.124.0
2023-10-04 21:12:38 +00:00
iequidoo
5aa0205c80
fix: Add protected-headers directive to Content-Type of encrypted/signed MIME ( #2302 )
...
Add protected-headers="v1" directive to Content-Type of an encrypted/signed MIME so that other MUAs
like Thunderbird display the true message Subject instead of "...".
2023-10-04 19:58:08 +00:00
link2xt
210a4ebcbe
ci: test async python bindings with Python 3.11
2023-10-04 19:56:56 +00:00
link2xt
7fc2b06b3f
ci(mypy): ignore distutils
...
Python 3.12 removed `distutils`.
`distutils` from `setuptools` work fine,
but have not typing stubs:
https://github.com/python/typeshed/issues/10255
2023-10-04 19:56:56 +00:00
link2xt
1177c19a43
bulid: build wheels for Python 3.12 and PyPy 3.10
2023-10-04 19:56:56 +00:00
link2xt
8a2417f32d
ci: test with Python 3.12 and PyPy 3.10
2023-10-04 19:56:56 +00:00
link2xt
a154347834
fix(deltachat-rpc-client): increase stdio buffer to 64 MiB
...
Otherwise readline() gets stuck when JSON-RPC response
is longer that 64 KiB.
2023-10-04 16:08:15 +00:00
link2xt
d51adf2aa0
feat(deltachat-rpc-client): log exceptions when long-running tasks die
...
For example, reader_loop() may die
if readline() tries to read too large line
and thows an exception.
We want to at least log the exception in this case.
2023-10-04 08:22:50 +00:00
link2xt
a5f0c1613e
fix: add Let's Encrypt root certificate to reqwest
...
This certificate does not exist on older Android phones.
It is already added manually for IMAP and SMTP,
this commit adds the same certificate for HTTP requests.
2023-10-03 19:35:39 +00:00
link2xt
7c4bcf9004
api!: deprecate get_next_media()
2023-10-03 16:08:25 +00:00
dependabot[bot]
f3fb0dc5fe
chore(cargo): bump proptest from 1.2.0 to 1.3.1
...
Bumps [proptest](https://github.com/proptest-rs/proptest ) from 1.2.0 to 1.3.1.
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.2.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-03 01:34:58 -03:00
dependabot[bot]
24ea90bd68
Merge pull request #4770 from deltachat/dependabot/cargo/thiserror-1.0.49
2023-10-03 04:30:28 +00:00
dependabot[bot]
ef3e94c7e1
Merge pull request #4777 from deltachat/dependabot/cargo/fuzz/webpki-0.22.2
2023-10-03 04:14:01 +00:00
dependabot[bot]
883832f78d
Merge pull request #4768 from deltachat/dependabot/cargo/brotli-3.4.0
2023-10-03 01:21:32 +00:00
dependabot[bot]
1f03267273
Merge pull request #4773 from deltachat/dependabot/cargo/sha2-0.10.8
2023-10-03 01:21:20 +00:00
dependabot[bot]
8bc2ce1c30
chore(deps): bump webpki from 0.22.0 to 0.22.2 in /fuzz
...
Bumps [webpki](https://github.com/briansmith/webpki ) from 0.22.0 to 0.22.2.
- [Commits](https://github.com/briansmith/webpki/commits )
---
updated-dependencies:
- dependency-name: webpki
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-02 21:39:40 +00:00
dependabot[bot]
2ae92c06e3
Merge pull request #4771 from deltachat/dependabot/cargo/regex-1.9.6
2023-10-02 17:46:17 +00:00
dependabot[bot]
4a6a214f3c
Merge pull request #4769 from deltachat/dependabot/cargo/tokio-util-0.7.9
2023-10-02 16:38:54 +00:00
dependabot[bot]
c2d7011aa7
Merge pull request #4772 from deltachat/dependabot/cargo/smallvec-1.11.1
2023-10-02 16:38:16 +00:00
dependabot[bot]
c0195ab23f
chore(cargo): bump sha2 from 0.10.7 to 0.10.8
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.10.7 to 0.10.8.
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.7...sha2-v0.10.8 )
---
updated-dependencies:
- dependency-name: sha2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-01 21:44:09 +00:00
dependabot[bot]
e4e50d0e81
chore(cargo): bump smallvec from 1.11.0 to 1.11.1
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.11.0...v1.11.1 )
---
updated-dependencies:
- dependency-name: smallvec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-01 21:43:50 +00:00
dependabot[bot]
573746ce54
chore(cargo): bump regex from 1.9.5 to 1.9.6
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.5 to 1.9.6.
- [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.5...1.9.6 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-01 21:43:32 +00:00
dependabot[bot]
6b2df13cdb
chore(cargo): bump thiserror from 1.0.47 to 1.0.49
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.47 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.49 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-01 21:43:13 +00:00
dependabot[bot]
3166b44580
chore(cargo): bump tokio-util from 0.7.8 to 0.7.9
...
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.7.8 to 0.7.9.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.8...tokio-util-0.7.9 )
---
updated-dependencies:
- dependency-name: tokio-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-01 21:42:54 +00:00
dependabot[bot]
e500485c21
chore(cargo): bump brotli from 3.3.4 to 3.4.0
...
Bumps [brotli](https://github.com/dropbox/rust-brotli ) from 3.3.4 to 3.4.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-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-01 21:42:27 +00:00
B. Petersen
2dd44d5f89
fix: cap percentage in connectivity layout to 100%
...
it may happen that percentages larger than 100% are reported by the provider,
eg. for some time a storage usage of 120% may be accepted.
while we should report the values "as is" to the user,
for the bar, percentages larger 100% will destroy the layout.
2023-10-01 14:54:37 +00:00
link2xt
f656cb29be
fix: ignore special chats in get_similar_chat_ids()
...
For unknown reason trash chat contains members in some existing databases.
Workaround this by ignoring chats_contacts entries with special chat_id.
2023-10-01 07:38:13 +00:00
link2xt
59e5a63d5f
Merge branch 'stable', resolving conflicts
2023-10-01 02:46:02 +00:00
link2xt
53230b6eb0
chore(cargo): update webpki to fix RUSTSEC-2023-0052
2023-10-01 00:04:45 +00:00
iequidoo
80ca59f152
feat: Remove extra members from the local list in sake of group membership consistency ( #3782 )
...
9bd7ab72 brings a possibility of group membership inconsistency to the original Hocuri's algo
described and implemented in e12e026b in sake of security so that nobody can add themselves to a
group by forging "InReplyTo" and other headers. This commit fixes the problem by removing group
members locally if we see a discrepancy with the "To" list in the received message as it is better
for privacy than adding absent members locally. But it shouldn't be a big problem if somebody missed
a member addition, because they will likely recreate the member list from the next received
message. The problem occurs only if that "somebody" managed to reply earlier. Really, it's a problem
for big groups with high message rate, but let it be for now.
Also:
- Query chat contacts from the db only once.
- Update chat contacts in the only transaction, otherwise we can just break the chat contact list
halfway.
- Allow classic MUA messages to remove group members if a parent message is missing. Currently it
doesn't matter because unrelated messages go to new ad-hoc groups, but let this logic be outside
of apply_group_changes(). Just in case if there will be a MUA preserving "Chat-Group-ID" header
f.e.
2023-09-30 19:14:22 -03:00
link2xt
eb624e43c0
refactor: remove incomplete protected header code skipping Legacy Display Part
...
The code removed is an incomplete implementation of skipping
the Legacy Display Part specified in
https://www.ietf.org/archive/id/draft-autocrypt-lamps-protected-headers-02.html#section-5.2
The code does not fully implement the specification, e.g.
it does not check that there are exactly two parts.
Delta Chat and Thunderbird are not adding this part anyway,
and it is defined as "transitional" in the draft.
This also removes misplaced warning "Ignoring nested protected headers"
that is printed for every incoming Delta Chat message
since commit 5690c48863
which is part of the PR <https://github.com/deltachat/deltachat-core-rust/pull/982 >.
2023-09-30 21:54:08 +00:00
link2xt
532e9cb09a
refactor: ignore public key argument in dc_preconfigure_keypair()
...
Public key can be extracted from the secret key file.
2023-09-30 19:16:23 +00:00
link2xt
ef4d2a7ed0
api!(python): use dc_contact_get_verifier_id()
...
get_verifier() returns a Contact rather than an address now
dc_contact_get_verifier_addr() is unused.
2023-09-30 15:49:22 +00:00
link2xt
5daa6274e8
Merge stable into master
2023-09-30 12:16:51 +00:00
link2xt
6d2ac30461
fix: do not put the status footer into reaction MIME parts
2023-09-29 16:38:55 +00:00
Hocuri
d109a1b27f
Fix link to the template documentation of git-cliff
...
The old link gives me 404
2023-09-29 15:20:22 +00:00
link2xt
33a203d56e
fix: initialise last_msg_id to the highest known row id
...
Otherwise existing bots migrating to get_next_msgs()
are trying to process all the messages they have in the database.
2023-09-29 13:28:58 +00:00
link2xt
a19811f379
chore(cargo): update tungstenite to fix RUSTSEC-2023-0065
...
Used `cargo update -p axum`.
2023-09-29 13:08:04 +00:00
link2xt
f23023961e
api!: return DC_CONTACT_ID_SELF from dc_contact_get_verifier_id() for directly verified contacts
2023-09-28 19:10:15 +00:00
link2xt
b463a0566e
refactor: flatten create_or_lookup_mailinglist()
2023-09-28 15:20:51 +00:00
link2xt
38d5743c06
refactor: do not ignore errors in get_kml()
...
This removes unnecessary warning
"mimefactory: could not send location: No locations processed"
when there are no locations to send.
2023-09-28 15:19:33 +00:00
link2xt
6990312051
fix: trash only empty *text* parts when location.kml is attached
...
If the message contains other attachment parts
such as images, they should not go into trash.
2023-09-27 18:51:40 +00:00
link2xt
a7cf51868b
test: test send_location
2023-09-27 18:51:40 +00:00
link2xt
815c1b9c49
refactor: resultify location::set()
2023-09-27 18:51:40 +00:00
link2xt
88bba83383
refactor: flatten process_report()
2023-09-26 16:02:14 +00:00
WofWca
b1d517398d
refactor: improve comment about Ratelimit
...
A few people got the impression that if you send 6 messages
in a burst you'll only be able to send the next one in 60 seconds.
Hopefully this can resolve it.
2023-09-26 15:58:24 +00:00
link2xt
4e5b41f150
fix: require valid email addresses in dc_provider_new_from_email[_with_dns]()
2023-09-25 15:51:10 +00:00
B. Petersen
56b2361f01
reset document.update on forwarding
...
this fixes the test test_forward_webxdc_instance()
2023-09-25 15:20:57 +00:00
B. Petersen
968cc65323
test that update.document is not forwarded
...
the test is failing currently
2023-09-25 15:20:57 +00:00