Danila Fedorin
|
a2ff02e6c0
|
Try using an enum for store names.
|
2021-08-20 12:33:06 -07:00 |
|
RMidhunSuresh
|
04806a1425
|
Convert link to button
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 23:16:03 +05:30 |
|
Danila Fedorin
|
0b8acb51a4
|
Switch errors to using nulls
|
2021-08-20 10:41:15 -07:00 |
|
Danila Fedorin
|
50b7a8a3fd
|
Add a comment explaining CursorIterator
|
2021-08-20 10:34:06 -07:00 |
|
RMidhunSuresh
|
d47e126370
|
add missing emit
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 23:03:51 +05:30 |
|
RMidhunSuresh
|
0e6139d5e3
|
Use homeserver from login method
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 23:02:06 +05:30 |
|
RMidhunSuresh
|
94ba93acb5
|
Add explaining comment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 22:57:13 +05:30 |
|
RMidhunSuresh
|
0630452571
|
No need to observe
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 22:53:15 +05:30 |
|
Danila Fedorin
|
94ff76711c
|
Use 'in' to be more idiomatic
|
2021-08-20 10:04:22 -07:00 |
|
RMidhunSuresh
|
a5985cba2a
|
Add spinner
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 22:18:24 +05:30 |
|
RMidhunSuresh
|
82067ca6f5
|
No need to pass showError
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 21:43:42 +05:30 |
|
RMidhunSuresh
|
55da58893b
|
Red + bold error
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 21:41:42 +05:30 |
|
RMidhunSuresh
|
a2677a6400
|
Separate errors for each vm
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 21:22:12 +05:30 |
|
RMidhunSuresh
|
355468b637
|
Internationalize + add back old message
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 20:36:33 +05:30 |
|
RMidhunSuresh
|
ff8417dfe2
|
Set busy state from login vm
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 20:31:22 +05:30 |
|
RMidhunSuresh
|
784b06d500
|
Fix emit for isBusy
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 20:12:25 +05:30 |
|
RMidhunSuresh
|
0e7a9e224c
|
Remove unwanted if
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 20:10:31 +05:30 |
|
RMidhunSuresh
|
5ca732341a
|
Rename defaultHomeserver to homeserver
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 20:09:12 +05:30 |
|
RMidhunSuresh
|
c650b35831
|
resetStatus from within startLogin
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 20:05:36 +05:30 |
|
RMidhunSuresh
|
9482998b15
|
Internationalize and remove dash
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 19:08:47 +05:30 |
|
RMidhunSuresh
|
2468bc3e9f
|
Remove homeserver prop
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 15:47:30 +05:30 |
|
RMidhunSuresh
|
dadeb7f3e5
|
Do not override childOptions
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 15:42:43 +05:30 |
|
RMidhunSuresh
|
bdc860eb79
|
Refactor to pull loadvm into login vm
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 15:19:42 +05:30 |
|
Danila Fedorin
|
19bababa68
|
Use method syntax in QueryTarget.
|
2021-08-19 17:40:10 -07:00 |
|
Danila Fedorin
|
704a8d99c7
|
Add missing return types to QueryTarget
|
2021-08-19 17:39:53 -07:00 |
|
RMidhunSuresh
|
80ea48e8a1
|
Move input into t.if
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-19 21:43:44 +05:30 |
|
RMidhunSuresh
|
5ab405fc30
|
Move back-button to login view
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-19 21:37:26 +05:30 |
|
RMidhunSuresh
|
3af2ae3bdd
|
make method private
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-19 20:50:00 +05:30 |
|
RMidhunSuresh
|
ed278e3e5a
|
Remove unwanted check
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-19 20:50:00 +05:30 |
|
RMidhunSuresh
|
2d842c7174
|
rename ssoEndpointLink to createSSORedirectURL
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-19 20:50:00 +05:30 |
|
RMidhunSuresh
|
daf7af17b1
|
Move logic to vm
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-19 20:50:00 +05:30 |
|
RMidhunSuresh
|
068fba3616
|
Inline method
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-19 20:50:00 +05:30 |
|
RMidhunSuresh
|
738603e890
|
Rename start to createViewModels
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-19 20:50:00 +05:30 |
|
RMidhunSuresh
|
17f1d6b16a
|
Remove defaultHomeServer prop
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-19 20:49:54 +05:30 |
|
RMidhunSuresh
|
10a6aca477
|
Move homeserver input into LoginView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:05:25 +05:30 |
|
RMidhunSuresh
|
13cb8979ac
|
Check correct login method early
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:05:25 +05:30 |
|
RMidhunSuresh
|
83f4095d88
|
rename queryLogin to getLoginFlows
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:05:15 +05:30 |
|
RMidhunSuresh
|
d2c94b0d3e
|
Give argument better name
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
db3fd3d1ae
|
Fix test
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
7b9ec5516a
|
Move normalizeHomeserver into session container
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
c4e7dc3b5a
|
Split SSOLoginViewModel
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
4b72b64a2e
|
Implement SSOLoginHelper
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
f8b0ef052f
|
Give sso homeserver storage key a better name
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
98f8f04c74
|
Implement SSO
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
474a4bb19a
|
Remove Login vm
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
683d2c21eb
|
Use generic language in session load status
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
3fa955e594
|
Parse token/sso login in loginOptions
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
66f28b90fc
|
Implement token login
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
daeeaa2869
|
Set and get strings
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
e424293293
|
Save homeserver before redirecting
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
6c6c4c7dfd
|
Style CompleteSSOLoginView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
93720f6025
|
Style sso button
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
b8f0361157
|
Split login view into password and sso components
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
cabffd5e3f
|
Move view to correct directory
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
c82af5a0a3
|
Replace link with button
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
ce5fdd465c
|
Remove unnecessary braces
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
0af27fc8dd
|
Move normalizeHomeserver to LoginViewModel
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
2c953e361d
|
Remove queryLoginFromInput()
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
2103adfc03
|
Add view
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
4b87887a4f
|
Show completion view on sso segment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
75d71717d8
|
Show link for SSO login
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
b2613740b8
|
Add functionality to remove loginToken from URL
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
bed0185186
|
Support loginToken query in History
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
74f5e30487
|
Ignore sso segment in url
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
987a83b4cf
|
Add method to redirect to a specific URL
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
3efadcb72c
|
Add method that returns callback url
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
e2d2291d8d
|
Add test
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
19664e54be
|
Parse loginToken from query parameter
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:31 +05:30 |
|
RMidhunSuresh
|
18e1c305f5
|
Allow sso to be a root segment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
f3946fcdf3
|
Pass log as argument
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
9651817c5b
|
Formatting fix
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
730a6b2d0a
|
Move files to separate directory
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
46b7d9a373
|
Add explaining comment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
72fb7f679b
|
Add license headers
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
acfe3f30db
|
Make lint happy
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
a53e29767f
|
Rewrite password login to use PasswordLoginMethod
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
20765d9688
|
Create LoginMethod for password login
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
e0fcec9102
|
Add method to query login types
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:02 +05:30 |
|
Bruno Windels
|
4b5f5ddffa
|
fix ts lint error by making methods abstract
|
2021-08-18 18:15:03 +02:00 |
|
Bruno Windels
|
02e422f3ac
|
Merge pull request #448 from vector-im/snowpack-mvp
Snowpack MVP
|
2021-08-18 13:09:02 +00:00 |
|
Danila Fedorin
|
db66570d7a
|
Migrate Store.js to TypeScript
|
2021-08-17 16:33:07 -07:00 |
|
Danila Fedorin
|
c4e8ed8851
|
Migrate QueryTarget.js to TypeScript
|
2021-08-17 16:30:05 -07:00 |
|
Danila Fedorin
|
28ee87cd2f
|
Migrate error.js to TypeScript
|
2021-08-17 16:30:05 -07:00 |
|
Danila Fedorin
|
aa9839ee40
|
Seemingly fix a bug in utils.ts
|
2021-08-17 16:30:05 -07:00 |
|
Danila Fedorin
|
cd9fe360a4
|
Start migrating utils.js to TypeScript
|
2021-08-17 16:30:05 -07:00 |
|
Danila Fedorin
|
5579c018d1
|
Migrate common.js to TypeScript
Add initial stab at annotating common
Add missing return types and semicolons
|
2021-08-17 16:30:05 -07:00 |
|
Danila Fedorin
|
8ec8de67b8
|
Merge branch 'snowpack-mvp' into snowpack-ts-storage-1
|
2021-08-17 16:29:47 -07:00 |
|
Danila Fedorin
|
e8dff6d16b
|
Move web-specific files to platform/web
|
2021-08-17 14:13:27 -07:00 |
|
Bruno Windels
|
dbb9e5363c
|
guard against part types that have not been impl in the view
|
2021-08-07 09:00:41 +02:00 |
|
Danila Fedorin
|
f239199b1b
|
Add rendering for horizontal rules
|
2021-08-06 15:50:03 -07:00 |
|
Bruno Windels
|
2c8e259339
|
focus composer when replying
|
2021-08-06 23:43:10 +02:00 |
|
Bruno Windels
|
c3177b06bf
|
Merge pull request #418 from vector-im/replies
Sending replies
|
2021-08-06 21:28:42 +00:00 |
|
Bruno Windels
|
9f0c3b9cea
|
await sending a message before clearing composer (this was missing all along)
|
2021-08-06 23:06:58 +02:00 |
|
Danila Fedorin
|
3c5b186e31
|
Switch BaseEntry to TypeScript
|
2021-08-06 12:54:06 -07:00 |
|
Danila Fedorin
|
31c6aa647b
|
Switch to using snowpack-provided dompurify
|
2021-08-06 12:39:00 -07:00 |
|
Danila Fedorin
|
053c94b60e
|
Stop passing room to tiles in tests
|
2021-08-06 11:02:41 -07:00 |
|
Danila Fedorin
|
f8dae8e20c
|
Merge branch 'replies' of github.com:vector-im/hydrogen-web into replies
|
2021-08-06 10:54:33 -07:00 |
|
Danila Fedorin
|
a8fcf63cf9
|
Make the close button have a pointer cursor
|
2021-08-06 10:46:38 -07:00 |
|
Danila Fedorin
|
065b1789be
|
Remove interactive condition on continuation
|
2021-08-06 10:44:35 -07:00 |
|
Danila Fedorin
|
bf1f288a92
|
Make RoomViewModel's room public and stop feeding it to tileCreator
|
2021-08-06 10:40:25 -07:00 |
|