Commit graph

11 commits

Author SHA1 Message Date
a235fed768
chore: change settings for supnas 2024-05-11 18:20:01 +08:00
Ajay Bura
20db27fa7e
feat: URL navigation in auth (#1603)
* bump to react 18 and install react-router-dom

* Upgrade to react 18 root

* update vite

* add cs api's

* convert state/auth to ts

* add client config context

* add auto discovery context

* add spec version context

* add auth flow context

* add background dot pattern css

* add promise utils

* init url based routing

* update auth route server path as effect

* add auth server hook

* always use server from discovery info in context

* login - WIP

* upgrade jotai to v2

* add atom with localStorage util

* add multi account sessions atom

* add default IGNORE res to auto discovery

* add error type in async callback hook

* handle password login error

* fix async callback hook

* allow password login

* Show custom server not allowed error in mxId login

* add sso login component

* add token login

* fix hardcoded m.login.password in login func

* update server input on url change

* Improve sso login labels

* update folds

* fix async callback batching state update in safari

* wrap async callback set state in queueMicrotask

* wip

* wip - register

* arrange auth file structure

* add error codes

* extract filed error component form password login

* add register util function

* handle register flow - WIP

* update unsupported auth flow method reasons

* improve password input styles

* Improve UIA flow next stage calculation
complete stages can have any order so we will look for first stage which is not in completed

* process register UIA flow stages

* Extract register UIA stages component

* improve register error messages

* add focus trap & step count in UIA stages

* add reset password path and path utils

* add path with origin hook

* fix sso redirect url

* rename register token query param to token

* restyle auth screen header

* add reset password component - WIP

* add reset password form

* add netlify rewrites

* fix netlify file indentation

* test netlify redirect

* fix vite to include netlify toml

* add more netlify redirects

* add splat to public and assets path

* fix vite base name

* add option to use hash router in config and remove appVersion

* add splash screen component

* add client config loading and error screen

* fix server picker bug

* fix reset password email input type

* make auth page small screen responsive

* fix typo in reset password screen
2024-01-21 18:20:56 +05:30
Krishan
2a1bf4a42a
Update default server list (#1571)
Remvoe 0wnz.at from list as it seems to need registeration token which we don't support.
2023-12-03 09:28:01 +05:30
Krishan
9fcd1a0d23
Update default server list in config.json (#1467)
* Remove halogen.city

* Update config.json

* Update config.json
2023-10-21 16:06:13 +05:30
Krishan
1302682900
Update server list in config.json (#947)
* remove kde.org from config

because they have disabled registrations, which is required to be listed on login.register page.

* remove halogen.city

seems dead hs now

* add converser.eu

seems to be working again

* Update config.json

* halogen.city is back
2022-11-08 20:20:17 +05:30
Ajay Bura
4427b3b291 Accept mxid on login (#187) 2022-07-09 13:58:57 +05:30
Krishan
8c1c3cd634
Fix mozilla homerserver domain (#199) (#629) 2022-06-15 12:07:14 +05:30
Ash
c08b0e654b
Add allowCustomHomeservers config option (#525)
* feat: Add allowCustomHomeservers config option

* fix: Do not lock the homeserver input when the selection is changed
2022-05-12 17:13:14 +05:30
ajbura
33b165518e Update default homeserver list
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-14 21:34:28 +05:30
Ajay Bura
364def188a Removed some servers and fixed shadow on input in safari
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-06 18:09:29 +05:30
Ajay Bura
a83aecaa69 Full UIAA implement (#93), #32, #146, #64, #102
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-06 15:15:35 +05:30