Commit Graph
100 Commits
Author SHA1 Message Date
holger krekel c011a8cfef run lint without installing the package 2019-12-07 21:44:34 +01:00
holger krekel 2d7d79fc44 allow to use a different buildhost :) 2019-12-07 21:44:34 +01:00
holger krekel 119d4fa689 - test and fix receiving text/html attachment in multipart/mixed situations
They are now preserved as attachment, instead of diving into parsing-html
  and simplifying.

- adapt mime-debugging
2019-12-07 21:44:34 +01:00
holger krekel b7a9f73329 passes test but needs cleanup 2019-12-07 21:44:34 +01:00
holger krekel a52a3e0d24 try fix incoming text/html in multipart/mixed 2019-12-07 21:44:34 +01:00
holger krekel 36014f9fe5 add next changelog entry 2019-12-06 09:00:23 +01:00
holger krekel defad94f5a bump to beta12 2019-12-06 00:55:24 +01:00
holger krekel a0517478e3 adding auto-copy-blob logic when preparing a message 2019-12-06 00:27:22 +01:00
holger krekel 7f4e68f21c failing test for sending out a file twice 2019-12-06 00:27:22 +01:00
holger krekel c0a425c26d bump to beta11 2019-12-05 21:53:03 +01:00
holger krekel e756859b16 don't split qr tests out anymore now 2019-12-05 21:50:17 +01:00
holger krekel 174bc017ad make setup_handle_if_needed async, call it ahead of select_folder and fetch_new_messages (renamed from fetch_from_single_folder), and be more eager triggering reconnect on error conditions 2019-12-05 21:47:32 +01:00
holger krekel 4a9fb0212f complete changelog and bump version 2019-12-05 19:32:16 +01:00
holger krekel 212848409f use encoded-words crate, which friedel ported from python 2019-12-05 19:29:12 +01:00
holger krekel e45ee0eb81 try fix filename encoding bug -- fails in one test 2019-12-05 19:29:12 +01:00
holger krekel c2e8cc9bd6 use rfc2047 crate from @valodim and remove dc_strencode.rs completely 2019-12-05 19:29:12 +01:00
holger krekel ec81d29580 fix multi-line subject encoding and introduce MIME debugging env var 2019-12-05 19:29:12 +01:00
holger krekel d96dba336b Update deltachat-ffi/deltachat.h
fix doc
2019-12-05 18:57:19 +01:00
holger krekel 74825a0f57 working example 2019-12-05 18:57:19 +01:00
holger krekel 4a23d12df2 add a ffi-definiton for a new get-chat summary function that returns json 2019-12-05 18:57:19 +01:00
holger krekel 7f117574ab test and fix #956 2019-12-05 02:15:54 +01:00
holger krekel f91474c2f8 add preliminary changelog for beta10 2019-12-05 01:22:50 +01:00
holger krekel 2a081aac2b fix grpid extraction from In-Reply-To and References headers 2019-12-05 01:18:53 +01:00
holger krekel 9b10f31fb3 more cleanups 2019-12-05 00:56:09 +01:00
holger krekel 63ad7b8d34 make to_ids const in some places, and simplify returns from create_or_lookup_adhoc_group 2019-12-05 00:56:09 +01:00
holger krekel 86baaab2e9 get rid of unsafe and indirect return values for create_or_lookup.*group 2019-12-05 00:56:09 +01:00
holger krekel 3e66d23367 make set_core_version return the versions if no args are specified 2019-12-04 22:32:56 +01:00
holger krekel 4c68e6fe41 update deps 2019-12-04 09:11:21 +01:00
holger krekel 914ce77b50 adapt changelog 2019-12-04 08:58:48 +01:00
holger krekel d09989a4ed fix implementation of Autocrypt to encrypt if answering to an encrypted message.
Previously, if any of a chat's peers set prefer_encrypt to false
(i.e. "e2ee_enabled=0" in the config, a misnomer btw) then a
previously encrypted chat would drop to cleartext easily.
2019-12-04 08:57:42 +01:00
holger krekel 6999a4e3a9 streamline decrypt/encrypt logging 2019-12-04 08:57:42 +01:00
holger krekel 74f36b264b fix get_recipients with test 2019-12-03 17:51:44 +01:00
holger krekel 2df43b6c5d avoids double-semicolon problem leading to empty messages in pre-master releases 2019-12-03 16:55:53 +01:00
holger krekel 73f80624b2 adding a draft changelog entry for beta.9 2019-12-03 14:48:57 +01:00
holger krekel 1c5a3e6698 remove debug logging and fix update_gossip_headers location 2019-12-03 12:25:22 +01:00
holger krekel ea8adf39c2 address @link2xt comment 2019-12-01 20:50:31 +01:00
holger krekel f7f61e0f85 move imap errors into imap module 2019-12-01 20:50:31 +01:00
holger krekel 2423d197cd better logging, changed timeout 2019-12-01 18:12:10 +01:00
holger krekel 2582791501 address #925 heuristically 2019-12-01 18:12:10 +01:00
holger krekel 603d55114b address @link2xt error comment 2019-11-30 23:53:35 +01:00
holger krekel 9d18db9cae introduce a select_with_uidvalidity function that helps us during configuration to know about last_seen_uid 2019-11-30 23:53:35 +01:00
holger krekel d14c6ea202 refine uid_next handling and rename and resultify configure_folder to ensure_configurer_folders 2019-11-30 23:53:35 +01:00
holger krekel 7be5fe925a revert logic to get last_seen_uid 2019-11-30 23:53:35 +01:00
holger krekel 8f43d7fa34 remove commented errors and fix fmt 2019-11-30 23:53:35 +01:00
holger krekel b6e9bcee3c when first looking at a folder, look at "uid_next" as returned from server
and otherwise properly fetch the last messages to determine the last seen uid.
also add some tracing.
2019-11-30 23:53:35 +01:00
holger krekel 2dbef704e9 rework select_folder error handling (thanks @flub and @link2xt for helping along) 2019-11-30 23:53:35 +01:00
holger krekel f87cb4231c rename jobs to make "rg Markseen" and other searches for the job enum produce all places dealing with the enum 2019-11-28 19:42:24 +01:00
holger krekel 6f6791c1b5 (flub/r10s/hpk42) remove MoveState and related functions because we don't actually need it anymore 2019-11-28 15:57:26 +01:00
holger krekel bc11ae7245 add a test for bcc-self sent messages getting moved 2019-11-28 15:57:26 +01:00
holger krekel 25fb199ba0 update to current async-imap master which should fix a crash 2019-11-28 13:04:37 +01:00
holger krekel fbb8c8e80c be less verbose when generating python docs 2019-11-27 13:41:08 +01:00
holger krekel 76610f1e72 rename to more specific name, also not using the difficult to type "succeeded" word :) 2019-11-27 13:02:07 +01:00
holger krekel 618d74cd67 safer interruptability of fake-idle -- reusing the same skip_next_idle pattern as with idle 2019-11-27 05:52:14 +01:00
holger krekel 42ef43bdf6 test the new event 2019-11-27 00:43:50 +01:00
holger krekel e2a86dd803 prepare beta8 2019-11-24 14:41:25 +01:00
holger krekel 1b88cfd053 as recent fixes are merged to async-imap, let's use that cc @link2xt 2019-11-24 16:30:49 +03:00
holger krekel 76de8f55f2 make ssh fail directly if a password is asked 2019-11-24 01:05:33 +01:00
holger krekel ae43b83162 random change to test PR 2019-11-24 01:05:33 +01:00
holger krekel e522920d49 fix the check for not installing bindings (used from CI), and refined rerun policy 2019-11-22 13:54:30 +01:00
holger krekel 47be554aff adapt README, comment previous python tests out 2019-11-22 12:28:19 +01:00
holger krekel f44b2a63b0 revert back to split doc and lint 2019-11-22 12:28:19 +01:00
holger krekel 8d4b893658 fix missing renames and tox dep 2019-11-22 12:28:19 +01:00
holger krekel 7e3c61eb41 address @dignifiedquire err.to_string() comment and avoid extra virtualenv building 2019-11-22 12:28:19 +01:00
holger krekel bb396685ab some comments fix imap->inbox naming in example 2019-11-22 12:28:19 +01:00
holger krekel 8ef0ea8aea simplify double-fetching 2019-11-22 12:28:19 +01:00
holger krekel 34c766dc2b merge JobThread::connect_to_imap with Imap::connect_configured for simplicity 2019-11-22 12:28:19 +01:00
holger krekel a30fa710ad resultify fetch and simplify fake_idle 2019-11-22 12:28:19 +01:00
holger krekel fa01884350 proper handling of IdleResponse codes 2019-11-22 12:28:19 +01:00
holger krekel eae9ad6f8b remove context.inbox in favour of a context.inbox_thread following the mvbox_thread and sentbox_thread patterns. Also some streamlining of shutdown logic. 2019-11-22 12:28:19 +01:00
holger krekel be533fa66a resultify some imap operations 2019-11-22 12:28:19 +01:00
holger krekel 254b061921 update docs and add a simple manual script to run python/rust tests 2019-11-22 12:28:19 +01:00
holger krekel cefa03f45b run doxygen for core docs again 2019-11-22 12:28:19 +01:00
holger krekel b67203b421 use the reponame in dir builddir to we can distinguish from desktop/android etc 2019-11-22 12:28:19 +01:00
holger krekel e14c4d0683 re-enable cross, some streamlining of docs 2019-11-22 12:28:19 +01:00
holger krekel 4ed96b16f4 simplify/speedup python tests 2019-11-22 12:28:19 +01:00
holger krekel 932c86bb3b various cleanups, better parallelism and build-dir structure 2019-11-22 12:28:19 +01:00
holger krekel 590fd53dd4 don't invoke py36/py35 anymore here. 2019-11-22 12:28:19 +01:00
holger krekel 8e7dc5e86f reconfigure running of rust and python tests 2019-11-22 12:28:19 +01:00
holger krekel e13ce3140b introduce a trigger_reconnect helper 2019-11-22 12:28:19 +01:00
holger krekel 2ebb43b613 update deps, in particular async-imap to 0.1.1 which contains
the fix by @dignifiedquire that is expected to fix #829
2019-11-22 12:28:19 +01:00
holger krekel 863a70b8fc new clean try to get circle-ci to work, disable and move gh actions to ci_scripts folder 2019-11-22 12:28:19 +01:00
holger krekel 0405c945e2 shortcut fetch/idle on mvbox/sentbox if we don't know the folder and prevent busy-looping 2019-11-22 12:28:19 +01:00
holger krekel 5293ea70ae steramline some teardown decision code, and add webpki_roots for cert-checking 2019-11-22 12:28:19 +01:00
holger krekel b5cbc97333 also make smtp respect CertificateChecks setting roughly 2019-11-22 12:28:19 +01:00
holger krekel a867452927 rough integration of async-tls CertChecks (strict and automatic but not more finegrained work) 2019-11-22 12:28:19 +01:00
holger krekel c6f4d6d8bd * fix interrupt_idle by signalling "skip_next_idle_wait" to the potentially concurrently "fn idle" function
* fixes double-export issue
2019-11-22 12:28:19 +01:00
holger krekel 8723aa097e make select_folder return ImapActionResult's and early-return from idle if there is no selected folder 2019-11-22 12:28:19 +01:00
holger krekel b6095e29d7 Update src/pgp.rs 2019-11-16 13:53:47 +01:00
holger krekel 545376875a fix python tests 2019-11-12 16:10:48 +01:00
holger krekel dcd92a894e fix export: write backup_time to the destination not the source sql file
and perform slightly cleaner teardown in python
2019-11-06 13:26:32 +01:00
holger krekel 6336eeb568 better error on has_backup() failing 2019-11-06 13:26:32 +01:00
holger krekel 6b18cbda1f refine dc_copy along the lines @flub did for blobstore 2019-11-06 13:26:32 +01:00
holger krekel 01e7caf65a use job_id as mail_id for SendableEmail -- it's only an internal id and job_id is unique enough. 2019-11-03 21:36:01 +01:00
holger krekel 1cfeb730c3 try to fix some smtp todos and do better error logging 2019-11-03 21:36:01 +01:00
holger krekel 31571be71e add account.get_chat_by_id API 2019-11-03 20:14:57 +01:00
holger krekel 661fc45106 split "chatting.py" into "contact.py" and "chat.py" to be more reminiscent of the core-rust structure 2019-11-03 20:14:57 +01:00
holger krekel da64dee3e0 start a changelog for the yet untagged beta.7 2019-11-03 01:32:49 +01:00
holger krekel cb00f5da79 fix #786 by always succeeding to create a canonical deterministic message-id -- thanks @csb0730 for the analysis of the issue 2019-11-03 01:28:45 +01:00
holger krekel c5f64d2988 address @link2xt comments 2019-11-03 00:21:27 +01:00
holger krekel 4eb068613d extend and fix python/test side of location streaming 2019-11-03 00:21:27 +01:00