Commit graph

1752 commits

Author SHA1 Message Date
ashilkn aaf15892d8 extract strings for translation 2023-12-16 06:53:10 +05:30
ashilkn a11a3af317 made location non nullable in service method used for bulk editing location 2023-12-16 06:02:50 +05:30
ashilkn c2a6aabfaa enable editing location of video files 2023-12-15 22:42:06 +05:30
ashilkn aa53bc015b show location coordinates in DMS when selecting location on editing 2023-12-15 21:50:13 +05:30
ashilkn a67e479500 Merge branch 'main' into add_location_data 2023-12-15 16:57:37 +05:30
ashilkn 51422f81db remove option to revert location edits 2023-12-15 16:53:44 +05:30
Neeraj Gupta e4cff7060f
Fix: Avoid casting as Error (#1592) 2023-12-15 14:16:54 +05:30
ashilkn 5019ca808e Stop seperating files with og location and ones with not and let user choose which ones to edit/revert on. Updated dialogs shown when user edits/reverts location data 2023-12-15 12:10:25 +05:30
0nullpointer 04b4a1fbba Add ggml image preprocessing 2023-12-15 02:45:00 +05:30
Neeraj Gupta e26983b123 Ensure symlink is added before deleting duplicates 2023-12-14 19:03:41 +05:30
Neeraj Gupta 780d553c0a Fixed typo 2023-12-14 18:59:13 +05:30
Neeraj Gupta 54504fa7e9 Add support to silently add to remote collection 2023-12-14 15:57:53 +05:30
vishnukvmd 61a6481de4 Extract variable 2023-12-14 15:38:42 +05:30
ashilkn 4e68907bdf Revert "Hide incoming shared (#1584)"
This reverts commit 3ed2cae6da, reversing
changes made to 2a24d2f031.
2023-12-14 15:37:25 +05:30
Neeraj Gupta 5df2503581 Dedupe: Switch to selected grids for delete section 2023-12-14 13:48:26 +05:30
ashilkn 6f33a52f73 restrict changing location data of videos 2023-12-14 12:14:43 +05:30
0nullpointer cfc0d05a14 image normalization with tensors 2023-12-14 12:02:14 +05:30
ashilkn 8bf92fb5f5 minor change 2023-12-14 11:43:20 +05:30
vishnukvmd 03f471623b Temporarily parse model from assets 2023-12-14 11:31:01 +05:30
vishnukvmd c35ee381d3 Add ability to clear local embeddings 2023-12-14 11:30:09 +05:30
vishnukvmd 1c488e86a5 Increase batch size for caching thumbs 2023-12-14 11:25:16 +05:30
Neeraj Gupta 664952c1ed Refactor: Reduce duplicate logic in dedupe grouping 2023-12-14 11:07:19 +05:30
Neeraj Gupta 665c378197 Dedupe: Pull up hash clubbing logic 2023-12-14 09:40:50 +05:30
Neeraj Gupta 08930a4e69 Rename 2023-12-14 08:58:12 +05:30
ashilkn 3c00672aef Add support for resetting location data to original location data from exif or removing location data for files without location data in exif 2023-12-14 06:15:48 +05:30
vishnukvmd 7bbcdb0010 Increase batch size for caching thumbnails 2023-12-13 19:08:05 +05:30
vishnukvmd f5b7897838 Fix thumbnail caching logic 2023-12-13 17:24:27 +05:30
vishnukvmd ad8f7cbccd Cache all thumbnails first 2023-12-13 15:16:34 +05:30
vishnukvmd e1ea9530f1 Remove score threshold 2023-12-13 15:02:35 +05:30
vishnukvmd bbee1c0e41 Fetch only relevant embeddings from disk 2023-12-13 14:56:08 +05:30
vishnukvmd 3ea8fca2f2 Retrieve OrtSession from cached address 2023-12-13 14:55:51 +05:30
vishnukvmd 14acf95a15 Disable embedding push 2023-12-13 14:55:13 +05:30
vishnukvmd 01c82eaf82 Store framework name along with the model name 2023-12-13 14:42:02 +05:30
vishnukvmd 1c0ff2f10c Use the cached address to retrieve the encoder 2023-12-13 14:39:18 +05:30
vishnukvmd b2f9dd2c8b Initialize tokenizer outside the isolate 2023-12-13 14:38:24 +05:30
vishnukvmd f0f4f7f429 Fix logger name 2023-12-13 14:37:36 +05:30
vishnukvmd de3db565f5 Fix asset path 2023-12-13 14:37:26 +05:30
vishnukvmd b59e928a1a Pass final file path to model loader 2023-12-13 12:54:03 +05:30
vishnukvmd dd846d7920 Split ONNX framework into multiple files 2023-12-13 12:46:07 +05:30
vishnukvmd 4ed3720906 Fix compilation 2023-12-13 12:39:08 +05:30
vishnukvmd 4c44fc521c Fix warnings 2023-12-13 12:36:14 +05:30
0nullpointer d7cacce1d8 Add bpePath to CLIPTokenizer 2023-12-13 12:33:28 +05:30
0nullpointer 02114efc2b [WIP] onnx local test 2023-12-13 12:28:04 +05:30
Muhammed Ayimen d74c1421a6 Changed: archiveSharedItems name to archiveSharedAlbums 2023-12-13 15:20:08 +09:00
Muhammed Ayimen 56a287e284 Updated: Logic for hiding the incoming shared items 2023-12-13 14:48:46 +09:00
Muhammed Ayimen e9138c719e Chnaged: hideSharedItems name to archiveSharedItems 2023-12-13 14:44:10 +09:00
Neeraj Gupta 56d8173510 Fix: Dismiss dialog before navigation 2023-12-13 08:51:12 +05:30
0nullpointer f7859cdb7f [WIP] semantic search with onnx 2023-12-12 21:53:59 +05:30
0nullpointer e2c7cdf9f8 Add initial onnx framework 2023-12-12 21:39:35 +05:30
ashilkn e2f9ce717a wrote service method to update location data 2023-12-12 15:46:53 +05:30
Neeraj Gupta c8d3ab8dc6 Merge branch 'main' into more_improvements 2023-12-06 13:35:58 +05:30
Neeraj Gupta d833ba31ed Add support for early validation of photo
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-12-06 13:32:11 +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
Neeraj Gupta 21b9905a6f Run check in small chunk 2023-12-06 12:34:06 +05:30
Neeraj Gupta 844fa75bcd Ignore files that are already marked for reupload 2023-12-06 09:20:28 +05:30
Neeraj Gupta 1d9d96faf1 Improve live photos change check 2023-12-06 09:14:33 +05:30
Neeraj Gupta f0d9b27397 Enhance logs 2023-12-06 08:53:34 +05:30
Neeraj Gupta eabcded25e Fix: Swallow InvalidFileError during upload session
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-12-06 08:46:01 +05:30
vishnukvmd 75704f0687 Update logger name 2023-12-05 22:37:56 +05:30
vishnukvmd 708b1c8d23 Refactor ML framework 2023-12-05 22:36:02 +05:30
vishnukvmd 05ba553ebc Define a dummy init method 2023-12-05 21:33:03 +05:30
vishnukvmd ac82f5b282 Create a generic EmbeddingService 2023-12-05 21:31:25 +05:30
vishnukvmd dc16c52ff6 Move score computation to app layer 2023-12-05 21:17:28 +05:30
vishnukvmd 54b553909f Merge branch 'main' into clip 2023-12-05 21:13:53 +05:30
ashilkn addac894e4 remove comment + fix lint error 2023-12-04 15:21:49 +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 f56191f70d
Warn for unawaited futures (#1559) 2023-12-02 17:12:52 +05:30
Neeraj Gupta fe2bcc0438
Fix only attempt to re-upload in owned collection (#1555) 2023-12-01 17:21:16 +05:30
Neeraj Gupta 1ec2b14df2 Make error field mandatory 2023-11-30 10:49:35 +05:30
Neeraj Gupta 7230d52dd2 ErrDialog: Surface network error & contact support 2023-11-30 10:37:38 +05:30
Neeraj Gupta 3cecdd201d Fix bug in local file update checker 2023-11-27 14:55:14 +05:30
Neeraj Gupta 4fba22f204 ChangePassword: Confirm before signing out from other devices 2023-11-26 16:18:15 +05:30
Neeraj Gupta 1abd0a3178
Handle loginKey and keyDerivation err during SRP based login (#1522) 2023-11-20 15:52:52 +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
Neeraj Gupta f910da0964 Handle loginKey and keyDerivation err during SRP based login 2023-11-20 13:28:27 +05:30
vishnukvmd a0a5640e61 Add logs 2023-11-18 16:57:25 +05:30
vishnukvmd 1956a589d7 ping-pong 2023-11-17 17:26:02 +05:30
vishnukvmd 3949918440 Merge branch 'main' into clip 2023-11-17 16:41:39 +05:30
Vishnu Mohandas e99544e335
Update change log (#1511) 2023-11-17 16:38:54 +05:30
ashilkn b814fb0971 change people to contacts 2023-11-17 16:09:58 +05:30
vishnukvmd 6faa408204 Re-enable computation of image embedding 2023-11-17 15:44:16 +05:30
ashilkn 38ae3538e7 update change log version 2023-11-17 15:38:52 +05:30
vishnukvmd c683d37899 TODO: Localize these strings 2023-11-17 00:22:46 +05:30
vishnukvmd e1ebae3e9a Render the type as plural 2023-11-17 00:10:12 +05:30
vishnukvmd 31589c9470 Return human readable string for file types 2023-11-17 00:08:05 +05:30
vishnukvmd 824866a8ab Trim emails 2023-11-16 23:28:41 +05:30
vishnukvmd 6b7579da26 Merge branch 'main' into clip 2023-11-16 19:00:32 +05:30
ashilkn 7e15691c30 resolve conflicts and merge main 2023-11-16 13:41:39 +05:30
Neeraj Gupta bf08e938ff Allow folks with add_on to activate family 2023-11-15 20:14:48 +05:30
vishnukvmd f54d82be34 Perform no image embedding 2023-11-15 17:35:04 +05:30
ashilkn faede193b1 resolve conflicts and merge main 2023-11-15 15:48:31 +05:30
ashilkn b4a07d2b0d fix: hero animation not working between album's view all tile and collection screen 2023-11-15 13:57:03 +05:30
vishnukvmd cf3634f707 Ignore spurious requests to backfill 2023-11-15 10:50:48 +05:30
vishnukvmd 179dc0ce89 Minor refactor 2023-11-15 10:47:25 +05:30
vishnukvmd 4c2ec1da50 Wait until model is loaded 2023-11-15 10:42:03 +05:30
vishnukvmd 2e15d953f7 Ignore search if models haven't been loaded 2023-11-15 10:19:05 +05:30
vishnukvmd d64d3c4179 Reflect the correct index status 2023-11-15 02:17:53 +05:30
vishnukvmd df5c776dc8 Simplify state 2023-11-15 02:08:26 +05:30
vishnukvmd 76f3c43ae3 Use a different event to pull from server 2023-11-15 02:03:32 +05:30
vishnukvmd a28219807b Remove extra sync event 2023-11-15 01:36:14 +05:30