Commit graph

359 commits

Author SHA1 Message Date
vishnukvmd 9324849767 Remove unhelpful index 2024-01-18 02:16:53 +05:30
vishnukvmd 28289605a8 Add index on uploaded file ID 2024-01-18 01:56:24 +05:30
vishnukvmd 6f9600690b Use method via FFI to compute memories 2024-01-18 01:42:54 +05:30
vishnukvmd b6c8a79a78 Merge branch 'main' into onnx 2023-12-18 22:27:59 +05:30
vishnukvmd 0408275ed0 Merge branch 'main' into onnx 2023-12-16 16:51:53 +05:30
Neeraj Gupta 5df2503581 Dedupe: Switch to selected grids for delete section 2023-12-14 13:48:26 +05:30
Neeraj Gupta 034d9e9914
Enhance re-processing of live photos (#1570)
* Improve live photos change check

* Ignore files that are already marked for reupload
2023-12-06 12:56:26 +05:30
vishnukvmd 54b553909f Merge branch 'main' into clip 2023-12-05 21:13:53 +05:30
Neeraj Gupta cd320d30dd
LocalFileUpdater: Process live photos (#1556)
* Import files that need to be checked for livePhoto upload

* Add logic to re-process live photos

* Update localFile check + bump version

Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>

---------

Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-12-04 10:25:17 +05:30
Neeraj Gupta fe2bcc0438
Fix only attempt to re-upload in owned collection (#1555) 2023-12-01 17:21:16 +05:30
ashilkn f25a4e59b4 fix: archived files which are not part of an archived album were coming up in moments 2023-11-20 14:27:01 +05:30
vishnukvmd b54f082cb6 Move from SQLite to ObjectBox for storing embeddings 2023-11-14 13:26:54 +05:30
vishnukvmd 4d095208f6 Load embeddings in a batch 2023-11-06 19:00:08 +05:30
vishnukvmd 7b93ff3bce Drop embeddings table on logout 2023-10-27 13:04:31 +05:30
vishnukvmd 86c0cfb306 Remove debug code 2023-10-27 13:04:30 +05:30
vishnukvmd 638ff0547e Update dependency on clip_ggml 2023-10-27 13:04:30 +05:30
vishnukvmd ce03a68a32 Update query to fetch files to be indexed 2023-10-27 13:04:29 +05:30
vishnukvmd baee39438d Push pending embeddings to remote on app start 2023-10-27 13:04:29 +05:30
vishnukvmd e6b3023079 Make updation time optional 2023-10-27 13:04:29 +05:30
vishnukvmd fea2057c85 Add API to push embeddings to remote 2023-10-27 13:04:28 +05:30
vishnukvmd 01b155a172 Persist fetched embeddings 2023-10-27 13:04:28 +05:30
vishnukvmd 44be4ec7c1 Update local DB schema 2023-10-27 13:04:28 +05:30
vishnukvmd 904a010abf Enable foreign keys 2023-10-27 13:04:26 +05:30
vishnukvmd 95a2c66131 Add API to fetch files without embeddings 2023-10-27 13:04:25 +05:30
vishnukvmd 8f4078fc5d Add persistence for embeddings 2023-10-27 13:04:25 +05:30
ashilkn 7d99e12978 Organize imports 2023-08-26 11:14:05 +05:30
Neeraj Gupta 3a98af3518 Move packages 2023-08-25 10:09:30 +05:30
Neeraj Gupta d6b08c8e66 Rename: File -> EnteFile 2023-08-24 22:26:24 +05:30
Neeraj Gupta dfa5569d76 Fix updation for live photos 2023-08-22 20:35:29 +05:30
Neeraj Gupta 783f4a2870 Fix: Only consider uploaded photos for cover
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-21 12:07:49 +05:30
vishnukvmd 53784d8db4 Rely on addedTime from local DB instead of updationTime from remote 2023-06-30 18:17:25 +05:30
vishnukvmd 73d1ee9ce6 Show notifications for collected files as well 2023-06-25 19:15:34 +05:30
Neeraj Gupta ed435c7118 Remove unused method 2023-06-22 15:06:48 +05:30
Neeraj Gupta 39299ca915 Log query time 2023-06-22 13:02:26 +05:30
Neeraj Gupta f6e9d63f59 Replace all usage of _deduplicatedAndFilterIgnoredFiles 2023-06-20 18:19:45 +05:30
Neeraj Gupta 02bc3ac676 Remove unused method
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-20 18:03:44 +05:30
Neeraj Gupta a1bcf60159 refactor 2023-06-20 17:55:49 +05:30
Neeraj Gupta 9ed4eb3d55 Mark _deduplicatedAndFilterIgnoredFiles as deprecated 2023-06-20 17:48:16 +05:30
Neeraj Gupta 80b0c88b1c Merge branch 'main' into perf_improvement 2023-06-20 17:40:06 +05:30
Neeraj Gupta 15c4c97dab getAllPendingOrUploadedFiles: Use improved filtering for dedupe+ignored 2023-06-20 17:34:12 +05:30
Neeraj Gupta 49e5e7929b Log time metrics for home_page_query 2023-06-19 23:46:25 +05:30
Neeraj Gupta ee6a12e706 Refactor delete emptyAlbums logic 2023-06-19 15:58:15 +05:30
Neeraj Gupta eecbaa696d Log time metrics for home_page_query 2023-06-19 15:16:19 +05:30
Neeraj Gupta 530c6746a0 Add method to get cover for a collection
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-19 10:39:03 +05:30
Neeraj Gupta aafc377366 Merge branch 'minor_fixes' into cache_collections 2023-06-14 13:06:41 +05:30
Neeraj Gupta 009a44bb5a Fix bug in getAllLocalAndUploadedFiles 2023-06-14 13:01:40 +05:30
Neeraj Gupta be17ccd388 Log timetake to fetch latest collections 2023-06-14 12:53:07 +05:30
Neeraj Gupta 1008bf606f Use localSize info during free up space 2023-05-31 10:10:59 +05:30
Neeraj Gupta 020a708bb5 Method to get all files with missing size information 2023-05-31 08:24:12 +05:30
Neeraj Gupta f474a29a57 FilesWithLocation: Remove visibility check:
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-30 14:47:20 +05:30