holger krekel
d8bbe2fcce
refine test / chat API
2020-06-08 16:31:21 +02:00
holger krekel
b6cc44a956
integrate direct imap test in existing BCC test
2020-06-08 16:31:21 +02:00
holger krekel
0105c831f1
make direct_imap a permanent feature of online accounts
2020-06-08 16:31:21 +02:00
holger krekel
d40f96ac65
fixing imap interactions
2020-06-08 16:31:21 +02:00
holger krekel
69135709ac
more refines and test fixes
2020-06-08 16:31:21 +02:00
holger krekel
612a9d012c
snap using imapclient
2020-06-08 16:31:21 +02:00
bjoern
2ad014faf4
Merge pull request #1563 from deltachat/recode-images
...
recode images
2020-06-08 11:02:35 +02:00
B. Petersen
f3a59e19d8
simplify condition for jpeg-check
2020-06-08 10:37:13 +02:00
bjoern
17283c86a3
Update src/chat.rs
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2020-06-08 10:37:13 +02:00
bjoern
945943a849
Update src/constants.rs
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2020-06-08 10:37:13 +02:00
bjoern
34c69785d0
Update src/blob.rs
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2020-06-08 10:37:12 +02:00
B. Petersen
d5ea4f9b1a
make clippy happy
2020-06-08 10:37:12 +02:00
B. Petersen
191009372b
basically recode images
2020-06-08 10:37:12 +02:00
Alexander Krotov
39faddc74d
create_or_lookup_adhoc_group: move comment to the correct place
...
The comment is related to member list processing, not mailing list check.
2020-06-08 08:30:26 +03:00
bjoern
5d1623b98f
Merge pull request #1574 from deltachat/better-subject-addon
...
add new string to deltachat.h
2020-06-07 12:41:21 +02:00
B. Petersen
af0dc42df3
add new string to deltachat.h
2020-06-07 12:29:29 +02:00
Hocuri
c18705fae3
Improve test
2020-06-07 12:11:52 +02:00
Hocuri
22973899b8
Assume that thare always is Config::Addr set
2020-06-07 12:11:52 +02:00
Hocuri
f172e92098
Repair test
2020-06-07 12:11:52 +02:00
Hocuri
e1ff657c78
Dont Hardcode 'Delta Chat'
2020-06-07 12:11:52 +02:00
Hocuri
3e6cd3ff34
Adapt to async, set first subject to 'Message from <sender name>'
2020-06-07 12:11:52 +02:00
Hocuri
f8680724f8
Set subject to Re: <last subject> for better compability with normal MUAs
...
The code in dc_receive_imf.rs looks a bit funny, an alternative would be a function:
fn upcate_chat_last_subject(context: &Context, chat_id: &ChatId, mime_parser: &mut MimeMessage) -> Result<()> {
let mut chat = Chat::load_from_db(context, *chat_id)?;
chat.param.set(Param::LastSubject, mime_parser.get_subject().ok_or_else(||Error::Message("No subject in email".to_string()))?);
chat.update_param(context)?;
Ok(())
}
2020-06-07 12:11:52 +02:00
holger krekel
30c76976fc
update links and add a little boilerplate / status info
2020-06-06 19:20:37 +02:00
Alexander Krotov
f0f020d9d2
chat: get rid of ChatId.is_error()
...
get_rowid should not return 0, as we have inserted a row right above.
And using is_error() instead of comparing row_id to 0 is a strange way
to check this condition.
As all functions that actually returned 0 chat ID to indicate error have
been removed, the function is gone too.
2020-06-06 19:49:57 +03:00
Hocuri
17a13f0f83
Adapt spec.md to new subject ( #1395 )
2020-06-06 18:34:50 +02:00
bjoern
ec441b16f1
Revert "Enable strict TLS certificate checks by default"
...
This reverts commit 6d9ff3d248 .
2020-06-06 18:42:54 +03:00
Alexander Krotov
5239f2edad
dc_receive_imf: replace chat_id.is_error() with chat_id.is_unset()
...
Both methods do the same: compare chat_id to 0. However, in these cases
0 refers to the state when chat_id is not determined yet, because no
corresponding chat has been found.
All functions that returned 0 to indicate error have already been
resultified.
2020-06-06 18:29:35 +03:00
Alexander Krotov
cd751a64cb
python tests: fix typos
2020-06-06 16:11:59 +03:00
Alexander Krotov
6d9ff3d248
Enable strict TLS certificate checks by default
2020-06-06 00:08:29 +02:00
holger krekel
d97d9980dd
cleanup
2020-06-05 23:28:27 +02:00
holger krekel
4ad4d6d10d
Update python/src/deltachat/direct_imap.py
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2020-06-05 23:28:27 +02:00
holger krekel
82731ee86c
fix test
2020-06-05 23:28:27 +02:00
holger krekel
04bdfa17f7
improve shutdown order
2020-06-05 23:28:27 +02:00
holger krekel
7a5759de4b
some streamlining and test fixing
2020-06-05 23:28:27 +02:00
holger krekel
e29dcbf8eb
remove wrong inbox folders
2020-06-05 23:28:27 +02:00
holger krekel
882f90b5ff
more cleanups, don't run the test 30 times anymore -- it's too wasteful
...
and doesn't gurantee test failure.
2020-06-05 23:28:27 +02:00
holger krekel
469451d5dd
rework imap structure logging
2020-06-05 23:28:27 +02:00
holger krekel
af33c2dea7
test pass again
2020-06-05 23:28:27 +02:00
holger krekel
d076ab4d6d
fix grouping / helper function
2020-06-05 21:59:33 +02:00
holger krekel
e66ed8eadb
shift tests away a little, mark "ignored" for regular pytest runs
2020-06-05 21:59:33 +02:00
Hocuri
05e1c00cd1
fix: update message ids correctly
...
Fixes #1495
2020-06-05 16:27:22 +02:00
Floris Bruynooghe
ca95f25639
Use the Fingerprint type to handle fingerprints
...
This uses the Fingerprint type more consistenly when handling
fingerprits rather then have various string representations passed
around and sometimes converted back and forth with slight differences
in strictness.
It fixes an important bug in the existing, but until now unused,
parsing behaviour of Fingerprint. It also adds a default length check
on the fingerprint as that was checked in some existing places.
Fially generating keys is no longer expensive, so let's not ignore
these tests.
2020-06-04 22:46:59 +02:00
Friedel Ziegelmayer
95cde55a7f
Merge pull request #1549 from deltachat/fix-reconnect-logic
2020-06-03 16:17:15 +02:00
dignifiedquire
8756c0cbe1
test(python): avoid race condition in unicode test
2020-06-03 16:10:44 +02:00
dignifiedquire
86c6b09814
fix: trigger reconnects when errors occur during idle and fetch
2020-06-03 15:40:54 +02:00
bjoern
6ce27a7f87
Merge pull request #1548 from deltachat/fix-folders
...
fix(imap): deterministically detect folder meaning
2020-06-02 16:18:49 +02:00
dignifiedquire
7addb15be5
fix(imap): deterministically detect folder meaning
2020-06-02 15:18:24 +02:00
Hocuri
7b3a962498
Sanitize address book
2020-05-31 17:04:25 +02:00
Hocuri
41bba7e780
Fix #880 Don't vary advanced login settings if a user set a particular setting
2020-05-29 20:31:34 +02:00
Friedel Ziegelmayer
419b7d1d5c
Merge pull request #1539 from deltachat/sane-configure
...
refactor(configure): simplify logic and code
2020-05-29 19:32:49 +02:00