link2xt
cf8736da48
Concourse CI pipeline to replace Circle CI
2021-06-15 00:03:00 +03:00
B. Petersen
a638259c36
add a test to make sure, the selected account is persisted on reopening
2021-06-14 22:07:35 +02:00
link2xt
d821cdf1c8
Improve drafts detection
...
systemli.org seems not to include Received: header in messages sent to
self, including BCC-self and messages sent to Saved message chat. This
results in all these messages not being displayed on other devices in
multi-device setting. To work around this problem we restrict draft
detection based on Received: header to classical mails.
Delta Chat already implements proper draft detection based on the
\Draft message flag and \Drafts folder flag. However, Thunderbird does
not set \Draft flag when message is stored as "Template". To make
draft detection for Thunderbird more robust, in case Received: header
check is removed altogether later, we check for X-Mozilla-Draft-Info
header which Thunderbird sets both for "Drafts" and "Templates".
2021-06-14 19:34:24 +03:00
dependabot[bot]
62e9fbf68c
Merge pull request #2495 from deltachat/dependabot/cargo/once_cell-1.8.0
2021-06-14 14:27:46 +00:00
dependabot[bot]
15664be4f6
cargo: bump once_cell from 1.7.2 to 1.8.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.7.2...v1.8.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-14 08:07:26 +00:00
link2xt
62388514dd
chat: make get_msg_cnt() and get_fresh_msg_cnt() work for deaddrop
...
Also do not count hidden messages in get_msg_cnt().
2021-06-13 23:05:08 +03:00
link2xt
ad7c7e90b3
Resultify Contact::block
2021-06-13 17:30:42 +03:00
Hocuri
b16785bb62
Tweak test
2021-06-12 16:03:55 +02:00
Hocuri
d12d9d94d6
Improve test_migration_flags, add EvTracker to test_utils
2021-06-12 16:03:55 +02:00
B. Petersen
991d15615e
fix minor dbversion inconsistencies
...
probably they come in by the latest sqlx<->rusqlite moves,
however, as they are followed by subsequent migrations,
that should not have been a big bug in the past
(maybe unless the app was killed at a bad moment)
2021-06-12 16:03:55 +02:00
B. Petersen
5dee1efa59
add missing dbversion update
2021-06-12 16:03:55 +02:00
B. Petersen
1870684c43
add a test that catches some cases where dbversion was forgotten to update
2021-06-12 16:03:55 +02:00
dependabot[bot]
1803db2dfe
Merge pull request #2488 from deltachat/dependabot/cargo/libc-0.2.97
2021-06-11 22:42:22 +00:00
dependabot[bot]
7fee3d995c
Merge pull request #2478 from deltachat/dependabot/cargo/syn-1.0.73
2021-06-11 22:36:25 +00:00
dependabot[bot]
4b62500989
cargo: bump syn from 1.0.72 to 1.0.73
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.72...1.0.73 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-11 22:19:21 +00:00
dependabot[bot]
8f2cb1e8ab
cargo: bump libc from 0.2.95 to 0.2.97
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.95 to 0.2.97.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.95...0.2.97 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-11 22:19:07 +00:00
dependabot[bot]
72ebd83479
Merge pull request #2477 from deltachat/dependabot/cargo/itertools-0.10.1
2021-06-11 22:17:42 +00:00
dependabot[bot]
2842042304
Merge pull request #2484 from deltachat/dependabot/cargo/anyhow-1.0.41
2021-06-11 22:17:04 +00:00
Hocuri
25fed9ab52
comment
2021-06-11 13:09:22 +02:00
Hocuri
751b9add09
remove unneeded files
2021-06-11 13:09:22 +02:00
Hocuri
b727190da5
test low media quality a little more
2021-06-11 13:09:22 +02:00
Hocuri
368fa9fc44
Test image rotation
2021-06-11 13:09:22 +02:00
B. Petersen
c07c5bb358
create own topic for Voice messages, update year
2021-06-11 13:09:04 +02:00
B. Petersen
67f8fb4b66
update spec to Chat-Content: sticker
2021-06-11 13:09:04 +02:00
B. Petersen
056721b916
update spec to new Chat-User-Avatar usage
2021-06-11 13:09:04 +02:00
B. Petersen
4fe3a80f96
allow stickers with gif-images
2021-06-11 13:08:48 +02:00
B. Petersen
6c530b4c77
test sending and receiving stickers
2021-06-11 13:08:48 +02:00
B. Petersen
c616b65ce4
allow sending stickers via repl tool
2021-06-11 13:08:48 +02:00
dependabot[bot]
50f680a00b
cargo: bump anyhow from 1.0.40 to 1.0.41
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.40...1.0.41 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-11 06:17:13 +00:00
dependabot[bot]
47e0f224ca
cargo: bump itertools from 0.10.0 to 0.10.1
...
Bumps [itertools](https://github.com/rust-itertools/itertools ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/rust-itertools/itertools/releases )
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.0...v0.10.1 )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-10 06:26:18 +00:00
B. Petersen
8b872b7e6f
bump version to 1.56.0
1.56.0
2021-06-07 21:55:51 +02:00
B. Petersen
29356a6ca8
update changelog for 1.56.0
2021-06-07 21:55:51 +02:00
link2xt
c5539de4da
More robust In-Reply-To parsing
...
Use `parse_message_id` on the header contents before using it.
Database still stores the raw value.
2021-06-07 21:38:00 +02:00
B. Petersen
b017af78ce
update provider database
...
ran `./src/provider/update.py ../provider-db/_providers/ > src/provider/data.rs`
to pull in recent changes from https://github.com/deltachat/provider-db
2021-06-07 16:19:05 +02:00
Hocuri
3b897eac53
Fix downscaling images ( #2469 )
...
* Add failing test
* typo
* Fix the bug
2021-06-07 10:14:03 +02:00
link2xt
d8a3014896
securejoin: display error reason if there is any
2021-06-06 23:53:43 +03:00
dependabot[bot]
4209960c0f
Merge pull request #2460 from deltachat/dependabot/cargo/strum-0.21.0
2021-06-06 11:12:09 +00:00
dependabot[bot]
04c8622e94
cargo: bump strum from 0.20.0 to 0.21.0
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-06 07:05:19 +00:00
dependabot[bot]
002e33d28c
Merge pull request #2464 from deltachat/dependabot/cargo/strum_macros-0.21.1
2021-06-06 07:03:32 +00:00
dependabot[bot]
35aeda3849
Merge pull request #2466 from deltachat/dependabot/cargo/futures-lite-1.12.0
2021-06-06 07:02:50 +00:00
link2xt
af287ee9a8
Do not allow to delete contacts with ongoing chats
...
Even if chat has no messages, contacts should not be deleted.
Otherwise chat will reference invalid contact ID which can't be loaded
from the database, resulting in broken contact list in group chats.
2021-06-06 09:50:12 +03:00
link2xt
cc3e8c5117
imap: refactor to always create Imap configured
...
`Imap` structure is always created in a configured state now. There is
no default value for `ImapConfig` anymore.
Also resultify Scheduler::start() to fail on database errors, for
example if IMAP configuration cannot be read from the database during
`start_io()`. Previosuly errors during reading keys such as
`mvbox_watch` were simply ignored and folders were not watched until
the application is completely restarted, now start_io() will fail and
scheduler will only be started at the next start_io() call which
usually happens when app is brought to the foreground.
2021-06-06 09:49:23 +03:00
dependabot[bot]
1127521923
cargo: bump futures-lite from 1.11.3 to 1.12.0
...
Bumps [futures-lite](https://github.com/smol-rs/futures-lite ) from 1.11.3 to 1.12.0.
- [Release notes](https://github.com/smol-rs/futures-lite/releases )
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/futures-lite/compare/v1.11.3...v1.12.0 )
---
updated-dependencies:
- dependency-name: futures-lite
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-04 07:32:19 +00:00
Hocuri
bf7f64d50b
Ignore Drafts folder when scanning ( #2454 )
...
* Add failing test for #2369
* Completely ignore Drafts folder
fix #2369
* Also ignore messages that have the Draft flag set but are not in the Drafts folder
2021-06-03 21:14:39 +02:00
dependabot[bot]
8380ac28c1
cargo: bump strum_macros from 0.20.1 to 0.21.1
...
Bumps [strum_macros](https://github.com/Peternator7/strum ) from 0.20.1 to 0.21.1.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-03 07:23:26 +00:00
dependabot[bot]
d8ba466c6a
Merge pull request #2452 from deltachat/dependabot/cargo/thiserror-1.0.25
2021-05-28 23:06:58 +00:00
dependabot[bot]
0c2a3c8347
Merge pull request #2453 from deltachat/dependabot/cargo/libc-0.2.95
2021-05-28 22:43:59 +00:00
Hocuri
e3e2adeea5
Fix all outgoing messages popping up in selfchat ( #2456 )
...
Fix https://github.com/deltachat/deltachat-android/issues/1940 , fix https://github.com/deltachat/deltachat-core-rust/issues/2220 (I assume these are the same bug)
The problem was:
- Gmail adds a header `Bcc: <self-address>` to our bcc-self message
- `to_id` was just set to the first recipient, in this case _self_
- it was seen that `to_id` is _self_, so it's a self-sent message
2021-05-28 20:02:46 +02:00
Hocuri
46e901be78
Fix benchmark compile error ( #2457 )
2021-05-28 18:48:13 +02:00
dependabot[bot]
d899a38d17
cargo: bump libc from 0.2.94 to 0.2.95
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.94 to 0.2.95.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.94...0.2.95 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-26 06:30:24 +00:00