Commit graph

1555 commits

Author SHA1 Message Date
Manav Rathi 2e93281368
tsc 2024-05-25 16:51:58 +05:30
Manav Rathi c18be32c09
Rearrange 2024-05-25 16:48:13 +05:30
Manav Rathi 650163c341
id is always sent be server 2024-05-25 16:40:28 +05:30
Manav Rathi d101208baa
tsc 2024-05-25 16:34:10 +05:30
Manav Rathi 76f7215269
Filter 2024-05-25 16:31:42 +05:30
Manav Rathi 621c482529
tsc 2024-05-25 16:27:46 +05:30
Manav Rathi 314c8f69f2
Comment out 2024-05-25 16:24:14 +05:30
Manav Rathi 1f45cf00c7
tsc 2024-05-25 16:20:47 +05:30
Manav Rathi e0e80ee91f
tsc 2024-05-25 16:08:50 +05:30
Manav Rathi 225278adb7
tsc 2024-05-25 16:06:24 +05:30
Manav Rathi 8d30bfbefa
tsc 2024-05-25 15:43:08 +05:30
Manav Rathi ad96f679c9
tsc 2024-05-25 15:39:20 +05:30
Manav Rathi 4b896d3aab
tsc 2024-05-25 15:37:05 +05:30
Manav Rathi 533e6d06e7
tsc 2024-05-25 15:32:56 +05:30
Manav Rathi e88b5c99ba
tsc 2024-05-25 15:29:01 +05:30
Manav Rathi 19e08cf803
tsc 2024-05-25 10:15:43 +05:30
Manav Rathi 08073b927c
tsc 2024-05-25 10:12:40 +05:30
Manav Rathi 711a44412d
tsc 2024-05-25 10:08:14 +05:30
Manav Rathi c9f94f062b
tsc 2024-05-25 10:04:54 +05:30
Manav Rathi c8205b8475
tsc
The only place I can currently find where this code would run is on the delete
account dialog, where props.color is being passed.
2024-05-25 10:02:09 +05:30
Manav Rathi b0d3fcfe79
tsc 2024-05-25 09:38:45 +05:30
Manav Rathi 11a354c560
tsc 2024-05-25 09:37:07 +05:30
Manav Rathi 823f739c32
tsc 2024-05-25 09:31:09 +05:30
Manav Rathi 491f38b120
tsc 2024-05-25 07:44:16 +05:30
Manav Rathi 79c0880c9c
tsc 2024-05-25 07:40:38 +05:30
Manav Rathi 834b8f78b7
opts 2024-05-25 07:39:24 +05:30
Manav Rathi cbf0336cd0
More 2024-05-25 07:37:53 +05:30
Manav Rathi 431d629641
Start tackling strict null 2024-05-25 07:35:07 +05:30
Manav Rathi 94c1cc011b
lf 2024-05-25 07:26:20 +05:30
Manav Rathi b26b0759d6
tsc 2024-05-25 07:10:47 +05:30
Manav Rathi d51fb99fd3
type for tsc 2024-05-25 06:34:13 +05:30
Manav Rathi 0379216e05
Remove sx prop (in prep for typing) 2024-05-25 06:30:21 +05:30
Manav Rathi ccd486f659
tsc 2024-05-25 06:22:11 +05:30
Manav Rathi ce3ab55069
tsc 2024-05-25 06:21:02 +05:30
Manav Rathi 34effef810
tsc 2024-05-25 06:19:01 +05:30
Manav Rathi 56aceb589d
tsc 2024-05-25 06:06:29 +05:30
Manav Rathi 92a2506f8a
Reduce prop scope 2024-05-25 06:02:47 +05:30
Manav Rathi e23bc2602f
Reorder 2024-05-25 06:01:06 +05:30
Manav Rathi 69beecb7bb
tsc
Omit<...,"inherit"> doesn't resolve

    Element implicitly has an 'any' type because expression of type 'OverridableStringUnion<"error" | "inherit" | "secondary" | "primary" | "info" | "success" | "warning", ButtonPropsColorOverrides>' can't be used to index type 'Palette'.
      Property 'inherit' does not exist on type 'Palette'.
2024-05-25 05:57:33 +05:30
Manav Rathi 880b13f436
Fix 2024-05-24 20:48:07 +05:30
Manav Rathi 9061caac99
Ditto 2024-05-24 20:43:32 +05:30
Manav Rathi 11cc8e46b7
Session storage shouldn't be undefined in newer browsers
Tried FF incognito
2024-05-24 20:41:11 +05:30
Manav Rathi 54820689c2
Towards removing implicit anys 2024-05-24 20:16:55 +05:30
Manav Rathi acebb86fec
Towards strict 2024-05-24 19:49:11 +05:30
Manav Rathi 367e09599d
Enable more 2024-05-24 19:43:10 +05:30
Manav Rathi b9fe509567
Enable noImplicitReturns 2024-05-24 19:41:37 +05:30
Manav Rathi 7340443b86
lf 2024-05-24 18:57:32 +05:30
Manav Rathi 2cd1dfd720
Chip away 2024-05-24 18:54:16 +05:30
Manav Rathi 3b8c48e92d
Create a next specific base
The include still needs to be specified in the importing tsconfig otherwise the
"." is resolved relative to the @/build-config.
2024-05-24 18:17:59 +05:30
Manav Rathi 74bb169f0d
Equivalent to "**/*.ts", "**/*.tsx", "**/*.d.ts"
From the docs: https://www.typescriptlang.org/tsconfig/#include

