Commit graph

1555 commits

Author SHA1 Message Date
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
Manav Rathi
a2e7231c37
Prune 2024-05-18 16:52:54 +05:30
Manav Rathi
9ba028b79d
Isolate 2024-05-18 16:52:25 +05:30
Manav Rathi
8f43c3d712
Simplify 2024-05-18 16:19:55 +05:30
Manav Rathi
76cfae12a5
Point of use 2024-05-18 16:02:27 +05:30
Manav Rathi
b29436e160
Prune 2024-05-18 16:00:07 +05:30
Manav Rathi
bcbd805404
Inline 2024-05-18 15:58:41 +05:30
Manav Rathi
433d0e81fc
Prune 2024-05-18 15:57:36 +05:30
Manav Rathi
bef7574c29
Trim 2024-05-18 15:53:10 +05:30
Manav Rathi
772215eddc
Rearrange 2024-05-18 10:59:18 +05:30
Manav Rathi
e13f59606f
Inline 2024-05-18 10:56:19 +05:30
Manav Rathi
4840214d89
Rearrange 2024-05-18 10:51:31 +05:30
Manav Rathi
b3b79c2b90
Rearrange 2024-05-18 10:48:09 +05:30
Manav Rathi
f25b4b37d0
Site of use 2024-05-18 10:46:34 +05:30
Manav Rathi
8a5bffc3e9
Remove unused 2024-05-18 10:43:44 +05:30
Manav Rathi
2791eeb270
Remove unused 2024-05-18 10:42:39 +05:30
Manav Rathi
bd3bdf64c2
Tweak 2024-05-18 10:40:49 +05:30
Manav Rathi
56aaad62be
Tweak 2024-05-18 10:33:32 +05:30
Manav Rathi
88f9186be0
Split 2024-05-18 10:25:35 +05:30
Manav Rathi
9fa828e384
Restrict 2024-05-18 10:23:50 +05:30
Manav Rathi
42d767cac3
Shorten 2024-05-18 10:18:09 +05:30
Manav Rathi
17d78f23bb
Shorten 2024-05-18 10:14:15 +05:30
Manav Rathi
246d44648b
Reify 2024-05-18 10:11:16 +05:30
Manav Rathi
33d3428222
Move 2024-05-18 10:07:39 +05:30
Manav Rathi
295717ac2f
Simplify 2024-05-18 09:59:53 +05:30
Manav Rathi
9808dce44d
Pretty 2024-05-18 09:56:20 +05:30
Manav Rathi
fb81a59d4b
Site of use 2024-05-18 09:51:42 +05:30
Manav Rathi
0188749692
Prune 2024-05-18 09:21:17 +05:30
Manav Rathi
46ad045ed4
Merge 2024-05-18 09:19:14 +05:30
Manav Rathi
58193c0d7f
Remove unused exports 2024-05-18 09:18:32 +05:30
Manav Rathi
87f60149e1
Remove DB dependency from indexer 2024-05-18 09:16:53 +05:30
Manav Rathi
ae70eb33dd
Inline 2024-05-18 09:13:48 +05:30
Manav Rathi
e224ad19d3
Separate 2024-05-18 09:12:49 +05:30
Manav Rathi
f9346c56e9
Inline 2024-05-18 09:02:59 +05:30
Manav Rathi
e15460684d
Inline 2024-05-18 08:51:57 +05:30
Manav Rathi
93cdf73a66
Inline 2024-05-18 08:50:48 +05:30
Manav Rathi
eaadc54184
Inline 2024-05-18 08:48:37 +05:30
Manav Rathi
5eb21fafbe
Extract indexer 2024-05-18 08:43:01 +05:30
Manav Rathi
8edb506b29
Prune 2024-05-18 08:07:49 +05:30
Manav Rathi
a7e6b1bf5b
Prune 2024-05-18 08:04:09 +05:30
Manav Rathi
0109602168
Inline 2024-05-18 08:03:17 +05:30
Manav Rathi
25ced9ce9d
Prune 2024-05-18 08:00:42 +05:30
Manav Rathi
fcd4459e6d
Move currently unused cluster stuff out of the way 2024-05-18 07:49:15 +05:30
Manav Rathi
295f4a0c2a
Essence 2024-05-18 07:27:58 +05:30
Manav Rathi
512766ebed
Essence 2024-05-18 07:21:43 +05:30
Manav Rathi
d4449d0f0b
Remove noise 2024-05-18 07:10:24 +05:30
Manav Rathi
85562806a3
Prune 2024-05-18 07:07:48 +05:30
Manav Rathi
a18566ff86
Remove error message persistence 2024-05-18 07:05:47 +05:30
Manav Rathi
5c7361262d
Prune 2024-05-18 07:00:46 +05:30
Manav Rathi
103d907781
[web] Fail to start if the port is taken
This prevents cases say where the web app is running in a terminal, but when we
try to run the desktop app it silently switches to a different and then failing
to load in a manner that is harder to debug compared to if it'd failed outright.

