dependabot[bot]
547c40cd52
cargo: bump tagger from 4.3.1 to 4.3.3
...
Bumps [tagger](https://github.com/tiby312/tagger ) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/tiby312/tagger/releases )
- [Commits](https://github.com/tiby312/tagger/commits )
---
updated-dependencies:
- dependency-name: tagger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-18 21:10:30 +00:00
Floris Bruynooghe
e2d631097d
Fix master by reverting ContactId Display impl ( #3134 )
...
Actual fix needs more investigation, it's not obvious.
2022-03-17 19:29:18 +01:00
Floris Bruynooghe
cc55be0b0a
Customise Display impl of ContactId
...
This brings the Display of ContactId in line with those of ChatId etc,
which is a bit clearer is logs and such places.
It also updates an SQL query to rely on the ToSql impl of ContactId
rather than it's Display when building the query.
2022-03-16 22:41:14 +01:00
dependabot[bot]
64927190bd
Merge pull request #3132 from deltachat/dependabot/cargo/syn-1.0.89
2022-03-16 21:39:21 +00:00
dependabot[bot]
24515126fe
cargo: bump syn from 1.0.88 to 1.0.89
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.88...1.0.89 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-16 21:14:45 +00:00
Hocuri
7a56a93028
Fix long filenames containing dots ( #3098 )
2022-03-16 20:41:24 +01:00
Hocuri
ea7fc3a171
Benchmark dc_receive_imf() ( #3128 )
...
Don't count the account creation in the receive emails benchmark
Use Criterion's async support
See https://bheisler.github.io/criterion.rs/book/user_guide/benchmarking_async.html
2022-03-16 20:30:33 +01:00
dependabot[bot]
ae36a26045
cargo: bump image from 0.23.14 to 0.24.1
...
Bumps [image](https://github.com/image-rs/image ) from 0.23.14 to 0.24.1.
- [Release notes](https://github.com/image-rs/image/releases )
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/commits )
---
updated-dependencies:
- dependency-name: image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-16 13:10:24 +01:00
dependabot[bot]
d6c9f5c64b
cargo: bump textwrap from 0.14.2 to 0.15.0
...
Bumps [textwrap](https://github.com/mgeisler/textwrap ) from 0.14.2 to 0.15.0.
- [Release notes](https://github.com/mgeisler/textwrap/releases )
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mgeisler/textwrap/compare/0.14.2...0.15.0 )
---
updated-dependencies:
- dependency-name: textwrap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-16 11:23:12 +01:00
dependabot[bot]
c4f4f4295b
cargo: bump async-std-resolver from 0.20.4 to 0.21.1
...
Bumps [async-std-resolver](https://github.com/bluejekyll/trust-dns ) from 0.20.4 to 0.21.1.
- [Release notes](https://github.com/bluejekyll/trust-dns/releases )
- [Changelog](https://github.com/bluejekyll/trust-dns/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bluejekyll/trust-dns/compare/v0.20.4...v0.21.1 )
---
updated-dependencies:
- dependency-name: async-std-resolver
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-16 10:59:56 +01:00
link2xt
a997322efb
Update MSRV to 1.56 and current version to 1.59
...
This is needed to support Rust 2021 edition required by the latest versions of `ed25519` and `image` crates.
2022-03-16 10:56:16 +01:00
dependabot[bot]
799688af76
cargo: bump libc from 0.2.119 to 0.2.120
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.119 to 0.2.120.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.119...0.2.120 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-16 10:55:58 +01:00
dependabot[bot]
260e95d027
cargo: bump syn from 1.0.86 to 1.0.88
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.86 to 1.0.88.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.86...1.0.88 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-16 10:55:20 +01:00
Floris Bruynooghe
f9ee70aa2e
Minor cleanup of Viewtype
...
Provide checking for attachment as a method and move it to the message
module. The method is a lot easier to read and have correct
expectations about.
2022-03-16 10:46:58 +01:00
Hocuri
50f13cb84b
Set X-Microsoft-Original-Message-ID on outgoing emails for amazonaws ( #3077 )
2022-03-13 14:39:49 +01:00
dependabot[bot]
fc7e08bb49
Merge pull request #3087 from deltachat/dependabot/cargo/strum-0.24.0
2022-03-13 11:44:29 +00:00
dependabot[bot]
06ed3e5dfd
cargo: bump strum from 0.23.0 to 0.24.0
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.23.0 to 0.24.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 )
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-13 10:50:20 +00:00
dependabot[bot]
4d792ad57b
Merge pull request #3089 from deltachat/dependabot/cargo/strum_macros-0.24.0
2022-03-13 10:48:56 +00:00
dependabot[bot]
4fa78bfca0
Merge pull request #3114 from deltachat/dependabot/cargo/once_cell-1.10.0
2022-03-13 10:29:47 +00:00
link2xt
2012833cb3
Fix lint
2022-03-12 20:07:00 +00:00
link2xt
e48eef7e32
Start ephemeral timer when seen status is synchronized via imap
2022-03-12 19:28:31 +00:00
bjoern
74ac9c3a92
fix docs: dc_markseen_msgs() is typically called when scrolling through message list, not chat list. ( #3120 )
2022-03-12 13:45:22 +01:00
Hocuri
a907d789d6
Assign replies from different address to two-member-groups ( #3119 )
...
Holger had a case where he wrote with someone using a classing MUA.
He opened a two-member-group with this person (which also allowed him to
set the subject).
At some point the other person replied from a different email address.
What he expected: This reply should be sorted into the two-member-group.
What happened: This reply was sorted into the 1:1 chat.
---
I had added the line && chat_contacts.contains(&from_id) months ago when I wrote
this code because it seemed vaguely sensible but without any real
reason. So, let's remove it and see if it creates other problems -
my gut feeling is no.
2022-03-12 10:47:58 +00:00
dependabot[bot]
fc46c0b49c
Merge pull request #3121 from deltachat/dependabot/cargo/tagger-4.3.1
2022-03-12 10:36:51 +00:00
dependabot[bot]
fef7862045
cargo: bump tagger from 4.2.1 to 4.3.1
...
Bumps [tagger](https://github.com/tiby312/tagger ) from 4.2.1 to 4.3.1.
- [Release notes](https://github.com/tiby312/tagger/releases )
- [Commits](https://github.com/tiby312/tagger/commits )
---
updated-dependencies:
- dependency-name: tagger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-11 21:23:15 +00:00
Hocuri
d9441a6bdd
Also resync UIDs in folders that are not configured ( #2289 )
2022-03-10 16:12:24 +01:00
Simon Laux
332cb0896b
add note about perl requirement to readme
...
closes #3106
2022-03-10 12:53:34 +01:00
dependabot[bot]
d1b0c28924
Merge pull request #3084 from deltachat/dependabot/cargo/libc-0.2.119
2022-03-09 11:28:43 +00:00
dependabot[bot]
dce958aac4
Merge pull request #3115 from deltachat/dependabot/cargo/regex-1.5.5
2022-03-09 11:26:52 +00:00
Floris Bruynooghe
438940219e
Introduce a ContactId newtype
...
This makes the contact ID its own newtype instead of being a plain
u32. The change purposefully does not yet try and reap any benefits
from this yet, instead aiming for a boring change that's easy to
review. Only exception is the ToSql/FromSql as not doing that yet
would also have created churn in the database code and it is easier to
go straight for the right solution here.
2022-03-08 22:57:51 +01:00
link2xt
f28fcec81d
imap: do not treat messages without Message-ID as duplicates
...
Message-IDs are now retrieved only during fetching and saved into imap
table. dc_receive_imf_inner does not attempt to extract the Message-ID
anymore.
For messages without Message-ID the ID is now generated in
imap::fetch_new_messages rather than dc_receive_imf_inner,
so the same ID is used in the imap table (maintained by the imap
module) and msgs table (maintained by dc_receive_imf module).
Message-ID generation based on the Date, From and To field hashing has
been replaced with a simple dc_create_id() to avoid retrieving Date,
From, and To fields in the imap module, as it's hard to test that it
stays compatible between Delta Chat versions in this module. This
breaks jump-to-quote for quoted messages without Message-ID, which is
not critical.
Also prefetch X-Microsoft-Original-Message-ID, so retrieval of
duplicate messages with X-Microsoft-Original-Message-ID can be skipped
like it is done for messages with Message-ID header.
2022-03-08 15:23:22 +00:00
missytake
586d027f86
Merge pull request #3103 from deltachat/docs-gh-action
...
GitHub Action to build & upload the rust documentation to rs.delta.chat
2022-03-08 16:02:57 +01:00
gerryfrancis
bd4fb7486d
Various corrections #1 ( #2983 )
...
* Various corrections
Monk business... ;)
* Update deltachat.h
* Update deltachat.h
* Update deltachat.h
* Update deltachat.h
* Update deltachat.h
* Update deltachat.h
* Update deltachat.h
* Update deltachat.h
* use correct spelling for parameter name
Co-authored-by: B. Petersen <r10s@b44t.com >
2022-03-08 14:23:40 +00:00
dependabot[bot]
f9cd2b8f36
cargo: bump regex from 1.5.4 to 1.5.5
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.5 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-08 14:08:48 +00:00
dependabot[bot]
62e22236b7
Merge pull request #3076 from deltachat/dependabot/cargo/sha2-0.10.2
2022-03-08 14:07:31 +00:00
dependabot[bot]
8b157f427a
cargo: bump once_cell from 1.9.0 to 1.10.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.9.0 to 1.10.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.9.0...v1.10.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 >
2022-03-08 14:05:07 +00:00
dependabot[bot]
f165c1d9b0
Merge pull request #3110 from deltachat/dependabot/cargo/anyhow-1.0.56
2022-03-08 14:03:59 +00:00
bjoern
500e2d62a0
remove sentbox_move ( #3111 )
...
* remove SentboxMove
* adapt python test to removed sendbox_move option
* update CHANGELOG
2022-03-08 11:29:45 +01:00
bjoern
a06e8677ac
Fix link to Mozilla ( #3112 )
...
it seems to be a bug on the Mozilla servers,
however, they take months to fix that, cmp.
https://bugzilla.mozilla.org/show_bug.cgi?id=1744432
so we just use archive.org for now.
2022-03-08 01:12:19 +01:00
dependabot[bot]
b4d5783928
cargo: bump anyhow from 1.0.53 to 1.0.56
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.53 to 1.0.56.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.53...1.0.56 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-07 21:24:16 +00:00
missytake
3ce7f45503
use rust toolchain of deltachat-core-rust
2022-03-06 13:28:06 +01:00
missytake
b436c2761a
GitHub Action to build & upload the CFFI documentation
2022-03-06 09:59:32 +01:00
missytake
b586d3bb0e
only build docs for deltachat crate
2022-03-06 09:43:39 +01:00
holger krekel
63688a2f95
remove getAllUpdates() and add a typical replicatio API for the update call ( #3081 )
...
* (r10s, adb, hpk) remove getAllUpdates() and add a typical replica-API that works with increasing serials. Streamline docs a bit.
* adapt ffi to new api
* documentation: updates serials may have gaps
* get_webxdc_status_updates() return updates larger than a given serial
* remove status_update_id from status-update-event; it is not needed (ui should update from the last known serial) and easily gets confused with last_serial
* unify wording to 'StatusUpdateSerial'
* remove legacy payload format, all known webxdc should be adapted
* add serial and max_serial to status updates
* avoid races when getting max_serial by avoiding two SQL calls
* update changelog
Co-authored-by: B. Petersen <r10s@b44t.com >
2022-03-04 20:22:48 +01:00
missytake
379cb1b2e0
remove trailing slash, so it doesn't just copy the content of doc/
2022-03-04 01:58:33 +01:00
missytake
78429492f1
fix: pass arguments to rsync github action
2022-03-04 01:45:05 +01:00
missytake
9875047674
docs github action: scp -> rsync
2022-03-04 01:31:00 +01:00
missytake
5014b0a9cb
GitHub Action to build & upload the rust documentation
2022-03-03 18:11:55 +01:00
Floris Bruynooghe
ef841b1aa3
Securejoin: store bobstate in database instead of context
...
The state bob needs to maintain during a secure-join process when
exchanging messages used to be stored on the context. This means if
the process was killed this state was lost and the securejoin process
would fail. Moving this state into the database should help this.
This still only allows a single securejoin process at a time, this may
be relaxed in the future. For now any previous securejoin process
that was running is killed if a new one is started (this was already
the case).
This can remove some of the complexity around BobState handling: since
the state is in the database we can already make state interactions
transactional and correct. We no longer need the mutex around the
state handling. This means the BobStateHandle construct that was
handling the interactions between always having a valid state and
handling the mutex is no longer needed, resulting in some nice
simplifications.
Part of #2777 .
2022-03-01 23:02:40 +01:00
link2xt
368f27ffbc
Update rusqlite to stable version
2022-02-27 20:00:35 +00:00