Commit Graph

  • 408b2686b9 fix doxygen, some rewording B. Petersen 2019-10-09 21:33:54 +02:00
  • 3270120d16 strncasecmp() compares the given number of characters but not after a 0-byte B. Petersen 2019-10-09 19:00:54 +02:00
  • 77a7efc920 fix #694 by forking lettre and avoiding extra NOOP Smtp commands for connection checking. If this works out and fixes our problem, we can submit upstream. holger krekel 2019-10-09 16:37:34 +02:00
  • de604e744e Merge pull request #703 from deltachat/fix-strncasecmp björn petersen 2019-10-09 17:31:41 +02:00
  • 1a311de0ae fix #694 by forking lettre and avoiding extra NOOP Smtp commands for connection checking. If this works out and fixes our problem, we can submit upstream. hpk-fix-smtp holger krekel 2019-10-09 16:37:34 +02:00
  • 24c0a833bd address @flub comments holger krekel 2019-10-09 14:25:27 +02:00
  • 45f011c63c expose and test set_stock_translation to Python holger krekel 2019-10-09 10:58:06 +02:00
  • bc86201b44 error out if %1 %2 replacements are not contained in default english version holger krekel 2019-10-09 10:02:49 +02:00
  • b82af9fff3 introduce set_stock_translation and remove call to DC_EVENT_GET_STRING holger krekel 2019-10-09 09:48:24 +02:00
  • 3738cd6af8 address @flub comments hpk-set-stockstring holger krekel 2019-10-09 14:25:27 +02:00
  • 3a1e74a306 fix(mmime): correct implementation of strncasecmp dignifiedquire 2019-10-09 14:27:15 +02:00
  • da99bba025 expose and test set_stock_translation to Python holger krekel 2019-10-09 10:58:06 +02:00
  • bdfd548779 error out if %1 %2 replacements are not contained in default english version holger krekel 2019-10-09 10:02:49 +02:00
  • af9ae153ae introduce set_stock_translation and remove call to DC_EVENT_GET_STRING holger krekel 2019-10-09 09:48:24 +02:00
  • e4cca92910 Simplify to_string_lossy() Alexander Krotov 2019-10-09 00:50:08 +03:00
  • 102220834c address https://github.com/deltachat/deltachat-ios/issues/328 and don't escalate xml-parsing errors to users through error! holger krekel 2019-10-08 21:58:51 +02:00
  • 9780f49e78 address https://github.com/deltachat/deltachat-ios/issues/328 and don't escalate xml-parsing errors to users through error! hpk-easexmlerrors holger krekel 2019-10-08 21:58:51 +02:00
  • 24d744b94c try generating and uploading doxygen docs (#697) holger krekel 2019-10-08 18:52:13 +02:00
  • 1df6229e99 remove/push down some unsafe-fn holger krekel 2019-10-08 15:28:19 +02:00
  • c23e98ff83 Merge pull request #693 from deltachat/mozautoconfig Alexander Krotov 2019-10-07 23:03:17 +00:00
  • b7c81f37c0 ok_to_continue is 0, now start counting "unsafe fn" ... holger krekel 2019-10-07 12:54:43 +02:00
  • 5c3a7e4119 Use Rust types in auto_mozilla.rs Alexander Krotov 2019-10-07 18:43:53 +03:00
  • a94acef49b cargo fmt holger krekel 2019-10-07 13:21:52 +02:00
  • 7f5b362eda remove ok_to_continue and simplify/refactor imap and smtp connection trying address @r10s review comments and also remove unneccessary "unsafe fn" holger krekel 2019-10-07 01:40:15 +02:00
  • c8400e50b2 push down unsafe from whole-function to expressions hpk-unsafe-fn1 holger krekel 2019-10-07 13:02:59 +02:00
  • ba5b3ad675 fix #690 by avoiding account.__del__ and registering/unregistering with atexit (a module that manages process/interpreter shutdown and calls into registered shutdown. Recommended way for user code still is to call account.shutdown() explcitely. holger krekel 2019-10-07 12:01:54 +02:00
  • c1e4d1e7a4 Merge pull request #688 from deltachat/remove-predecessor björn petersen 2019-10-07 02:02:15 +02:00
  • dd8744b74e remove unused import B. Petersen 2019-10-07 01:15:42 +02:00
  • b775ecca08 fix tests holger krekel 2019-10-07 00:39:45 +02:00
  • b8f211a013 cargo fmt holger krekel 2019-10-07 00:15:15 +02:00
  • 51534b2fae move all alloc/free/stop/has/shall_stop*ongoing* methods to context introduce stop_ongoing to bindings and test for cancelation of configure holger krekel 2019-10-06 23:50:16 +02:00
  • 710db2ba0a remove scanning for old Chat-Predecessor header B. Petersen 2019-10-07 00:43:43 +02:00
  • 32ef0d4dc3 cargo fmt holger krekel 2019-10-06 23:09:57 +02:00
  • b3cd80ba6d remove ok_to_continue, shift code to a result-returning add_export_files to avoid if-branches, cleanup and simplify some logging holger krekel 2019-10-06 22:41:14 +02:00
  • 3f053f899e cargo fmt holger krekel 2019-10-06 01:41:47 +02:00
  • 22b4d1734c remove last ok_to_continue in mimeparser holger krekel 2019-10-06 01:41:02 +02:00
  • 46a71e81a0 Merge pull request #683 from deltachat/outlook_none björn petersen 2019-10-06 15:54:01 +02:00
  • b4851187ba Safe outlk_autodiscover Alexander Krotov 2019-10-06 03:22:11 +03:00
  • 0252969f7e Remove unused in_0 from outlk_autodiscover_t Alexander Krotov 2019-10-06 02:36:07 +03:00
  • f86cec4844 Mark moz_autoconfigure as safe Alexander Krotov 2019-10-06 02:11:30 +03:00
  • cd2e36da92 rustfmt Alexander Krotov 2019-10-06 02:10:20 +03:00
  • 1b13107181 Return Option<String> from read_autoconf_file Alexander Krotov 2019-10-06 02:10:08 +03:00
  • 6fbde21995 outlk_autodiscover: store url as String Alexander Krotov 2019-10-06 02:02:47 +03:00
  • a6608513ac auto_outlook: restore and add some comments Alexander Krotov 2019-10-06 01:52:04 +03:00
  • d43c225be3 Return None from outlk_autodiscover if no XML config was parsed Alexander Krotov 2019-10-06 01:26:53 +03:00
  • 357bce7246 intermediate commit cleanup-configure holger krekel 2019-10-06 01:28:17 +02:00
  • 6bac21b13f some more cleanups but not quite working yet holger krekel 2019-09-24 14:07:47 +02:00
  • 859e7691d0 first round of configure cleanups holger krekel 2019-09-24 00:50:54 +02:00
  • 1802d7658d add some tests for dc_create_outgoing_rfc724_mid() B. Petersen 2019-10-05 22:06:15 +02:00
  • 275f5d713f cargo fmt B. Petersen 2019-10-05 17:17:23 +02:00
  • e40cfeec58 bubble up sql, get_abs_path errors B. Petersen 2019-10-05 17:17:09 +02:00
  • 275b4b8d36 bubble up sql-errors in reveive_imf() B. Petersen 2019-10-05 16:57:08 +02:00
  • 77cef632c7 bubble up update_param() error B. Petersen 2019-10-05 16:26:37 +02:00
  • db2064de14 use .to_string_lossy() member of Path, CStr etc. B. Petersen 2019-10-05 15:26:14 +02:00
  • e251c7b1c8 redo some c-comments B. Petersen 2019-10-05 13:39:27 +02:00
  • 2fe98775f9 Merge pull request #673 from deltachat/dont-panic björn petersen 2019-10-05 15:08:15 +02:00
  • 187179d87b Merge pull request #674 from deltachat/to-lossy björn petersen 2019-10-05 15:04:32 +02:00
  • dd03f6e8af test and fix that a group with mixed-encryption members (with some we can encrypt, others not) does not break holger krekel 2019-10-05 13:59:46 +02:00
  • 07b32241bd try fix #677 (this fixes only a test) -- seems like we passed pointers into Rust strings to code that was expecting null-terminated strings. Now do proper "strdup()" and free. The real proper fix is to make dc_split_armored_string into a rust-string function and do away with all c-pointers. holger krekel 2019-10-05 14:37:56 +02:00
  • abfff96cd4 cargo fmt B. Petersen 2019-10-05 12:44:08 +02:00
  • 735bdd1c20 always use to_string_lossy() for converting c-strings to String B. Petersen 2019-10-04 23:23:58 +02:00
  • 9cae075b6f target detailed checks of @flub B. Petersen 2019-10-04 22:53:23 +02:00
  • 2317518e5e cargo fmt B. Petersen 2019-10-04 00:20:15 +02:00
  • 477af413c6 if in doubt, prefer unwrap_or_default() B. Petersen 2019-10-04 00:05:14 +02:00
  • 93f0f5ccae rename sql-config-setters to set_raw_config*() B. Petersen 2019-10-03 21:57:40 +02:00
  • 79b92727cc prefer get_config_bool() where appropriate B. Petersen 2019-10-03 21:41:30 +02:00
  • 8dfd04672f Merge pull request #670 from deltachat/tweak-config björn petersen 2019-10-03 21:19:45 +02:00
  • 603761e4b7 add DC_EVENT_DELETED_BLOB_FILE holger krekel 2019-10-03 16:16:17 +02:00
  • 467c09f491 introduce DC_EVENT_NEW_BLOB_FILE event and test for it holger krekel 2019-10-03 16:00:03 +02:00
  • a953b494cb cargo fmt B. Petersen 2019-10-03 17:41:09 +02:00
  • dca9afa10b rename sql.get_config() to sql.get_raw_config() to make clearer that there is not default handling B. Petersen 2019-10-03 17:35:43 +02:00
  • 23d2d87c24 do not panic on missing or wrong formatted values in the database B. Petersen 2019-10-03 16:55:12 +02:00
  • c6b2d640ae prefer context.get_config() over context.sql.get_config() as the latter does not handle default values. B. Petersen 2019-10-03 16:53:23 +02:00
  • eab9ff1958 add new three-account test to try to reproduce #638 hpk-verified-encrypt holger krekel 2019-10-03 17:08:46 +02:00
  • b4b8a1d15b Merge pull request #667 from deltachat/resilient-writes björn petersen 2019-10-03 14:48:21 +02:00
  • 130d485cac Fix some clippy warnings Alexander Krotov 2019-10-03 13:22:59 +03:00
  • d5b92744ed increase number of simultan database-connections, wait for write if another thread writes B. Petersen 2019-10-03 14:09:43 +02:00
  • a5c4e16405 Merge pull request #647 from deltachat/tls_checks_config Alexander Krotov 2019-10-02 23:21:03 +00:00
  • 216266d7bf Apply imap_certificate_checks config to StartTLS connections Alexander Krotov 2019-10-03 02:02:51 +03:00
  • bf1652a1be Move common code for IMAP and SMTP to login_param.rs Alexander Krotov 2019-10-03 01:24:55 +03:00
  • f93f3d6012 Do not set minimal TLS version for SMTP manually Alexander Krotov 2019-10-03 01:19:31 +03:00
  • 41806f86ba Return certificate check information from get_info() Alexander Krotov 2019-10-03 01:14:25 +03:00
  • 59df97944f Enable strict certificate checks for test online accounts Alexander Krotov 2019-10-02 14:35:01 +03:00
  • 468651534e Manually specify values for CertificateChecks enum Alexander Krotov 2019-10-02 14:19:00 +03:00
  • 6343ae8161 Rename {mail,send}_certificate_checks into {imap,smtp}_certificate_checks Alexander Krotov 2019-10-01 13:24:45 +03:00
  • 641bd5eb15 Write configured_{mail,send}_certificate_checks to database Alexander Krotov 2019-09-30 09:02:12 +03:00
  • 063d989225 Use mail_certificate_checks configuration in imap.rs Alexander Krotov 2019-09-30 02:49:33 +03:00
  • b8ca7b1591 Add CertificateChecks::Automatic option and make it default Alexander Krotov 2019-09-30 02:25:05 +03:00
  • e222f49c9d Use send_certificate_checks configuration Alexander Krotov 2019-09-30 01:04:28 +03:00
  • 297bc635e8 Add certificate check configuration options Alexander Krotov 2019-09-29 22:54:39 +03:00
  • 230c65594c add test for markseen not sending out smtp on second call holger krekel 2019-10-02 23:28:44 +02:00
  • 509a21ff05 introduce DC_IMAP_MESSAGE_MOVED event and try harder to send out MDNs holger krekel 2019-10-01 15:30:33 +02:00
  • 96066712bd add and test for DC_IMAP_MESSAGE_DELETED event holger krekel 2019-10-01 13:40:35 +02:00
  • d83aa1e898 perform heuristic moves only if a job is not delete holger krekel 2019-10-01 12:41:07 +02:00
  • f0a7bdb6d6 properly parse message ids in imap prefetch holger krekel 2019-10-01 11:45:37 +02:00
  • 9c077c98cd remove MdnSent logic holger krekel 2019-10-01 01:21:40 +02:00
  • 6dc45642b7 rework API holger krekel 2019-10-01 00:41:18 +02:00
  • 5c1b9c83f7 fixes #661 and also contains a cleanup of config access (only for e2ee and mdns) holger krekel 2019-10-02 20:30:41 +02:00
  • 92438737c9 - introduce and test BccSelf config, to prevent bcc-self on outgoing mails - introduce context.get_config_int() which respects default values declared in config.rs (Config) holger krekel 2019-10-02 20:15:12 +02:00
  • 489cdd1b24 - resultify send-out pipeline for better error reporting - early ignore sending out smtp messages with no recipients holger krekel 2019-10-02 18:45:31 +02:00