Ref:
- https://github.com/vercel/next.js/discussions/23932#discussioncomment-599284
2024-05-17 14:35:10 +05:30
Crowdin Bot
3d9aa05b07 New Crowdin translations by GitHub Action 2024-05-17 01:41:51 +00:00
Manav Rathi
20a7e47cde
lint fix 2024-05-16 21:43:41 +05:30
Manav Rathi
ff5fbf3984
Update README 2024-05-16 21:42:03 +05:30
Manav Rathi
1fbaa1e85d
Link 2024-05-16 21:31:01 +05:30
Manav Rathi
23138800e0
[web] Add ubuntu instructions to the getting started docs 2024-05-16 21:28:34 +05:30
Manav Rathi
9fc07b592b
[desktop] Prevent accidental dismissal of auto update dialog 2024-05-16 20:07:11 +05:30
Manav Rathi
25435dd693
[web] Disable clustering 2024-05-16 19:31:05 +05:30
Manav Rathi
8c2654e30a
[web] Make corepack happy
Latest Node 20 (20.13.1) ships with an updated corepack which seems to insist
putting a package manager field in package.json
(https://github.com/nodejs/corepack/pull/413).

Let it have its way, hoping that this doesn't break someone's workflow
(depending on how they installed yarn without corepack or if they have a node
version that doesn't have corepack).
2024-05-16 15:43:02 +05:30
Manav Rathi
33272776d1
lf 2024-05-16 15:07:15 +05:30
Manav Rathi
7156a42d92
Unused 2024-05-16 15:06:02 +05:30
Manav Rathi
3603ca3d9b
Reintroduce in worker 2024-05-16 14:52:36 +05:30
Manav Rathi
f7099c9bfe
Prune 2024-05-16 14:46:42 +05:30
Manav Rathi
2452467796
Bypass 2024-05-16 14:42:15 +05:30
Manav Rathi
23087ee8dc
Shuffle 2024-05-16 14:37:52 +05:30
Manav Rathi
fca668b8e6
Inline 2024-05-16 14:34:24 +05:30
Manav Rathi
865ddc0fa9
Inline 2024-05-16 14:30:43 +05:30
Manav Rathi
fb53ae7163
Unwrap 2024-05-16 14:27:28 +05:30
Manav Rathi
a293141444
Remove unused contexty 2024-05-16 14:21:38 +05:30
Manav Rathi
b1d9da663e
Prune 2024-05-16 14:19:57 +05:30
Manav Rathi
054b4c7cfb
Unclass indexer 2024-05-16 14:17:20 +05:30
Manav Rathi
3db91d2034
Cleanup 2024-05-16 13:52:45 +05:30
Manav Rathi
84c737ddd3
Unclass 2024-05-16 13:51:15 +05:30
Manav Rathi
43a3df5bbf
embeddings 2024-05-16 13:43:18 +05:30
Manav Rathi
73946d9b8e
Tinker 2024-05-16 13:36:03 +05:30
Manav Rathi
48cc9a08b6
Rename 2024-05-16 13:29:45 +05:30
Manav Rathi
839b4c04a9
Unclass 2024-05-16 13:29:27 +05:30
Manav Rathi
36af1cfacd
Move 2024-05-16 13:19:33 +05:30
Manav Rathi
d8f7078418
Move 2024-05-16 13:17:27 +05:30
Manav Rathi
569808c291
Rearrange 2024-05-16 13:16:20 +05:30
Manav Rathi
7160ae700f
Inline 2024-05-16 13:07:55 +05:30
Manav Rathi
db05afb9ff
Inline and move 2024-05-16 13:03:00 +05:30
Manav Rathi
fca2d460f9
Disable clustering 2024-05-16 12:55:05 +05:30
Manav Rathi
adda781dcc
Fix initial run 2024-05-16 12:54:15 +05:30
Manav Rathi
ad684c46c3
Remove old file handling 2024-05-16 12:43:58 +05:30
Manav Rathi
8a071fd45b
Inline 2024-05-16 12:24:38 +05:30
Manav Rathi
79aea6a979
Inline 2024-05-16 12:24:00 +05:30
Manav Rathi
c48042546e
Inline and move 2024-05-16 12:15:11 +05:30
Manav Rathi
2a35b0ec9c
Inline clustering 2024-05-16 12:07:11 +05:30
Manav Rathi
fbebbd3583
Clean alignment 2024-05-16 11:44:24 +05:30
Manav Rathi
19f06e6494
Rename 2024-05-16 11:33:03 +05:30
Manav Rathi
24c33fceb7
Remove class 2024-05-16 11:28:55 +05:30
Manav Rathi
c127b7fc7e
doc 2024-05-16 11:23:48 +05:30
Manav Rathi
0993d81b57
Remove unused clustering methods 2024-05-16 11:15:10 +05:30
Manav Rathi
dfd91beaff
Inline 2024-05-16 11:13:34 +05:30
Manav Rathi
cfbd7806c8
Inline 2024-05-16 11:10:41 +05:30
Manav Rathi
2c0e8c76c3
From discussion 2024-05-16 11:09:02 +05:30
Manav Rathi
1856e344db
Remove unused clustering method 2024-05-16 11:03:03 +05:30
Manav Rathi
6ce956c5bb
Inline 2024-05-16 10:52:00 +05:30
Manav Rathi
7d122f825c
Inline 2024-05-16 10:47:15 +05:30
Manav Rathi
095e8c7091
Inline 2024-05-16 10:44:36 +05:30
Manav Rathi
dd38232836
Subsume 2024-05-16 10:41:05 +05:30