Hocuri
c438691b73
Disable fetch-existing for now
2020-10-23 08:31:49 +02:00
adbenitez
1cacfb30ff
avoid usage of deprecated contact.set_blocked()
2020-10-23 08:25:46 +02:00
Simon Laux
39a00929c7
fix function reference in changelog
2020-10-21 18:29:00 +03:00
Alexander Krotov
8156692e5a
configure: always try at least one IMAP and SMTP server
...
Previously empty autoconfig resulted in no servers being tried and no
error displayed.
2020-10-21 02:30:16 +03:00
holger krekel
5a9a4dbbab
introduce Account.get_blocked_contacts
...
also introduce Contact.block() and Contact.unblock() methods
and deprecate the c-ish "Contact.set_blocked()" api.
fixes #2011
2020-10-20 11:56:02 +02:00
bjoern
df56b76182
Update CHANGELOG.md
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2020-10-19 18:44:39 +02:00
B. Petersen
0fc1134bab
bump version to 1.47
2020-10-19 18:44:39 +02:00
B. Petersen
dfecd033a7
update changelog for 1.47
2020-10-19 18:44:39 +02:00
Hocuri
6c5eaaed2c
Don't peek-receipients/fetch-existing if this is a bot
2020-10-19 18:10:54 +02:00
Hocuri
dcc00075b0
extract variable
2020-10-19 15:23:18 +02:00
Hocuri
a320fb9d6c
Doesn't look great, but this was the only way to make compiler happy
2020-10-19 15:23:18 +02:00
Hocuri
3bef4909d5
Update src/message.rs
...
Co-authored-by: holger krekel <holger@merlinux.eu >
2020-10-19 15:23:18 +02:00
Hocuri
26aeacc6be
@link2xt's review
2020-10-19 15:23:18 +02:00
Hocuri
0b1288fc17
Mark all failed messages as failed when receiving an NDN
...
There may be multiple messages with the same `Message-Id`-header alias
rfc724_mid because an email with multiple attachments was split up.
2020-10-19 15:23:18 +02:00
Hocuri
c005f756d6
Do not allow to save drafts in non-writeable chats, fix #1986 ( #1997 )
2020-10-19 13:15:48 +02:00
Hocuri
3c6d52842e
Doc comments are show in HTML documentation.
...
This is not a proper documentation, just a note on implementation.
2020-10-19 13:07:55 +02:00
Hocuri
4d2542cee5
Don't show HTML if there is no content and there is a file attached
...
Fix https://github.com/deltachat/deltachat-core-rust/issues/1982
2020-10-19 13:07:55 +02:00
B. Petersen
9bf8799484
fix processing of protection-changed messages
...
by #2001 , processing of protection-enabled and protection-disabled
messages is only done if verification-checks pass.
unfortunately, these verification checks
were only applied on already protected chats,
so that enabling via a protection-enabled message was not possible.
this is fixed by this pr.
moreover, when inner_set_protection() fails,
the error is shown in the chat.
2020-10-19 13:03:56 +02:00
B. Petersen
e15372531e
skip protection enabled/disabled messages where they did not appear in the past with verified-groups
...
this avoids confusion - as long the current core
does not communicate with a UI that enables/disables protection,
everything looks just the same as in the past :)
2020-10-19 13:02:24 +02:00
link2xt
0ae9443e22
Update sanitize-filename ( #2013 )
2020-10-19 12:14:05 +02:00
Alexander Krotov
67cddedf7e
Switch from lazy_static to once_cell
2020-10-18 15:47:21 +03:00
bjoern
bf72ae4ccc
Merge pull request #2007 from deltachat/tweak-protection-msg
...
do not say, a concrete user has enabled protection if we do not really know
2020-10-17 22:20:36 +02:00
B. Petersen
c7863c67bf
refine test for add_info_msg() and add_info_msg_with_cmd()
2020-10-17 22:02:55 +02:00
B. Petersen
3d108fedc4
set message-info-type also for unpromoted protect/unprotect messages so that UI can show a shield-icon or sth. line that
2020-10-17 21:31:09 +02:00
B. Petersen
546e8dedce
allow adding info-message with defined commands, add tests for that and for set_protection()
2020-10-17 21:27:41 +02:00
Alexander Krotov
64cd48a4e1
Fix nightly clippy warnings
2020-10-17 15:24:09 +03:00
bjoern
2e118b773e
Merge pull request #2009 from deltachat/fix-link
...
fix link to Protected Headers draft
2020-10-17 13:34:23 +02:00
B. Petersen
6206c82ee5
fix link to Protected Headers draft
2020-10-17 13:27:16 +02:00
B. Petersen
e7736138a8
clarify 'promote' parameter in add_protection_msg()
2020-10-17 11:52:56 +02:00
B. Petersen
78b44cb4d0
do not say a concrete user has enabled protection if we do not really know
2020-10-17 11:46:46 +02:00
bjoern
0a9a2394d8
Merge pull request #2001 from deltachat/protect-one-to-one
...
check protection properties for all chats, allow missing Chat-Verified header
2020-10-16 23:02:41 +02:00
bjoern
6e37c1442e
Merge pull request #2006 from deltachat/update-provider-db-2020-10-16-ii
...
update provider-db, second time today
2020-10-16 22:58:28 +02:00
B. Petersen
c323798386
update provider-db, second time today
2020-10-16 21:43:18 +02:00
Hocuri
b8e98c0b81
Also add missing suffix ( #1973 )
2020-10-16 18:42:21 +02:00
B. Petersen
7a82fd4bbd
update provider-db
...
ran `./src/provider/update.py ../provider-db/_providers/ > src/provider/data.rs`
to pull in fetch_existing setting for nauta.
2020-10-16 16:19:07 +02:00
B. Petersen
0a300da347
rename option 'Prefetch' to 'FetchExisting' and limit it to that
2020-10-16 15:28:41 +02:00
B. Petersen
aa26c52813
add prefetch config value
2020-10-16 15:28:41 +02:00
Alexander Krotov
19697e255e
Parse normal MUA messages consisting of only a quote
2020-10-16 14:57:02 +02:00
Hocuri
07e4762f71
Call update_device_chats automatically during configure ( #1957 )
...
update_device_chats() takes about 2 seconds on a modern device (Android) because the
welcome image file has to be written to the disk as a blob. The problem
was that this was done after the progress bar had vanished and before
anything else happened so that I thought that something had gone wrong
multiple times.
The UIs have to remove update_device_chats(), too..
2020-10-15 17:43:22 +02:00
B. Petersen
6ec743f8b1
make clippy happy
2020-10-15 16:29:21 +02:00
B. Petersen
010be693e1
check protected properties for all chats
...
before, checks were done for groups only.
moreover, apply protection-changes only when the check passes.
2020-10-15 16:04:43 +02:00
B. Petersen
d8a7a178c2
skip check for Chat-Verified on normal messages
...
this would exclude non-deltas from protected-chats
(where they could participate in verified-groups in the past)
and makes migration a bit harder when using a fuzzy multi-device-setup.
however, the test still takes place
when a group is created or protection is enabled/disabled.
2020-10-15 15:19:25 +02:00
B. Petersen
18e9073bfe
add unit test for should_encrypt()
2020-10-15 06:45:57 +02:00
B. Petersen
0032468a87
remove now inaccurate comment
2020-10-15 06:45:57 +02:00
B. Petersen
7e793a518c
priorize e2ee_guaranteed over Reset
...
should_encrypt() shall return Ok(false)
on peerstate=EncryptPreference::Reset
only for opportunistic groups.
for verified/protected groups (e2ee_guaranteed set),
Ok(true) or Error() should be returned.
this bug was introduced by #1946 (Require quorum to enable encryption).
2020-10-15 06:45:57 +02:00
bjoern
e5b0194e8c
Merge pull request #1987 from deltachat/name-quote-only-drafts
...
name quote-only drafts as such in the summary
2020-10-14 23:23:03 +02:00
holger krekel
13055b9c87
use new imap-proto/async-imap 0.4.1 to fix #1834
2020-10-14 15:41:23 +03:00
jikstra
5661e0b8f1
Add test to verify exporting and importing the secret key works
2020-10-14 06:46:25 +02:00
Alexander Krotov
1672905c71
Remove outdated tests/stress.rs
...
All useful code has already been moved to relevant modules.
2020-10-14 05:58:47 +02:00
B. Petersen
d13d62105a
name quote-only drafts as such in the summary
...
a draft may contain only a quote,
without any text set yet.
these drafts cannot be sent, however, appear in the summary -
currently with the summary-text "", which results to sth.
as "Draft: " - which looks like an error or at least a bit weird.
this pr sets the summary text to "Reply" - similar to "Image", "Video" etc. -
the UI just expects some text here, not an empty string.
the result are summaries as "Draft: Reply" on all UIs -
which, btw. is also roughly the same what Signal does in this case.
2020-10-13 21:35:29 +02:00