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
dignifiedquire
58a8ae1914
feat: initial implementation of the account manager
2020-08-10 10:01:46 +02:00
Hocuri
04629c4b2e
Remove debug X-Mailer header
2020-08-09 20:03:58 +03:00
Alexander Krotov
2550ed3f43
Add more extensions to guess_msgtype_from_suffix()
2020-08-09 17:46:07 +03:00
B. Petersen
1566b7105e
test that msg width/height are smaller than some reasonable maximum
2020-08-08 12:59:31 +02:00
bjoern
418b2c0478
Merge pull request #1812 from deltachat/siju
...
Hide SIJÚ messenger footer
2020-08-08 12:54:13 +02:00
bjoern
ca0c8f77a1
Merge pull request #1813 from deltachat/ephemeral-timer-changed-set-better-message
...
Always translate EphemeralTimerChanged message
2020-08-08 12:51:20 +02:00
Alexander Krotov
2c41b3f3e0
Always translate EphemeralTimerChanged message
...
An EphemeralTimerChanged message with the same timer as already set can
be received when there are large delays or lost messages. Even though
inner_set_ephemeral_timer should not be called in this case, because it
emits an event indicating timer change, system message will be added to
the chat, so it should be translated with set_better_msg in any case.
2020-08-08 04:57:48 +03:00
Alexander Krotov
ac72280e69
Hide SIJÚ messenger footer
2020-08-08 00:24:08 +03:00
Alexander Krotov
ea0aa4a93f
Imap.select_with_uidvalidity(): read all the IMAP responses
2020-08-07 23:36:12 +03:00
Alexander Krotov
b83f3e5ea0
imap: read all UID STORE responses
...
Otherwise these FETCH responses will remain unread and may be confused
with the actual FETCH response later.
2020-08-07 23:36:12 +03:00
Alexander Krotov
6c7d7f0c16
Imap.delete_msg(): read the whole UID FETCH response
2020-08-07 23:36:12 +03:00
Alexander Krotov
1bfc8d0300
Imap.delete_msg(): warn about unexpected FETCH responses
...
Such responses indicate IMAP client or server bug.
2020-08-07 23:36:12 +03:00