Commit graph

8350 commits

Author SHA1 Message Date
Neeraj Gupta 7419555b31 Fix: dispose valueNotifier 2023-12-15 14:03:55 +05:30
Vishnu Mohandas 6c25012e6f
Update order 2023-12-15 13:31:11 +05:30
Vishnu Mohandas de15d16bc0
Update ordering of actions 2023-12-15 13:23:44 +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
Neeraj Gupta 8f01d7d506 Fix padding 2023-12-15 06:27:34 +05:30
Neeraj Gupta 2c2e9d9c44 Remove unused import 2023-12-15 06:05:04 +05:30
0nullpointer 04b4a1fbba Add ggml image preprocessing 2023-12-15 02:45:00 +05:30
Neeraj Gupta 7c9190263e Dedupe: Display dedupe progress 2023-12-15 00:34:22 +05:30
Neeraj Gupta eb5e47c12d Fix: Unselect all selected grids on sort change 2023-12-15 00:06:13 +05:30
Neeraj Gupta c6e9a8f15c Merge branch 'main' into duplicate_symlinks 2023-12-14 23:23:26 +05:30
Neeraj Gupta e874d83d19 Remove redundant sort option 2023-12-14 23:20:35 +05:30
Neeraj Gupta 91f25e1319 Rename method 2023-12-14 23:16:51 +05:30
Neeraj Gupta 404454770f Remove unused variable 2023-12-14 23:14:45 +05:30
github-actions[bot] 69f451c78a
New Crowdin translations by GitHub Action (#1589)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-12-14 19:09:03 +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
Crowdin Bot 78d82e388a New Crowdin translations by GitHub Action 2023-12-14 13:50:39 +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
Neeraj Gupta 82cdd9a7a2 UI: Add option to select/unselect grid 2023-12-14 08:49:11 +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 4ea56e5bf7 Show ML settings on iOS 2023-12-13 14:37:15 +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 c22965c864 Updated: Localization file 2023-12-13 15:34:39 +09:00
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 131a83afe6 add support for editing location data of more than one file by selecting from gallery 2023-12-12 19:28:23 +05:30
Muhammed Ayimen 2a8ddd64f8 Updated: Getter function for hide shared items 2023-12-12 21:54:33 +09:00
ashilkn 0a6a4c6835 add option to update location for all file types except for videos 2023-12-12 16:54:04 +05:30
ashilkn 1339101d94 show option to edit location data for photos that already have location data 2023-12-12 16:05:54 +05:30
Muhammed Ayimen 7ca84f65fd Updated: type anotation 2023-12-12 19:22:42 +09:00
Muhammed Ayimen ddc00bf10e Completed: Shared incoming items gets hidden from home screen based on user preference 2023-12-12 19:21:18 +09:00
ashilkn e2f9ce717a wrote service method to update location data 2023-12-12 15:46:53 +05:30
Muhammed Ayimen efacf58f6f Updated: Hide shared item user preference in local settings 2023-12-12 19:12:54 +09:00
Muhammed Ayimen c5459882a5 Added: Hide shared item option in advanced screen 2023-12-12 19:12:29 +09:00
ashilkn a1d4873e88 change name of file and widget used to update location data 2023-12-12 15:33:57 +05:30
Neeraj Gupta baf572152c Dedupe: remove deprecated code 2023-12-12 08:24:02 +05:30
Neeraj Gupta 5d761e10c3 Lint warnings fix 2023-12-12 08:23:45 +05:30
Neeraj Gupta 2a24d2f031 Add option to clean up uncaterogized album 2023-12-12 08:17:18 +05:30
Neeraj Gupta e42ffb48c4 Linter warning fixes 2023-12-12 08:17:18 +05:30
Neeraj Gupta eb1d468be2 Improve logs + fix lint for unawaited future 2023-12-12 08:17:18 +05:30
Neeraj Gupta 0e062eb2d9 Add option to clean up uncaterogized album 2023-12-11 19:27:35 +05:30
Neeraj Gupta 42533f285c Linter warning fixes 2023-12-11 18:27:17 +05:30
Neeraj Gupta 893449ca6d Improve logs + fix lint for unawaited future 2023-12-11 18:21:29 +05:30
ashilkn dd0463f020 Changes to UI/UX of map 2023-12-11 13:41:57 +05:30
ashilkn 8ea0254a82 built basic UI for choosing location 2023-12-10 23:06:07 +05:30
ashilkn 841debe181 Show map inside bottom sheet on clicking 'add location data' 2023-12-10 22:07:32 +05:30
ashilkn 635f7e724f use const + wrap unawited future with unawaited 2023-12-10 22:06:45 +05:30
Crowdin Bot 7c1df8df4a New Crowdin translations by GitHub Action 2023-12-10 18:26:32 +05:30
ashilkn ddcd3c6099 create UI of row in file info to add location data manually when location data is absent 2023-12-10 18:22:02 +05:30
Neeraj Gupta 87b7e2ef2e generated string 2023-12-10 15:57:33 +05:30
vishnukvmd 7204cf427d Pretty print long numbers with commas 2023-12-10 15:57:33 +05:30
ashilkn 7b13e3cd05 remove unnecessary use of variable 2023-12-07 22:20:33 +05:30
ashilkn b25d06ac2e fix: UI not refreshing when deleting and hiding items from location screen 2023-12-07 20:25:43 +05:30
Ashil d497920930
fix: reload UI when items are deleted or hidden from search result screen (#1574) 2023-12-07 17:20:41 +05:30
ashilkn 7599d019d0 fix: reload UI when items are deleted or hidden from search result screen 2023-12-07 15:11:34 +05:30
Neeraj Gupta f023022fff
Fix forceUpload to shared albums (#1572) 2023-12-06 22:33:55 +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 094da58492 Ensure unique path for temp live photo 2023-12-06 12:43:08 +05:30
Neeraj Gupta 21b9905a6f Run check in small chunk 2023-12-06 12:34:06 +05:30
Neeraj Gupta d4cd160eeb PerfFix: Perform zip ops on different isolate
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-12-06 10:00:11 +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
Neeraj Gupta c896fc59f3 Mark file invalid for upload if > 5Gib
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-12-06 08:06:54 +05:30
Neeraj Gupta fd434ba9f4 Log status value
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-12-06 07:44:19 +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
Neeraj Gupta 9cc515b573 Remove callback on dispose 2023-12-05 21:45:56 +05:30
Neeraj Gupta c015f1b23b Add mount check before setting valueNotifier value 2023-12-05 21:44:39 +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
Vishnu Mohandas 4fdc54bad7
Gallery state refresh bug (#1565) 2023-12-04 19:00:07 +05:30
ashilkn df809e9112 fix: gallery UI not updating after delete, hide and archive 2023-12-04 18:48:11 +05:30
ashilkn addac894e4 remove comment + fix lint error 2023-12-04 15:21:49 +05:30
ashilkn 00b92351ca Reduce thickness and make corners rounded on the scrollbar of file actions 2023-12-04 14:53:38 +05:30
Neeraj Gupta 9e75d4c4d2 Merge branch 'main' into pull_down_fix 2023-12-04 10:27:29 +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
vishnukvmd 23d46e203b Fix issue that was breaking the pull-down interaction 2023-12-04 10:23:07 +05:30
Vishnu Mohandas 3441c950d8
Add a scrollbar for bottom action bar (#1561) 2023-12-02 18:02:46 +05:30
Vishnu Mohandas 700de0dd8b
fix: deleting of items not reflecting on UI (#1560) 2023-12-02 17:16:12 +05:30
Neeraj Gupta f56191f70d
Warn for unawaited futures (#1559) 2023-12-02 17:12:52 +05:30
ashilkn df10e49964 fix: deleting of items not reflecting on UI 2023-12-02 17:04:01 +05:30
vishnukvmd 27f8bc8aad Remove redundant variable 2023-12-02 00:14:47 +05:30
Neeraj Gupta d95a768edc Fix: Avoid redundant position fix 2023-12-02 00:03:55 +05:30
Neeraj Gupta f66de8829b Fix: Register callback for scaleStateChangedCallback 2023-12-02 00:01:38 +05:30
Neeraj Gupta fe2bcc0438
Fix only attempt to re-upload in owned collection (#1555) 2023-12-01 17:21:16 +05:30
Ashil bdac20a711
Use debouncer for home, owned and shared albums tabs and gallery. (#1554) 2023-12-01 16:04:09 +05:30
ashilkn 8b39716f5c cancel debouncers on disposing widget 2023-12-01 15:55:16 +05:30
ashilkn 87fa673900 perf: add debouncer to reduce reloading of other tabs 2023-12-01 15:41:05 +05:30
Vishnu Mohandas 5480f04e1a
Add missing await for live photo zip (#1553) 2023-12-01 15:40:36 +05:30
Neeraj Gupta 60ffbc7166 Add missing await for live photo zip 2023-12-01 15:39:26 +05:30
ashilkn 28ab6085c8 change debounce time and interval time for reloading all sections in search tab 2023-12-01 13:49:13 +05:30
ashilkn 6a759d8b96 perf: add debouncer to reload and force reload event listeners in gallery 2023-12-01 13:27:42 +05:30
Neeraj Gupta 9ec03fae25 Upgrade motion_photos pkg 2023-11-30 22:12:14 +05:30
Ashil f11f34c37f
pref: minor improvement (#1550) 2023-11-30 19:41:10 +05:30
ashilkn 6a26e01af0 change interval time type from int to Duration in debouncer 2023-11-30 19:29:27 +05:30
Crowdin Bot 8067dbbfe1 New Crowdin translations by GitHub Action 2023-11-30 12:19:32 +00:00
Neeraj Gupta 1ec2b14df2 Make error field mandatory 2023-11-30 10:49:35 +05:30
Neeraj Gupta 6780a3409c Simplify condition 2023-11-30 10:38:15 +05:30
Neeraj Gupta 7230d52dd2 ErrDialog: Surface network error & contact support 2023-11-30 10:37:38 +05:30
Neeraj Gupta a4fd60ba45 Extend generic errorDialog to surface more error 2023-11-30 08:51:28 +05:30
Neeraj Gupta da67b6ba17 Only reload when user is on search tab 2023-11-28 13:29:22 +05:30
Neeraj Gupta c898256b48 Reduce time to 4 seconds
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-28 13:05:45 +05:30
Neeraj Gupta f8209ff604 Fix bug in debouncer & increase search tab debounce time
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-28 13:00:35 +05:30
Neeraj Gupta 5dd09a79ae Rename variable 2023-11-28 12:27:15 +05:30
Neeraj Gupta 84721d7e90 Fix build issue 2023-11-28 11:49:44 +05:30
Neeraj Gupta e8a4ddb4d9 Remove black friday deal ref 2023-11-28 10:46:37 +05:30
Vishnu Mohandas 32735c6676
Round down the number of items within a map view (#1545) 2023-11-28 06:25:42 +05:30
vishnukvmd 1063bb18e0 Round down the number of items within a map view 2023-11-28 00:08:53 +05:30
Neeraj Gupta 70489c4bbd
Fix bug in local file update checker (#1544) 2023-11-27 14:58:15 +05:30
Neeraj Gupta 3cecdd201d Fix bug in local file update checker 2023-11-27 14:55:14 +05:30
Crowdin Bot e93b582127 New Crowdin translations by GitHub Action 2023-11-27 00:45:05 +00:00