Bruno Windels
|
4838e19c92
|
Merge pull request #811 from vector-im/bwindels/sharekeyswithinvitees
Key sharing based on room history visibility
|
2022-07-29 14:23:26 +00:00 |
|
Bruno Windels
|
cb0ac846c7
|
remove obsolete comment
|
2022-07-29 16:22:01 +02:00 |
|
Bruno Windels
|
2a5e0302dc
|
Merge pull request #785 from vector-im/hs/log-when-storage-access-fails
Log the error when we can't get storage access
|
2022-07-29 09:47:58 +00:00 |
|
Half-Shot
|
5b5c852401
|
Revert "use logging items"
This reverts commit d937b9b14b .
|
2022-07-29 10:44:37 +01:00 |
|
Half-Shot
|
d937b9b14b
|
use logging items
|
2022-07-29 10:39:41 +01:00 |
|
Bruno Windels
|
d3e93196e3
|
Merge pull request #777 from ibeckermayer/ibeckermayer/ts-conversion-loginviewmodel
TS conversion for `LoginViewModel`
|
2022-07-29 09:27:10 +00:00 |
|
Bruno Windels
|
62b3a67e33
|
write unit tests for correctly reading history visibility when needed
|
2022-07-28 17:09:41 +02:00 |
|
Bruno Windels
|
319ec37864
|
fix typos preventing to load the history visibility
|
2022-07-28 11:44:50 +02:00 |
|
Isaiah Becker-Mayer
|
7b7b19476c
|
updates some signatures to be more verbose, fixes wrong type for attemptLogin
|
2022-07-27 22:09:30 -07:00 |
|
Isaiah Becker-Mayer
|
ad0bd82bda
|
creating default exports
|
2022-07-27 22:09:30 -07:00 |
|
Isaiah Becker-Mayer
|
d7657dcc4d
|
first draft of fully typescriptified LoginViewModel.ts
|
2022-07-27 22:09:30 -07:00 |
|
Bruno Windels
|
0df66b5aea
|
track room before listing user ids when sharing key
|
2022-07-27 12:06:55 +02:00 |
|
Bruno Windels
|
f18520a2fe
|
let loadMembers use own txn in case members haven't been fetched yet
if they haven't, it will need a network request, meaning that the txn
will get closed, so we can't reuse it afterwards
|
2022-07-27 11:39:50 +02:00 |
|
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 |
|
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 |
|
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
|
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
|
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
|
c62c8da10b
|
fix changed key not being ignored
|
2022-05-31 13:39:35 +02:00 |
|
Bruno Windels
|
bc51644868
|
reassignment is not used later on, remove
|
2022-05-31 13:39:23 +02:00 |
|
Bruno Windels
|
3d3d590334
|
add failing test for device with changed key being returned
|
2022-05-31 13:39:05 +02:00 |
|
Bruno Windels
|
11d7535c23
|
add some basic tests (with mock utils) for DeviceTracker
|
2022-05-31 13:38:34 +02:00 |
|
RMidhunSuresh
|
049a477008
|
Pass flowSelector from Client.startRegistration
|
2022-04-27 12:27:19 +05:30 |
|
Bruno Windels
|
9755062563
|
fix error thrown during request when response code is not used
|
2022-04-07 10:35:00 +02:00 |
|
Bruno Windels
|
ca211f929b
|
Merge pull request #702 from vector-im/bwindels/observablemapts
convert (Base)ObservableMap to typescript
|
2022-03-09 11:53:59 +01:00 |
|
Bruno Windels
|
6d7c983e8e
|
convert (Base)ObservableMap to typescript
|
2022-03-09 11:33:49 +01:00 |
|
Bruno Windels
|
2e1283d199
|
Merge pull request #670 from vector-im/bwindels/ts-olm
Convert olm code to typescript
|
2022-03-01 18:53:22 +01:00 |
|
Bruno Windels
|
b6d9993ed0
|
remove unused import
|
2022-03-01 17:08:49 +01:00 |
|
Bruno Windels
|
8adc5a9fae
|
these were public actually
|
2022-02-18 17:24:55 +01:00 |
|
Bruno Windels
|
3f9f0e98c7
|
remove unused olm property in SenderKeyDecryption
|
2022-02-18 17:21:27 +01:00 |
|
Bruno Windels
|
82299e5aea
|
Update src/matrix/e2ee/olm/Decryption.ts
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
|
2022-02-18 17:18:33 +01:00 |
|
Bruno Windels
|
3330530f68
|
Update src/matrix/e2ee/DecryptionResult.ts
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
|
2022-02-18 17:18:25 +01:00 |
|
Bruno Windels
|
620409b3f0
|
fixup: ctor argument order
as it was an object before, order didn't matter
|
2022-02-18 17:17:24 +01:00 |
|
Bruno Windels
|
78e0bb1ff0
|
replace isPreKeyMessage with const enum
|
2022-02-18 17:00:56 +01:00 |
|
Bruno Windels
|
347edb5988
|
remove unused storage property
|
2022-02-18 16:47:47 +01:00 |
|
Bruno Windels
|
60f5da60bb
|
fix lint
|
2022-02-16 18:01:24 +01:00 |
|