Commit Graph

1867 Commits (092ca9040348e101c43a5e08f25c6d751683fdf4)

Author SHA1 Message Date
SaurusXI 092ca90403
matrix-sdk: add method to check room's event visibility 2021-06-20 13:01:24 +05:30
Damir Jelić 0fb3dedd1c client: Fix compilation when the encryption feature is disabled 2021-06-17 12:35:37 +02:00
Damir Jelić 3cf843d24f matrix-sdk: Rework the public API for answering verifications 2021-06-17 12:17:11 +02:00
Damir Jelić baee5b2d11 crytpo: Couple more accessors for the verification request 2021-06-17 11:04:18 +02:00
Damir Jelić 34703bc0d6 crypto: Add a method to get all verification requests of a certain user 2021-06-17 11:04:18 +02:00
Damir Jelić d212e7df18 crypto: Add some more accessors to the verification requests 2021-06-17 11:04:18 +02:00
Damir Jelić f8b09d4537 crypto: Remember who started the verification request 2021-06-17 11:04:18 +02:00
Damir Jelić 5d38bc3802 crypto: Scope the verification requests behind the other user id 2021-06-17 11:04:18 +02:00
Damir Jelić 58d3b42a60 crypto: Don't allow QR code generation if we or the other can't handle it 2021-06-17 11:04:18 +02:00
Damir Jelić b7986a5153 crypto: Add a couple more accessors for the verification request 2021-06-17 11:04:18 +02:00
Damir Jelić c547f384bc crypto: Fix the method to transition from a request into a SAS verification 2021-06-17 11:04:18 +02:00
Damir Jelić 29bba0b2ca crypto: Allow accepting key request while specifying our supported methods 2021-06-17 11:04:18 +02:00
Damir Jelić 80fac4bfa4 cyrpto: Go into passive mode if someone else replies to a request 2021-06-17 11:04:18 +02:00
Damir Jelić be53913a16 crypto: Remove the redundant flow id copy 2021-06-17 11:04:18 +02:00
Damir Jelić df1fe0ebc4 crypto: Don't return a result when receiving a ready event
Ready events might be invalid but we might receive a valid one later on,
e.g. someone is trying to disrupt our verification, so just ignore
invalid ready events.
2021-06-17 11:04:18 +02:00
Damir Jelić 073b91fa62 crypto: Ignore verification requests that are sent by us 2021-06-17 11:04:18 +02:00
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
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