Commit Graph

1524 Commits

Author SHA1 Message Date
holger krekel 981b90f06b adapt README, comment previous python tests out 2019-11-22 10:53:21 +01:00
holger krekel 1a08eff890 revert back to split doc and lint 2019-11-22 10:50:36 +01:00
holger krekel 6a21b6f62a fix missing renames and tox dep 2019-11-22 10:50:36 +01:00
holger krekel 243f1cf593 address @dignifiedquire err.to_string() comment and avoid extra virtualenv building 2019-11-22 10:50:36 +01:00
holger krekel 0cd3dfa872 some comments fix imap->inbox naming in example 2019-11-22 10:50:36 +01:00
holger krekel e73978a156 simplify double-fetching 2019-11-22 10:50:36 +01:00
holger krekel bdb36fb862 merge JobThread::connect_to_imap with Imap::connect_configured for simplicity 2019-11-22 10:50:36 +01:00
holger krekel ea882c18f3 resultify fetch and simplify fake_idle 2019-11-22 10:50:36 +01:00
holger krekel fa5a24febd proper handling of IdleResponse codes 2019-11-22 10:50:36 +01:00
holger krekel a711b6efab 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 10:50:36 +01:00
holger krekel 267518094b resultify some imap operations 2019-11-22 10:50:36 +01:00
holger krekel d197054e47 update docs and add a simple manual script to run python/rust tests 2019-11-22 10:50:36 +01:00
holger krekel 9b59cac120 run doxygen for core docs again 2019-11-22 10:50:36 +01:00
holger krekel 2fb45f9e68 use the reponame in dir builddir to we can distinguish from desktop/android etc 2019-11-22 10:50:36 +01:00
holger krekel 49fb566d1c re-enable cross, some streamlining of docs 2019-11-22 10:50:36 +01:00
holger krekel 3370278bd3 simplify/speedup python tests 2019-11-22 10:50:36 +01:00
holger krekel e531210e56 various cleanups, better parallelism and build-dir structure 2019-11-22 10:50:36 +01:00
holger krekel 952c581a71 don't invoke py36/py35 anymore here. 2019-11-22 10:50:36 +01:00
holger krekel 9ce2a5a81a reconfigure running of rust and python tests 2019-11-22 10:50:36 +01:00
holger krekel 8925203873 introduce a trigger_reconnect helper 2019-11-22 10:50:36 +01:00
holger krekel 9b4732a904 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 10:50:36 +01:00
holger krekel 125274f2a1 new clean try to get circle-ci to work, disable and move gh actions to ci_scripts folder 2019-11-22 10:50:16 +01:00
dignifiedquire b7545cee8e update github actions 2019-11-22 10:50:16 +01:00
holger krekel 96f3438b5c shortcut fetch/idle on mvbox/sentbox if we don't know the folder and prevent busy-looping 2019-11-22 10:50:16 +01:00
holger krekel b69c1be13c steramline some teardown decision code, and add webpki_roots for cert-checking 2019-11-22 10:50:16 +01:00
holger krekel 457efe5b72 also make smtp respect CertificateChecks setting roughly 2019-11-22 10:50:16 +01:00
holger krekel 2e7343e3c0 rough integration of async-tls CertChecks (strict and automatic but not more finegrained work) 2019-11-22 10:50:16 +01:00
dignifiedquire 4ab458a354 update to released versions 2019-11-22 10:50:16 +01:00
holger krekel 464eef9e20 * fix interrupt_idle by signalling "skip_next_idle_wait" to the potentially concurrently "fn idle" function
* fixes double-export issue
2019-11-22 10:49:57 +01:00
holger krekel fb32d159d8 make select_folder return ImapActionResult's and early-return from idle if there is no selected folder 2019-11-22 10:49:57 +01:00
dignifiedquire ffbea570c6 bust ci cache, update deps, use a different rust version, remove rustup install 2019-11-22 10:49:57 +01:00
dignifiedquire 11dd43c290 refactor: drop native-tls 2019-11-22 10:49:37 +01:00
dignifiedquire e384b98182 update docker image 2019-11-22 10:49:04 +01:00
dignifiedquire 2dfe24dbfc cleanup imap impl 2019-11-22 10:49:04 +01:00
dignifiedquire 1ed7f7c099 update async-imap 2019-11-22 10:49:04 +01:00
dignifiedquire b1fad7d284 implement idle again 2019-11-22 10:47:51 +01:00
dignifiedquire 6e0f10f283 it compiles with async-imap, remove local dependency 2019-11-22 10:43:37 +01:00
Alexander Krotov 4b8252e001 Implement public key selection
First, try to use subkeys, because they are usually
short-term encryption keys. If none of the subkeys
are encryption keys, try to use the primary key.

rPGP is updated to the master branch because the
latest release does not have .is_encryption_key() yet.
2019-11-22 10:20:40 +01:00
Floris Bruynooghe f505ff03e4 Do not break double file extensions
Double extensions are sometimes used to identify files correctly,
e.g. .tar.gz or .html.zip.  Breaking those extensions is not very
nice.

This fixes #865.
2019-11-21 22:18:31 +01:00
björn petersen ff8e282c43 Merge pull request #862 from deltachat/fix-bcc-self
mark messages as sent
2019-11-20 15:28:40 +01:00
B. Petersen e39cb160f9 make messages as sent in groups with only SELF and bcc_self disabled 2019-11-20 02:48:43 +01:00
björn petersen 76ce0c3540 Merge pull request #856 from deltachat/fix-time-smearing
fix time smearing
2019-11-19 23:25:11 +01:00
B. Petersen f7047bbf51 add detailed comments about time-smearing 2019-11-19 22:52:24 +01:00
B. Petersen c3a53cefb0 fix time smearing
if two messages have the same time,
this results i all kinds of sorting failures,
esp. in non-delta-muas and on forwarding messages.
so, no two messages sent out from delta have the same timestamp.
normally, this is no problem, but when things are sent too fast,
eg. on forwarding, we lend us some time from the future.

however, all this did not work
because we forgot to write back the modified time,
this is fixed by this commit, as well as some cleanup.
2019-11-19 22:23:01 +01:00
björn petersen a88153954e Merge pull request #854 from deltachat/tweak-device-msg
tweak device messages
2019-11-19 22:19:42 +01:00
Alexander Krotov 4732085421 Fix some clippy warnings 2019-11-19 19:52:13 +01:00
B. Petersen e4e6a00fe4 rename has_device_msg() to was_device_msg_ever_added() what describes better what the function is doing 2019-11-19 13:21:02 +01:00
B. Petersen 700e10bc0e use dc_add_device_msg() also to add labels-only, this is clearer as having a function with 'skip' in the name 2019-11-19 13:05:01 +01:00
B. Petersen 2a4c193601 simplify check for existing device-message 2019-11-19 11:56:35 +01:00
B. Petersen d3fa289f27 streamline dc_add_device_msg_once|unlabelled() to one function 2019-11-19 11:49:02 +01:00