matrix-js-sdk
Support for .ready verification event (MSC2366) & other things
#1140
Merged

Support for .ready verification event (MSC2366) & other things #1140

bwindels merged 44 commits into develop from bwindels/verification-right-panel
bwindels
bwindels support .ready event in VerificationRequest
882d3a76
bwindels return request instead of verifier from verification methods
2da72534
bwindels waitForVerifier is unused now, make it more broadly useful with callback
10e29478
bwindels expose common phases as properties
28e46a82
bwindels filter verification methods from argument
4c6dd564
bwindels set verification request on event
cd7cc1b7
bwindels WIP
b34a2c7e
bwindels store in-room verification requests by roomId, txnId
c4142d93
bwindels more ready and remote echo support
5f9e8220
bwindels make this a public prop
dac4a545
bwindels don't block remote echos to VerificationRequests
984b6234
bwindels only move to PHASE_DONE when both .done events are received
29c04b6f
bwindels get other user id from channel
efe24881
bwindels get other party user id by inspecting initial event sender/to fields
48977e6e
bwindels move blocking non-participating users back to InRoomChannel
883b83f1
bwindels attempt at only creating verifier for live events
e7bcb61a
bwindels WIP historical
cf42ad83
bwindels fixes and cleanup for historical
0d3d27a5
bwindels don't mark events loaded from cache as live events
57135a89
bwindels don't cancel or timeout when verify isn't called
8ed51c80
bwindels fixes & implement timeout
3ec8233a
bwindels use isRemoteEcho to determine if the event is theirs or not
423c8a88
bwindels new state machine relies on having remote echos, so fake for to_device
3a9dc37d
bwindels allow to move straight from UNSENT to STARTED
213bb9db
bwindels check !unsent instead of requested for emitting the crypto.request event
5919874f
bwindels fix method names
75fc25fe
bwindels commit logging
9338d9c2
bwindels parenthesis in wrong place broke logic
f44e0a8e
bwindels add note to fix bug later
72fd1e4e
bwindels
bwindels bwindels requested a review 6 years ago
turt2live turt2live removed review request 6 years ago
turt2live turt2live requested a review from turt2live turt2live 6 years ago
turt2live
turt2live approved these changes on 2020-01-16
turt2live Merge branch 'develop' into bwindels/verification-right-panel
1205178e
turt2live
bwindels fix lint
07cc93cc
bwindels use setTimeout of setInterval
59bfc458
bwindels mention reason in cancellation error
cbe29658
bwindels to make this work while using fake timers, don't use setTimeout
e51ba795
bwindels adjust test: requestVerification returns the request instead of verifier
c34ccc9d
bwindels enable fake timers for consistency
e8952831
bwindels fixup: another timeout
77d0a761
bwindels more fixup: make sure remote echo doesn't arrive earlier for TestClient
c12a3b66
bwindels don't overwrite a request when the remote echo arrives before event_id
121e9d02
bwindels set transaction_id for remote echos in TestClient
e5c65d53
bwindels implement API change in sas test for requestVerificationDM
bd9a2c13
bwindels remove obsolete comment
aac68290
bwindels update jsdoc of requestVerificationDM
d526229a
bwindels remove obsolete and now broken method
9d6f8730
bwindels bwindels merged 22e6cfae into develop 6 years ago
t3chguy t3chguy deleted the bwindels/verification-right-panel branch 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone