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
adbenitez
29a4404257
enably type-checking in tests
2022-12-01 20:33:05 -05:00
adbenitez
24db29f526
Merge remote-tracking branch 'upstream/link2xt/async-jsonrpc-client' into adb/async-jsonrpc-client
2022-12-01 20:32:36 -05: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]
9972f4da48
cargo: bump num_cpus from 1.13.1 to 1.14.0
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.13.1...v1.14.0 )
---
updated-dependencies:
- dependency-name: num_cpus
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-01 21:02:25 +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
85b4746516
Turn start_rpc_server into a context manager
2022-12-01 16:36:36 +00:00
adbenitez
d17ac9c83c
add start_rpc_server() doc string
2022-12-01 03:34:43 -05:00
adbenitez
e6ff513aac
add support for PEP 561
2022-12-01 03:15:25 -05:00
adbenitez
ffbfeab977
add pytest plugin
2022-12-01 03:09:23 -05:00
adbenitez
09db062958
fix bug in Rpc.__getattr__()
2022-12-01 02:36:55 -05:00
adbenitez
ab7732d9ae
fix type hint in rpc.py
2022-12-01 02:26:50 -05:00
adbenitez
46594ec707
improve typing hints
2022-12-01 00:37:45 -05:00
adbenitez
18426561e3
fix bug in chat.get_encryption_info()
2022-12-01 00:14:07 -05:00
adbenitez
aeb7e3a9e1
fix some linter warnings
2022-11-30 23:56:50 -05:00
adbenitez
a77c46be20
fix bug in account.py: arguments declared as optional but not default value was given
2022-11-30 23:42:08 -05:00
adbenitez
a4be2cddf2
remove unused code in rpc.py
2022-11-30 23:11:50 -05:00
adbenitez
240b335181
fix bugs in account.secure_join() and chat.get_fresh_message_count()
2022-11-30 22:36:49 -05:00
link2xt
53d6807e8d
Simplify process_messages() in echo bot
2022-11-30 22:45:03 +00:00
link2xt
db38cc8891
Add get_fresh_messages_in_arrival_order() call
2022-11-30 22:43:05 +00:00
link2xt
4e2aeceeec
Do not reverse the list of fresh messages
...
Both reversed and original order do not make much sense
for the bot. Ideally bots should have their own key
to get the list of fresh messages in the order of IDs.
2022-11-30 22:38:25 +00:00
link2xt
9b04a04568
Add async python client for Delta Chat core JSON-RPC
2022-11-30 20:21:59 +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