Commit graph

27774 commits

Author SHA1 Message Date
laurenspriem
4bafdf8922 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-05-02 17:12:29 +05:30
laurenspriem
6ea8b972bd [mob][photos] Put serialization for suggestions in computer 2024-05-02 17:01:10 +05:30
laurenspriem
793fc3aa46 [mob][photos] Cluster suggestion calculation in computer 2024-05-02 16:08:19 +05:30
Neeraj Gupta
6b70c721d4 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-05-02 14:22:31 +05:30
Neeraj Gupta
88bdb06d05 [mob] Keep original files order intact 2024-05-02 14:22:24 +05:30
Manav Rathi
fa182b951d
[desktop] Resurrect build
Untested
2024-05-02 12:55:08 +05:30
laurenspriem
2e17e2b78d [mob][photos] Trailing comma 2024-05-02 12:38:05 +05:30
laurenspriem
c6129c32da Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-05-02 12:36:43 +05:30
laurenspriem
d650bac501 [mob][photos] Small changes in suggestion calculation 2024-05-02 12:35:52 +05:30
Neeraj Gupta
745daf39f7 [mob] Sort suggestion by creationTime to fix gallery grouping bug 2024-05-02 12:14:08 +05:30
Manav Rathi
85522a946a
[desktop] Short-circuit ML (#1580)
This is so that we can make a release. Post-release, we'll come back to
this and give it the finishing touches and re-enable it. This avoids
doing a re-indexing for actual users in case we need to change stuff
during the finishing touches.
2024-05-02 12:07:09 +05:30
Neeraj Gupta
9ecd406e56 [mob]Fix refresh bug in all sections for people 2024-05-02 11:56:20 +05:30
laurenspriem
74ae4ea74f [mob][photos] Fix regression in suggestion calculation 2024-05-02 11:18:06 +05:30
Manav Rathi
68721b8168
Pick from the correct table 2024-05-02 11:11:24 +05:30
Manav Rathi
8327c2b881
Remove unused ElectronFile 2024-05-02 10:23:56 +05:30
Vishnu Mohandas
ab471dde96
Replace Isar with SQLite for storing CLIP embeddings (#1575)
## Description
- This PR removes the dependency on Isar, and sets up a SQLite DB for
storing embeddings.
- The existing DB is deleted, and the new DB is populated by pulling
embeddings from the server. Local migration was possible, but that would
have required us to keep Isar as a dependency for an unknown period of
time.
- For 30k embeddings, DB size has dropped from ~420MB to ~115MB. The
first load on a Pixel 7 has increased from ~500ms to ~600ms.
- More details @ https://ente.io/blog/tech/sqlite-objectbox-isar/#update

## Tests
- [x] Verified over internal builds that semantic search is working as
expected

> Note: This fixes that jank that would happen when a foreground process
tries to read data from the Isar DB while a background process is alive.
2024-05-02 09:35:24 +05:30
Neeraj Gupta
ca3172c33e [mobile] Add method to reconsile mappings 2024-05-02 07:04:31 +05:30
Prateek Sunal
e4b2bf08c1 chore: bump packages 2024-05-01 23:26:39 +05:30
Prateek Sunal
49c0295b21 fix: use Future.wait for edit and delete tag 2024-05-01 23:26:30 +05:30
Prateek Sunal
8d096ecf04 chore: bump version 2024-05-01 23:08:30 +05:30
Prateek Sunal
ee5362ad6c fix: unselect tag on tap on selected one 2024-05-01 23:08:09 +05:30
Prateek Sunal
e7ed34bb78 fix: update tag colors 2024-05-01 23:07:35 +05:30
Manav Rathi
cd5c1e35fa
Disable live clip, rely on the thumbnailed version 2024-05-01 21:05:29 +05:30
Manav Rathi
30f22e333a
Pass file when we have it 2024-05-01 21:04:41 +05:30
Manav Rathi
5ba2e35af6
Force disable it for non internal users 2024-05-01 20:13:08 +05:30
Manav Rathi
0226a99fa3
Disable enabling ML search 2024-05-01 20:09:36 +05:30
Manav Rathi
2690b874ee
Make the migration a no-op 2024-05-01 19:49:09 +05:30
vishnukvmd
11d6cdd7c1 Rename variables 2024-05-01 19:36:09 +05:30
Manav Rathi
eb64cd8367
[desktop] More IPC enhancements and fixes (#1577)
Heading towards a wrap.
2024-05-01 19:08:41 +05:30
Manav Rathi
90b5054fcb
chokidar seemed to have gotten stuck after a close
Not sure if something else was off, but after a close new watches in the same
session (after logging in) stopped reacting.
2024-05-01 19:02:43 +05:30
Manav Rathi
932f26684d
Electron logout 2024-05-01 18:50:10 +05:30
Manav Rathi
4eb51061cb
For real 2024-05-01 18:21:45 +05:30
Manav Rathi
de4aa3a6ca
URL encode 2024-05-01 18:15:52 +05:30
Manav Rathi
c988884ab1
Setting pathname had no effect 2024-05-01 17:56:46 +05:30
Manav Rathi
b967d4bbea
URL encode better
e.g. fixes the reading of a file with a hash in the name
2024-05-01 17:39:28 +05:30
Manav Rathi
0a93ba67a1
Fix warnings
Refs:
https://stackoverflow.com/questions/69730364/what-is-the-purpose-of-shouldforwardprop-option-in-styled
2024-05-01 17:04:44 +05:30
Manav Rathi
d30a8b8033
[desktop] Finalize zip handling (#1576)
And other fixes. Getting close to a stable desktop build.
2024-05-01 15:42:12 +05:30
Manav Rathi
9dd865ff6e
Comment 2024-05-01 15:31:42 +05:30
vishnukvmd
bc32c89d77 Rename DB 2024-05-01 15:14:44 +05:30
vishnukvmd
1cd9fb1021 v0.8.88 2024-05-01 15:12:57 +05:30
Manav Rathi
10f2c3db6f
Mention why we're normalizing 2024-05-01 15:12:50 +05:30
vishnukvmd
5f131693f4 Use Int instead of String to represent an enum 2024-05-01 15:12:48 +05:30
Manav Rathi
4c28e83dbb
Optimize 2024-05-01 15:07:58 +05:30
Manav Rathi
36984012a8
They're all optionals now 2024-05-01 15:00:18 +05:30
Manav Rathi
cb73bc143d
Research 2024-05-01 15:00:14 +05:30
Manav Rathi
52909f6f21
The handler adds its own error message prefix
Error occurred in handler for 'generateImageThumbnail': Error: This feature in not available on the current OS/arch
2024-05-01 14:06:34 +05:30
Manav Rathi
5ffc2f20fd
Replicate previous behaviour 2024-05-01 13:57:33 +05:30
Manav Rathi
f2a764aac2
Fix export trash movement 2024-05-01 13:42:09 +05:30
Manav Rathi
f91dddda93
Fix paths 2024-05-01 13:35:42 +05:30
Manav Rathi
6086d43635
Don't log a potentially huge list 2024-05-01 12:32:33 +05:30