Hocuri
79145576ab
s/fingerprint/fingerpring.hex()/
2020-06-17 11:08:38 +02:00
Hocuri
40c9c2752b
Parse ndns from Tiscali
2020-06-17 10:39:05 +02:00
bjoern
f4a1a526f5
Merge pull request #1628 from deltachat/lto
...
Re-enable lto=true for release builds
2020-06-16 22:58:54 +02:00
Alexander Krotov
7d80179ed1
Re-enable lto=true for release builds
2020-06-16 23:12:07 +03:00
bjoern
71080ed6d5
Merge pull request #1620 from deltachat/update-docs
...
update docs
2020-06-16 18:41:00 +02:00
bjoern
44037dd711
Update deltachat-ffi/deltachat.h
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2020-06-15 23:36:22 +02:00
B. Petersen
bc275d8670
update docs
2020-06-15 23:36:22 +02:00
Hocuri
eb29f9c4c1
Parse testrun NDNs
2020-06-15 16:20:23 +02:00
bjoern
6340b278d9
Merge pull request #1619 from deltachat/rotate-images
...
respect image orientation from exif on recoding
2020-06-15 11:37:31 +02:00
B. Petersen
519e1c1cd0
warn about unused orientation values, add a comment about the orientation values
2020-06-15 02:18:48 +02:00
B. Petersen
d2320394ca
convert exif orientation to desired pixel rotation
2020-06-15 01:13:37 +02:00
B. Petersen
9307f2d49f
rotate image pixels, prototype a function to get exif data
2020-06-15 01:13:37 +02:00
B. Petersen
7362941245
add kamadak-exif crate
2020-06-15 00:32:13 +02:00
Alexander Krotov
f7c7f414ed
refactor: remove .unwrap() from Peerstate.has_verified_key()
2020-06-15 00:47:25 +03:00
Hocuri
23d6012c1f
Start parsing ndns ( #1552 )
...
Fix #1478
I changed my original plans a little because I had so many extra ideas and then sorted that I should rather look at actual NDNs and look what is necessary to parse them:
- Recognize NDNs by ~the sender address, which is in a regex the providers database. The problem with heuristics would be that someone could send fake-NDNs and mark messages as failed.~ the standard ("report/delivery-status") and heuristics ("subject contains 'fail' and sender contains 'daemon'"). If there is a valid Message-ID, then rely on that this is an NDN (of course, generally someone might try to find out a Message-ID and send a fake NDN).
- ~Look for `In-Reply-To`~ (only Gmail did this and Gmail uses rfc822 anyway.)
- ~Look for a mimepart `message/delivery-status`, which might contain a `X-Original-Message-ID`~ (only Gmail did this and Gmail uses rfc822, too, anyway.).
- Search through the body and look for a line `Message-ID: *` (remember to remove `<`, `>`), in the hope that that's the original header
- Look for a mime-part containing the string `rfc822`, which will contain the original header. Parse them with Mailparse and look for `Message-ID`.
2020-06-13 17:44:29 +02:00
Hocuri
15b30ceed1
check for sender mailer-daemon as link2xt proposed
2020-06-13 17:29:38 +02:00
Hocuri
45b871f76d
Look at From instead of Subject and ContentType in prefetch_should_download.
2020-06-13 14:18:16 +02:00
Hocuri
9f1112833f
let prefetch_should_download() check if it might be an ndn
2020-06-13 12:06:30 +02:00
B. Petersen
fc88bff32f
make clippy happy
2020-06-13 10:18:18 +02:00
Hocuri
bbf049e95b
string
2020-06-13 10:18:18 +02:00
Hocuri
52dfa9b536
Renaming, comment
2020-06-13 10:18:18 +02:00
Hocuri
1fe85dfb3c
more functional
2020-06-13 10:18:17 +02:00
Hocuri
27ff1c4a75
check in heuristically_parse_ndn() that rfc724_mid_exists() so that we do not ignore emails because we erreneously thought that it was an ndn
2020-06-13 10:18:17 +02:00
Hocuri
adf4035775
rename reports
2020-06-13 10:18:17 +02:00
Hocuri
990c80cedf
lots of small fixes from the reviews
2020-06-13 10:18:17 +02:00
Hocuri
8ebce0c861
warn instead of error
2020-06-13 10:18:16 +02:00
Hocuri
ffb6a84b1f
Warn instead of error
2020-06-13 10:18:16 +02:00
Hocuri
c60ec00aac
Oops #2 , adapt DC_STR_COUNT in deltachat.h
2020-06-13 10:18:16 +02:00
Hocuri
dd3f81a556
Oops, add FAILED_SENDING_TO to deltachat.h
2020-06-13 10:18:16 +02:00
Hocuri
8938cb2573
clippy
2020-06-13 10:18:16 +02:00
Hocuri
995660020b
rm unused aol_ndn.eml (aol's ndns are very similar to these of Yahoo)
2020-06-13 10:18:15 +02:00
Hocuri
7997e7dde4
remove println
2020-06-13 10:18:15 +02:00
Hocuri
20ad98d168
typo
2020-06-13 10:18:15 +02:00
Hocuri
c827c9d209
Add yahoo test
2020-06-13 10:18:15 +02:00
Hocuri
bde97b20e9
Repair getting x-failed-recipients header, all tests passing now
2020-06-13 10:18:15 +02:00
Hocuri
777df24c75
Make the gmx test pass
2020-06-13 10:18:14 +02:00
Hocuri
e1711855cc
Make the posteo test pass
2020-06-13 10:18:14 +02:00
Hocuri
3899d70b3c
I hate SQL
2020-06-13 10:18:14 +02:00
Hocuri
e7aee5b4f4
add gmx and posteo tests
2020-06-13 10:18:14 +02:00
Hocuri
bd2a7a3d40
Correct failed recipient
2020-06-13 10:18:13 +02:00
Hocuri
2e59d5674e
fix sql
2020-06-13 10:18:13 +02:00
Hocuri
98b5f768b6
Improve test, fixed compile errors from rebasing
2020-06-13 10:18:13 +02:00
Hocuri
b7d0f29002
Add test-data/message/gmx_ndn.eml
2020-06-13 10:18:13 +02:00
Hocuri
df9cb5e3b8
Fix error in message info
2020-06-13 10:18:12 +02:00
Hocuri
a30486112f
Add test
2020-06-13 10:18:12 +02:00
Hocuri
016b96e30e
Fix migration
2020-06-13 10:18:12 +02:00
Hocuri
6b763bf417
Return true for MessageState::OutMdnRcvd.can_fail() because it could be a group message and only some recipients failed
2020-06-13 10:18:12 +02:00
Hocuri
6ded0d3bc1
Do not show error messages in chat
2020-06-13 10:18:12 +02:00
Hocuri
f0837cfa73
Repair errors saved for messages
2020-06-13 10:18:11 +02:00
Hocuri
8350729cbb
Improve errors
2020-06-13 10:18:11 +02:00