1815 Commits

Author SHA1 Message Date
Bruno Windels
50b6ee91d7 don't need history visibility here 2022-07-27 11:39:36 +02:00
Bruno Windels
bfaba63f47 fix ts error 2022-07-26 17:55:21 +02:00
Bruno Windels
544afef902 test adding and removing when tracking multiple rooms 2022-07-26 17:41:26 +02:00
Bruno Windels
dd878bb8d6 also take rejecting invites into account to remove user identity 2022-07-26 16:58:07 +02:00
Bruno Windels
dea3852425 add some tests for sharing keys with invitees 2022-07-26 16:57:28 +02:00
Bruno Windels
4c17612b05 allow passing txn to loadMembers so we can do it as part of sync txn
to rewrite useridentities upon receiving new history visibility
2022-07-26 16:53:02 +02:00
Hugh Nimmo-Smith
9de574319e Ask OP to revoke tokens on logout 2022-07-25 15:34:35 +01:00
Ajay Bura
7cfd34823b Add kick, ban & unban api 2022-07-25 16:44:46 +05:30
Hugh Nimmo-Smith
778900d0b2 Handle case of issuer field not ending with / 2022-07-25 09:12:48 +01:00
Hugh Nimmo-Smith
a5ef671f46 Handle case of OIDC Provider not returning supported_grant_types 2022-07-25 09:06:49 +01:00
Bruno Windels
a23df8a545 pass history visibility to device tracker
and delegate adding and removing members to share keys with to it
2022-07-22 17:49:59 +02:00
Bruno Windels
17f42f523a add write method for when history visibility changes
also returning added and removed user ids
2022-07-22 17:49:26 +02:00
Bruno Windels
f6011f3f34 take history visibility into account in device tracker
and return added and removed userids to their userIdentity for the given
room, so room encryption can share and discard the keys for them
2022-07-22 17:48:26 +02:00
Bruno Windels
86c0e9e669 logic for whether a key should be shared by membership and h. visibility 2022-07-22 17:46:53 +02:00
Bruno Windels
f337940202 this migration shouldn't be needed anymore
and undoes the export of addRoomToIdentity, which is somewhat internal
2022-07-22 17:46:29 +02:00
Bruno Windels
22831e710c support async callback in iterateResponseStateEvents 2022-07-22 14:15:26 +02:00
Bruno Windels
c8a8eb10b5 get user ids for sharing a new key when the message is sent
rather than when the key happens to get sent
2022-07-20 15:21:33 +02:00
Bruno Windels
d79e5f7806 create key share operations for invitees when history visibility=invited 2022-07-20 15:20:23 +02:00
Robert Long
d4eeca346d Merge branch 'bwindels/calls' into update-thirdroom-calls 2022-07-15 15:48:33 -07:00
Bruno Windels
3346f68d25 WIP 2022-07-12 11:59:52 +02:00
Hugh Nimmo-Smith
969bdbbf30 Use unstable prefix for MSC2965 issuer discovery 2022-07-08 15:35:55 +01:00
Bruno Windels
e9649ec7c2 different streams never have the same id, even for same devices 2022-07-07 15:47:09 +02:00
Bruno Windels
2f08cd8984 clone localMedia in Member when connection, like we do for setMedia 2022-07-07 15:36:49 +02:00
Bruno Windels
f187a51c97 stop replaced track in PeerCall 2022-07-07 15:36:30 +02:00
RMidhunSuresh
cd9e00b847 Support power_level_content_override 2022-07-07 17:17:05 +05:30
Will Hunt
a85d2c96d6
Log the error when we can't get storage access
This is quite useful when debugging why a session isn't working properly.
2022-07-06 10:06:00 +01:00
Bruno Windels
206ac6e2dd WIP: prevent stream id from changing when upgrading call 2022-07-05 18:22:36 +02:00
Quentin Gliech
12d1760582
Make hydrogen generate the device scope 2022-07-04 18:44:31 +02:00
Bruno Windels
6aab049052 Merge branch 'master' into bwindels/calls 2022-07-04 16:59:17 +02:00
Quentin Gliech
897fc54103
Add client_uri, tos_uri and policy_uri client metadata 2022-07-04 16:22:59 +02:00
Quentin Gliech
f1cc22a920
OIDC dynamic client registration 2022-07-04 16:22:59 +02:00
Quentin Gliech
b3e6f4b494
Stop the token refresher when disposing the client 2022-07-04 16:22:57 +02:00
Quentin Gliech
ace7ad7065
Use platform APIs for text encoding and hashing 2022-07-04 16:18:06 +02:00
Quentin Gliech
d723561d66
Generate the OIDC redirect URI from the URLRouter
This also saves the redirectUri during the flow
2022-07-04 16:18:06 +02:00
Quentin Gliech
c9b1c72d5b
Native OIDC login 2022-07-04 16:18:06 +02:00
Ajay Bura
83b233b97e Add type for invite rom 2022-06-29 15:58:51 +05:30
Ajay Bura
eb51e76f9d Add more hs api 2022-06-29 15:58:29 +05:30
Bruno Windels
84bac0afe9 Also allow undefined, which means at the end of the paginated direction
we already detect the end by chunk.length===0, so we just need to not throw
2022-06-25 19:37:36 +02:00
Bruno Windels
8a90c48d1e debugging unmuting not working 2022-06-25 05:56:43 +02:00
Bruno Windels
375d8b066c complete settings view model for logs ui 2022-06-15 11:13:46 +02:00
Bruno Windels
a644621889 basic support for sending rageshake in view model 2022-06-14 18:46:02 +02:00
Bruno Windels
41288683fc allow unmuting when we don't yet have a mic/cam track 2022-06-10 17:10:23 +02:00
Ajay Bura
dc1f0fecb5 Add profile world type 2022-06-06 13:04:48 +05:30
Bruno Windels
bfdea03bbd start with seq 1, like Element Call does 2022-06-03 15:50:02 +02:00
Bruno Windels
ed5fdb8154 don't withhold member event for call just because we don't have profile 2022-06-03 12:43:51 +02:00
Bruno Windels
c8b5c6dd41 expose own user on BaseRoom
so we don't have to pass session around everywhere we need this
2022-06-02 17:30:17 +02:00
Bruno Windels
8ba1d085f6 fix refactor mistake in logging 2022-06-02 15:58:50 +02:00
Bruno Windels
90b6a5ccb6 update call member info with room member info 2022-06-02 15:56:23 +02:00
Bruno Windels
a52740ed1b give room state handler access to member sync to get sender profile info 2022-06-02 15:55:08 +02:00
Bruno Windels
a530944f7d add logging to seq queueing 2022-06-02 11:11:32 +02:00