Commit graph

27601 commits

Author SHA1 Message Date
Neeraj Gupta e331443691 [mob] Enable ml run on iOS 2024-05-17 17:47:10 +05:30
Neeraj Gupta 285b1f9527 Merge branch 'main' into mobile_face 2024-05-17 17:34:18 +05:30
Prateek Sunal 19874e2186 chore: bump version to 301 2024-05-17 17:27:34 +05:30
Prateek Sunal 718b78adf0 chore(auth): update Podfile 2024-05-17 17:27:34 +05:30
Neeraj Gupta fd63597ef3
[auth] iOS build changes (#1758)
## Description

## Tests
2024-05-17 17:27:11 +05:30
Neeraj Gupta 38ab7ae157 [auth] iOS build changes 2024-05-17 17:26:42 +05:30
laurenspriem cd9db4d10f [mob][photos] Revert to SearchService just for now 2024-05-17 17:21:48 +05:30
laurenspriem 460025ce4a [mob][photos] Higher fetch limit 2024-05-17 17:16:49 +05:30
Neeraj Gupta d00a032b17
[auth] New translations (#1751)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-05-17 16:50:47 +05:30
laurenspriem b0fe3946ef [mob][photos] On empty people section go to ML status page 2024-05-17 16:19:38 +05:30
laurenspriem 8a2e2a8f80 [mob][photos] Copy change 2024-05-17 16:19:07 +05:30
laurenspriem c8efc5fca0 [mob][photos] Debug DB call timings 2024-05-17 15:52:08 +05:30
Neeraj Gupta 401cf92695
Make embedding bucket configurable (#1726)
## Description

## Tests
- [x] New ml data is doing to new bucket
- [x] For existing embedding, fall back logic is working as expected, we
are returning the object immediately and copying the object to new
bucket in an async manner.
- [x] Verified that the dc values were getting updated correctly on copy
or insert.
- [x] Verified that on deletion, we are deleting files from all dcs
where the derived file is present.
2024-05-17 15:45:41 +05:30
laurenspriem 992ca1c4de [mob][photos] Rename parallelism variables for clarity 2024-05-17 15:42:38 +05:30
Neeraj Gupta 89b01f0a39 Query DB to get fallback DC 2024-05-17 15:40:09 +05:30
laurenspriem baf24aca99 [mob][photos] Faces update status 2024-05-17 15:38:33 +05:30
Manav Rathi b7bdd89708
[desktop] Add note about xdg-open bug on Ubuntu (#1756)
Was able to reproduce the issue in Ubuntu 24.04 LTS

Ref: https://github.com/electron/electron/issues/31485
2024-05-17 15:27:08 +05:30
laurenspriem 76a10fb84c [mob][photos] Index hidden for faces last 2024-05-17 15:26:12 +05:30
Manav Rathi b420eece38
[desktop] Add note about xdg-open bug on Ubuntu
Ref: https://github.com/electron/electron/issues/31485
2024-05-17 15:24:42 +05:30
Neeraj Gupta e33d85412c Fix query for add new DC 2024-05-17 15:08:57 +05:30
Neeraj Gupta da155464fa Remove updated_at trigger for embeddings table 2024-05-17 15:08:48 +05:30
laurenspriem 1f78f71d0d [mob][photos] Include hidden for indexable count 2024-05-17 15:08:06 +05:30
laurenspriem 88b75c1191 [mob][photos] Migrate some db calls to async 2024-05-17 15:05:34 +05:30
laurenspriem 372fdd8a05 [mob][photos] Partly revert previous commit 2024-05-17 15:01:48 +05:30
Manav Rathi 32b12dbc09
[web] Fail to start if the port is taken (#1755)
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:44:15 +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
Manav Rathi 61683713e9
[desktop] RC (#1754) 2024-05-17 14:24:37 +05:30
Manav Rathi af7c2edf98
Remove debugging lines 2024-05-17 14:21:37 +05:30
laurenspriem 63618f00b2 [mob][photos] Clip don't index hidden files 2024-05-17 14:10:05 +05:30
laurenspriem 41edee7d04 [mob][photos] Update people section after clustering 2024-05-17 12:30:11 +05:30
laurenspriem 9e8a127d4a [mob][photos] Only cluster when indexing is nearly done 2024-05-17 12:28:57 +05:30
Manav Rathi 58d8f131da
[desktop] Add a CORS workaround for uploads to arbitrary testing buckets (#1753)
This workaround already existed in older versions (See
`addAllowOriginHeader`), I had recently removed it, now putting it back.
2024-05-17 11:58:31 +05:30
Manav Rathi f61b5118ba
Add a CORS workaround for uploads to arbitrary testing buckets
Workaround for the following error when trying to upload from the desktop app to a staging bucket

> ente://app/gallery:1 Access to XMLHttpRequest at
  'https://xxx-staging-xxx.s3.xxx.backblazeb2.com/...' from origin 'ente://app'
  has been blocked by CORS policy: Response to preflight request doesn't pass
  access control check: The 'Access-Control-Allow-Origin' header has a value
  'null' that is not equal to the supplied origin.
2024-05-17 11:56:10 +05:30
Neeraj Gupta d847d0601b
[auth] Bump version to v3.0.0 (#1752)
## Description

## Tests
2024-05-17 11:48:08 +05:30
Neeraj Gupta e7607160a0 [auth] Bump version to v3.0.0 2024-05-17 11:46:14 +05:30
laurenspriem 1299e12d92 [mob][photos] Cleanup face debug options 2024-05-17 11:27:42 +05:30
Neeraj Gupta fd50461214 Add dc in the log ctx 2024-05-17 10:52:00 +05:30
laurenspriem a8da045a32 [mob][photos] Inline 2024-05-17 10:33:19 +05:30
laurenspriem d7e7aaa26f [mob][photos] Small refactor 2024-05-17 10:32:37 +05:30
laurenspriem 1f82599fb6 [mob][photos] use spinner 2024-05-17 10:21:33 +05:30
laurenspriem 345eed5209 [mob][photos] Remove old TODOs 2024-05-17 10:17:01 +05:30
Manav Rathi 4160be30b9
Fix tag 2024-05-17 10:14:29 +05:30
laurenspriem 725e628537 [mob][photos] Show clustering progress 2024-05-17 10:09:27 +05:30
Manav Rathi 4c3d549bbf
[web] New translations (#1750)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-05-17 09:35:10 +05:30
Crowdin Bot 22cd8df340 New Crowdin translations by GitHub Action 2024-05-17 02:05:34 +00:00
Crowdin Bot 3d9aa05b07 New Crowdin translations by GitHub Action 2024-05-17 01:41:51 +00:00
Prateek Sunal 2ab7000af1
[FIX] Auth Macos build (#1746)
## Description

Updated Podfile

## Tests
2024-05-16 22:55:19 +05:30
Manav Rathi 50c1f3301e
[web] Add Ubuntu section in getting started docs (#1747)
The `npm install -g corepack` was needed on Ubuntu 24 (See
https://github.com/yarnpkg/berry/discussions/5060)
2024-05-16 21:47:11 +05:30
Manav Rathi 20a7e47cde
lint fix 2024-05-16 21:43:41 +05:30
Manav Rathi ca2f124304
yarn pretty 2024-05-16 21:42:19 +05:30