Damir Jelić
cc0388929a
crypto: Add some more accessors for the fields in the verification types
2021-06-17 11:04:17 +02:00
Damir Jelić
b14d754aed
crypto: Turn the content_to_request function into a constructor
...
Closes : #260
2021-06-17 11:04:17 +02:00
Damir Jelić
00c3921d2a
crypto: Add initial support for QR code verification
2021-06-17 11:04:17 +02:00
Damir Jelić
71aba433da
crypto: Add some more accessors to the sas structs
2021-06-17 11:04:17 +02:00
Damir Jelić
1c8081533d
qrcode: Rename the main qrcode type
2021-06-17 11:04:17 +02:00
Damir Jelić
7f364fd615
crypto: Allow only a identity to be verified when the verification finishes
...
QR code based verification doesn't verify a device when users are
verifying each other, generalize the logic that marks stuff as verified
so we can verify either only a device or an user identity or both.
2021-06-17 11:04:17 +02:00
Damir Jelić
ada71586ac
crypto: Scope the verifications per sender
2021-06-17 11:04:17 +02:00
Damir Jelić
533a5b92b0
crypto: Ignore key verification requests that have an invalid timestamp
2021-06-17 11:04:17 +02:00
Damir Jelić
c4b1d3bc44
Merge branch 'avatar_cache'
2021-06-17 10:42:57 +02:00
Julian Sparber
4cdb03e64b
matrix-sdk: use media cache for avatar requests
2021-06-15 13:07:34 +02:00
Johannes Becker
da4876acee
appservice: Rename Appservice to AppService
2021-06-15 12:09:25 +02:00
Fisher Darling
cb6269d5ec
add more state event getters to store
2021-06-14 20:59:53 -06:00
Damir Jelić
dbf8cf231d
Merge branch 'matrix-sdk/feat/whoami'
2021-06-11 10:08:12 +02:00
Johannes Becker
ba0cc3d45f
matrix-sdk: Add Client::whoami()
2021-06-11 09:37:30 +02:00
Johannes Becker
1a5cd544e7
appservice: Introduce appservice mode on Client
2021-06-10 11:36:20 +02:00
Johannes Becker
97c7baab14
appservice: Rename example to get rid of cargo warning
2021-06-10 11:22:01 +02:00
Johannes Becker
df42ef68a2
appservice: Enable warp by default
2021-06-09 22:14:41 +02:00
Damir Jelić
4a83e36195
Merge branch 'appservice/feature/warp'
2021-06-09 17:31:07 +02:00
Johannes Becker
da673f1308
appservice: Temporarily remove windows from CI
...
because it's broken
2021-06-08 11:29:14 +02:00
Johannes Becker
c634efbe09
appservice: Fixes after rebase
2021-06-08 11:18:56 +02:00
Damir Jelić
5fa2b05622
matrix-sdk: Fix some more typos
2021-06-08 11:13:23 +02:00
Johannes Becker
66551d28e4
appservice: Switch autojoin example to warp
2021-06-08 11:09:05 +02:00
Johannes Becker
7116fc1103
appservice: Switch warp to git dep so it works OOTB
2021-06-08 11:09:05 +02:00
Johannes Becker
d8b23f789d
appservice: Expand set_event_handler docs
2021-06-08 11:09:05 +02:00
Johannes Becker
4dacef2e2c
appservice: Improve warp_filter
2021-06-08 11:09:05 +02:00
Johannes Becker
d6ca3a27bb
appservice: Properly scope webserver configuration
2021-06-08 11:09:05 +02:00
Johannes Becker
8d061447d6
appservice: Improve test coverage
2021-06-08 11:09:03 +02:00
Johannes Becker
38512d6a54
appservice: Add warp support
2021-06-08 11:01:20 +02:00
Johannes Becker
f3bbcf553c
appservice: Restructure tests
2021-06-08 10:58:07 +02:00
Jonas Platte
e1d905fbc6
Temporarily remove Windows from CI
...
It's currently broken.
2021-06-07 19:50:14 +02:00
Jonas Platte
1168c39c20
Move ruma re-export from matrix-sdk-common to matrix-sdk
2021-06-07 19:50:14 +02:00
Jonas Platte
54063513a3
appservice: Depend on ruma directly
2021-06-07 19:50:14 +02:00
Jonas Platte
26788f83f0
sdk: Depend on ruma directly
2021-06-07 19:50:13 +02:00
Jonas Platte
c705af1048
test: Depend on ruma directly
2021-06-07 18:55:56 +02:00
Jonas Platte
c964589049
base: Depend on ruma directly
2021-06-07 18:55:56 +02:00
Jonas Platte
74d0ac7c77
crypto: Depend on ruma directly
...
… instead of using matrix_sdk_common's re-exports
2021-06-07 18:55:56 +02:00
Jonas Platte
3bac536daf
Fix clippy lints
...
Automated via `cargo clippy --workspace --all-targets -Zunstable-options --fix`.
2021-06-07 15:51:18 +02:00
Jonas Platte
e18f248dbb
crypto: Add missing required-features to crypto_bench
2021-06-07 15:16:53 +02:00
Damir Jelić
b6c7b317bf
Merge branch 'qr-crate'
2021-06-07 14:03:29 +02:00
Damir Jelić
6f11244017
Merge branch 'typos'
2021-06-06 21:01:30 +02:00
Jonas Platte
6b685b671d
Replace Arc<Box<dyn (Crypto|State)Store>> by Arc<dyn (Crypto|State)Store>
2021-06-06 18:16:25 +02:00
Jonas Platte
eed2b37885
Replace Arc<Box<DeviceId>> by Arc<DeviceId>
2021-06-06 18:15:18 +02:00
Jonathan de Jong
f76cb1d123
the the
2021-06-05 14:55:01 +02:00
Jonathan de Jong
f36fb55727
some more typos
2021-06-05 14:50:08 +02:00
Jonathan de Jong
74a6d39b9f
various typos
2021-06-05 14:35:20 +02:00
Damir Jelić
0df782e93e
crypto: Fix some clippy warnings
2021-06-04 19:26:32 +02:00
Damir Jelić
7cca358399
Merge branch 'master' into verification-improvements
2021-06-04 18:37:42 +02:00
Damir Jelić
96d4566111
crypto: Move the verification cache into a separate module
2021-06-04 18:13:52 +02:00
Damir Jelić
31e00eb434
crypto: Don't panic if we get a unknown cancel code
2021-06-04 18:13:52 +02:00
Damir Jelić
612fa46359
crypto: Replace a bunch of From implementations with macros
2021-06-04 18:13:52 +02:00