link2xt
ecc7758788
Add documentation to contact module
2023-01-06 11:53:58 +00:00
link2xt
6e40fd8000
message: derive Ord for MessageState
2023-01-06 11:44:33 +00:00
bjoern
eba96eb904
mark all archived read ( #3919 )
...
* let marknoticed_chat() work for DC_CHAT_ID_ARCHIVED_LINK
* fix test_util::get_last_msg() - the first position may be the archive-link if 'adding specials' is allowed
* add a test for the archived-link message counter
* update CHANGELOG
2023-01-06 11:22:30 +01:00
link2xt
3986bb6c4e
Fix provider update script
2023-01-06 00:44:15 +00:00
link2xt
10349b7be4
Update provider database
2023-01-06 00:39:40 +00:00
link2xt
f69acaa13d
Add more logging and improve errors around folder selection
2023-01-05 21:22:34 +00:00
link2xt
754c7324f5
Print more anyhow errors with their causes
2023-01-05 21:21:42 +00:00
link2xt
2b4e32d2cf
Remove unused KeyType from DcKey trait
...
It always equals Self.
2023-01-05 21:20:15 +00:00
Sebastian Klähn
8e0626e995
Merge branch 'master' into fix3782
2023-01-05 18:55:47 +01:00
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
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
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
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
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
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
dependabot[bot]
f0d5bfd42f
Merge pull request #3722 from deltachat/dependabot/cargo/quick-xml-0.26.0
2022-12-27 17:36:11 +00:00
link2xt
256ef7c5ec
Add missing documentation for location streaming
2022-12-27 17:31:24 +00:00
link2xt
6e63555bc8
Add missing documentation for the download state
2022-12-27 17:30:39 +00:00
Sebastian Klähn
7273c917a6
remove logs
2022-12-27 18:08:20 +01:00
dependabot[bot]
5432e108a1
cargo: bump quick-xml from 0.23.0 to 0.26.0
...
Bumps [quick-xml](https://github.com/tafia/quick-xml ) from 0.23.0 to 0.26.0.
- [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.23.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: quick-xml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-27 14:01:33 -03:00
Sebastian Klähn
d0871d3bd7
fmt + changelog
2022-12-27 17:41:21 +01:00
Sebastian Klähn
f7bf31dbea
recteate memberlist on groupjoin
2022-12-27 17:23:04 +01:00
Sebastian Klähn
b5fc9aedc5
Update src/mimeparser.rs
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2022-12-27 14:58:06 +01:00
Sebastian Klähn
0250b6f421
Update src/chat.rs
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2022-12-27 14:58:06 +01:00
Septias
7415eadb78
fix suggested changes
2022-12-27 14:58:06 +01:00
Sebastian Klähn
8d077b964c
Update src/chat.rs
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2022-12-27 14:57:25 +01:00
Sebastian Klähn
99923fd816
Update src/chat.rs
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2022-12-27 14:57:25 +01:00
Sebastian Klähn
f3614536d9
debug
2022-12-27 14:57:25 +01:00
Sebastian Klähn
a9a485d19e
recreate test
2022-12-27 14:57:25 +01:00
Sebastian Klähn
32d54c8b93
clippy fix
2022-12-27 14:57:09 +01:00
Sebastian Klähn
f9a5cf9b11
use correct method & handle message deletions correctly
2022-12-27 14:56:24 +01:00
Sebastian Klähn
71ada54703
documentation
2022-12-27 14:56:24 +01:00
Sebastian Klähn
81695d6b80
don't always build new contact list
2022-12-27 14:56:24 +01:00
link2xt
3fcd17e6a5
Add missing documentation for Summary constructor
2022-12-27 12:02:23 +00:00
Sebastian Klähn
c562d17925
Add verifier information ( #3839 )
...
* add verifier information
* cleanup
Co-authored-by: bjoern <r10s@b44t.com >
* finish name change
* simple improvements & new ffi
* fixs
Co-authored-by: bjoern <r10s@b44t.com >
Co-authored-by: septias <xxsebastian.kleahnxx@gmail.com >
2022-12-27 10:41:15 +00:00
link2xt
89b7ce4c4e
Move format_flowed to a separate crate
...
This makes it possible to fuzz test the functions
without exposing the module interface in the deltachat core
interface.
Also ensure that format_flowed will not grow a dependency
on deltachat core types.
2022-12-26 19:21:44 +00:00
iequidoo
6dc790f447
Don't parse the message again after detached signatures validation
...
If we move the detached signatures validation code out of try_decrypt(), we don't need to convert an
already parsed signed message part to Vec and then parse it back. Also this simplifies the
try_decrypt() semantics and return type. It can't make a good coffee anyway.
2022-12-26 18:48:38 +04:00
link2xt
6f7bb8a777
Do not trim leading spaces from message lines
2022-12-26 12:20:30 +00:00
link2xt
8de7014eeb
Fix nightly clippy warnings
2022-12-26 00:26:17 +00:00
link2xt
d73c4a92a7
Silence clippy warning about type complexity
2022-12-26 00:25:56 +00:00
link2xt
e328de5293
Make try_decrypt non-async
...
Private keyring is now loaded outside of try_decrypt
2022-12-24 10:57:51 +00:00
link2xt
93054ef87c
Use new_alice() instead of new() in mimeparser tests
...
This way contexts have a private key and attempts to
load it does not result in an error.
2022-12-24 10:40:11 +00:00