Alexander Krotov
518e87b0cf
Compare Chat-Disposition-Notification-To: address case-insensitively
...
Otherwise users with uppercase letters in their addresses never receive
read receipts.
2020-12-06 23:29:11 +03:00
bjoern
09113e2579
correct and refine docs for DC_MSG_IMAGE ( #2099 )
...
* correct and refine docs for DC_MSG_IMAGE
* unify 'eg.' to 'e.g.'
2020-12-06 20:34:03 +01:00
Alexander Krotov
eb693a4a21
Add Rust test for ephemeral timer messaging
2020-12-06 21:09:13 +03:00
Alexander Krotov
00a223b574
test_utils: set message state to OutDelivered on .pop_sent_msg()
...
Also remove SentMessage.id. It was set to foreign_id of the job, which
is a MsgId, not ChatId, so tests using it were not correct anyway.
2020-12-06 21:09:13 +03:00
Alexander Krotov
93e038e056
Ignore ephemeral timer changes if replying to old message
...
This should prevent timer changes back when someone is replying before
receiving timer change.
2020-12-06 21:09:13 +03:00
Alexander Krotov
dea9630380
Better typed Message.ephemeral_timer
2020-12-06 21:09:13 +03:00
Alexander Krotov
30e7f84770
Add get_parent_message()
2020-12-06 21:09:13 +03:00
Alexander Krotov
fc1f44c6d6
Spellcheck
2020-12-06 04:26:20 +03:00
B. Petersen
f774665921
be more graceful when the apostrophed-encoding is used erroneous - either by other MUA or by Delta Chat up to core1.50
2020-12-06 04:24:39 +03:00
B. Petersen
7b291c1416
use correct key when sending filenames
...
adding an asterisk to the filename key
REQUIRES two apostrope-delimiters in the value as of charset'lang'name,
see rfc2231
as we do use the value this way, we MUST not add the asterisk.
things worked correctly in the past as
consuming MUAs are pretty graceful.
i assume the error comes from the c to rust conversion -
core-c did add the asterisk, however also did the apostrope-encoding.
core-rust leaves the asterisk but changes encoding.
2020-12-06 04:24:39 +03:00
B. Petersen
8fcb8c3788
add failing test for erroneous apostrophed-encoding
2020-12-06 04:24:39 +03:00
bjoern
cdb7f1dd9f
Merge pull request #2094 from deltachat/fix-non-utf8-filenames
...
test and fix non-utf8 filenames
2020-12-04 16:32:03 +01:00
B. Petersen
af045c245d
warn about encoding errors; this requires Context
2020-12-04 12:25:45 +01:00
B. Petersen
0bdd1b7dc2
avoid unwrap() when falling back to latin1 charset
2020-12-04 11:42:14 +01:00
B. Petersen
c6f6751c89
mention used RFCs in standards.md
2020-12-04 01:45:00 +01:00
B. Petersen
e77706f7d0
add test apostrophed-encoding with cp1252 charset (aka ANSI aka Windows-1252)
2020-12-04 01:28:24 +01:00
B. Petersen
8de73c4566
handle apostrophed-encoding with non-utf-8 charsets
2020-12-04 01:19:03 +01:00
B. Petersen
56e6c2712b
add failing test for apostroped windows-1251 encoding
2020-12-04 00:19:19 +01:00
B. Petersen
b510d74c4a
add test for apostrophed-encoded filenames
2020-12-03 17:39:00 +01:00
B. Petersen
966712019f
add test for bad encoded-words delimiter
2020-12-03 17:38:55 +01:00
B. Petersen
f919e4962d
add test for cyrillic encoded-words filenames
2020-12-03 17:01:32 +01:00
B. Petersen
412645e1ce
add test for binary word-encoded filenames
2020-12-03 17:01:32 +01:00
Hocuri
7c9624e822
Don't download ranges of messages (i.e. first:last) ( #2061 )
2020-12-03 10:19:56 +01:00
Alexander Krotov
e79533ae54
Add diff .gitattributes for .{py,rs,md}
2020-12-03 03:46:51 +03:00
bjoern
d8babe2d0c
Merge pull request #2080 from deltachat/fix-filenames
...
fix decoding of continued filenames
2020-12-02 11:41:52 +01:00
Hocuri
83df69f43c
Add verbose logging for #2065
2020-12-01 09:06:56 +01:00
Hocuri
2a9d06d817
Re-enable Export to the new backup format, add backup progress, add a test for the backup progress ( #2023 )
...
* Add progress for backup import/export
* Export to the new backup format
* Add tests for the new imex progress
2020-12-01 09:05:25 +01:00
B. Petersen
4ef2a7c8d7
prefer exhaustive 'match' over 'if'
2020-11-29 14:47:54 +03:00
B. Petersen
75d79dc79c
use different avatar-sizes for different media_quality settings
2020-11-29 14:47:54 +03:00
B. Petersen
2720d34594
use split off image recoding function for avatars
2020-11-29 14:47:54 +03:00
B. Petersen
7c15e4e948
fix rotation for small images and avatars
2020-11-29 14:47:54 +03:00
B. Petersen
4f836950bc
split off image recoding to separate function
2020-11-29 14:47:54 +03:00
B. Petersen
1321a78f87
streamline test
2020-11-24 14:40:28 +01:00
B. Petersen
210d8bad04
allow specification of both, and and also do the apostrope-decoding when specified by a trailing asterix in the key. add tests for that.
2020-11-24 14:40:28 +01:00
B. Petersen
e19d2cccfc
prefer 'if let' over 'unwrap()'
2020-11-24 14:40:28 +01:00
B. Petersen
a29dc514d3
decode filenames as CHARSET'LANG'test%2E%70%64%66
2020-11-24 14:40:28 +01:00
B. Petersen
07109e9b17
add passing test for simple-filename and failing test for continued-filename
2020-11-24 14:40:27 +01:00
B. Petersen
889f4673ad
make loading eml reusable
2020-11-23 23:08:21 +01:00
bjoern
7fa794cd72
Merge pull request #2088 from deltachat/prep-1.50
...
prep 1.50
2020-11-19 15:44:41 +01:00
B. Petersen
b21508fdb7
bump version to 1.50
1.50.0
2020-11-19 14:06:53 +01:00
B. Petersen
92175b27ab
update changelog for 1.50
2020-11-19 14:06:52 +01:00
bjoern
4d2a39febb
Merge pull request #2087 from deltachat/imbox-dont-fetch-old-msgs
...
Don't fetch messages that arrived in the meantime if InboxWatch is disabled and re-enabled
2020-11-18 14:22:39 +01:00
bjoern
4fa667d834
Merge pull request #2084 from deltachat/alphaversions
...
let core carry a 1.50.0-alpha.0 version
2020-11-18 12:27:32 +01:00
Hocuri
38ed94367c
Update src/config.rs
...
Co-authored-by: bjoern <r10s@b44t.com >
2020-11-18 12:08:28 +01:00
Hocuri
3a7bd8b49d
Don't fetch messages that arrived in the meantime if InboxWatch is
...
disabled and re-enabled
That's another narrow-stitching patch for a scenario where many emails could
be deleted all at once and surprisingly: user disables inbox-watch, enables delete-from-server, after a moth enables inbox-watch again -> currently all emails that arrived in the meantime will be deleted (if emails are not fetched, they won't be deleted)
2020-11-17 14:13:27 +01:00
Hocuri
c8d4eee794
Don't fetch from INBOX if it is disabled
...
Before, if there were more than 20 jobs at once, we unconditionally
fetched from inbox
2020-11-16 17:03:52 +01:00
holger krekel
d66174e55a
let core carry a 1.50.0-alpha.0 version (which sits between 1.49.X and 1.50.0).
...
This way we can better distinguish tagged from untagged core releases, also in logs etc.
We might, from time to time, increase the alpha.N "N" number if we are entering testing etc.
2020-11-16 16:12:55 +01:00
holger krekel
8d2a5cd242
fix link
2020-11-16 11:47:48 +01:00
holger krekel
2fbef80df8
detailing/rewriting the group-sync draft a little.
2020-11-16 11:47:48 +01:00
link2xt
07768133d5
Merge pull request #2083 from deltachat/smtp-plain
...
smtp: do not use STARTTLS when PLAIN connection is requested
2020-11-15 23:37:41 +03:00