Hocuri
7227975175
Add Self and mailing list id as contacts; unfortunately I had to remove the may_be_valid_addr test because a listId is not a vaild email address
2020-04-17 12:45:22 +02:00
Hocuri
aa5ca4f816
Do not trucate subject after '['
2020-04-17 11:12:19 +02:00
Hocuri
24ba96f6b2
Make the extended (with display name) address look nicer
2020-04-17 10:18:10 +02:00
Hocuri
b0a92a8727
Add test, bugfixing
2020-04-17 10:18:09 +02:00
Hocuri
ec18dcab64
First try using the whole name as identifier in mailing lists
2020-04-17 10:18:09 +02:00
Hocuri
e575be2593
For mailing lists, always add the subject
2020-04-17 10:18:08 +02:00
Hocuri
b1536b3893
Code style (I hope it got better)
2020-04-17 10:18:08 +02:00
Hocuri
4e174d0c2f
Make clear that create_group_record is also used by create_mailinglist_record
2020-04-17 10:18:07 +02:00
Hocuri
51e1826958
Do not count mailinglist contacts as 'known'.
2020-04-17 10:18:07 +02:00
Hocuri
7b3e6d185e
Modify test so that it fails if contacts are added from a mailing list
2020-04-17 10:18:07 +02:00
Hocuri
c5374565ec
Do not show "0 members" subtitle for mailing lists
2020-04-17 10:18:06 +02:00
Hocuri
3287e175b4
Improve testing, remove debugging println! statements
2020-04-17 10:18:06 +02:00
Hocuri
af1930dc8d
Improving mailing lists and fixing things:
...
Remove additional chat type MailingList, make them GroupLists with a special param, make can_send() return false, code style and deduplication
2020-04-17 10:18:06 +02:00
Hocuri
b581a97edc
Create test and get it to pass (debugging). Note that there still are some println!s in the code now.
2020-04-17 10:18:05 +02:00
Hocuri
3eda35c088
First try implementing mailing lists
2020-04-17 10:18:02 +02:00
Alexander Krotov
13dd88b7ad
mimeparser: display inline images received from Thunderbird
2020-04-15 11:13:26 +02:00
Alexander Krotov
e85cdc8c9f
mimeparser: test parsing of inline images
2020-04-14 07:01:50 +02:00
Alexander Krotov
1760740a4c
Parse inline attachments from non-DC email clients
...
Some mobile email clients, such as apple mail, attach or inline images
after description, just like Delta Chat. It is better to display them
instead of ignoring.
2020-04-14 07:01:50 +02:00
Alexander Krotov
daf40fde82
mimefactory: use .next() instead of .nth(0)
2020-04-13 23:02:57 +03:00
Alexander Krotov
e909b8199b
lot: use as_deref()
2020-04-13 23:02:57 +03:00
Alexander Krotov
ec089faf3a
configure/auto_mozilla: remove indexing
2020-04-13 23:02:57 +03:00
Alexander Krotov
9fcb30ac33
Remove indexing in chatlist.get_summary()
2020-04-13 23:02:57 +03:00
Alexander Krotov
cb92579461
Use slice patterns in EmailAddress::from_str()
2020-04-13 23:02:57 +03:00
Alexander Krotov
0327000f8d
squash_attachment_parts: use slice patterns
2020-04-13 23:02:57 +03:00
Alexander Krotov
3a91c87c73
clippy: use as_deref()
2020-04-13 23:02:57 +03:00
Alexander Krotov
db5b5d321b
clippy: remove redundant imports
2020-04-13 23:02:57 +03:00
Alexander Krotov
76b7e7408a
chatlist: remove indexing in get_{chat,msg}_id()
2020-04-13 23:02:57 +03:00
Alexander Krotov
324e5d0258
Use slice pattern to parse KML coordinates
2020-04-13 23:02:57 +03:00
Alexander Krotov
d997bbc081
skip_forward_header: get rid of indexing with subslice patterns
2020-04-13 23:02:57 +03:00
Alexander Krotov
1c21d4f356
constants: remove unnecessary parenthesis
...
Rust warns about them now
2020-04-13 23:02:57 +03:00
Alexander Krotov
5f574cf283
get_next_media: replace indexing with .get()
2020-04-13 23:02:57 +03:00
Alexander Krotov
92f1e6da1e
get_next_media: enumerate() instead of indexing
2020-04-13 23:02:57 +03:00
Alexander Krotov
24aa3c781b
Remove indexing in Aheader::from_str
2020-04-13 23:02:57 +03:00
B. Petersen
52442017e2
mark contacts as verified if a secure-join for them was observed on another device
2020-04-13 19:15:16 +02:00
B. Petersen
278454287c
make sure, Secure-Join-Fingerprint is not accepted unencrypted
2020-04-13 19:15:16 +02:00
B. Petersen
5ded8fb400
add vc-contact-confirm-received message needed for multi-device-verification
2020-04-13 19:15:16 +02:00
B. Petersen
24730e7ad6
do not delete handshake-messages needed for a multi-device-verification
2020-04-13 19:15:16 +02:00
B. Petersen
016a780632
check that incoming read-receipts do not unarchive chats
2020-04-13 17:51:56 +02:00
Hocuri
6d89638ca4
Get ChatId from Message
2020-04-13 17:43:01 +02:00
Hocuri
fdc091319b
Make Clippy happy
2020-04-13 17:43:01 +02:00
Hocuri
960c8745d9
For smtp error 5.5.0, try again. For others, send info message (doesn't work)
2020-04-13 17:43:01 +02:00
Hocuri
134b09dba5
Fix #1373 , ignore incorrect html close tags
2020-04-13 17:40:07 +02:00
holger krekel
1855f84fe0
fix bug in that remove-contact failed on new groups where we didn't have the peerstate of the removed-contact yet
2020-04-13 17:39:31 +02:00
holger krekel
a1d5120e58
sipmlify plugins and tests and remove superflous core event
2020-04-13 17:39:31 +02:00
holger krekel
f38386d164
fix member_added/member_removed event with tests and and provide a group-tracking example
2020-04-13 17:39:31 +02:00
holger krekel
d66829702f
fix #164 add MEMBER_REMOVED event and member_removed plugin python hook
2020-04-13 17:39:31 +02:00
holger krekel
84f17b7539
emit "DC_EVENT_MEMBER_ADDED" and python plugin event "member_added" for securejoin or non-securejoin additions of a contact to a chat. also fixup some docs
2020-04-13 17:39:31 +02:00
Alexander Krotov
e9967c32e6
chat: filter parent messages by state instead of UID
...
Since introduction of server message deletion, message may not have
server UID even when it is not a draft or pending message. To handle
such messages correctly, we explicitly check message state.
2020-04-13 17:38:42 +02:00
Alexander Krotov
493a213d41
sql: move QueryReturnedNoRows and NULL handling into query_row_optional()
2020-04-13 17:38:42 +02:00
Alexander Krotov
f65dbee74b
Add basic test for ChatId.parent_is_encrypted()
2020-04-13 17:38:42 +02:00