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
Alexander Krotov
9df88745dc
smtp: do not use STARTTLS when PLAIN connection is requested
...
Also do not allow downgrade if STARTTLS is not available
2020-11-15 22:40:41 +03:00
B. Petersen
bd856d90db
remove unused AccountConfig::name
...
the field was never set or read.
to get the name for an account,
use `dc_get_config(account, "displayname")`.
2020-11-10 03:52:09 +03:00
bjoern
1f4403d149
Merge pull request #2071 from deltachat/prep-1.49
...
prep 1.49
2020-11-09 15:40:41 +01:00
B. Petersen
6345e57720
bump version to 1.49
1.49.0
2020-11-09 14:11:01 +01:00
B. Petersen
332f32e799
update changelog for 1.49
2020-11-09 14:10:07 +01:00
Alexander Krotov
deb506cb52
Add timestamps to images and videos
...
It is already done for voice messages and makes saving attachments to
one folder easier.
2020-11-08 22:16:42 +03:00
Alexander Krotov
66907c17d3
mimeparser: preserve quotes in messages with attachments
2020-11-08 12:01:35 +03:00
Alexander Krotov
bf82dd9c60
Document account_id parameter for dc_accounts_remove_account
2020-11-08 01:12:57 +03:00
Alexander Krotov
46c544a5ca
deltachat-ffi: forbid quoting messages from another context
2020-11-05 05:57:19 +03:00