Floris Bruynooghe
f6cdc7b498
Introduce enum API for configuration
...
This introduces a new Context::get_config_item() and
Context::set_config_item() API which operates on two enums: ConfigKey
and ConfigItem. The latter has variats which hold the actual
configuration as data. This allows to introduce stronger typing of
the configuration items.
This commit however does not yet do this, it adapts the existing APIs
to use the new API leaving the stronger typing for future commits.
This should make the changes more digestible and reviewable.
2019-11-25 21:02:37 +01:00
Floris Bruynooghe
e0601bab3d
Leave the avatar in place if it already is in the blobdir
2019-11-25 12:59:55 +01:00
Floris Bruynooghe
69369b02ea
Copy Selfavatar to blobdir and store as proper blob
...
When a new Selfavatar is set the file needs to be copied into the
blobdir and as a proper blob it should be stored in the database as
$BLOBDIR/$filename.
This should fix #868 .
2019-11-25 12:59:55 +01:00
B. Petersen
966b9fac49
fix cast to libc::c_char, signed i8 fails eg. on android
1.0.0-beta.8
2019-11-24 18:12:42 +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
Alexander Krotov
6412adcfa7
Use forked version of async-imap and imap-proto
...
This attempts to fix fetching when the inbox contains mail with non-utf8 subjects.
2019-11-24 12:05:30 +01: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
Alexander Krotov
8d81c8c1e0
Do not crash on messages without message-id
2019-11-23 22:52:16 +01:00
Alexander Krotov
1e173524b5
Upgrade to hex 0.4
...
rpgp depends on hex 0.4. This prevents building two versions of the same library.
2019-11-23 22:51:27 +01:00
B. Petersen
490418d359
add icon source files
2019-11-22 16:27:54 +01:00
B. Petersen
51ef4d82f9
use flatter design and higher resolution for icons
2019-11-22 16:27:54 +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
dignifiedquire
89a4b6fee5
update github actions
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
dignifiedquire
b13ca0d077
update to released versions
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
dignifiedquire
97e6bc2be3
bust ci cache, update deps, use a different rust version, remove rustup install
2019-11-22 12:28:19 +01:00
dignifiedquire
2c2555fad9
refactor: drop native-tls
2019-11-22 12:28:19 +01:00
dignifiedquire
f4f69a030a
update docker image
2019-11-22 12:28:19 +01:00
dignifiedquire
86f66f4d78
cleanup imap impl
2019-11-22 12:28:19 +01:00
dignifiedquire
b4e2b69086
update async-imap
2019-11-22 12:28:19 +01:00
dignifiedquire
1a1a59a14e
implement idle again
2019-11-22 12:28:19 +01:00