Alexander Krotov
f4e0c6b5f1
Remove Peerstate::new()
...
Create and return immutable Peerstate instead.
2020-09-05 21:07:58 +03:00
Alexander Krotov
a68528479f
Remove dead code markers
2020-09-05 21:07:28 +03:00
Alexander Krotov
383c5ba7fd
Smtp.send: join recipients list without .collect
2020-09-05 21:06:32 +03:00
Floris Bruynooghe
ee27c7d9d4
Run clippy on tests and examples
2020-09-05 18:13:16 +02:00
bjoern
11b9a933b0
Merge pull request #1881 from deltachat/fix-bottleneck
...
add an index to significantly speed up get_fresh_msg_cnt()
2020-09-02 23:10:23 +02:00
bjoern
8d9fa233c5
Update src/chat.rs
...
Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com >
2020-09-02 21:36:12 +02:00
Floris Bruynooghe
edcad6f5d5
Use PartialEq on SecureJoinStep
2020-09-02 21:23:16 +02:00
Floris Bruynooghe
23eb3c40ca
Turn Bob::expects into an enum and add docs
...
This turns the Bob::expects field into an enum, removing the old
constants. It also makes the field private, nothi0ng outside the
securejoin module uses it.
Finally it documents stuff, including a seemingly-unrelated Param.
But that param is used by the securejoin module... It's nice to have
doc tooltips be helpful.
2020-09-02 21:23:16 +02:00
B. Petersen
8727e0acf8
add an index to significantly speed up get_fresh_msg_cnt()
2020-09-02 17:06:46 +02:00
Alexander Krotov
dd682e87db
imap: resultify Imap.connect
2020-08-30 15:04:07 +03:00
Alexander Krotov
0b743c6bc3
imap: use anyhow for error handling
...
There is already free-form Error::Other error type, and SqlError had
incorrect error description (a copy from InTeardown).
2020-08-30 15:04:07 +03:00
Alexander Krotov
8f290530fd
Use enum type for Bob status
2020-08-30 15:03:43 +03:00
Alexander Krotov
0f164861c7
Fix clippy::iter_next_slice errors
2020-08-28 02:13:23 +03:00
Alexander Krotov
4481ab18f5
configure: try multiple servers for each protocol
...
LoginParamNew structure, which contained possible IMAP and SMTP
configurations to try is replaced with uniform vectors of ServerParams
structures. These vectors are initialized from provider database, online
Mozilla or Outlook XML configuration or user entered parameters.
During configuration, vectors of ServerParams are expanded to replace
unknown values with all possible variants, which are tried one by one
until configuration succeeds or all variants for a particular protocol
(IMAP or SMTP) are exhausted.
ServerParams structure is moved into configure submodule, and all
dependencies on it outside of this submodule are removed.
2020-08-27 23:11:25 +03:00
Hocuri
927c7eb59d
Fix cancelling imex ( #1855 )
...
Fix deltachat/deltachat-android#1579
Also: Make sure that if an error happens, the UI can show the error to the user
2020-08-27 15:02:00 +02:00
Alexander Krotov
6eef4066db
Do not restrict message.kml coordinates precision
...
Using only two digits results in visible difference between original
location and location received by other users.
2020-08-27 11:19:08 +03:00
holger krekel
df8e5f6088
fix python packaging tty allocation
2020-08-23 23:24:25 +02:00
Alexander Krotov
1cb4e41883
auto_mozilla: use match to parse socket types
2020-08-23 22:15:06 +03:00
Alexander Krotov
cbfada3e4a
Implement Default and FromStr for MozConfigTag
2020-08-23 22:15:06 +03:00
Alexander Krotov
c19e35b68d
Parse multiple servers in Mozilla autoconfig
...
Co-Authored-By: Simon Laux <mobile.info@simonlaux.de >
2020-08-23 22:15:06 +03:00
B. Petersen
94e52b5598
use Viewtype::File for types that may be unsupported on some systems.
...
in general, Viewtypes other than File should be used only
when the added file type is tested on all platforms -
including Android4 currently.
as this is easily overseen,
i've added a comment.
this partly reverts Viewtype changes done by
https://github.com/deltachat/deltachat-core-rust/pull/1818
2020-08-23 19:53:58 +03:00
Alexander Krotov
f6854fd22f
Add python test for contact renaming
2020-08-23 16:44:13 +03:00
bjoern
3fc03fb5ca
Merge pull request #1859 from deltachat/cancel_build
...
try harder to let all build processes die when ssh dies
2020-08-23 15:37:07 +02:00
Alexander Krotov
42bd9f71f0
imap: store ServerLoginParam instead of its fields
...
This prevents errors when copying it field-by-field.
2020-08-23 16:31:26 +03:00
Alexander Krotov
064d62e758
Imap.connect: copy security setting
2020-08-23 16:31:26 +03:00
bjoern
5a2f0d07a0
Merge pull request #1857 from deltachat/mime-pdf
...
Guess MIME type for .pdf and many other extensions
2020-08-23 11:12:32 +02:00
holger krekel
fd54b6b5b1
another try
2020-08-23 08:37:38 +02:00
holger krekel
aae8163696
try harder to let all build processes die when ssh dies
2020-08-23 08:08:28 +02:00
Alexander Krotov
a01755b65b
Guess MIME type for .pdf and many other extensions
2020-08-23 01:20:32 +03:00
Alexander Krotov
6763dd653e
Do not override mime type set by the user
2020-08-23 01:20:32 +03:00
Hocuri
0fc57bdb35
Separate IMAP and SMTP configuration
...
Co-Authored-By: link2xt <ilabdsf@gmail.com >
Co-Authored-By: bjoern <r10s@b44t.com >
2020-08-22 21:29:39 +03:00
Alexander Krotov
4bd2a9084c
Fix a typo
2020-08-22 17:29:38 +03:00
Alexander Krotov
0816e6d0f6
Warn if IMAP deletion is scheduled for message without UID
2020-08-22 14:46:06 +03:00
Alexander Krotov
c7d72d64cc
Schedule resync on UID validity change
2020-08-22 14:46:06 +03:00
Alexander Krotov
e33f6c1c85
Schedule resync job when DeleteServerAfter option is set
2020-08-22 14:46:06 +03:00
Alexander Krotov
b4c85c534d
Add a job to resync folder UIDs
2020-08-22 14:46:06 +03:00
Alexander Krotov
763334d0aa
Sort message replies after parent message
2020-08-22 13:57:29 +03:00
Alexander Krotov
be922eef0f
Format plain text as Format=Flowed DelSp=No
...
This avoids triggering spam filters which require that lines are wrapped
to 78 characters.
2020-08-22 13:57:10 +03:00
Hocuri
1325b2f7c6
Fix #1791 Receive group system messages from blocked users ( #1823 )
...
Fix #1791 and show all group messages if the user already is in the group, even if the sender is blocked
Also fix a comment
Co-authored-by: link2xt <ilabdsf@gmail.com >
2020-08-21 11:57:37 +02:00
Hocuri
b9ca7b8ace
Remove newlines from group names, chat names and the displayname ( #1845 )
2020-08-20 09:05:08 +02:00
Hocuri
3faf968b7c
Fix tests
2020-08-19 20:03:08 +02:00
Hocuri
1a736ca6c3
Fix #1804 : remove <!doctype html> and accept invalid HTML
...
This fixes #1804 in two ways: First, it removes a <!doctype html> from
the start of the mail, if there is any.
Then, it parses the html itself it quick-xml fails, just stripping
everything between < and >.
Both of these would have fixed this specific issue.
Also, add tests for both fixes.
2020-08-19 20:03:08 +02:00
holger krekel
f1ec1a0765
try use SCCACHE
2020-08-19 16:08:00 +02:00
holger krekel
fc2367894b
try to reinstate remote_tests_rust
2020-08-19 16:08:00 +02:00
bjoern
a0293de397
Merge pull request #1848 from deltachat/prep-1.45
...
prepare 1.45
2020-08-18 22:02:20 +02:00
B. Petersen
ed3eabe3e5
bump version to 1.45
1.45.0
2020-08-18 21:29:17 +02:00
B. Petersen
91a3b1dfbd
fixup
2020-08-18 21:28:50 +02:00
B. Petersen
b022ea4f3c
update changelog for 1.45
2020-08-18 18:46:34 +02:00
bjoern
4b75f3a177
Merge pull request #1837 from deltachat/fix-oauth2
...
Update async-imap to fix Oauth2
2020-08-18 18:28:46 +02:00
bjoern
af07f947d1
Merge pull request #1846 from deltachat/greenify-ci
...
greenify ci 💚 💚
2020-08-18 16:06:24 +02:00