dependabot[bot]
c5af69db2b
cargo: bump serde from 1.0.147 to 1.0.148
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.147 to 1.0.148.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.147...v1.0.148 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-03 13:25:10 +00:00
dependabot[bot]
030241d1c3
Merge pull request #3804 from deltachat/dependabot/cargo/tagger-4.3.4
2022-12-03 13:23:20 +00:00
dependabot[bot]
4f01c43a93
Merge pull request #3796 from deltachat/dependabot/cargo/serde_json-1.0.89
2022-12-03 13:19:51 +00:00
dependabot[bot]
ab94471e91
Merge pull request #3794 from deltachat/dependabot/cargo/uuid-1.2.2
2022-12-03 00:36:55 +00:00
dependabot[bot]
140aa68811
cargo: bump serde_json from 1.0.87 to 1.0.89
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.87 to 1.0.89.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.87...v1.0.89 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-03 00:13:28 +00:00
dependabot[bot]
d9ef38e370
Merge pull request #3803 from deltachat/dependabot/cargo/tokio-1.22.0
2022-12-03 00:11:39 +00:00
dependabot[bot]
acf66116cd
Merge pull request #3805 from deltachat/dependabot/cargo/syn-1.0.105
2022-12-03 00:10:17 +00:00
dependabot[bot]
8e69125128
Merge pull request #3806 from deltachat/dependabot/cargo/sha-1-0.10.1
2022-12-02 23:06:29 +00:00
dependabot[bot]
7402ca3568
cargo: bump tokio from 1.21.2 to 1.22.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.21.2 to 1.22.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.22.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-02 18:28:24 +00:00
dependabot[bot]
d7b240f25c
cargo: bump syn from 1.0.103 to 1.0.105
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.103 to 1.0.105.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.103...1.0.105 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-02 17:31:27 +00:00
dependabot[bot]
e5e4d3bed4
cargo: bump tagger from 4.3.3 to 4.3.4
...
Bumps [tagger](https://github.com/tiby312/tagger ) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/tiby312/tagger/releases )
- [Commits](https://github.com/tiby312/tagger/commits )
---
updated-dependencies:
- dependency-name: tagger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-02 17:31:25 +00:00
dependabot[bot]
1a59302749
Merge pull request #3793 from deltachat/dependabot/cargo/async-channel-1.8.0
2022-12-02 17:29:30 +00:00
dependabot[bot]
f0a5bbedb4
cargo: bump async-channel from 1.7.1 to 1.8.0
...
Bumps [async-channel](https://github.com/smol-rs/async-channel ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/smol-rs/async-channel/releases )
- [Changelog](https://github.com/smol-rs/async-channel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-channel/compare/v1.7.1...v1.8.0 )
---
updated-dependencies:
- dependency-name: async-channel
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-02 15:15:40 +00:00
dependabot[bot]
139665b3d6
Merge pull request #3792 from deltachat/dependabot/cargo/typescript-type-def-0.5.5
2022-12-02 15:13:42 +00:00
dependabot[bot]
ca23d59148
Merge pull request #3802 from deltachat/dependabot/cargo/regex-1.7.0
2022-12-02 15:13:09 +00:00
dependabot[bot]
1635f00a62
Merge pull request #3800 from deltachat/dependabot/cargo/reqwest-0.11.13
2022-12-02 15:11:17 +00:00
dependabot[bot]
e27b64274f
cargo: bump sha-1 from 0.10.0 to 0.10.1
...
Bumps [sha-1](https://github.com/RustCrypto/hashes ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha-1-v0.10.0...md2-v0.10.1 )
---
updated-dependencies:
- dependency-name: sha-1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-01 21:04:08 +00:00
dependabot[bot]
46721bcf46
cargo: bump regex from 1.6.0 to 1.7.0
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.6.0 to 1.7.0.
- [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.6.0...1.7.0 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-01 21:03:25 +00:00
dependabot[bot]
80cefdd1d5
cargo: bump reqwest from 0.11.12 to 0.11.13
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.12 to 0.11.13.
- [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.12...v0.11.13 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-01 21:03:06 +00:00
dependabot[bot]
1ab5401501
cargo: bump uuid from 1.2.1 to 1.2.2
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.2.1...1.2.2 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-01 21:02:20 +00:00
dependabot[bot]
0b60cc8341
cargo: bump typescript-type-def from 0.5.4 to 0.5.5
...
Bumps [typescript-type-def](https://github.com/dbeckwith/rust-typescript-type-def ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/dbeckwith/rust-typescript-type-def/releases )
- [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.4...v0.5.5 )
---
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 >
2022-12-01 21:01:55 +00:00
link2xt
f2c97bda66
jsonrpc: add message errors to MessageObject
2022-11-30 20:35:36 +01:00
Hocuri
6c4d919828
Add members to chats in a single sql transation ( #3780 )
...
This esp. speeds up receive_imf a bit when we recreate the member list (recreate_member_list == true).
It's a preparation for https://github.com/deltachat/deltachat-core-rust/issues/3768 , which will be a one-line-fix, but recreate the member list more often, so that we want to optimize this case a bit.
It also adds a benchmark for this case. It's not that easy to make the benchmark non-flaky, but by closing all other programs and locking the CPU to 1.5GHz it worked. It is consistently a few percent faster than ./without-optim:
```
Receive messages/Receive 100 Chat-Group-Member-{Added|Removed} messages
time: [52.257 ms 52.569 ms 52.941 ms]
change: [-3.5301% -2.6181% -1.6697%] (p = 0.00 < 0.05)
Performance has improved.
Found 7 outliers among 100 measurements (7.00%)
4 (4.00%) high mild
3 (3.00%) high severe
```
2022-11-29 19:37:56 +00:00
iequidoo
f6a502a8e3
Remove the remaining AsRef<str> ( #3669 )
...
Using &str instead of AsRef is better for compile times, binary size and code complexity.
2022-11-28 17:02:05 -03:00
missytake
e5be023e4b
document provider pull
2022-11-28 18:03:32 +01:00
link2xt
47743bdcfa
Update humansize to version 2
2022-11-28 15:50:45 +00:00
link2xt
b0962363c2
Merge branch 'link2xt/peerstate-to-save-simplify'
2022-11-27 17:11:19 +00:00
link2xt
8855ef72bc
Clippy fix
2022-11-27 17:10:46 +00:00
link2xt
264727a414
Changelog
2022-11-27 17:10:46 +00:00
link2xt
98c16ddc4d
Remove Peerstate.to_save
2022-11-27 17:10:46 +00:00
link2xt
c7691fbebe
Use UPSERT when saving peerstates
...
This way there is no need to distinguish between creating
and updating peerstate.
2022-11-27 17:10:46 +00:00
link2xt
62f92d5b28
Add UNIQUE constraint to acpeerstates table
2022-11-27 17:10:46 +00:00
link2xt
2ae9165bfb
Remove different states of ToSave in peerstate
2022-11-27 17:10:46 +00:00
link2xt
08de326930
Fix misplaced info! message
2022-11-27 10:03:47 +00:00
link2xt
b341cfd4d9
mimeparser: assume all Thunderbird users prefer encryption
...
Co-Authored-By: missytake <missytake@systemli.org >
2022-11-24 19:20:56 +00:00
link2xt
a76b018900
Move changelog entry to the correct section
2022-11-24 11:23:36 +00:00
iequidoo
9783da5d8e
receive_imf: trim() "Chat-Group-Name{,-Changed}:" headers content ( #3650 )
...
It's a w/a for "Space added before long group names after MIME serialization/deserialization"
issue. DC itself never creates group names with leading/trailing whitespace, so it can be safely
removed. On the sender side there's no trim() because group names anyway go through
improve_single_line_input(). And I believe we should send the exact name we have in our db. Also
there's no check for leading/trailing whitespace because there may be existing user databases with
group names having such whitespaces.
2022-11-24 08:18:36 -03:00
link2xt
6f0985dcaa
Changelog
2022-11-23 22:38:12 +00:00
iequidoo
0b44886b62
Add a test for bug "Partially downloaded messages are received out of order" ( #3688 )
...
+ add Message.download_state property.
2022-11-23 23:51:50 +04:00
iequidoo
36991b5c8a
Add Python API to send reactions ( #3762 )
2022-11-23 23:51:50 +04:00
link2xt
afb7f89722
Do not try to redownload the message in case of any error
...
Since switch to async we don't have spurious "database is busy"
errors anymore. Since an error is irrecoverable in most cases,
we can skip the message. The cost of this is we may
accidentally skip a correct message if I/O fails, but
the advantage is that we are guaranteed to never confuse
irrecoverable error with recoverable one and get stuck in
infinite loop redownloading the same message over and over.
2022-11-23 17:56:56 +00:00
link2xt
0248a36561
Release 1.102.0 ( #3773 )
py-1.102.0
1.102.0
2022-11-23 18:47:49 +01:00
Sebastian Klähn
2e7470115c
Fix link in webxdc-dev-reference.md ( #3770 )
...
Update webxdc-dev-reference.md
2022-11-23 14:46:25 +01:00
Hocuri
06b376d242
Bugfix: Don't let malformed From: headers block the receiving pipeline ( #3769 )
...
That's a bug which @Simon-Laux and probably also @hpk42 had, where one malformed incoming (Spam-) mail blocked the receiving of all emails coming after it.
The problem was that from_field_to_contact_id() returned ContactId::UNDEFINED, and then lookup_by_contact() returned Err.
2022-11-22 21:10:26 +01:00
Hocuri
4b17813b9f
Improve handling of multiple / no From addresses ( #3667 )
...
* Treat multiple From addresses as if there was no From: addr
* changelog
* Don't send invalid emails through the whole receive_imf pipeline
Instead, directly create a trash entry for them.
* Don't create trash entries for randomly generated Message-Id's
* clippy
* fix typo
Co-authored-by: link2xt <link2xt@testrun.org >
2022-11-21 21:38:56 +01:00
Hocuri
960a7f82ef
Small test fix ( #3764 )
...
Doesn't make a difference at this point, since the test is ignored
anyway.
2022-11-19 12:03:05 +01:00
iequidoo
25be8ccd05
fetch_new_messages(): fetch messages sequentially ( #3688 )
...
If we fetch messages out of order, then f.e. reactions don't work because if we process a reaction not yet having the corresponding message processed, the reaction is thrown away.
2022-11-17 15:51:59 -03:00
link2xt
da6c68629d
jsonrpc: do not return a result from deleteContact()
...
It was always true anyway.
2022-11-17 18:36:38 +00:00
link2xt
b63baf939e
Ignore two typescript errors
...
`as any` is not enough anymore.
2022-11-16 14:06:17 +00:00
link2xt
90d8e0cedc
Fix detection of Trash, Junk, All etc. folders
...
imap_proto has been updated, so attributes like `\All`,
`\Junk` from RFC 3501 and RFC 6154 are no longer considered
extensions.
2022-11-15 23:40:07 +00:00