> If the last path segment in a pattern does not contain a file extension or
  wildcard character, then it is treated as a directory, and files with
  supported extensions inside that directory are included (e.g. .ts, .tsx, and
  d.ts by default).
2024-05-24 17:54:05 +05:30
Manav Rathi 54e33d3f42
Create a WIP replacement 2024-05-24 17:29:06 +05:30
Manav Rathi 0adb94f405
Link to @/build-config 2024-05-24 17:17:55 +05:30
Manav Rathi 7d634aa703
Add a note 2024-05-24 17:16:16 +05:30
Manav Rathi 057d11f39b
Fix typo 2024-05-24 14:38:49 +05:30
Manav Rathi c9de6d7a82
Don't advance the bar for HOTPs 2024-05-24 14:35:59 +05:30
Manav Rathi 698ac9f29e
Use HOTP counter 2024-05-24 14:30:05 +05:30
Manav Rathi bd2444d353
[web] Fix auth ticker 2024-05-24 14:11:56 +05:30
Manav Rathi fffe96a4c7
Tweak 2024-05-24 13:49:21 +05:30
Manav Rathi 0ec75c2435
Parse the type 2024-05-24 13:47:11 +05:30
Manav Rathi cb78c848d6
Impl 2024-05-24 13:36:55 +05:30
Manav Rathi 6594db9393
Encode counter 2024-05-24 13:26:16 +05:30
Manav Rathi f6c40ee67d
fromBase32 is exposed in the library API 2024-05-24 13:18:42 +05:30
Manav Rathi 36aa33ed5a
Move to separate file 2024-05-24 13:08:41 +05:30
Manav Rathi 370b28f9e4
Type 2024-05-24 12:39:06 +05:30
Manav Rathi 05e737cb11
Add steam as a type 2024-05-24 12:32:58 +05:30
Manav Rathi 1ce90839fe
Remove type from auth UI 2024-05-24 12:18:28 +05:30
Manav Rathi 697946f415
Scaffold 2024-05-24 12:12:06 +05:30
Manav Rathi dc38a8bc9f
Account for node/browser discrepancy 2024-05-24 10:51:19 +05:30
Manav Rathi fec040e528
Tweak error report 2024-05-24 10:20:58 +05:30
Manav Rathi eaf8b9cebc
Also include same workaround as mobile app 2024-05-24 10:10:59 +05:30
Manav Rathi 2ce9212457
We encodeURIComponent the pathname 2024-05-24 09:58:50 +05:30
Manav Rathi 59ed89cba1
.get returns null when the property is not present 2024-05-24 09:49:20 +05:30
Manav Rathi 623b71715d
Wrap 2024-05-24 09:42:23 +05:30
Manav Rathi bfe8fd83ac
Take 2 2024-05-24 09:29:54 +05:30
Manav Rathi 0a01cac57b
Take 1 (incorrect) 2024-05-24 09:27:28 +05:30
Manav Rathi d814b6cdf0
Use standard URL parsing - WIP 1 2024-05-23 21:01:18 +05:30
Manav Rathi 369a5a5233
lf 2024-05-23 20:19:20 +05:30
Manav Rathi 9bae31d748
Parse 2024-05-23 19:38:23 +05:30
Manav Rathi 11453b327f
Improve docs with hints from otpauth
https://github.com/hectorm/otpauth
2024-05-23 19:34:53 +05:30
Manav Rathi 7780c1c7b7
Move to the correct place 2024-05-23 19:29:56 +05:30
Manav Rathi 0f1c98d0d0
Reword 2024-05-23 19:22:45 +05:30
Manav Rathi 48fcbdc98c
Reword 2024-05-23 19:10:42 +05:30
Manav Rathi 90d0196d47
Extract logic 2024-05-23 19:06:06 +05:30
Manav Rathi 69cea6786d
Redistr 2024-05-23 18:54:55 +05:30
Manav Rathi b402662c09
[desktop] Allow refreshing when inside an album
Steps to reproduce on Linux:

- Open an album
- Open a photo
- View > Reload

Causes a 404 page to be displayed.
2024-05-23 16:13:21 +05:30
Manav Rathi 5e2261f793
Unclass 2024-05-23 13:36:44 +05:30
Manav Rathi 206be5c16f
Document 2024-05-23 13:19:05 +05:30
Manav Rathi 41c87efc5a
Use the union 2024-05-23 13:07:33 +05:30
Manav Rathi 171af35d85
Reword 2024-05-23 13:06:27 +05:30
Manav Rathi 99f47dc1ae
Move into the function 2024-05-23 13:03:31 +05:30
Manav Rathi 26436f116f
Nonopt 2024-05-23 12:58:47 +05:30
Manav Rathi 14655e5633
Fix 2024-05-23 12:47:29 +05:30
Manav Rathi 51dc8d1de6
Rearrange 2024-05-23 12:40:35 +05:30
Manav Rathi 51568e6c56
non optional 2024-05-23 12:20:04 +05:30
Manav Rathi d2743f4121
Unclass 2024-05-23 12:16:02 +05:30
Manav Rathi 2504046e26
Move 2024-05-23 12:11:11 +05:30
Manav Rathi a104f36561
Inline 2024-05-23 12:06:54 +05:30
Manav Rathi b26afdcf2e
Inline 2024-05-23 11:43:35 +05:30
Manav Rathi bf707ae02d
Inline 2024-05-23 11:37:55 +05:30
Manav Rathi 68648d2f6c
Remove nesting 2024-05-23 11:35:44 +05:30