Commit graph

1555 commits

Author SHA1 Message Date
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
Manav Rathi
ccb5c48c7d
Comment 2024-05-21 11:46:49 +05:30
Manav Rathi
074d315c9f
We need both 2024-05-21 11:46:48 +05:30
Manav Rathi
b8734fcc6c
Add TODO 2024-05-21 11:46:27 +05:30
Manav Rathi
a8229f325d
Document and move 2024-05-21 11:46:27 +05:30
Manav Rathi
5768edb3a5
Thank you Laurens! 2024-05-21 11:46:27 +05:30
Manav Rathi
8bc80d2821
Merge 2024-05-21 11:46:26 +05:30
Manav Rathi
825f5ff88d
Inline 2024-05-21 11:45:56 +05:30
Manav Rathi
5aee42d59d
Remove calculation 2024-05-21 11:45:56 +05:30
Manav Rathi
c8be764f35
Remove unused rotation 2024-05-21 11:45:55 +05:30
Manav Rathi
4e2f7c95e3
[web][photos] solve TODOs (#1790)
## Description

- Removed redundant rotation parameter in cropping
- Reviewed TODO regarding dependency: no changes
- Included proper Non-Max Suppression for filtering faces, same as on
Mobile
2024-05-21 11:42:26 +05:30
laurenspriem
56cd3a9949 [web][photos] Rename cropWithRotation to cropImage 2024-05-21 11:39:46 +05:30
laurenspriem
ae5496f306 [web][photos] solve TODOs 2024-05-21 11:35:07 +05:30
Crowdin Bot
ffe54f591c New Crowdin translations by GitHub Action 2024-05-21 01:40:33 +00:00
Manav Rathi
0877d9c788
[web] Don't sync CLIP emeddings in the web app 2024-05-20 20:59:05 +05:30
Manav Rathi
cb86ab84f3
Send user agent 2024-05-20 14:28:27 +05:30
Manav Rathi
69b4fde936
Update TODOs based on discussion 2024-05-20 13:57:52 +05:30
Manav Rathi
c2edac6192
Fix error I observed in logs
> TypeError: Cannot read properties of undefined (reading 'method')
2024-05-20 11:43:10 +05:30
Manav Rathi
d7bd0f0200
[desktop] Fix ML put error 2024-05-20 11:33:43 +05:30
Manav Rathi
10934b08a8
Handle first search on app start 2024-05-20 10:39:11 +05:30
Manav Rathi
34a8bdcf47
Remove unnecessary rounding 2024-05-20 10:15:41 +05:30
Manav Rathi
20dcf3e473
Annotate 2024-05-20 10:04:33 +05:30
Manav Rathi
e97225fa10
Remove 2024-05-20 09:57:42 +05:30
Manav Rathi
a3aa3755c6
[desktop] Clarify that existing indexed people will not show
These auto complete suggestions and the list of people in the photo details are
not shown when ML search is disabled, and it is disabled for non-internal users,
so updated the description.
2024-05-20 09:45:55 +05:30
Manav Rathi
97b964fd6c
[web] Fix race condition in initialization of search worker
During app init, two worker instances would get created in some cases and two
getInstances raced because of the await. This was causing the search results to
be empty until the page is reloaded (since the files array was empty in the
worker that got assigned, but the files would get set to the other worker
instance that lost the race).
2024-05-19 20:21:37 +05:30
Manav Rathi
e5a96222b9
Use 2024-05-19 19:14:48 +05:30
Manav Rathi
5c92bc5b89
Reduce scope 2024-05-19 19:08:07 +05:30
Manav Rathi
f692638ede
Try to find a split point 2024-05-19 19:03:25 +05:30
Manav Rathi
c2e42266a6
Remove unused 2024-05-19 18:57:35 +05:30
Manav Rathi
2db8c779b4
Convert to function (in preparation of declassing) 2024-05-19 18:56:42 +05:30
Manav Rathi
2d9831bc59
Move 2024-05-19 18:15:56 +05:30
Manav Rathi
b026d861ff
Relative 2024-05-19 18:10:13 +05:30
Manav Rathi
d9ba96b928
lf 2024-05-19 17:58:37 +05:30
Manav Rathi
ffcf015e1c
lf 2024-05-19 16:58:24 +05:30
Manav Rathi
b71b6142c5
Tweak 2024-05-19 16:57:19 +05:30
Manav Rathi
568e470752
Inline 2024-05-19 16:51:07 +05:30
Manav Rathi
faf415277e
Trim 2024-05-19 16:46:01 +05:30
Manav Rathi
bfc81b1ab6
Inline 2024-05-19 16:44:19 +05:30
Manav Rathi
d99c10c15e
Inline 2024-05-19 16:41:42 +05:30
Manav Rathi
d39cf15f26
Prune 2024-05-19 16:31:43 +05:30
Manav Rathi
37abeac87b
Comment out 2024-05-19 15:36:37 +05:30
Manav Rathi
7f5c951910
Split 2024-05-19 15:34:43 +05:30
Manav Rathi
87c7999370
Reduce API surface for migration 2024-05-19 15:21:45 +05:30
Manav Rathi
ee894a668c
Reduce distance to server type 2024-05-19 13:23:08 +05:30
Manav Rathi
6b5788539b
Move out 2024-05-19 13:17:58 +05:30
Manav Rathi
9346ce3255
Prune 2024-05-19 13:12:27 +05:30
Manav Rathi
40dfeb5bca
Tweak 2024-05-19 12:57:47 +05:30
Manav Rathi
2e46f993f0
Remove duplicate alignment calculation 2024-05-19 12:50:31 +05:30
Manav Rathi
ded2402483
Rearrange 2024-05-19 12:43:24 +05:30
Manav Rathi
393a8f11dd
Rearrange 2024-05-19 12:28:54 +05:30
Manav Rathi
82485ef9a1
Tweak 2024-05-19 12:24:17 +05:30
Manav Rathi
b36d3befe0
Split 2024-05-19 12:10:53 +05:30
Manav Rathi
e6ed6b4916
Tinker 2024-05-19 12:06:59 +05:30
Manav Rathi
6427c09f52
Don't let face crop save failures abort the entire indexing 2024-05-19 11:59:03 +05:30
Manav Rathi
9abc22ade5
Remove unused 2024-05-19 11:57:13 +05:30
Manav Rathi
1466ece701
Cache the caches 2024-05-19 11:54:00 +05:30
Manav Rathi
99ed1bc9af
Show saved crops 2024-05-19 07:18:18 +05:30
Manav Rathi
3ade7b797e
Fix duplicate check 2024-05-18 20:50:35 +05:30
Manav Rathi
93c498b0f4
Remove unused context 2024-05-18 20:39:57 +05:30
Manav Rathi
6849041735
Tweak 2024-05-18 20:26:20 +05:30
Manav Rathi
a4494f5c6a
Tweak 2024-05-18 20:23:31 +05:30
Manav Rathi
97adb89494
Tweak 2024-05-18 20:18:39 +05:30
Manav Rathi
fe8ff0a12a
Remove redundant 2024-05-18 20:16:00 +05:30
Manav Rathi
8975546294
Simplify 2024-05-18 20:13:43 +05:30
Manav Rathi
acd3568dc6
Tinker 2024-05-18 20:06:29 +05:30
Manav Rathi
3b6760c65e
Remove unused blazeflaze landmarks 2024-05-18 19:55:51 +05:30
Manav Rathi
6304d90b52
Inline 2024-05-18 19:50:13 +05:30
Manav Rathi
410b6e7d3e
Tinker 2024-05-18 19:41:34 +05:30
Manav Rathi
a161203d0b
Inline 2024-05-18 19:32:34 +05:30
Manav Rathi
c8623bab12
Cleanup 2024-05-18 17:42:27 +05:30
Manav Rathi
aa76448747
Shorten 2024-05-18 17:32:42 +05:30
Manav Rathi
139370c997
Shorten 2024-05-18 17:31:39 +05:30
Manav Rathi
4d5ba47be4
Sugar 2024-05-18 17:27:41 +05:30
Manav Rathi
3f18fb84a1
Rearrange 2024-05-18 17:20:42 +05:30
Manav Rathi
39a75430a5
Inline 2024-05-18 17:19:29 +05:30
Manav Rathi
c557e4a7a5
Inline 2024-05-18 16:56:18 +05:30