Hocuri
d3aba4e817
Simplify if condition
2020-12-20 20:04:19 +01:00
Hocuri
53fed91a17
Fix marking read receipts as seen
...
If mvbox_move was on and an mdn was received, it was not marked as read.
Also remove a confusing log that said that we are adding a markseen job, even if we weren't. As job::save() logs itself, there is no need to log this again.
2020-12-20 20:04:19 +01:00
Alexander Krotov
ff3dd878c5
Use Python 3 for all Python scripts
2020-12-19 14:55:22 +03:00
Hocuri
2b207e1375
rustfmt
2020-12-18 18:35:54 +01:00
Hocuri
4d2c2130e8
Replace all t.ctx with t
...
Not sure if that's the way to go because, you know, merge conflicts, but
we could do this now.
2020-12-18 18:35:54 +01:00
Hocuri
af8a6d7722
Create and use some test helper functions
2020-12-18 18:35:54 +01:00
Alexander Krotov
bc67fa3204
python: use configured_mail_{port,security} when creating IMAPClient
...
Previously only TLS on port 993 was allowed.
2020-12-18 18:39:30 +03:00
Hocuri
29991f1caf
Add test
2020-12-16 13:41:14 +01:00
Hocuri
e982549046
Next try to re-enable fetch-existing-msgs, fixing #2097
2020-12-16 13:41:14 +01:00
Hocuri
ec83fae314
Parse name="quote" divs ( #2104 )
...
fix #1560 Replies in html-only format are not converted nicely wrt Quoting
2020-12-13 18:02:20 +01:00
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