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
Manav Rathi
3b89471b87
Use a standard converter
2024-05-23 10:17:11 +05:30
Manav Rathi
8a2117f9d4
Chunk
2024-05-23 10:09:47 +05:30
Manav Rathi
132ddd3648
Rework the video chunk decryptor stream logic
...
When running on Ubuntu 24 arm64 in the desktop app (didn't test on web0, trying
to open certain videos fails with:
> [rndr] [error] Failed to process file stream: TypeError: Failed to execute
'enqueue' on 'ReadableStreamDefaultController': Cannot enqueue a chunk into a
closed readable stream
While not specifically fixing that issue, I'm first rewriting this to use the
more normal (recommended?) approach of implementing a pull instead of doing
everything in start. Maybe that fixes the issue, otherwise at least one less
ghost for me to worry about.
2024-05-23 09:51:29 +05:30
Manav Rathi
a086f36433
Fix type
2024-05-21 19:38:42 +05:30
Manav Rathi
4cb49c0b4a
Fix warning about required key
2024-05-21 19:31:52 +05:30
Manav Rathi
334587474f
Inline
2024-05-21 19:20:50 +05:30
Manav Rathi
0d52737c49
Inline
2024-05-21 19:18:54 +05:30
Manav Rathi
d4dc080231
Inline
2024-05-21 19:14:50 +05:30
Manav Rathi
f8d35c3dcf
Inline
2024-05-21 19:10:29 +05:30
Manav Rathi
c20b9fa5fa
Rename
2024-05-21 19:07:04 +05:30
Manav Rathi
6a8fa727a9
Inline
2024-05-21 19:06:30 +05:30
Manav Rathi
7712a8bd10
Inline
2024-05-21 18:45:53 +05:30
Manav Rathi
4feb8fd1f1
Inline
2024-05-21 18:44:36 +05:30
Manav Rathi
994876911a
Inline
2024-05-21 18:42:42 +05:30
Manav Rathi
d6398bd8fc
Inline
2024-05-21 18:39:42 +05:30
Manav Rathi
43064b617a
Inline
2024-05-21 18:36:26 +05:30
Manav Rathi
789783a370
Inline
2024-05-21 18:34:06 +05:30
Manav Rathi
9db1197c19
Inline
2024-05-21 18:33:08 +05:30
Manav Rathi
56a71c2cd8
Inline
2024-05-21 18:31:55 +05:30
Manav Rathi
9e26b81adf
We don't need them
2024-05-21 16:03:47 +05:30
Manav Rathi
94cc26aead
xMin, yMin to x, y in the remote format
2024-05-21 15:51:55 +05:30
Manav Rathi
2d5894c5d6
Convert point and box to regular objects
2024-05-21 14:28:33 +05:30
Manav Rathi
1a376a1a9b
Update deps
2024-05-21 11:52:01 +05:30
Manav Rathi
6e82964bf2
Post rebase
2024-05-21 11:50:13 +05:30
Manav Rathi
fdd5ffd45c
Rename
2024-05-21 11:48:07 +05:30