link2xt
a34aeb240a
Increase database timeout to 60 seconds
2023-02-16 18:37:47 +00:00
link2xt
ae19c9b331
Add more documentation
2023-02-15 21:56:33 +00:00
link2xt
7d2cca8633
sql: enable auto_vacuum on all connections
2023-02-15 18:59:47 +00:00
link2xt
c52b48b0f5
sql: update version first in migration transactions
...
In execute_migration transaction first update the version, and only
then execute the rest of the migration. This ensures that transaction
is immediately recognized as write transaction and there is no need
to promote it from read transaction to write transaction later, e.g.
in the case of "DROP TABLE IF EXISTS" that is a read only operation if
the table does not exist. Promoting a read transaction to write
transaction may result in an error if database is locked.
2023-02-15 18:58:44 +00:00
link2xt
893794f4e7
accounts: retry filesystem operations in migrate_account()
2023-02-15 18:57:37 +00:00
link2xt
05f0fe0a88
Derive Default where possible
2023-02-14 21:33:02 +00:00
link2xt
e11d7c0444
Remove unnecessary .into_iter()
2023-02-14 21:04:29 +00:00
link2xt
a203cde400
Remove TestHeader from non-test builds
2023-02-14 11:00:04 +00:00
link2xt
71d9716117
Remove MimeMessage::from_bytes()
...
It was not used anywhere except the tests.
2023-02-14 10:57:57 +00:00
link2xt
1d81457f38
Remove unused ConfiguredE2EEEnabled key
...
`e2ee_enabled` is always used without `configured_` prefix.
2023-02-13 21:14:47 +00:00
iequidoo
19d7632be0
Show non-deltachat emails by default for new installations
2023-02-13 14:48:53 -03:00
link2xt
2a5fa9a0d3
Documentation improvements
2023-02-13 14:01:24 +00:00
link2xt
bb702a9342
Remove outdated comment
2023-02-13 10:20:41 +00:00
link2xt
07c510c178
Remove bitflags from get_chat_msgs() interface
...
get_chat_msgs() function is split into new get_chat_msgs() without flags
and get_chat_msgs_ex() which accepts booleans instead of bitflags.
FFI call dc_get_chat_msgs() is still using bitflags for compatibility.
JSON-RPC calls get_message_ids() and get_message_list_items()
accept booleans instead of bitflags now.
2023-02-12 15:11:04 +00:00
link2xt
fa198c3b5e
Use SOCKS5 configuration for HTTP requests
2023-02-10 23:20:11 +00:00
link2xt
c9b2ad4ffa
Prefer TLS over STARTTLS during autoconfiguration
2023-02-10 11:28:11 +00:00
Hocuri
fa70d8da09
Re-enable DKIM-checks ( #3935 )
...
Re-enable keychange-denying when the From address is wrong
Reverts #3728
Closes #3735
Reopens #3700
2023-02-07 17:07:43 +01:00
link2xt
cd293e6f49
Update async-smtp to 0.8
2023-02-03 11:36:58 +00:00
link2xt
59f5cbe6f1
Merge from stable branch
2023-02-01 15:36:26 +00:00
link2xt
74abb82de2
Log server security (TLS/STARTTLS/plain) type
2023-02-01 00:01:47 +00:00
link2xt
e318f5c697
Simplify unset_empty()
2023-01-31 23:58:38 +00:00
link2xt
b62c61329a
Update to base64 0.21
2023-01-31 19:24:20 +00:00
link2xt
f342dc8196
Update for new toml API
2023-01-31 13:12:54 +00:00
link2xt
fcf73165ed
Inline format arguments
...
This feature has been stable since Rust 1.58.0.
2023-01-30 11:50:11 +03:00
link2xt
c911f1262a
Remove ContextError type
...
Using anyhow instead.
2023-01-29 00:36:07 +00:00
link2xt
ba3e4c5dff
Resultify tools::delete_file()
2023-01-29 00:35:15 +00:00
link2xt
ae564ef702
Add documentation
2023-01-28 21:30:43 +00:00
link2xt
7d3a591139
Make chunk_size variable immutable
2023-01-28 12:54:56 +00:00
link2xt
9b3f76ab5a
Add remove_subject_prefix() test
2023-01-28 11:22:30 +00:00
link2xt
dab8acc7d8
Replace Result<_, Error> with Result<_>
2023-01-28 11:14:30 +00:00
link2xt
4eda53d5a1
Move SessionStream from imap to net
2023-01-27 15:51:04 +00:00
iequidoo
39601be452
observe_securejoin_on_other_device(): Add handling of "v*-request-with-auth" messages ( #3836 )
...
This fixes the case with multiple devices on the joining side: if we observe such a message from
another device, we mark an inviter as verified and an accepted contact thus causing a subsequent
"vg-member-added" message -- in case of a verified group -- to create it properly.
2023-01-25 20:28:49 -03:00
iequidoo
76aaecb8f2
Add gossips to all Securejoin messages ( #3836 )
...
It worked before only because of the gossip-by-timeout logic in the branch above. And that is why
not always.
2023-01-25 20:28:49 -03:00
iequidoo
4b2faeedab
ChatId::create_multiuser_record(): Log blocked of created chat
2023-01-25 20:28:49 -03:00
link2xt
0087e3748c
Fix comment typo
2023-01-25 21:38:08 +00:00
link2xt
754ec33e4b
Correct IMAP_TIMEOUT comment
2023-01-25 21:38:08 +00:00
link2xt
9f8b74adf9
Add missing ephemeral.rs documentation
2023-01-25 19:11:38 +00:00
link2xt
8916841e83
Make maybe_do_aeap_transition() private
2023-01-25 16:25:40 +00:00
link2xt
e7f21f41ee
Do not pass Result as a function argument
2023-01-25 13:57:21 +00:00
Sebastian Klähn
ba860a2b61
Debug logging v2 ( #3958 )
...
debug logging
2023-01-25 13:22:15 +00:00
link2xt
c349a5c75b
Add missing chatlist documentation
2023-01-24 10:11:38 +00:00
link2xt
d522b7ef1e
mimefactory: do not check if the key exists before rendering Autocrypt-Gossip
...
`render_gossip_header()` returns `None` in this case anyway.
2023-01-24 10:06:52 +00:00
link2xt
800125c7a9
Add missing documentation to peerstate.rs
2023-01-24 10:06:52 +00:00
link2xt
5dfe7bea8e
Move rate limiter into its own crate
2023-01-23 14:53:50 +00:00
link2xt
a483df8b20
Add all resolver results with the same timestamp
2023-01-19 21:29:17 +00:00
link2xt
41ccc13394
Extend lookup_host_with_cache comment
2023-01-19 21:06:31 +00:00
link2xt
0978357c5f
Do not cache IP addresses which resolve into themselves
2023-01-19 20:43:53 +00:00
link2xt
7935085e74
Remove port number from DNS cache table
2023-01-19 20:26:11 +00:00
link2xt
7a47c9e38b
Adapt nicer_configuration_error to new error message
2023-01-19 18:29:18 +00:00
link2xt
20124bfca0
Add DNS lookup timeout
2023-01-19 17:33:59 +00:00