holger krekel
598dc86ca5
make sure we don't garble output during test runs by more carefully
...
switching logging on/off globally
2020-05-15 21:19:57 +02:00
Alexander Krotov
3e2bfc35e3
Delete hidden expired messages
...
The condition remains from the time when expired messages were hidden
instead of being moved into trash chat. As a result, old hidden
messages, such as location messages, were not deleted.
2020-05-15 20:46:41 +03:00
bjoern
759ccdbee2
Merge pull request #1441 from deltachat/config-from-provider-db
...
optionally get default-options from provider-db
2020-05-15 12:19:14 +02:00
bjoern
635060a02d
Merge pull request #1481 from deltachat/adbenitez-patch-1
...
Update CHANGELOG.md
2020-05-14 11:16:15 +02:00
Asiel Díaz Benítez
a128e7e7ab
Update CHANGELOG.md
2020-05-14 03:22:45 -04:00
Jikstra
3cb69b8035
Merge pull request #1479 from deltachat/prep-1.33
...
Prep 1.33
2020-05-13 23:17:54 +02:00
B. Petersen
7dc58bb330
bump version
1.33.0
2020-05-13 22:46:04 +02:00
B. Petersen
8bd0a62cb3
changelog
2020-05-13 22:45:01 +02:00
Alexander Krotov
3ee81cbee0
Revert "imap: simplify select_folder() interface"
...
This reverts commit b614de2f80 .
2020-05-13 11:36:33 +02:00
B. Petersen
4b744337fe
apply user_defaults after the first successful call to dc_configure()
2020-05-12 23:02:22 +02:00
B. Petersen
8d7d2f7a44
run provider/update.py
2020-05-12 23:02:22 +02:00
B. Petersen
24bf1dbffb
fixup
2020-05-12 23:02:22 +02:00
B. Petersen
c1890bb126
adapt provider/update.py so that it generates config_defaults
2020-05-12 23:02:22 +02:00
B. Petersen
a4a570896a
add config_defaults array to provider-db
2020-05-12 23:02:22 +02:00
bjoern
0594034ee6
Merge pull request #1477 from deltachat/extract-flags
...
Extract flags in try_load() to variables
2020-05-12 22:56:00 +02:00
bjoern
396e376f49
Merge pull request #1475 from deltachat/clarify-flags
...
clarify docs for DC_GCL_FOR_FORWARDING
2020-05-12 22:55:48 +02:00
Hocuri
fca9eae0fd
Extract flags in try_load() to variables
2020-05-12 20:28:20 +02:00
B. Petersen
f0d9bdd901
clarify docs for DC_GCL_FOR_FORWARDING
2020-05-12 17:48:03 +02:00
Alexander Krotov
c185d5b0b5
Fix python lint error about unused format
2020-05-12 11:02:27 +02:00
bjoern
6ece2a3449
Merge pull request #1471 from deltachat/tweak-help
...
add dc_estimate_deletion_cnt() to docs, add some references
2020-05-11 16:01:28 +02:00
B. Petersen
682d52441d
add dc_estimate_deletion_cnt() to docs, add some references
2020-05-11 15:31:54 +02:00
Simon Laux
c2c0c81f1c
cargo fmt
2020-05-11 11:51:40 +02:00
Simon Laux
fe23907eb3
fix muting dm chats
...
and rewrite the erroro message so that it makes more sense
2020-05-11 11:51:40 +02:00
bjoern
e2bf8a8a11
Merge pull request #1469 from deltachat/prep-1.32
...
prep 1.32
2020-05-11 00:15:13 +02:00
B. Petersen
3f0136ae7c
bump version to 1.32.0
1.32.0
2020-05-10 23:58:22 +02:00
B. Petersen
9f992409c7
changelog
2020-05-10 23:57:21 +02:00
bjoern
cd53ed16e9
Merge pull request #1468 from deltachat/log_precheck_error
...
Log precheck_imf errors
2020-05-10 23:30:56 +02:00
Alexander Krotov
cc56edc91d
Log precheck_imf errors
2020-05-11 00:19:14 +03:00
bjoern
25eb4b3547
Merge pull request #1463 from deltachat/rfc724_mid_exists-ensure
...
Do not return "empty rfc724_mid" errors from rfc724_mid_cnt
2020-05-10 23:13:14 +02:00
bjoern
c5eb112f5a
Merge pull request #1465 from deltachat/smtp-network-error
...
Better SMTP ErrorNetwork message
2020-05-10 23:05:20 +02:00
bjoern
8d904f415a
Merge pull request #1464 from deltachat/database_busy-warn
...
sql: do not send DC_EVENT_ERROR on database errors
2020-05-10 22:59:24 +02:00
bjoern
c34173ca6e
Merge pull request #1466 from deltachat/fix-prefetch
...
do normal receive_imf() if message-id is empty or if prefetch failed …
2020-05-10 22:54:16 +02:00
B. Petersen
aa292ac6b8
do normal receive_imf() if message-id is empty or if prefetch failed for other reasons. there are servers not sending a message ids, this and other cases is handled in receive_imf() - but not in prefetch (would be too much to maintain, also we need more information). this normal processing also prevents trying over the same message over and over as the server_uid is updated.
2020-05-10 22:43:04 +02:00
Alexander Krotov
c36227e2fc
Better SMTP ErrorNetwork message
...
It uses stock string, just as for IMAP errors, and is distinguishable
from IMAP errors: protocol is specified in the error message now.
2020-05-10 23:24:03 +03:00
B. Petersen
a406e0416f
use new Message-ID parser
2020-05-10 22:58:22 +03:00
B. Petersen
215cc5e71d
add function for parsing multiple Message-Ids
2020-05-10 22:58:22 +03:00
B. Petersen
0e72acee10
more tolerant message-id parsing
2020-05-10 22:58:22 +03:00
B. Petersen
000ed3175d
add failing test
2020-05-10 22:58:22 +03:00
Alexander Krotov
2f6bae4e2a
sql: do not send DC_EVENT_ERROR on database errors
...
These errors are usually just "database busy" errors, it is enough to
write them to the log instead of displaying to the user.
2020-05-10 17:51:01 +03:00
Alexander Krotov
0fefe11bfd
Do not return "empty rfc724_mid" errors from rfc724_mid_cnt
...
This function should only return temporary errors, e.g. database errors,
as precheck_imf() and dc_receive_imf::add_parts() treat them as such,
retrying the fetch on failure. When permanent errors, like missing
Message-ID, are bubbled up, they cause infinite fetch loop.
2020-05-10 16:43:26 +03:00
Alexander Krotov
2dbb1bbbea
Do not reply to hidden messages
...
Especially with read receipts, it is wrong, because they are never
encrypted and their Message-IDs are not known to other users in a group.
2020-05-09 19:11:23 +03:00
Hocuri
a586a1d525
Fix #1120 Contact requests are not shown when name of sender includes a comma character ( #1438 )
...
* First try making get_recipients use MailHeader (nice and functional)
* Get it to compile by using not-so-functional style
* Add "empty-from" test, drop unnecessary check for error; continue using addrparse_header() instead of addrparse()
* Try to use functional style, unfortunately, I can't get the compiler to accept it
* Do it imperative-style: Do not overwrite To with Cc and vice versa
* Use addrparse_header() once more
* Still addrparse_header()
* Clippy
* Fix compile errors in tests
* Fix typo
* Fix tests again ;-)
* Code style
* Code style; try a HashMap<addr: String, display_name: String> as an address list but I am not convinced
* Code style; Use Vec<SingleInfo> as address list
* Clippy
* Add tests
* Add another test
* Remove stale comments
2020-05-07 13:55:09 +02:00
holger krekel
4724101e75
fix upload error?! ( #1454 )
...
* use latest setuptools
* clear indexes also if nothing was uploaded to dc/* branches
2020-05-06 17:31:43 +02:00
bjoern
1b921cd533
Merge pull request #1457 from deltachat/prep-1.31
...
prep 1.31
2020-05-06 00:15:34 +02:00
B. Petersen
fcf3786fc5
bump version to 1.31.0
1.31.0
2020-05-05 23:53:54 +02:00
B. Petersen
d78f75aa60
changelog
2020-05-05 23:52:53 +02:00
bjoern
56056cf10e
Merge pull request #1451 from deltachat/better-errors
...
Always describe the context of the displayed error
2020-05-05 23:40:35 +02:00
Alexander Krotov
5fd9b20213
Parse attachment filenames from Content-Type "name" attribute
...
Outlook specifies filename there and omits Content-Disposition.
2020-05-06 00:37:36 +03:00
B. Petersen
076cdae3fd
do not show errors during sending as a ephemeral popup or so, just set the message-state to failed, the error can be queried by the user at any time via 'Info' or so
2020-05-05 21:44:03 +02:00
Alexander Krotov
6543c7c26f
fetch_single_msg: do not ignore dc_receive_imf errors
...
If error is ignored, the message will never be fetched again, even if
there was a database write error.
dc_receive_imf itself is modified to ignore unrecoverable errors, to
prevent endless refetching of incorrect messages.
2020-05-04 18:19:32 +03:00