Commit Graph

  • 0ae9443e22 Update sanitize-filename (#2013) link2xt 2020-10-19 13:14:05 +03:00
  • 67cddedf7e Switch from lazy_static to once_cell Alexander Krotov 2020-10-17 15:25:47 +03:00
  • bf72ae4ccc Merge pull request #2007 from deltachat/tweak-protection-msg bjoern 2020-10-17 22:20:36 +02:00
  • c7863c67bf refine test for add_info_msg() and add_info_msg_with_cmd() B. Petersen 2020-10-17 22:02:55 +02:00
  • 3d108fedc4 set message-info-type also for unpromoted protect/unprotect messages so that UI can show a shield-icon or sth. line that B. Petersen 2020-10-17 21:31:09 +02:00
  • 546e8dedce allow adding info-message with defined commands, add tests for that and for set_protection() B. Petersen 2020-10-17 21:27:41 +02:00
  • 64cd48a4e1 Fix nightly clippy warnings Alexander Krotov 2020-10-17 15:24:09 +03:00
  • 2e118b773e Merge pull request #2009 from deltachat/fix-link bjoern 2020-10-17 13:34:23 +02:00
  • 6206c82ee5 fix link to Protected Headers draft B. Petersen 2020-10-17 13:27:16 +02:00
  • e7736138a8 clarify 'promote' parameter in add_protection_msg() B. Petersen 2020-10-17 11:52:56 +02:00
  • 78b44cb4d0 do not say a concrete user has enabled protection if we do not really know B. Petersen 2020-10-17 11:46:46 +02:00
  • 0a9a2394d8 Merge pull request #2001 from deltachat/protect-one-to-one bjoern 2020-10-16 23:02:41 +02:00
  • 6e37c1442e Merge pull request #2006 from deltachat/update-provider-db-2020-10-16-ii bjoern 2020-10-16 22:58:28 +02:00
  • c323798386 update provider-db, second time today B. Petersen 2020-10-16 21:43:18 +02:00
  • b8e98c0b81 Also add missing suffix (#1973) Hocuri 2020-10-16 18:42:21 +02:00
  • 7a82fd4bbd update provider-db B. Petersen 2020-10-16 15:39:42 +02:00
  • 0a300da347 rename option 'Prefetch' to 'FetchExisting' and limit it to that B. Petersen 2020-10-16 15:03:11 +02:00
  • aa26c52813 add prefetch config value B. Petersen 2020-10-15 22:39:27 +02:00
  • 19697e255e Parse normal MUA messages consisting of only a quote Alexander Krotov 2020-10-16 02:18:41 +03:00
  • 07e4762f71 Call update_device_chats automatically during configure (#1957) Hocuri 2020-10-15 17:43:22 +02:00
  • 6ec743f8b1 make clippy happy B. Petersen 2020-10-15 16:29:21 +02:00
  • 010be693e1 check protected properties for all chats B. Petersen 2020-10-15 16:04:43 +02:00
  • d8a7a178c2 skip check for Chat-Verified on normal messages B. Petersen 2020-10-15 14:10:35 +02:00
  • 18e9073bfe add unit test for should_encrypt() B. Petersen 2020-10-15 00:36:01 +02:00
  • 0032468a87 remove now inaccurate comment B. Petersen 2020-10-14 23:40:04 +02:00
  • 7e793a518c priorize e2ee_guaranteed over Reset B. Petersen 2020-10-14 22:25:58 +02:00
  • e5b0194e8c Merge pull request #1987 from deltachat/name-quote-only-drafts bjoern 2020-10-14 23:23:03 +02:00
  • 13055b9c87 use new imap-proto/async-imap 0.4.1 to fix #1834 holger krekel 2020-10-14 13:18:02 +02:00
  • 5661e0b8f1 Add test to verify exporting and importing the secret key works jikstra 2020-07-13 15:43:39 +02:00
  • 1672905c71 Remove outdated tests/stress.rs Alexander Krotov 2020-10-14 00:32:45 +03:00
  • d13d62105a name quote-only drafts as such in the summary B. Petersen 2020-10-12 17:04:00 +02:00
  • 0b80b81129 Merge pull request #1991 from deltachat/remove-DC_STR_COUNT bjoern 2020-10-13 21:32:48 +02:00
  • 9b72aba8e3 remove DC_STR_COUNT B. Petersen 2020-10-13 18:18:34 +02:00
  • 1f24c5f8a4 Merge "protected groups" branch into master Alexander Krotov 2020-10-13 18:44:31 +03:00
  • ca0672e718 use newest crates update_deps3 holger krekel 2020-10-13 15:41:03 +02:00
  • 7f882a6406 less duplicate code on calling inner_set_protection() B. Petersen 2020-10-13 14:04:38 +02:00
  • 50f3af58f8 remove dc_chat_is_verified() B. Petersen 2020-10-13 13:33:32 +02:00
  • 8425e23d82 move get_protection_msg() to stock.rs as stock_protection_msg() B. Petersen 2020-10-13 13:06:37 +02:00
  • 9fc6bbf41f tweak error texts B. Petersen 2020-10-13 12:29:34 +02:00
  • 1e2e042244 clarify that signature of add_protection_msg() takes chat-promoted parameter B. Petersen 2020-10-09 00:43:36 +02:00
  • 03d86360d6 details docstring, thanks @flub B. Petersen 2020-10-09 00:36:01 +02:00
  • 4eb8d3fef6 tweak documentation towards https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text - thanks @flub B. Petersen 2020-10-09 00:28:44 +02:00
  • da727740ab use warn! for ffi-usage-errors B. Petersen 2020-10-09 00:22:29 +02:00
  • 3a993a4b77 Update src/chat.rs bjoern 2020-10-09 00:09:27 +02:00
  • 45dae1ff0c protect against attackers dropping the protect-this-chat message by not showing unprotected messages directly; this is done by checking the Chat-Verified flag on each incoming message. moreover, make sure, the flag is signed+encrypted (it must be read from the protected headers). B. Petersen 2020-10-06 15:19:58 +02:00
  • f144426bf5 use 'unreachable' instead of 'panic' B. Petersen 2020-10-05 20:54:15 +02:00
  • e447bdc0c3 simplify code-path B. Petersen 2020-10-05 01:32:45 +02:00
  • c1768bb311 add dc_msg_get_info_type() to allow drawing a shield in the uis B. Petersen 2020-10-05 00:59:00 +02:00
  • 66cb3d4358 fix ffi and bindings, error is already logged in core B. Petersen 2020-10-04 18:54:21 +02:00
  • 47f4f2bd08 use language of receiver for protection-messages, show correct sender B. Petersen 2020-10-04 18:29:36 +02:00
  • 12cf89735c handling incoming protection-changes messages, always add info-msg B. Petersen 2020-10-04 17:28:21 +02:00
  • d240bbcd07 if a message is replaced by an error, this also removes special is_system_message states B. Petersen 2020-10-04 16:40:27 +02:00
  • 5e07a36cd2 add/send info-message on protection changes B. Petersen 2020-10-04 13:47:29 +02:00
  • 49b5962568 add set_chat_protection() api B. Petersen 2020-10-03 20:01:47 +02:00
  • a7998c190c remove DC_CHAT_TYPE_VERIFIED_GROUP resp. Chattype::VerifiedGroup B. Petersen 2020-10-01 20:03:09 +02:00
  • b8a55f3aa4 replace chat.is_verified() by chat.is_protected() B. Petersen 2020-10-01 19:29:27 +02:00
  • ab8bf3c2f3 use ProtectionStatus to create chats B. Petersen 2020-10-01 18:36:13 +02:00
  • d05dd977d9 migrate database B. Petersen 2020-10-01 17:05:58 +02:00
  • 8b3494b5c1 Do not display [...] after non-chat quotes Alexander Krotov 2020-10-12 21:30:32 +03:00
  • d9a45eb931 Merge pull request #1981 from deltachat/notice-on-answer bjoern 2020-10-12 17:58:32 +02:00
  • db5cb45b9c Rustfmt, Comment, move a little bit slower smooth-progress-bar Hocuri 2020-10-12 16:05:18 +02:00
  • 36046f5f2c Repair some tests Hocuri 2020-10-01 19:41:15 +02:00
  • 1f9c0ef7d9 Remove debug logs Hocuri 2020-09-30 10:33:30 +02:00
  • efd62a7c04 Completely smooth progress bar Hocuri 2020-09-29 15:47:15 +02:00
  • cb5bcebf75 Separate quote from reply with an empty line Alexander Krotov 2020-10-10 21:17:35 +03:00
  • 69f159792e Only use summary for quote if text is empty Alexander Krotov 2020-10-10 21:31:11 +03:00
  • bb50b9abe4 Show more errors (#1967) Hocuri 2020-10-10 18:19:31 +02:00
  • 48e1f53826 fix recovering offline/lost connection situations holger krekel 2020-10-10 16:21:10 +02:00
  • be88b946b6 Peek reipients, fetch existing messages Hocuri 2020-10-10 13:27:59 +02:00
  • c2b222e6a5 emit DC_EVENT_MSGS_NOTICED when a chat was answered on another device B. Petersen 2020-10-10 00:34:28 +02:00
  • cf5342c367 Allow drafts without text if there is a quote Hocuri 2020-10-09 19:58:56 +02:00
  • 990ab739cc Save quote as draft Hocuri 2020-10-09 19:34:03 +02:00
  • eaec03142b Use get_summarytext() for quotes Alexander Krotov 2020-10-09 14:17:41 +03:00
  • ea731a3619 Code style Hocuri 2020-10-09 12:50:59 +02:00
  • 719cba68b3 Don't flood the log Hocuri 2020-10-09 13:00:14 +02:00
  • 20182b027e Add quote API Alexander Krotov 2020-10-04 05:05:44 +03:00
  • 8c82a5cbfa prepare_msg_raw: do not set GuaranteeE2ee Alexander Krotov 2020-10-09 09:02:20 +03:00
  • 25274f13c3 cargo fmt Alexander Krotov 2020-10-09 08:18:18 +03:00
  • 093839c2b0 prepare_msg_raw: replace large if with early exit Alexander Krotov 2020-10-09 08:16:09 +03:00
  • 4c8e6ef495 use combined index (state, hidden, chat_id) to speed up marknoticed_chat() B. Petersen 2020-10-10 00:32:45 +02:00
  • 2fe600f885 Merge pull request #1971 from deltachat/accessible-msg-error René Rössler 2020-10-08 12:54:20 +02:00
  • 9739c0305b Accessible msg error and type changes René Rössler 2020-10-08 11:51:04 +02:00
  • 893e4b91ba Merge pull request #1970 from deltachat/push_unconditional bjoern 2020-10-07 15:03:02 +02:00
  • 5cb1d10401 if we merge to master, we always upload -- before if a flaky functional test failed it would prevent uploading of docs and wheels. holger krekel 2020-10-07 14:45:23 +02:00
  • 11107d5484 add comment about unused 'starred' column B. Petersen 2020-10-05 21:20:55 +02:00
  • 5405bfbc8d remove unused types "starred" and "in-creation" B. Petersen 2020-10-03 13:13:04 +02:00
  • a0c92753a9 prepare_msg: return Err if no address is configured Alexander Krotov 2020-10-04 04:34:32 +03:00
  • de97e0263f ffi: add missing "ignoring careless call" warnings Alexander Krotov 2020-09-23 04:39:19 +03:00
  • 44558d0ce8 Revert "Export to the new backup format (#1952)" (#1958) Hocuri 2020-10-02 15:34:22 +02:00
  • be40417a7f sql: do not set dbversion after each migration Alexander Krotov 2020-09-23 04:10:27 +03:00
  • 8301e27f86 dc_get_info: accept immutable context Alexander Krotov 2020-09-23 03:47:45 +03:00
  • 21b18836ca test_configure_error_msgs: do not check for "password" repetition Alexander Krotov 2020-09-23 04:08:42 +03:00
  • 2e3352afca fix #1953 by cargo update (esp. update async-io to 1.1.6) Hocuri 2020-10-02 10:08:26 +02:00
  • 9667859410 deltachat.h: fix a typo Alexander Krotov 2020-09-23 03:46:39 +03:00
  • b437ab86d1 Fix a typo: "probram" Alexander Krotov 2020-10-02 03:24:06 +03:00
  • 1fdb697c09 Export to the new backup format (#1952) Hocuri 2020-10-01 19:25:02 +02:00
  • 7200e62375 Mention in dc_event_get_data2_str method that it can also return 0 (#1955) Jikstra 2020-10-01 13:37:04 +02:00
  • 7ddf3ba754 Merge pull request #1950 from deltachat/update-async-std Friedel Ziegelmayer 2020-09-29 14:00:33 +02:00
  • 7786a4ced4 fix: avoid manual poll impl for accounts events Friedel Ziegelmayer 2020-09-29 14:00:10 +02:00
  • c649db15b6 update async-std to 1.6.5 dignifiedquire 2020-09-28 21:40:49 +02:00