Commit graph

1446 commits

Author SHA1 Message Date
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