bjoern
c5d1802346
"archive" consistency and improvements ( #3918 )
...
* move 'archived link' betweeen pinned and normal cahts or above normal chats
* add icon for 'archived chats' link
* let get_fresh_msg_cnt() work for DC_CHAT_ID_ARCHIVED_LINK
* move 'archived link' topmost
* use less noticeable archived-icon
* slightly smaller archived icon
* update CHANGELOG
2023-01-05 10:31:47 +01:00
dependabot[bot]
d873f88b56
cargo: bump serde from 1.0.148 to 1.0.152
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.148 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.148...v1.0.152 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-05 00:32:24 +00:00
dependabot[bot]
17781066a2
Merge pull request #3899 from deltachat/dependabot/cargo/toml-0.5.10
2023-01-05 00:26:55 +00:00
dependabot[bot]
ac0fbaad21
cargo: bump quick-xml from 0.26.0 to 0.27.1
...
Bumps [quick-xml](https://github.com/tafia/quick-xml ) from 0.26.0 to 0.27.1.
- [Release notes](https://github.com/tafia/quick-xml/releases )
- [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md )
- [Commits](https://github.com/tafia/quick-xml/compare/v0.26.0...v0.27.1 )
---
updated-dependencies:
- dependency-name: quick-xml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-04 23:51:59 +00:00
dependabot[bot]
8ac7f639d8
cargo: bump toml from 0.5.9 to 0.5.10
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/toml-rs/toml/releases )
- [Commits](https://github.com/toml-rs/toml/commits/toml-v0.5.10 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-04 23:50:21 +00:00
dependabot[bot]
3ac1d30a3a
Merge pull request #3903 from deltachat/dependabot/cargo/once_cell-1.17.0
2023-01-04 23:49:26 +00:00
dependabot[bot]
1f420777af
cargo: bump once_cell from 1.16.0 to 1.17.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.16.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-04 14:38:48 +00:00
link2xt
37a212ddc4
ci: remove failing actions-rs/toolchain calls
...
It fails because there is no `rust-toolchain` file anymore.
ubuntu-latest already has cargo installed, there is no need
to reintall it.
2023-01-04 13:35:11 +00:00
link2xt
138e62e1ef
Improve error handling of existing messages fetch and never retry
...
There are at least two user reports that fetching existing messages
sometimes results in infinite loop of retrying it. Account is working
if set up from the backup, but never starts working if set up
from scratch.
This change improves error reporting, but also sets FetchedExistingMsgs
before actually trying to do it. This way if the operation fails,
connection is reestablished, but fetching existing messages is not
retried again over and over.
2023-01-03 18:57:45 +00:00
link2xt
5b12784589
ci: update rust toolchain for repl.exe builds
2023-01-03 15:45:08 +00:00
link2xt
c9ab9d59c2
Adapt the comment, there is no more rust-toolchain
2023-01-03 13:54:23 +00:00
link2xt
ac15b3a5af
Remove rust-toolchain file
...
Any Rust toolchain above MSRV should be usable.
2023-01-03 13:52:57 +00:00
link2xt
468356b120
Trigger reconnection when failing to fetch existing messages
2023-01-03 13:50:37 +00:00
link2xt
f0a28b9168
Log the error before triggering reconnect
...
This way "Dropping an IMAP connection" message appears
after the cause for connection drop.
2023-01-03 12:08:24 +00:00
link2xt
c8f0c6b5f6
Add more IMAP logs
2023-01-03 12:06:27 +00:00
dependabot[bot]
e653531934
cargo: bump base64 from 0.13.1 to 0.20.0
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.13.1 to 0.20.0.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.1...v0.20.0 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-02 22:36:56 +00:00
dependabot[bot]
3444c2aadd
Merge pull request #3900 from deltachat/dependabot/cargo/backtrace-0.3.67
2023-01-02 22:32:35 +00:00
link2xt
7aa7548a51
Changelog
2023-01-02 22:11:09 +00:00
link2xt
5b3596987b
Test that STARTTLS connection works
2023-01-02 22:11:09 +00:00
link2xt
1e5c90ed65
Fix STARTTLS connection
2023-01-02 22:11:09 +00:00
link2xt
f694d2e150
Format configure() logs with error causes
2023-01-02 22:11:09 +00:00
dependabot[bot]
9738d53a82
Merge pull request #3902 from deltachat/dependabot/cargo/libc-0.2.139
2023-01-02 21:43:52 +00:00
dependabot[bot]
e1d9dac70c
Merge pull request #3905 from deltachat/dependabot/cargo/quote-1.0.23
2023-01-02 14:18:49 +00:00
dependabot[bot]
e6324e3a19
cargo: bump libc from 0.2.137 to 0.2.139
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.137 to 0.2.139.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.137...0.2.139 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-02 13:44:38 +00:00
dependabot[bot]
4489db76c9
cargo: bump quote from 1.0.21 to 1.0.23
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.21 to 1.0.23.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.21...1.0.23 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-02 13:43:57 +00:00
dependabot[bot]
67ffada4b3
Merge pull request #3904 from deltachat/dependabot/cargo/mailparse-0.14.0
2023-01-02 13:41:12 +00:00
link2xt
9aaf5cf914
Disable Nagle's algorithm for TCP connections
2023-01-02 11:15:21 +00:00
link2xt
08af7419af
Format configuration error with causes
2023-01-02 11:15:21 +00:00
link2xt
035b711ee3
Buffer IMAP client writes
...
async-imap does not do its own buffering, but calls flush() after
sending each command. Using BufWriter reduces the number of write()
system calls used to send a single command.
Note that BufWriter is set up on top of TLS streams, because
we can't guarantee that TLS libraries flush the stream before
waiting for response.
2023-01-02 11:15:21 +00:00
dependabot[bot]
5ad25dedf8
Merge pull request #3896 from deltachat/dependabot/cargo/humansize-2.1.3
2023-01-01 23:28:03 +00:00
dependabot[bot]
de47aa8466
cargo: bump mailparse from 0.13.8 to 0.14.0
...
Bumps [mailparse](https://github.com/staktrace/mailparse ) from 0.13.8 to 0.14.0.
- [Release notes](https://github.com/staktrace/mailparse/releases )
- [Commits](https://github.com/staktrace/mailparse/compare/v0.13.8...v0.14.0 )
---
updated-dependencies:
- dependency-name: mailparse
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-01 23:24:38 +00:00
dependabot[bot]
9a78bd6e3f
Merge pull request #3891 from deltachat/dependabot/cargo/num_cpus-1.15.0
2023-01-01 23:23:38 +00:00
dependabot[bot]
08cbb66a55
Merge pull request #3897 from deltachat/dependabot/cargo/tokio-1.23.0
2023-01-01 23:23:05 +00:00
dependabot[bot]
824cf93494
Merge pull request #3892 from deltachat/dependabot/cargo/anyhow-1.0.68
2023-01-01 23:20:32 +00:00
dependabot[bot]
00d2f2e7b4
Merge pull request #3895 from deltachat/dependabot/cargo/syn-1.0.107
2023-01-01 23:20:06 +00:00
dependabot[bot]
968ad2859e
Merge pull request #3890 from deltachat/dependabot/cargo/thiserror-1.0.38
2023-01-01 23:19:48 +00:00
dependabot[bot]
11ca12e43c
cargo: bump backtrace from 0.3.66 to 0.3.67
...
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs ) from 0.3.66 to 0.3.67.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.66...0.3.67 )
---
updated-dependencies:
- dependency-name: backtrace
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-01 21:02:53 +00:00
dependabot[bot]
15fad5476e
cargo: bump tokio from 1.22.0 to 1.23.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.23.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-01 21:02:20 +00:00
dependabot[bot]
4e468fdf24
cargo: bump humansize from 2.1.2 to 2.1.3
...
Bumps [humansize](https://github.com/LeopoldArkham/humansize ) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/LeopoldArkham/humansize/releases )
- [Changelog](https://github.com/LeopoldArkham/humansize/blob/master/changelog.md )
- [Commits](https://github.com/LeopoldArkham/humansize/commits )
---
updated-dependencies:
- dependency-name: humansize
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-01 21:02:06 +00:00
dependabot[bot]
cb4b9fce30
cargo: bump syn from 1.0.105 to 1.0.107
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.105 to 1.0.107.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.105...1.0.107 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-01 21:01:55 +00:00
dependabot[bot]
a562348dfa
cargo: bump anyhow from 1.0.66 to 1.0.68
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.66 to 1.0.68.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.66...1.0.68 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-01 21:01:22 +00:00
dependabot[bot]
bcef1c7a76
cargo: bump num_cpus from 1.14.0 to 1.15.0
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.14.0 to 1.15.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.14.0...v1.15.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 >
2023-01-01 21:01:13 +00:00
dependabot[bot]
4bbb83826c
cargo: bump thiserror from 1.0.37 to 1.0.38
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.37 to 1.0.38.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.37...1.0.38 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-01 21:01:06 +00:00
link2xt
b9dbf1873d
node: do not truncate assertion errors
2023-01-01 21:20:36 +03:00
link2xt
45462fb47e
Fix uncaught exception in node JSON-RPC tests
...
Events don't have an `id`, so promises[response.id] does
not exist for them.
This currently prints a DEP0168 [1] deprecation warning,
but will likely return an error in the future.
[1] https://nodejs.org/api/all.html#all_deprecations_dep0168-unhandled-exception-in-node-api-callbacks
2022-12-31 11:50:21 +00:00
bjoern
bf4ad692df
use u32 as id as done elsewhere ( #3882 )
...
this will avoid some incompatibilities and castingss in UI.
2022-12-30 19:53:44 +01:00
Rafael Diniz
4e943d52e4
Add mappings for some file types to Viewtype / MIME type
...
Namely: ppt, pptx, xls, heif, heic, avif, txt.
But use Viewtype::File for medias without uniform support on all platforms.
2022-12-29 08:37:31 -03:00
link2xt
7082f9f882
Fix fuzzing module warnings
2022-12-28 19:01:48 +00:00
link2xt
4a982fe632
Add fuzzing tests
2022-12-28 16:23:19 +00:00
link2xt
1e351bd05f
Add documentation to simplify.rs
2022-12-28 15:09:20 +00:00