Bruno Windels
|
229c584138
|
don't fail login if dehydrated devices are not supported
|
2021-11-25 15:38:13 +01:00 |
|
RMidhunSuresh
|
bb18af414b
|
Convert SessionInfoStorage.js to ts
|
2021-11-25 15:18:03 +05:30 |
|
RMidhunSuresh
|
3d9fbb685a
|
Convert Pusher.js to ts
|
2021-11-25 13:23:05 +05:30 |
|
RMidhunSuresh
|
346e95c33c
|
Change return type
|
2021-11-25 12:33:12 +05:30 |
|
RMidhunSuresh
|
a31860dc5f
|
Fix formatting
|
2021-11-24 14:55:44 +05:30 |
|
RMidhunSuresh
|
c54ca168ed
|
Convert SSOLoginHelper.js to ts
|
2021-11-24 14:49:08 +05:30 |
|
RMidhunSuresh
|
a1367f8e72
|
Fix password login
|
2021-11-24 14:00:26 +05:30 |
|
RMidhunSuresh
|
64037cb32a
|
Convert TokenLoginMethod to ts
|
2021-11-24 13:56:47 +05:30 |
|
RMidhunSuresh
|
e4c443c73a
|
Convert PasswordLoginMethod to ts
|
2021-11-24 13:47:26 +05:30 |
|
RMidhunSuresh
|
91f2a96403
|
Make LoginMethod an interface
|
2021-11-24 13:40:04 +05:30 |
|
RMidhunSuresh
|
0c424cb77f
|
Fix imports
|
2021-11-17 20:28:44 +05:30 |
|
RMidhunSuresh
|
ea0adb4407
|
Convert RetainedValue.js to ts
|
2021-11-17 20:28:44 +05:30 |
|
RMidhunSuresh
|
88ec1b575d
|
Convert mergeMap.js to ts
|
2021-11-17 20:28:44 +05:30 |
|
RMidhunSuresh
|
1549d8add0
|
Convert LockMap to ts
|
2021-11-17 20:28:44 +05:30 |
|
RMidhunSuresh
|
c8eb7ea7ac
|
Convert Lock.js to ts
|
2021-11-17 20:28:44 +05:30 |
|
RMidhunSuresh
|
4ce7634201
|
Convert error.js to ts
|
2021-11-17 20:28:44 +05:30 |
|
RMidhunSuresh
|
ef53a12f7a
|
Fix imports
|
2021-11-17 20:28:44 +05:30 |
|
Bruno Windels
|
695996d6e2
|
add ILogger and ILogExport interface, to give export correct return type
also move logging related types to own file
|
2021-11-17 11:39:12 +01:00 |
|
RMidhunSuresh
|
14eaa57434
|
No need for type assertion here
|
2021-11-16 13:14:11 +05:30 |
|
RMidhunSuresh
|
3ee1607298
|
Convert utils to typescript
|
2021-11-16 12:32:49 +05:30 |
|
Bruno Windels
|
2da450d69d
|
log signature verification failure in logger, not console
|
2021-11-15 15:27:57 +01:00 |
|
RMidhunSuresh
|
7097ba07d1
|
Replace LogLabelOrNull type with undefined
|
2021-11-15 18:59:33 +05:30 |
|
RMidhunSuresh
|
30a384fe1e
|
Make LogFilter optional
|
2021-11-15 18:44:25 +05:30 |
|
RMidhunSuresh
|
520e0f1b89
|
Use interface ILogItem
|
2021-11-15 17:29:08 +05:30 |
|
RMidhunSuresh
|
a7d059b3ed
|
Fix imports
|
2021-11-14 19:42:18 +05:30 |
|
RMidhunSuresh
|
29a8260514
|
Add explicit types for return in methods
|
2021-11-12 23:12:15 +05:30 |
|
Bruno Windels
|
b6fda8865f
|
make all dependencies use vite and remove post-install script / lib dir
|
2021-11-08 11:10:34 +01:00 |
|
Bruno Windels
|
faa0246e28
|
setup new dehydrated device when claiming one
|
2021-11-05 20:53:04 +01:00 |
|
Bruno Windels
|
0749073120
|
clone key as olm clears it
|
2021-11-05 20:52:50 +01:00 |
|
Bruno Windels
|
790b9cbc13
|
require a flag to enable account setup during login
as it blocks login from progressing, any sdk usage should enable
to indicate they are listening for the AccountSetup status.
|
2021-11-03 02:28:01 +01:00 |
|
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
|
80a98f04c7
|
pickle clears the key, so slice it before calling so we can reuse for 4s
|
2021-11-03 02:08:27 +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
|
544019f67d
|
ensure olm Account in dehydrated device is freed on error
|
2021-10-28 11:52:32 +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
|
0f0719eaa2
|
Merge pull request #560 from vector-im/bwindels/logout
Add Log out
|
2021-10-26 15:10:21 +02:00 |
|
Bruno Windels
|
82a0c1024c
|
return static string when member is missing and add logging
|
2021-10-26 15:08:51 +02:00 |
|
Bruno Windels
|
f998041748
|
add logout button in settings
|
2021-10-26 12:49:31 +02:00 |
|
Bruno Windels
|
67dd929951
|
put key session check in method
|
2021-10-26 11:14:46 +02:00 |
|
Bruno Windels
|
ab2f15b5a2
|
prevent cache hiding better keys in storage (+ tests)
|
2021-10-25 19:17:13 +02:00 |
|
Bruno Windels
|
3c2604b384
|
test that sessions get free'd correctly
|
2021-10-25 17:33:33 +02:00 |
|