link2xt
7bc9dd6c98
chore(release): prepare for 1.155.0
2025-01-23 03:06:03 +00:00
link2xt
32459b3fdc
Reapply "build: increase MSRV to 1.81.0"
...
This reverts commit 9d331483e9 .
2025-01-23 02:59:10 +00:00
Hocuri
65a9c4b79b
File deduplication ( #6332 )
...
When receiving messages, blobs will be deduplicated with the new
function `create_and_deduplicate_from_bytes()`. For sending files, this
adds a new function `set_file_and_deduplicate()` instead of
deduplicating by default.
This is for
https://github.com/deltachat/deltachat-core-rust/issues/6265 ; read the
issue description there for more details.
TODO:
- [x] Set files as read-only
- [x] Don't do a write when the file is already identical
- [x] The first 32 chars or so of the 64-character hash are enough. I
calculated that if 10b people (i.e. all of humanity) use DC, and each of
them has 200k distinct blob files (I have 4k in my day-to-day account),
and we used 20 chars, then the expected value for the number of name
collisions would be ~0.0002 (and the probability that there is a least
one name collision is lower than that) [^1]. I added 12 more characters
to be on the super safe side, but this wouldn't be necessary and I could
also make it 20 instead of 32.
- Not 100% sure whether that's necessary at all - it would mainly be
necessary if we might hit a length limit on some file systems (the
blobdir is usually sth like
`accounts/2ff9fc096d2f46b6832b24a1ed99c0d6/dc.db-blobs` (53 chars), plus
64 chars for the filename would be 117).
- [x] "touch" the files to prevent them from being deleted
- [x] TODOs in the code
For later PRs:
- Replace `BlobObject::create(…)` with
`BlobObject::create_and_deduplicate(…)` in order to deduplicate
everytime core creates a file
- Modify JsonRPC to deduplicate blob files
- Possibly rename BlobObject.name to BlobObject.file in order to prevent
confusion (because `name` usually means "user-visible-name", not "name
of the file on disk").
[^1]: Calculated with both https://printfn.github.io/fend/ and
https://www.geogebra.org/calculator , both of which came to the same
result
([1](https://github.com/user-attachments/assets/bbb62550-3781-48b5-88b1-ba0e29c28c0d ),
[2](https://github.com/user-attachments/assets/82171212-b797-4117-a39f-0e132eac7252 ))
---------
Co-authored-by: l <link2xt@testrun.org >
2025-01-21 19:42:19 +01:00
link2xt
2b5ce35c2d
chore(release): prepare for 1.154.3
2025-01-20 20:22:40 +00:00
link2xt
8af6cdf49c
chore(release): prepare for 1.154.2
2025-01-20 15:22:05 +00:00
link2xt
3cbfb47b6e
build: switch to non-git version of encoded-words
2025-01-19 10:51:46 +00:00
link2xt
fa016b36fb
chore(release): prepare for 1.154.1
2025-01-15 19:23:27 +00:00
link2xt
ffd2ec9424
chore(release): prepare for 1.154.0
2025-01-15 17:56:40 +00:00
link2xt
fff4020013
chore(release): prepare for 1.153.0
2025-01-05 09:08:23 +00:00
link2xt
8ec098210e
fix: update shadowsocks crate to 1.22.0 to avoid panic when parsing some QR codes
...
`aead-cipher` feature has become optional
and is disabled by default.
We enable it to avoid breaking compatibility.
2025-01-03 23:56:47 +00:00
dependabot[bot]
62e22286bb
chore(cargo): bump testdir from 0.9.1 to 0.9.3
...
Bumps [testdir](https://github.com/flub/testdir ) from 0.9.1 to 0.9.3.
- [Changelog](https://github.com/flub/testdir/blob/main/CHANGELOG.md )
- [Commits](https://github.com/flub/testdir/compare/v0.9.1...v0.9.3 )
---
updated-dependencies:
- dependency-name: testdir
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-03 20:50:30 -03:00
dependabot[bot]
8a27c3edf0
chore(cargo): bump rustls from 0.23.19 to 0.23.20
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.19 to 0.23.20.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.19...v/0.23.20 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-03 00:04:17 +00:00
dependabot[bot]
d25cb22ae5
Merge pull request #6380 from deltachat/dependabot/cargo/tokio-util-0.7.13
2025-01-02 23:38:44 +00:00
dependabot[bot]
e236b55fbb
Merge pull request #6382 from deltachat/dependabot/cargo/tokio-rustls-0.26.1
2025-01-02 23:38:25 +00:00
dependabot[bot]
51e7bcf6a6
Merge pull request #6381 from deltachat/dependabot/cargo/rustls-pki-types-1.10.1
2025-01-02 22:52:38 +00:00
dependabot[bot]
de36c05f18
Merge pull request #6379 from deltachat/dependabot/cargo/fast-socks5-0.10.0
2025-01-02 22:49:58 +00:00
dependabot[bot]
8c24dbd493
chore(cargo): bump tokio-rustls from 0.26.0 to 0.26.1
...
Bumps [tokio-rustls](https://github.com/rustls/tokio-rustls ) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/rustls/tokio-rustls/releases )
- [Commits](https://github.com/rustls/tokio-rustls/commits )
---
updated-dependencies:
- dependency-name: tokio-rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-02 22:05:48 +00:00
dependabot[bot]
72312a3a43
chore(cargo): bump tokio-util from 0.7.12 to 0.7.13
...
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.7.12 to 0.7.13.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.12...tokio-util-0.7.13 )
---
updated-dependencies:
- dependency-name: tokio-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-02 22:05:21 +00:00
dependabot[bot]
06e3f0a738
Merge pull request #6394 from deltachat/dependabot/cargo/tokio-stream-0.1.17
2025-01-02 21:31:25 +00:00
dependabot[bot]
4de5867827
Merge pull request #6378 from deltachat/dependabot/cargo/chrono-0.4.39
2025-01-02 21:15:38 +00:00
dependabot[bot]
bf4e11c607
chore(cargo): bump tokio-stream from 0.1.16 to 0.1.17
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.16 to 0.1.17.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.16...tokio-stream-0.1.17 )
---
updated-dependencies:
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:53:58 +00:00
dependabot[bot]
f9a7837e87
chore(cargo): bump async-broadcast from 0.7.1 to 0.7.2
...
Bumps [async-broadcast](https://github.com/smol-rs/async-broadcast ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/smol-rs/async-broadcast/releases )
- [Changelog](https://github.com/smol-rs/async-broadcast/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-broadcast/compare/0.7.1...0.7.2 )
---
updated-dependencies:
- dependency-name: async-broadcast
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:51:10 +00:00
dependabot[bot]
e45df09966
chore(cargo): bump rustls-pki-types from 1.10.0 to 1.10.1
...
Bumps [rustls-pki-types](https://github.com/rustls/pki-types ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/rustls/pki-types/releases )
- [Commits](https://github.com/rustls/pki-types/compare/v/1.10.0...v/1.10.1 )
---
updated-dependencies:
- dependency-name: rustls-pki-types
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:49:52 +00:00
dependabot[bot]
56d9036d27
chore(cargo): bump fast-socks5 from 0.9.6 to 0.10.0
...
Bumps [fast-socks5](https://github.com/dizda/fast-socks5 ) from 0.9.6 to 0.10.0.
- [Release notes](https://github.com/dizda/fast-socks5/releases )
- [Commits](https://github.com/dizda/fast-socks5/compare/v0.9.6...v0.10.0 )
---
updated-dependencies:
- dependency-name: fast-socks5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:49:21 +00:00
dependabot[bot]
c77a09b189
chore(cargo): bump chrono from 0.4.38 to 0.4.39
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.38 to 0.4.39.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.38...v0.4.39 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:49:05 +00:00
link2xt
f1302c3bc4
chore(release): prepare for 1.152.2
2024-12-24 19:20:23 +00:00
link2xt
9e408c3abd
chore(release): prepare for 1.152.1
2024-12-17 19:28:09 +00:00
link2xt
9d331483e9
Revert "build: increase MSRV to 1.81.0"
...
This reverts commit ffe6efe819 .
2024-12-17 17:20:48 +00:00
link2xt
a305409627
chore(release): prepare for 1.152.0
2024-12-12 15:39:31 +00:00
link2xt
ffe6efe819
build: increase MSRV to 1.81.0
2024-12-12 04:45:24 +00:00
link2xt
b650b96ccd
chore(release): prepare for 1.151.6
2024-12-11 09:30:42 +00:00
link2xt
77cf536b94
chore(release): prepare for 1.151.5
2024-12-05 12:35:46 +00:00
link2xt
ff734ee24d
chore(cargo): update rPGP to 0.14.2
2024-12-05 12:22:04 +00:00
link2xt
825455d9dc
chore(release): prepare for 1.151.4
2024-12-03 14:45:31 +00:00
link2xt
645e316faa
chore(cargo): update async-smtp to 0.10.0
2024-12-03 07:05:03 +00:00
Hocuri
256b34dadc
test: fix cargo check for receive_emails benchmark
2024-12-02 22:13:10 +01:00
link2xt
ddfcd2ed2e
chore(release): prepare for 1.151.3
2024-12-02 17:09:45 +00:00
dependabot[bot]
8ffe864812
Merge pull request #6296 from deltachat/dependabot/cargo/image-0.25.5
2024-12-02 02:31:19 +00:00
dependabot[bot]
5a353a206b
chore(cargo): bump tempfile from 3.13.0 to 3.14.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.13.0 to 3.14.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.13.0...v3.14.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-02 01:19:54 +00:00
dependabot[bot]
8ddd28d08c
chore(cargo): bump futures-lite from 2.4.0 to 2.5.0
...
Bumps [futures-lite](https://github.com/smol-rs/futures-lite ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/smol-rs/futures-lite/releases )
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/futures-lite/compare/v2.4.0...v2.5.0 )
---
updated-dependencies:
- dependency-name: futures-lite
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-02 01:19:04 +00:00
dependabot[bot]
0c35360b9f
Merge pull request #6301 from deltachat/dependabot/cargo/webpki-roots-0.26.7
2024-12-02 00:50:22 +00:00
dependabot[bot]
c356dbff06
chore(cargo): bump image from 0.25.4 to 0.25.5
...
Bumps [image](https://github.com/image-rs/image ) from 0.25.4 to 0.25.5.
- [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.25.4...v0.25.5 )
---
updated-dependencies:
- dependency-name: image
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-02 00:29:39 +00:00
dependabot[bot]
d4a6484b0c
Merge pull request #6290 from deltachat/dependabot/cargo/rustls-0.23.19
2024-12-02 00:29:37 +00:00
dependabot[bot]
a42cd5450b
chore(cargo): bump webpki-roots from 0.26.6 to 0.26.7
...
Bumps [webpki-roots](https://github.com/rustls/webpki-roots ) from 0.26.6 to 0.26.7.
- [Release notes](https://github.com/rustls/webpki-roots/releases )
- [Commits](https://github.com/rustls/webpki-roots/compare/v/0.26.6...v/0.26.7 )
---
updated-dependencies:
- dependency-name: webpki-roots
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-01 21:14:55 +00:00
dependabot[bot]
f3332fa7a6
chore(cargo): bump rustls from 0.23.18 to 0.23.19
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.18 to 0.23.19.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.18...v/0.23.19 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-01 21:11:13 +00:00
dependabot[bot]
f03d56143c
chore(cargo): bump kamadak-exif from 0.6.0 to 0.6.1
...
Bumps [kamadak-exif](https://github.com/kamadak/exif-rs ) from 0.6.0 to 0.6.1.
- [Changelog](https://github.com/kamadak/exif-rs/blob/master/NEWS )
- [Commits](https://github.com/kamadak/exif-rs/compare/0.6...0.6.1 )
---
updated-dependencies:
- dependency-name: kamadak-exif
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-01 21:10:35 +00:00
bjoern
d1537095e4
chore(release): prepare for 1.151.2 ( #6267 )
...
following `RELEASE.md`, after merging, the following is needed:
6. Tag the release: `git tag --annotate v1.151.2`.
7. Push the release tag: `git push origin v1.151.2`.
8. Create a GitHub release: `gh release create v1.151.2 --notes ''`.
2024-11-27 13:37:01 +01:00
link2xt
703cad970d
chore(release): prepare for 1.151.1
2024-11-24 14:00:53 +00:00
link2xt
bacdf8f8df
chore(release): prepare for 1.151.0
2024-11-23 21:57:19 +00:00
bjoern
8a0c913bbd
feat: use privacy-preserving webxdc addresses ( #6237 )
...
this PR adds the address to be used by the UI for
`window.webxdc.selfAddr` to webxdc-info. UIs need to be changed
accordingly and must not use configured_addr any longer.
the address is created by sha256(private-key + rfc724_mid) , which
results in different addresses for each webxdc, without the option to
find out the real address of the user.
this also returns the same address for a multi-device-setup - sending
totally random self address around might be an alternative, however
would require connectivity (both devices may be offline on first start).
for existing app, after the change, there will be a new user, resulting
eg. in a new highscore, otherwise, things should be mostly fine. this
assumption is also important as we might change the thing another time
when it comes to multi-transport.
ftr, addresses look like
`0f187e3f420748b03e3da76543e9a84ecff822687ce7e94f250c04c7c50398bc` now
when this is merged, we need to adapt #6230 and file issues for all UI
to use `info.selfAddr`
closes #6216
2024-11-21 18:00:29 +00:00