Alexander Krotov
f6660af014
Update test_mdn_asymmetric
...
MDNs are processed now even when MDNs are disabled
2020-01-07 17:23:19 +01:00
Alexander Krotov
a52131b574
cargo fmt
2020-01-07 17:23:19 +01:00
Alexander Krotov
a48d0492c8
Create only one MarkseenMdnOnImap job even if message has multiple reports
...
All created jobs have the same parameters and move the same message,
so it does not make sense to create more than one.
2020-01-07 17:23:19 +01:00
Alexander Krotov
2bba1be817
Show received MDNs even if user has disabled them
...
Delta Chat does not request MDNs if they are disabled, so this change
does not make much difference, but simplifies the logic.
2020-01-07 17:23:19 +01:00
bjoern
8a394fb08f
Merge pull request #1141 from deltachat/add-missing-event
...
send DC_EVENT_CHAT_MODIFIED when adding members to a group
2020-01-07 13:46:17 +01:00
Alexander Krotov
693ae9e8f2
Guess mimetype of .webm files as video/webm
2020-01-07 09:19:36 +00:00
B. Petersen
4b7b6d6cb3
send DC_EVENT_CHAT_MODIFIED when adding members to a group (removing is already fine)
2020-01-06 23:35:27 +01:00
Floris Bruynooghe
9a3bdfb14b
Rename MimeParser to MimeMessage in mimeparser.rs
...
The struct really represents a parsed MIME message and is not used as
a parser itself. After the from_bytes() call (which should arguably
use the FromStr trait instead) the struct is fully populated.
2020-01-06 09:46:47 +00:00
Alexander Krotov
7aeddc63ac
Use DC_CHAT_ID_DEADDROP instead of constant "1"
2020-01-06 00:04:03 +00:00
Floris Bruynooghe
2990a1c255
Mark the ChatInfo struct non_exhaustive
...
This is a new feature in Rust 1.40, it means users outside the crate
will not be able to create these structs, allowing us to add fields
without breaking the public API.
2020-01-05 22:53:52 +00:00
B. Petersen
91eea03b18
hide messages with Secure-Join headers if the Secure-Join fails
2020-01-05 22:06:06 +01:00
Alexander Krotov
8702f290af
mimeparser: remove unused parsed_protected_headers field
2020-01-05 22:03:10 +01:00
Alexander Krotov
d0b5b7ba03
Turn handle_reports comment into documentation comment
2020-01-04 22:24:16 +01:00
Alexander Krotov
f3d68c6f25
Add requests dependency to python/README.rst
...
It is used in tests/conftest.py
2020-01-04 20:18:31 +01:00
Alexander Krotov
91100d3fac
Lowercase the addresses before gossip peerstate update
...
Normally it happens in addr_cmp function, but update_gossip_peerstates
forms a HashSet of addresses, so they should be lowercased beforehand.
Also adjust the mail_with_cc.txt to test for non-lowercase addresses.
2020-01-02 18:14:27 +00:00
Alexander Krotov
61833c32e5
Remove trailing space from deltachat.h
2020-01-01 23:05:08 +00:00
Alexander Krotov
1468f67b9b
Warn about multiple From addresses only when necessary
...
The message says "only using first" so it should be printed right before the first address is taken with .get_index(0) operation.
2020-01-01 21:03:28 +00:00
Alexander Krotov
cb6376094c
Get rid of DC_FP_* constants
2020-01-01 20:53:31 +00:00
björn petersen
ff175e661b
Merge pull request #1130 from deltachat/fpr-without-addr
...
handle plain OPENPGP4FRP qr-codes correctly
2020-01-01 21:49:37 +01:00
B. Petersen
fe741f168a
fix early exit on empty addresses in decode_openpgp()
2020-01-01 18:53:35 +01:00
B. Petersen
eaaf500d5e
add failing test for plain OPENPGP4FRP-qr-code
2020-01-01 18:52:00 +01:00
björn petersen
05f85b33c5
Merge pull request #1124 from deltachat/mimeparser_message_kml
...
Location streaming fixes
2019-12-31 16:49:08 +01:00
Alexander Krotov
c4e0647bda
Remove NULs from mimeparser tests
2019-12-30 17:32:39 +01:00
Alexander Krotov
6dcc1e09b9
mimeparser: add message.kml parsing test
2019-12-30 17:29:28 +01:00
Alexander Krotov
ea03e4d34a
Send location.kml instead of message.kml for streaming
...
message.kml is sent when user manually selects a point on the map to
point to a location.
2019-12-30 17:20:46 +01:00
B. Petersen
b7a2d17e93
remove weird comment
2019-12-29 18:58:49 +00:00
B. Petersen
e1bd740249
init authname when received by From: header (it is also updated from there)
2019-12-29 18:58:49 +00:00
B. Petersen
de52c2da80
add failing test for receiving authnames
2019-12-29 18:58:49 +00:00
Alexander Krotov
a31c6d82c9
Remove get_origin_by_id
2019-12-28 22:33:57 +00:00
Alexander Krotov
25842894d2
Rename job::Try into job::Status
2019-12-28 14:35:14 +00:00
Alexander Krotov
83c98c2d55
Replace unstable try_trait with a job_try! macro
2019-12-28 14:35:14 +00:00
Alexander Krotov
fe2011742d
Job error handling refactoring
2019-12-28 14:35:14 +00:00
B. Petersen
d87b676d60
do not abort search completely when updating a special name fails
2019-12-27 22:53:03 +00:00
Alexander Krotov
ffa6378108
Fix clippy warnings in deltachat-ffi
2019-12-27 10:28:50 +00:00
B. Petersen
f73ba895af
remove some meanwhile unneeded allow-statements
2019-12-26 16:26:06 +00:00
B. Petersen
cb2a1147f0
fix searching for localized device chats
2019-12-26 16:23:42 +00:00
B. Petersen
6702ef4a71
add a failing test that does not fine localized device chats
2019-12-26 16:23:42 +00:00
Alexander Krotov
1d46791364
Add more Yandex domains
2019-12-26 01:48:28 +00:00
björn petersen
f61846dec9
Merge pull request #1107 from deltachat/list-language-bindings
...
list language bindings in README
2019-12-26 01:35:31 +01:00
B. Petersen
4776e196da
add frontend projects to README
2019-12-26 00:42:07 +01:00
B. Petersen
839a48b678
list language bindings in README
2019-12-26 00:42:07 +01:00
Alexander Krotov
e203901224
Better logging message for job deletion
...
The logging message printed for successful job completion said that the
job "cannot be retried" even when it does not need to be retried.
2019-12-24 10:47:29 +00:00
Alexander Krotov
76d03f7fd2
Log SMTP connection failure errors
2019-12-23 07:14:11 +01:00
holger krekel
7f5e3aaaf7
add changelog for device-chat fix
1.0.0-beta.22
2019-12-22 05:45:27 +01:00
B. Petersen
5bfbae4b00
add test for delete_and_reset_all_device_msgs()
2019-12-22 05:44:09 +01:00
B. Petersen
521a854635
delete and reset device-messages on import; this avoids wrong information in the device chat and allows adding correct information again
2019-12-22 05:44:09 +01:00
B. Petersen
ce15ef2db9
prep beta22
2019-12-22 05:42:33 +01:00
holger krekel
6d5cf89d33
enable link-time-optimization
2019-12-21 23:09:15 +00:00
holger krekel
b3b984f351
also "cargo update", pulls in aysnc-std 1.4.0
2019-12-21 23:09:15 +00:00
holger krekel
d5a0f1e711
use latest lettre master that contains the normalization fix
2019-12-21 23:09:15 +00:00