Commit Graph

34 Commits

Author SHA1 Message Date
David Baker
017ec13981 Disable typescript warnings 2022-06-01 16:05:58 +01:00
David Baker
0411e1cac8 Fix app when built in production mode
The recent typescripting appears to have caused the typescript
compiler to get confused about dependency references and start
refwrencing things like CRYPTO_ENABLED in the js-sdk before it's
defined them.

This avoids using things from the (javascript) browser-index import
and instead pulls everything in from the typescript files, then
fixes the resulting type failures, (in some cases with hacks).
2022-06-01 15:55:02 +01:00
David Baker
7ee2f630db Add more typers to useInteractiveLogin
otherwise apparently Typescript can't trace the MatrixClient type
through.
2022-06-01 09:59:59 +01:00
Robin Townsend
26251e1e60 Don't abuse useMemo for creating a MatrixClient 2022-05-31 10:33:10 -04:00
Robin Townsend
e6960a1e15 TypeScriptify RegisterPage 2022-05-27 16:55:50 -04:00
Robin Townsend
c057713004 TypeScriptify useInteractiveRegistration 2022-05-27 16:55:50 -04:00
Robin Townsend
35e2135e3c TypeScriptify useInteractiveLogin 2022-05-27 14:52:32 -04:00
Robin Townsend
af74228f8e TypeScriptify useRecaptcha 2022-05-27 10:37:27 -04:00
Robin Townsend
9a44790450 TypeScriptify LoginPage 2022-05-27 10:37:00 -04:00
Robin Townsend
59938cd46b Handle rate limits when upgrading from a guest account 2022-05-23 10:48:02 -04:00
Robin Townsend
8cd45b64a1 Fix links
The href attribute was never actually being set.
2022-05-17 18:30:59 -04:00
Robin Townsend
1e5539f165 Don't leave UnauthenticatedView if there was a room creation error 2022-05-17 12:38:01 -04:00
David Baker
055fbe786d Merge remote-tracking branch 'origin/main' into dbkr/typescript_round_1 2022-05-06 21:41:14 +01:00
David Baker
9ba12da544
Merge branch 'main' into dbkr/fix_lint_errors 2022-05-06 21:31:35 +01:00
David Baker
4488947eed Initial round of typescripting 2022-05-06 11:32:09 +01:00
David Baker
bf8f164f55 Fix lint errors
Various hooks either missing dependencies or with extra ones.

Two remaining errors are from the recapcta code where I can't
work out if the extra dependency is intentional or not.
2022-05-05 13:15:07 +01:00
David Baker
85e3f3761a Add all the license headers 2022-05-04 17:09:48 +01:00
Robert Long
ae50d57814 Set display name after interactive registration 2022-03-02 19:12:18 -08:00
Robert Long
0f6b8f9bb1 New incremental auth 2022-02-15 12:46:58 -08:00
Robert Long
a33d1364b6 Fix null recaptcha target 2022-02-03 14:18:34 -08:00
Robert Long
35c11660a3 Add configurable / dynamic page title 2022-02-02 15:02:40 -08:00
Robert Long
089c891a55 Fix TOS copy 2022-02-02 14:31:11 -08:00
Robert Long
c71f37a8f8 Fix registration display name 2022-01-18 13:41:14 -08:00
Robert Long
d6567658c0 Remove recaptcha debug logging 2022-01-18 11:53:45 -08:00
Robert Long
8df13ee7c8 Sitekey change should update execute method 2022-01-18 11:49:59 -08:00
Robert Long
36d59c98c0 Add recaptcha debugging 2022-01-18 11:47:10 -08:00
Robert Long
f6b3d6830e Fix logo height in chrome 2022-01-14 14:17:51 -08:00
Robert Long
096460ecfe Make recaptcha optional 2022-01-07 11:31:53 -08:00
Robert Long
b3b73e9874 Await changePassword on register page 2022-01-06 15:27:05 -08:00
Robert Long
4efcc53628 fix style undefined 2022-01-06 14:16:31 -08:00
Robert Long
3cb59aebf5 Move inputs and profile components 2022-01-05 17:27:01 -08:00
Robert Long
546ab06d60 Refactor matrix hooks 2022-01-05 17:19:03 -08:00
Robert Long
0adc4b3d66 Clean up old auth logic 2022-01-05 16:47:53 -08:00
Robert Long
8a452d80e2 Refactor auth pages 2022-01-05 16:34:01 -08:00