Hocuri
feee7aee3d
Add all the test emails
2022-10-15 10:12:19 +02:00
Hocuri
c17eafa793
Look at all the authservid candidate's headers
2022-10-15 10:12:19 +02:00
Hocuri
4d88cfc78d
Don't use empty authserv id candidates if intersection is empty
2022-10-15 10:12:18 +02:00
Hocuri
5d8cb8084f
Improve tests
2022-10-15 10:12:18 +02:00
Hocuri
50de29a4ba
Fix sql error, improve test_realworld_authentication_results
2022-10-15 10:12:18 +02:00
Hocuri
c624e3b2e0
Recognize comments
2022-10-15 10:12:18 +02:00
Hocuri
2967b5030f
Nicer error handling, comments
2022-10-15 10:12:18 +02:00
Hocuri
415b58a059
Cleanup, renames, comments
2022-10-15 10:12:17 +02:00
Hocuri
65040fe6f2
Fix some stuff
2022-10-15 10:12:17 +02:00
Hocuri
47500bb3ea
Fix some things, move to new file src/authentication_results_handling.rs
2022-10-15 10:12:17 +02:00
Hocuri
0d221cced9
Yet another solution: Keep track of candidates for our authserv-id
2022-10-15 10:12:17 +02:00
Hocuri
906f95ee84
Next idea: any_header_says_pass for each authserv_id
2022-10-15 10:12:17 +02:00
Hocuri
6e7136db4a
Start looking at Authentication-Results
2022-10-15 10:12:16 +02:00
Hocuri
7877187894
Join all migration messages into one ( #3665 )
2022-10-15 07:06:40 +00:00
Simon Laux
a384a57979
cffi:jsonrpc: send events ( #3662 )
...
* jsonrpc in cffi also sends events now
* add pr id to changelog
* jsonrpc: new format for events and better typescript autocompletion (#3663 )
* jsonrpc: new format for events and better typescript autocompletion
* adjust doc comments
2022-10-14 22:46:43 +00:00
Simon Laux
86e1476dee
jsonrpc: add viewType to quoted message(MessageQuote type) in Message object type ( #3651 )
...
* jsonrpc: add `viewType` to quoted message(`MessageQuote` type) in `Message` object type
* add pr number to changelog
2022-10-13 15:41:54 +00:00
Jikstra
81d0ecd8f6
jsonrpc: more methods and some fixes ( #3653 )
...
* jsonrpc: Implement join_securejoin(), contacts_delete(),
contacts_change_name(), send_sticker()
* Add missing fn
* cargo fmt
* add missing &self
* Make it compile
* fixup return type, clippy and doc comment
* generate types and add 2 functions
* change naming
* changelog entry
* jsonrpc add start and stop io functions
* fix getMessageListItems
* normalize daymarker timestamps for MessageListItem
* jsonrpc: exportBackup and importBackup
* don't multiply timestamp anymore
* update types.ts
Co-authored-by: Simon Laux <mobile.info@simonlaux.de >
2022-10-13 12:56:10 +02:00
link2xt
6f329c9e96
Fix unix timestamp used for daymarker
2022-10-12 18:38:03 +00:00
Hocuri
0e2445c7a0
Move the actual logic of email parsing to EmailAddress::new() ( #3656 )
...
Very small PR; Motivation: Easier navigation using Go-To-definition.
Because, using go-to-definition of rust-analyzer on parse() doesn't take you to the actual parse() implementation but its trait definiton. On the other hand, it's very easy to find EmailAddress::new().
2022-10-12 20:37:17 +02:00
Hocuri
7ed947f598
Remove forgotten dbg!
2022-10-12 10:49:34 +02:00
link2xt
b85f6ea6c3
contact: do not ignore SQL errors in add_or_lookup
2022-10-11 16:42:17 +00:00
dependabot[bot]
045472deac
Merge pull request #3625 from deltachat/dependabot/cargo/tokio-stream-0.1.10
2022-10-11 12:15:16 +00:00
dependabot[bot]
71cad4df58
Merge pull request #3632 from deltachat/dependabot/cargo/tokio-1.21.2
2022-10-11 12:13:52 +00:00
dependabot[bot]
48786522c8
Merge pull request #3622 from deltachat/dependabot/cargo/thiserror-1.0.37
2022-10-11 10:46:18 +00:00
dependabot[bot]
0827f1b2f6
cargo: bump tokio-stream from 0.1.9 to 0.1.10
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.9...tokio-stream-0.1.10 )
---
updated-dependencies:
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 08:16:26 +00:00
dependabot[bot]
5973bb8610
cargo: bump thiserror from 1.0.33 to 1.0.37
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.33 to 1.0.37.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.33...1.0.37 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 08:16:17 +00:00
dependabot[bot]
00ca5132b4
cargo: bump tokio from 1.20.1 to 1.21.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.20.1 to 1.21.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.1...tokio-1.21.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 08:16:16 +00:00
dependabot[bot]
191d203b24
Merge pull request #3623 from deltachat/dependabot/cargo/serde-1.0.145
2022-10-11 08:14:15 +00:00
dependabot[bot]
06f96011d8
Merge pull request #3635 from deltachat/dependabot/cargo/textwrap-0.15.1
2022-10-11 08:13:26 +00:00
dependabot[bot]
f2e292c702
Merge pull request #3654 from deltachat/dependabot/cargo/syn-1.0.102
2022-10-11 08:13:09 +00:00
dependabot[bot]
832deb8e97
Merge pull request #3631 from deltachat/dependabot/cargo/once_cell-1.15.0
2022-10-11 08:12:48 +00:00
dependabot[bot]
74a3c57222
cargo: bump syn from 1.0.99 to 1.0.102
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.99 to 1.0.102.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.99...1.0.102 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 05:40:18 +00:00
dependabot[bot]
4a19092db0
Merge pull request #3636 from deltachat/dependabot/cargo/axum-0.5.16
2022-10-11 05:38:48 +00:00
dependabot[bot]
5c652d913a
cargo: bump serde from 1.0.144 to 1.0.145
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.144 to 1.0.145.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.145 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 01:13:33 +00:00
dependabot[bot]
053213f50e
cargo: bump axum from 0.5.15 to 0.5.16
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.5.15 to 0.5.16.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.5.15...axum-v0.5.16 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 01:13:03 +00:00
dependabot[bot]
342e946f49
Merge pull request #3634 from deltachat/dependabot/cargo/sha2-0.10.6
2022-10-11 01:12:07 +00:00
dependabot[bot]
d15ab1355b
cargo: bump once_cell from 1.13.1 to 1.15.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.13.1 to 1.15.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.13.1...v1.15.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-10-11 01:11:41 +00:00
dependabot[bot]
e47f4b8f80
Merge pull request #3600 from deltachat/dependabot/cargo/axum-core-0.2.8
2022-10-11 01:11:33 +00:00
dependabot[bot]
637a4eb351
cargo: bump textwrap from 0.15.0 to 0.15.1
...
Bumps [textwrap](https://github.com/mgeisler/textwrap ) from 0.15.0 to 0.15.1.
- [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.15.0...0.15.1 )
---
updated-dependencies:
- dependency-name: textwrap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 01:11:25 +00:00
dependabot[bot]
a233aeec4a
Merge pull request #3633 from deltachat/dependabot/cargo/image-0.24.4
2022-10-11 01:11:08 +00:00
dependabot[bot]
d24104154f
Merge pull request #3624 from deltachat/dependabot/cargo/libc-0.2.134
2022-10-11 01:10:31 +00:00
dependabot[bot]
7fa2706d0e
Merge pull request #3621 from deltachat/dependabot/cargo/url-2.3.0
2022-10-11 01:09:37 +00:00
dependabot[bot]
2a5365d46d
Merge pull request #3637 from deltachat/dependabot/cargo/env_logger-0.9.1
2022-10-11 01:07:43 +00:00
dependabot[bot]
72cc853420
Merge pull request #3638 from deltachat/dependabot/cargo/reqwest-0.11.12
2022-10-11 01:07:14 +00:00
dependabot[bot]
eea111df6f
Merge pull request #3639 from deltachat/dependabot/cargo/anyhow-1.0.65
2022-10-11 00:02:54 +00:00
Simon Laux
130bea9e25
jsonrpc: better way to access messagelist ( #3652 )
...
remove function `messageListGetMessageIds()`,
it is replaced by `getMessageIds()` and `getMessageListEntries()`
the latter returns a new `MessageListItem` type,
which is the now prefered way of using the message list.
2022-10-10 18:56:59 +00:00
dependabot[bot]
754242439a
cargo: bump env_logger from 0.9.0 to 0.9.1
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.9.0...v0.9.1 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-10 15:16:03 +00:00
Simon Laux
3fab9e4cec
more jsonrpc porting ( #3645 )
...
* Port setChatVisbility to jsonrpc
* jsonrpc add functions
- setChatEphemeralTimer
- getChatEphemeralTimer
and changelog
* add pr number to changelog
* jsonrpc: getLocations function
* Port imex() to jsonrpc
* autogenerate types
* jsonrpc: add `getAccountFileSize()`
* jsonrpc: `estimateAutodeleteCount`
* jsonrpc: setStockStrings
* Refactor imex into exportSelfKeys and importSelfKeys
* generate typings
* rustformat
* fix clippy
* update changelog
Co-authored-by: jikstra <jikstra@disroot.org >
2022-10-10 15:14:17 +00:00
link2xt
8b6290120e
Create bob with new_bob(), not new_alice()
2022-10-09 22:51:37 +00:00
dependabot[bot]
564aef2a2a
cargo: bump sha2 from 0.10.3 to 0.10.6
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.10.3 to 0.10.6.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.3...sha2-v0.10.6 )
---
updated-dependencies:
- dependency-name: sha2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-06 18:11:58 +00:00