94 Commits

Author SHA1 Message Date
holger krekel 1953b95c57 commit missing Cargo.lock 2019-12-10 21:42:52 +01:00
holger krekel 8b81ea3b6f actually update to 1.0.0-beta.14 2019-12-10 15:39:09 +01:00
holger krekel b913de5928 prepare a 1.0.0-beta.14 with fixed deps 2019-12-10 14:42:55 +01:00
holger krekel 4e551cde66 update tags and rust-email dep 2019-12-10 14:17:16 +01:00
holger krekel 551253b4e0 use async-smtp with hostname fixed to version 0.1.5 2019-12-10 14:00:43 +01:00
holger krekel 054cf98754 try to work around mailparser not decoding rfc2047 displaynames
this pulls in changes in our fork of rust-email  to also correctly
generate rfc2047 encoding
2019-12-10 00:26:46 +01:00
holger krekel 5f916f5a9c - create and use a ContactIds type as an ordered set instead of "Vec<u32>".
- recreate the group list more carefully, fixes #985

- resultify a few functions in the dc_receive pipeline

- don't quote displaynames in email-addresses, use utf8, preliminrarily addresses #976
2019-12-09 16:29:24 +01:00
Alexander Krotov 54eb30f3db Switch from lettre to async-smtp 2019-12-08 21:00:03 +01:00
holger krekel defad94f5a bump to beta12 2019-12-06 00:55:24 +01:00
holger krekel c0a425c26d bump to beta11 2019-12-05 21:53:03 +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
dignifiedquire 3b8e37de58 switch to quoted-printable, which is already used by mailparse 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 4c68e6fe41 update deps 2019-12-04 09:11:21 +01:00
dignifiedquire db88212a64 refactor: unsafe, CStr and libc moved out 2019-12-03 12:25:22 +01:00
dignifiedquire 1e7afa9da0 fix chat-verified 2019-12-03 12:25:22 +01:00
dignifiedquire e985887739 fix content-type setting and some encryption 2019-12-03 12:25:22 +01:00
dignifiedquire 7d3a56a870 switch to forked rust-email 2019-12-03 12:25:22 +01:00
dignifiedquire 9196ed1e9f remove dead code 2019-12-03 12:22:55 +01:00
dignifiedquire c69a2406ad integrate encryption when sending 2019-12-03 12:22:55 +01:00
dignifiedquire 47197aa495 Implement message generation using lettre_email 2019-12-03 12:22:55 +01:00
dignifiedquire dbd6303829 remove mmime 2019-12-03 12:22:55 +01:00
dignifiedquire d2de2aef07 first compile 2019-12-03 12:22:55 +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 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
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
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
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 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
dignifiedquire 1687e8d26f it compiles with async-imap, remove local dependency 2019-11-22 12:28:19 +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
B. Petersen 1a33b1c574 bump version 2019-11-05 17:04:44 +01:00
holger krekel 80d7e84e5d prepare 1.0.0-beta.6 2019-10-31 12:34:03 +01:00
holger krekel b01c842d7c bump version in toml's and changelog, and trigger deltachat-specific "cargo update". example: python set_core_version.py 1.0.0-beta.6 automates bumping the version and performs some quick sanity checks 2019-10-30 20:05:01 +01:00
holger krekel a6594a9ae3 add changelog and bump to beta.4 2019-10-30 16:13:34 +01:00
holger krekel 36510d8451 update links / use deltachat/rust-imap master branch 2019-10-30 13:07:44 +01:00
holger krekel d3c0d2ebb1 bump version 2019-10-29 22:38:25 +01:00
holger krekel c6adbe939d use latest rust-imap fork commits from @dignifiedquire 2019-10-28 20:51:17 +01:00
holger krekel bf7d57c560 update rust-imap 2019-10-28 20:51:17 +01:00
holger krekel 0e59819af4 use latest rust-imap fork 2019-10-28 20:51:17 +01:00
holger krekel 1cc4f56025 make imap-idle survive disconnects (during and at the beginning of an app) 2019-10-28 20:51:17 +01:00
holger krekel 1d03e0822e seems to work 2019-10-28 20:51:17 +01:00
Floris Bruynooghe 6c9e16d31a Introduce a BlobObject type for blobs
This creates a specific type for blobs, with well defined conversions
at the borders.  It also introduces a strong type for the Param::File
value since that param is often used used by the public API to set
filenames using absolute paths, but then core changes the param to a
blob before it gets to the database.

This eliminates a few more functions with very mallable C-like
arguments behaviour which combine a number of operations in one.
Because blob filenames are stored so often in arbitrary strings this
does add more code when receiving those, until the storage is fixed.

File name sanitisation is now deletated to the sanitize-filename crate
which should do a slightly better job at this.
2019-10-22 18:54:09 +02:00
holger krekel 131889cdfb add beta2 changelog, bump version to 1.0.0-beta.2 2019-10-22 17:50:23 +02:00