link2xt
299d994d4b
ci: replace black with ruff format
...
We use `ruff` anyway, so it is one less dependency.
2024-05-02 14:44:11 +02:00
dependabot[bot]
5e0f5ec390
chore(cargo): bump serde from 1.0.197 to 1.0.200
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.197 to 1.0.200.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.200 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-02 04:27:42 -03:00
dependabot[bot]
c318ca5d1a
chore(cargo): bump base64 from 0.22.0 to 0.22.1
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.22.0 to 0.22.1.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.22.0...v0.22.1 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-02 04:18:18 -03:00
dependabot[bot]
38a2e07194
Merge pull request #5515 from deltachat/dependabot/cargo/quote-1.0.36
2024-05-02 06:22:56 +00:00
dependabot[bot]
1ff6740938
chore(cargo): bump quote from 1.0.35 to 1.0.36
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.35...1.0.36 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-01 21:52:09 +00:00
Christian Hagenest
402d5bed85
rm npm install
2024-04-30 21:10:36 +02:00
missytake
57bc046381
ci: use rsync instead of 3rd party github action
2024-04-30 21:10:36 +02:00
Christian Hagenest
0617236eb0
rm leading slash
2024-04-30 21:10:36 +02:00
Christian Hagenest
8c5ffe0237
upload-docs npm run => npm run build
2024-04-30 21:10:36 +02:00
Christian Hagenest
39f977c1e6
add : to upload-docs.yml
2024-04-30 21:10:36 +02:00
Christian Hagenest
ec03614cae
add npm install to upload-docs.yml
2024-04-30 21:10:36 +02:00
Christian Hagenest
ea0b063c19
test ts build on branch
2024-04-30 21:10:36 +02:00
Christian Hagenest
98d7a93909
correct folder for js.jsonrpc docs
2024-04-30 21:10:36 +02:00
Christian Hagenest
49bf8414ed
rm unneeded rust install from ts docs ci
2024-04-30 21:10:36 +02:00
Christian Hagenest
1e7dbea351
Implement jsonrpc-docs build in github action
2024-04-30 21:10:36 +02:00
Christian Hagenest
0412244646
Revert "WIP: build ts docs with ci + nix"
...
This reverts commit 00d486e58f .
2024-04-30 21:10:36 +02:00
Christian Hagenest
bbd854d7bc
Revert "push docs to delta.chat instead of codespeak"
...
This reverts commit c04188ce56 .
2024-04-30 21:10:36 +02:00
Christian Hagenest
ba2bb517f7
Revert "WIP npm2nix, error: no source/nix"
...
This reverts commit 83bfba53de .
2024-04-30 21:10:36 +02:00
Christian Hagenest
0ae831eca0
WIP npm2nix, error: no source/nix
2024-04-30 21:10:36 +02:00
Christian Hagenest
ab494ae786
push docs to delta.chat instead of codespeak
2024-04-30 21:10:36 +02:00
Christian Hagenest
8a58ae8a3a
WIP: build ts docs with ci + nix
2024-04-30 21:10:36 +02:00
link2xt
cf84255e99
test: test that POIs are deleted when ephemeral message expires
2024-04-29 22:35:59 +00:00
link2xt
462bd63065
docs: add location module documentation
2024-04-29 22:35:59 +00:00
link2xt
6bfbf6547b
feat: delete orphaned POI locations during housekeeping
2024-04-29 22:35:59 +00:00
link2xt
13802bab42
fix: delete POI location when disappearing message expires
2024-04-29 22:35:59 +00:00
link2xt
adb2e4ea32
refactor: move delete_poi_location to location module and document it
2024-04-29 22:35:59 +00:00
link2xt
421a7b277d
docs: remove Doxygen markup from Message.has_location()
2024-04-29 22:35:59 +00:00
link2xt
14d8139883
feat: delete expired path locations in ephemeral loop
2024-04-29 22:35:59 +00:00
link2xt
062905924c
docs: fix references in Message.set_location() documentation
2024-04-29 22:35:59 +00:00
iequidoo
20d79970a2
fix: Correct message viewtype before recoding image blob ( #5496 )
...
Otherwise, e.g. if a message is a large GIF, but its viewtype is set to `Image` by the app, this GIF
will be recoded to JPEG to reduce its size. GIFs and other special viewtypes must be always detected
and sent as is.
2024-04-27 23:44:50 -03:00
link2xt
f49588e64e
fix: interrupt location loop when new location is stored
...
Otherwise location-only messages
that should be sent every 60 seconds
are never sent because location loop
waits until the end of location streaming
and is only interrupted by location streaming
ending in other chats or being enabled in other chats.
2024-04-27 20:55:05 +00:00
link2xt
496a8e3810
test: test that member is added even if "Member added" is lost
...
This is similar to `test_modify_chat_disordered`,
but tests that recovery works in the simplest case
where next message is not modifying group membership.
2024-04-27 07:51:08 +00:00
link2xt
94dc65c1a2
refactor(python): fix ruff 0.4.2 warnings
2024-04-25 20:45:54 +00:00
link2xt
4fe7fa3148
fix: never prepend subject to message text when bot receives it
2024-04-25 12:15:54 +00:00
link2xt
4cf923ccb9
fix: do not fail to send encrypted quotes to unencrypted chats
...
Replace quote text with "..." instead.
2024-04-25 09:00:49 +00:00
iequidoo
56b86adf18
api: Add dc_msg_save_file() which saves file copy at the provided path ( #4309 )
...
... and fails if file already exists. The UI should open the file saving dialog, defaulting to
Downloads and original filename, when asked to save the file. After confirmation it should call
dc_msg_save_file().
2024-04-24 16:38:25 -03:00
iequidoo
cfccee2ad4
fix: Message::set_file_from_bytes(): Set Param::Filename
2024-04-24 16:38:25 -03:00
Hocuri
37d92e3fa5
test: Explain test_was_seen_recently false-positive and give workaround instructions ( #5474 )
...
Until the issue is fixed, keep others from running into the same issue.
2024-04-24 14:55:15 +00:00
link2xt
a1ee2b463f
chore(release): prepare for 1.137.4
v1.137.4
2024-04-24 11:10:25 +00:00
link2xt
8df3b1bb1b
fix: use only CRLF in Autocrypt Setup Message
2024-04-24 01:50:28 +00:00
iequidoo
22f240dd4d
feat: Add progressive backoff for failing IMAP connection attempts ( #5443 )
...
This way we avoid an immediate retry if the network is not yet ready exhausting the ratelimiter's
quota of two connection attempts. Also notify the ratelimiter only after a successful connection so
that it only limits the server load, but not connection attempts.
2024-04-23 22:00:47 -03:00
iequidoo
ae10ed5c40
refactor: Imap: remove RwLock from ratelimit
2024-04-23 22:00:47 -03:00
link2xt
aff6bf9402
fix: convert images to RGB8 (without alpha) before encoding into JPEG
...
Otherwise an error
"The encoder or decoder for Jpeg does not support the color type `Rgba8`"
is returned if image has an alpha channel.
This is caused by the recent change of JPEG encoder
in `image` crate: <https://github.com/image-rs/image/issues/2211 >
2024-04-23 23:37:58 +00:00
link2xt
43fc55e542
test: test recoding RGBA image
2024-04-23 23:37:58 +00:00
link2xt
7ea05cb8a0
test: add screenshot-rgba.png
...
Created by `convert -alpha deactivate screenshot.png screenshot-rbga.png`.
2024-04-23 23:37:58 +00:00
link2xt
d036ad5853
fix: do not fail if Autocrypt Setup Message has no encryption preference
...
According to Autocrypt specification
Autocrypt Setup Message SHOULD
contain Autocrypt-Prefer-Encrypt header,
but K-9 6.802 does not include it.
2024-04-23 22:16:54 +00:00
link2xt
e9280b8413
refactor: group use at the top of the test modules
2024-04-23 21:07:50 +00:00
link2xt
2108a8ba94
fix(node): undefine NAPI_EXPERIMENTAL
...
This fixes build with new clang
which treats -Wincompatible-function-pointer-types as an error.
Related upstream issue: <https://github.com/nodejs/node/issues/52229 >
2024-04-23 11:34:03 +00:00
link2xt
34f4ec02f6
feat: replace event channel with broadcast channel
...
This makes `EventTracker` receive events immediately
instead of being moved from event emitter to event tracker
by a task spawned from `TestContext::new_internal`.
This makes `EventTracker.clear_events` reliable
as it is guaranteed to remove all events emitted
by the time it is called rather than only events
that have been moved already.
2024-04-22 07:44:21 +00:00
link2xt
72d5a387fb
api!: remove Stream implementation for EventEmitter
2024-04-22 07:44:21 +00:00