Bruno Windels
20493f9e87
cleanup
2022-02-10 11:07:13 +01:00
Bruno Windels
d6d1af13d0
rename RoomBeingCreated.localId to id
2022-02-10 11:03:52 +01:00
Bruno Windels
83d2b58bad
add avatar support to creating room
2022-02-09 19:00:00 +01:00
Bruno Windels
afe8e17a6f
remove debugging code
2022-02-08 17:00:06 +01:00
Bruno Windels
5325b0b466
cleanup logging
2022-02-08 14:58:29 +01:00
Bruno Windels
e04463c143
WIP for finding DM room
2022-02-07 18:58:53 +01:00
Bruno Windels
26fa2a5d60
add option
2022-02-07 18:58:43 +01:00
Bruno Windels
e1fbd1242e
WIP 4
2022-02-07 16:30:44 +01:00
Bruno Windels
0bb3cfcfad
WIP3
2022-02-04 17:49:10 +01:00
Bruno Windels
bc09ede09f
WIP
2022-02-03 17:57:35 +01:00
Bruno Windels
348de312f9
draft code in matrix layer to create room
2022-02-02 10:19:49 +01:00
Bruno Windels
f4fa013ebc
mark as not configured yet when re-enabling key backup
2022-02-01 11:32:53 +01:00
Bruno Windels
f4bb420f35
mark key backup properly as disabled
2022-02-01 11:27:42 +01:00
Bruno Windels
02f06724d0
don't block reenabling 4s if already enabled
2022-02-01 11:26:00 +01:00
Bruno Windels
fd4eb6b50d
distinguish between "waiting to go online" vs "backup not configured"
2022-02-01 11:08:13 +01:00
Bruno Windels
830786b2fd
fixes and cleanup
2022-01-31 16:26:14 +01:00
Bruno Windels
7eb0d347f5
flush key backup after coming online
2022-01-31 14:36:35 +01:00
Bruno Windels
ae5cc17290
mark all inbound sessions to be backed up again when changing version
2022-01-31 14:36:04 +01:00
Bruno Windels
a97d235cf5
flush after enabling key backup
2022-01-28 16:36:42 +01:00
Bruno Windels
504f420293
make keyBackup an observable and don't have separate needs-key flag
2022-01-28 15:13:58 +01:00
Bruno Windels
b692b3ec4f
move key backup operation and flush bookkeeping inside KeyBackup
...
so we can flush from other places than Session
2022-01-28 13:13:23 +01:00
Bruno Windels
dd2b41ff95
use backup flag in key backup rather than separate store
2022-01-27 16:07:18 +01:00
Bruno Windels
6f1484005b
stop key backup when on the wrong version
...
users can then enter the new key in the settings to start backing up
again
2022-01-27 15:14:29 +01:00
Bruno Windels
bf08c0d850
deal with errors when enabling key backup
...
fixes #449
2022-01-27 14:19:37 +01:00
Bruno Windels
60ed276b8a
add progress notification and cancellation to key backup flush
2022-01-26 15:19:31 +01:00
Bruno Windels
86caa5f9b1
rename session backup to key backup to be consistent with RoomKey
2022-01-26 09:51:48 +01:00
Bruno Windels
933a1b4636
draft of session backup writing + some refactoring
2022-01-25 18:48:19 +01:00
Bruno Windels
993a86ddb2
convert SessionBackup to typescript and pass in keyloader
2022-01-20 11:16:08 +01:00
Bruno Windels
c6c1d3b3d8
refactor logout in client so we don't need a fully loaded session
...
instead, we pass the session id in
this will make it easier to first dispose the client when leaving the
/session/<id> and just creating a client without fully loading it
to log out. This way sync is already not running anymore.
2022-01-17 16:29:01 +01:00
Bruno Windels
fe26f48c47
rename SessionContainer to Client
2021-12-22 17:09:52 +01:00
RMidhunSuresh
b2efcb9515
Convert SecretStorage.js to ts
2021-12-03 11:36:51 +05:30
RMidhunSuresh
dd4704b818
Fix imports
2021-12-03 11:36:49 +05:30
Bruno Windels
9042520916
Merge pull request #595 from vector-im/ts-conversion-matrix-push
...
Convert /matrix/push to typescript
2021-12-02 09:28:59 +01:00
RMidhunSuresh
3d9fbb685a
Convert Pusher.js to ts
2021-11-25 13:23:05 +05:30
RMidhunSuresh
1549d8add0
Convert LockMap to ts
2021-11-17 20:28:44 +05:30
Bruno Windels
bffe34fe0a
await write key
2021-11-03 02:20:27 +01:00
Bruno Windels
a8022077f6
add minimal logging
2021-11-03 02:20:11 +01:00
Bruno Windels
8a36eb4532
check mac of dehydrated key to match default 4s key mac before adopting
2021-11-03 02:07:57 +01:00
Bruno Windels
567cdd5510
WIP for enabling session backup from dehydration key
2021-10-29 19:17:31 +02:00
Bruno Windels
44a26fd340
key backup: add disable button,and enabling add dehydrated device option
2021-10-29 15:48:28 +02:00
Bruno Windels
c3dfdde626
be forgiving when dispose has already been called
2021-10-28 12:04:42 +02:00
Bruno Windels
bef12c7a8f
prevent double free on olm account when logging out
...
by ensuring we only dispose the e2ee/Account once, as well as
the Session and other classes
2021-10-28 11:48:25 +02:00
Bruno Windels
68a6113c26
add logout button to session load error screen
2021-10-28 11:47:31 +02:00
Bruno Windels
e3378d5636
use correct device_id in signatures for dehydrating device
...
completely replace device id for dehydrating device
so we don't have to pass it down the stack
2021-10-27 18:08:50 +02:00
Bruno Windels
c89e414bb5
WIP3
2021-10-27 15:08:53 +02:00
Bruno Windels
718b410253
WIP2
2021-10-27 10:26:36 +02:00
Bruno Windels
faf4ea6434
WIP
2021-10-26 18:47:46 +02:00
Bruno Windels
f998041748
add logout button in settings
2021-10-26 12:49:31 +02:00
Bruno Windels
6d8ec69a4d
fix lint
2021-10-22 18:01:17 +02:00
Bruno Windels
66a93ee108
adapt Session and RoomEncryption to megolm/Decryption API changes
2021-10-22 17:48:53 +02:00