link2xt
26959d5b75
test(python): fix flaky test_set_get_group_image
...
Wait for one "Member added" message to be delivered
before sending another text message.
Otherwise they may be reordered by the mail server.
2023-10-09 12:48:33 +00:00
link2xt
ff5005fa93
fix(python): fix scripts/make-python-testenv.sh
...
Without `-c python` tox does not find tox.ini and creates empty environment.
Renamed env/ into venv/ as it is more common.
2023-10-09 12:43:22 +00:00
iequidoo
8f316e12d5
fix: Assign encrypted partially downloaded group messages to 1:1 chat ( #4757 )
...
Before they were trashed. Note that for unencrypted ones DC works as expected creating the requested
group immediately because Chat-Group-Id is duplicated in the Message-Id header and Subject is
fetched.
2023-10-09 05:45:18 -03:00
iequidoo
5f00fc4e27
fix: Don't update timestamp, timestamp_rcvd, state when replacing partially downloaded message ( #4700 )
...
Also add a test on downloading a message later. Although it doesn't reproduce #4700 for some reason,
it fails w/o the fix because before a message state was changing to `InSeen` after a full download
which doesn't look correct. The result of a full message download should be such as if it was fully
downloaded initially.
2023-10-09 05:45:18 -03:00
link2xt
f279730b0f
feat: validate boolean values passed to set_config
...
They may only be set to "0" and "1".
Validation prevents accidentally setting the value to "true", "True" etc.
2023-10-08 23:15:49 +00:00
missytake
5a5f8b03d1
fix(python): don't automatically set the displayname to 'bot' when setting log level
2023-10-08 17:38:57 +00:00
missytake
5e73e9cd72
chore: added more typical virtualenv paths to gitignore
2023-10-08 17:38:57 +00:00
link2xt
129de9182f
chore(deltachat-rpc-client): remove AsyncIO classifier
2023-10-08 01:38:52 +00:00
link2xt
37383c10ac
Merge 'stable' into 'master'
...
Resolved conflicts due to asyncio removal.
2023-10-08 01:30:46 +00:00
link2xt
09798df7a0
refactor(deltachat-rpc-client): remove print() calls
2023-10-07 23:50:38 +00:00
link2xt
b360225e08
refactor: fix Rust 1.73 clippy warnings
2023-10-06 21:21:16 +00:00
link2xt
09d5e44b13
ci: test with Rust 1.73
2023-10-06 21:21:16 +00:00
link2xt
8ba89c0fa1
ci: reduce required Python version for deltachat-rpc-client
2023-10-06 21:20:44 +00:00
link2xt
f984a27379
fix: use process_group Popen argument with Python 3.11
2023-10-06 19:40:26 +00:00
link2xt
425a2310fe
refactor(deltachat-rpc-client): close stdin instead of sending SIGTERM
2023-10-06 18:44:19 +00:00
link2xt
95571be278
fix: run deltachat-rpc-server in its own process group
...
This ensures the server does not get SIGINT
when the bot is running in a terminal and user presses ^C
We want to send SIGTERM ourselves after clean shutdown,
e.g. stopping I/O for all accounts.
2023-10-06 18:30:59 +00:00
link2xt
7bf44a237e
api(deltachat-rpc-client)!: replace asyncio with threads
2023-10-05 15:59:57 +00:00
link2xt
a119b24eeb
Merge tag 'v1.124.1'
2023-10-05 05:02:18 +00:00
link2xt
47dbac9b50
chore(release): prepare for 1.124.1
v1.124.1
2023-10-05 05:01:26 +00:00
link2xt
a49282727b
ci: pin urllib3 version to <2
...
Otherwise it is impossible to build wheels.
2023-10-05 04:41:51 +00:00
iequidoo
0d22fc7ac1
fix: Remove footer from reactions on the receiver side ( #4780 )
...
Reactions do not have footer since 6d2ac30 . However, mailing lists still add the footer to the
messages, and receiver interpreted words as a reaction.
2023-10-04 22:46:09 -03:00
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