Alexander Krotov
cbfada3e4a
Implement Default and FromStr for MozConfigTag
2020-08-23 22:15:06 +03:00
Alexander Krotov
c19e35b68d
Parse multiple servers in Mozilla autoconfig
...
Co-Authored-By: Simon Laux <mobile.info@simonlaux.de >
2020-08-23 22:15:06 +03:00
B. Petersen
94e52b5598
use Viewtype::File for types that may be unsupported on some systems.
...
in general, Viewtypes other than File should be used only
when the added file type is tested on all platforms -
including Android4 currently.
as this is easily overseen,
i've added a comment.
this partly reverts Viewtype changes done by
https://github.com/deltachat/deltachat-core-rust/pull/1818
2020-08-23 19:53:58 +03:00
Alexander Krotov
42bd9f71f0
imap: store ServerLoginParam instead of its fields
...
This prevents errors when copying it field-by-field.
2020-08-23 16:31:26 +03:00
Alexander Krotov
064d62e758
Imap.connect: copy security setting
2020-08-23 16:31:26 +03:00
Alexander Krotov
a01755b65b
Guess MIME type for .pdf and many other extensions
2020-08-23 01:20:32 +03:00
Alexander Krotov
6763dd653e
Do not override mime type set by the user
2020-08-23 01:20:32 +03:00
Hocuri
0fc57bdb35
Separate IMAP and SMTP configuration
...
Co-Authored-By: link2xt <ilabdsf@gmail.com >
Co-Authored-By: bjoern <r10s@b44t.com >
2020-08-22 21:29:39 +03:00
Alexander Krotov
0816e6d0f6
Warn if IMAP deletion is scheduled for message without UID
2020-08-22 14:46:06 +03:00
Alexander Krotov
c7d72d64cc
Schedule resync on UID validity change
2020-08-22 14:46:06 +03:00
Alexander Krotov
e33f6c1c85
Schedule resync job when DeleteServerAfter option is set
2020-08-22 14:46:06 +03:00
Alexander Krotov
b4c85c534d
Add a job to resync folder UIDs
2020-08-22 14:46:06 +03:00
Alexander Krotov
763334d0aa
Sort message replies after parent message
2020-08-22 13:57:29 +03:00
Alexander Krotov
be922eef0f
Format plain text as Format=Flowed DelSp=No
...
This avoids triggering spam filters which require that lines are wrapped
to 78 characters.
2020-08-22 13:57:10 +03:00
Hocuri
1325b2f7c6
Fix #1791 Receive group system messages from blocked users ( #1823 )
...
Fix #1791 and show all group messages if the user already is in the group, even if the sender is blocked
Also fix a comment
Co-authored-by: link2xt <ilabdsf@gmail.com >
2020-08-21 11:57:37 +02:00
Hocuri
b9ca7b8ace
Remove newlines from group names, chat names and the displayname ( #1845 )
2020-08-20 09:05:08 +02:00
Hocuri
3faf968b7c
Fix tests
2020-08-19 20:03:08 +02:00
Hocuri
1a736ca6c3
Fix #1804 : remove <!doctype html> and accept invalid HTML
...
This fixes #1804 in two ways: First, it removes a <!doctype html> from
the start of the mail, if there is any.
Then, it parses the html itself it quick-xml fails, just stripping
everything between < and >.
Both of these would have fixed this specific issue.
Also, add tests for both fixes.
2020-08-19 20:03:08 +02:00
bjoern
4b75f3a177
Merge pull request #1837 from deltachat/fix-oauth2
...
Update async-imap to fix Oauth2
2020-08-18 18:28:46 +02:00
bjoern
d26347af7e
Merge pull request #1831 from deltachat/trailing-slash
...
be more tolerant on webrtc-servers set by the user
2020-08-18 14:09:24 +02:00
bjoern
a3c700ce85
Merge pull request #1826 from deltachat/tgs-mimetype
...
Recognize .tgs files as stickers
2020-08-18 12:48:38 +02:00
bjoern
0969de5e6e
Merge pull request #1844 from deltachat/offline-autoconfig-certck
...
Automatic certificate checks for providers from DB
2020-08-18 12:08:43 +02:00
Hocuri
cf72d9a41e
Tar backup ( #1749 )
...
Fix #1729
Co-authored-by: holger krekel <holger@merlinux.eu >
Co-authored-by: Alexander Krotov <ilabdsf@gmail.com >
2020-08-18 11:54:46 +02:00
B. Petersen
77c61ab25b
fix threading in interation with non-delta-clients
...
threading was broken in core43 as this flags unencrypted messages as errors
and errors are not replied-to.
the fix is not to mark missing signatures for unencrypted messages as errors.
2020-08-18 11:43:29 +02:00
Alexander Krotov
a9faaa5cbc
Update async-imap to fix Oauth2
2020-08-16 12:00:00 +03:00
Alexander Krotov
061bee382b
Automatic certificate checks for providers from DB
...
When certificate checks setting is Automatic, strict_tls setting
from provider database is applied dynamically in Imap.connect() and
Smtp.connect().
2020-08-16 12:00:00 +03:00
Alexander Krotov
299c70e1cc
configure: add "mail." to smtp_server when configuring SMTP
2020-08-16 02:59:48 +03:00
B. Petersen
54edd4d211
force enum-match exhaustive
2020-08-14 13:41:51 +02:00
B. Petersen
810bd514d7
make clippy happy
2020-08-14 13:35:02 +02:00
Alexander Krotov
0bf8017e8f
try_decrypt: do not use gossip_key if public_key is available
...
public_key is updated with apply_header in try_decrypt right above this
code, so it makes no sense to allow signing messages with gossip key.
2020-08-14 12:00:54 +02:00
Alexander Krotov
8f7f4f95e8
Do not warn about gossip key changes if it is not used
2020-08-14 12:00:54 +02:00
Alexander Krotov
9810e5562a
Rename handle_degrade_event into handle_fingerprint_change
2020-08-14 12:00:54 +02:00
Alexander Krotov
2feecbc9ff
Replace Peerstate.degrade_event with bool
...
DegradeEvent::EncryptionPaused was always ignored, so it can be removed.
2020-08-14 12:00:54 +02:00
Alexander Krotov
55389c4190
Refactor handle_degrade_event
2020-08-14 12:00:54 +02:00
Hocuri
1c2b4fa7fc
Fix #1790 Unprotected subjects in encrypted messages are shown as encrypted (using a rather minimal approach)
2020-08-14 11:58:35 +02:00
B. Petersen
0208c02ec2
ignore whitespace in given webrtc_instance
2020-08-14 11:55:36 +02:00
B. Petersen
8159141d44
add https-scheme to videochat-instance, if missing in pattern
2020-08-14 11:26:48 +02:00
B. Petersen
38a32d176b
add a slash before room if there is no other separator
2020-08-14 11:26:47 +02:00
B. Petersen
a66d624b87
add failing test
2020-08-14 11:26:47 +02:00
B. Petersen
bd0b352854
make webrtc-instance-creation testable
2020-08-14 00:23:37 +02:00
B. Petersen
7ffefdff89
update provider-database
2020-08-13 22:42:29 +02:00
Alexander Krotov
920753ad50
configure: do not try the same username twice
...
If username does not contain "@", don't try again after removing domain
part.
2020-08-11 22:09:06 +03:00
Alexander Krotov
00c1383419
configure: refactor to try various server domains
...
For IMAP, example.org, imap.example.org and mail.example.org are tried.
For SMTP, example.org, smtp.example.org and mail.example.org are tried.
2020-08-11 22:09:06 +03:00
Friedel Ziegelmayer
526e76c59f
Merge pull request #1784 from deltachat/feat/multiii
2020-08-11 12:20:32 +02:00
Alexander Krotov
baec61cc4d
Recognize .tgs files as stickers
...
.tgs files are Telegram stickers. Internally they are gzipped JSON files,
containing a single Lottie animation.
MIME type application/x-tgsticker is commonly used for telegram documents
containing such stickers.
2020-08-11 04:21:47 +03:00
bjoern
21f8fefcce
Merge pull request #1809 from deltachat/test-get-width-height
...
add a higher-level test for dc_get_filemeta()
2020-08-10 11:56:23 +02:00
dignifiedquire
b97c334e0c
add Context::get_id
2020-08-10 10:51:04 +02:00
dignifiedquire
1ae49c1fca
unify events
2020-08-10 10:32:48 +02:00
dignifiedquire
99ca582e25
implement ffi calls
2020-08-10 10:01:46 +02:00
dignifiedquire
48e5016abf
add migration code
2020-08-10 10:01:46 +02:00