Commit graph

8344 commits

Author SHA1 Message Date
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
Neeraj Gupta 4fba22f204 ChangePassword: Confirm before signing out from other devices 2023-11-26 16:18:15 +05:30
Neeraj Gupta e9becab757
Fix: Add missing await (#1538) 2023-11-24 22:06:19 +05:30
Ashil 75f141e006
feat: sort results in 'view all' of search sections in alphabetical order (#1530) 2023-11-24 21:57:29 +05:30
Neeraj Gupta 524c68b593 Fix: Add missing await 2023-11-24 21:54:16 +05:30
Neeraj Gupta 06497cb370 [generated strings] 2023-11-24 13:07:12 +05:30
Vishnu Mohandas caa0af3a07
Zoom image sliding bug (#1523)
Zoom image sliding bug
2023-11-22 09:40:53 +05:30
Muhammed Ayimen a70a5f95da Simplfied: Vertical drag function 2023-11-22 13:09:15 +09:00
ashilkn cf15c791b2 feat: sort results in 'view all' of search sections in alphabetical order 2023-11-21 10:36:46 +05:30
Muhammed Ayimen 1307358934 Updated: Even if the image is not stored locally, vertical drag works 2023-11-21 13:23:28 +09:00
Crowdin Bot 7767eaaccf New Crowdin translations by GitHub Action 2023-11-21 00:45:47 +00:00
Muhammed Ayimen 0268f12cf4 Merge branch 'main' of https://github.com/i-aiymen/photos-app into zoomImageSlidingBug 2023-11-21 08:13:22 +09:00
Muhammed Ayimen 97dfb91709 Removed: should _shouldDisableScroll parameter from all the file that have called it 2023-11-21 00:20:50 +09:00
Muhammed Ayimen bb93fe3c70 Removed and updated: Percentage checking and variable declaration convention 2023-11-21 00:03:35 +09:00
Muhammed Ayimen fb599a85b8 Updated: Vertical drag gets disabled, based on a particular zooming value which is calculated by a percentage 2023-11-20 23:28:31 +09:00
Neeraj Gupta e1314c1b98 Bump version: 0.8.1+521 2023-11-20 19:35:43 +05:30
Neeraj Gupta f16c7d0aad Merge branch 'main' into show_add_on_validity 2023-11-20 19:35:15 +05:30
Neeraj Gupta 6b15e214f7 Switch to different formatter for stroage
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-20 19:26:00 +05:30
Neeraj Gupta 7c4b389ef4 Update copy
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-20 19:24:41 +05:30
Neeraj Gupta 3fbf7be3ab Toggle current sub active flag based on add-on
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-11-20 19:23:39 +05:30
Neeraj Gupta 81079ac7dc Show add-on validity on sub page 2023-11-20 18:40:57 +05:30
Crowdin Bot 48400bc4e7 New Crowdin translations by GitHub Action 2023-11-20 12:20:24 +00:00
Muhammed Ayimen 20a6113562 Removed: scale state controller - pt2 2023-11-20 20:38:10 +09:00
Neeraj Gupta 283f34921e
Port lock screen fixes from auth (#1525) 2023-11-20 17:07:25 +05:30
Neeraj Gupta 6af7140be5 Port lock screen fixes from auth 2023-11-20 17:06:11 +05:30
Muhammed Ayimen 557b636ab0 Removed: scale state controller 2023-11-20 20:30:37 +09:00
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
Muhammed Ayimen f95d5c39de Bug fixed: Zoom image sliding being prevented because of state change callback parameter used inside photo view gallery widget 2023-11-20 17:50:44 +09:00
Neeraj Gupta 1da9cd6f35 Trigger regular login when loginKey derivation fails 2023-11-20 13:50:25 +05:30
Neeraj Gupta f910da0964 Handle loginKey and keyDerivation err during SRP based login 2023-11-20 13:28:27 +05:30
Crowdin Bot 2669cfb562 New Crowdin translations by GitHub Action 2023-11-19 12:17:08 +00:00
vishnukvmd 8981e96a8d Merge branch 'main' into clip 2023-11-18 17:06:38 +05:30
vishnukvmd a0a5640e61 Add logs 2023-11-18 16:57:25 +05:30
ashilkn 571d612cac fix: video continues playing after going to the next memory 2023-11-18 16:38:41 +05:30
ashilkn fbc8d0a155 feat: loop playback of videos 2023-11-18 15:32:36 +05:30
Crowdin Bot 8513509701 New Crowdin translations by GitHub Action 2023-11-18 00:43:51 +00:00
vishnukvmd 1353806a1b Update copy 2023-11-17 21:03:10 +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 0c47ba60f2 add shimmer 2023-11-17 16:37:47 +05:30
ashilkn ce064f4b35 update change log copy 2023-11-17 16:33:50 +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
ashilkn dcf2b11cdc show black friday banner on change log widget 2023-11-17 15:37:37 +05:30
ashilkn 9c5560c8df update change log 2023-11-17 13:40:24 +05:30
ashilkn 67c61be995 show go-to-map icon when there are no location tags in location tag search section 2023-11-17 12:10:27 +05:30
ashilkn a0f1e705a3 fix: add new location on search tab not working when there are no location tags 2023-11-17 11:48:40 +05:30
Neeraj Gupta cbbf4d0650 Extra strings 2023-11-17 09:42:41 +05:30
ashilkn acbf3baa80 remove using context only after init of widget is complete, can use context during init 2023-11-17 07:24:51 +05:30
vishnukvmd fd8bd9accd Expand hit area for viewing all results 2023-11-17 00:35:45 +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 e17c56f4a1 Update icon for Maps 2023-11-16 23:59:35 +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
Vishnu Mohandas e3bd3604a5
Search tab (#905) 2023-11-16 17:47:37 +05:30
Muhammed Ayimen d84eefa2ea Added: Extra parameters to the photoViewGalleryPageOption widget 2023-11-16 18:55:44 +09:00
ashilkn 7e15691c30 resolve conflicts and merge main 2023-11-16 13:41:39 +05:30
ashilkn 4229223af5 minor changes 2023-11-16 13:38:31 +05:30
ashilkn 08634739dc remove unnecessary variable 2023-11-16 12:52:15 +05:30
ashilkn aef57cbee6 Changes to comments 2023-11-16 12:51:49 +05:30
ashilkn 2077f4e220 extract strings 2023-11-16 12:09:43 +05:30
ashilkn f82a56962b add comment 2023-11-16 11:53:04 +05:30
ashilkn d57d0d7035 extract strings 2023-11-16 11:41:44 +05:30
ashilkn d0dcb1b292 clean up search_tab.dart 2023-11-16 11:32:40 +05:30
ashilkn ee560a4c00 refactor + use better fn name 2023-11-16 10:48:57 +05:30
ashilkn 15507fafd1 remove unused variable 2023-11-16 10:40:17 +05:30
ashilkn d487a94b64 Remove comment 2023-11-16 10:38:18 +05:30
Muhammed Ayimen e22089ff5a Fixed: When we zoom the image, we will be able to slide to next or previous image without being zoomed out, which is similar to google files 2023-11-16 10:26:14 +09:00
Neeraj Gupta bf08e938ff Allow folks with add_on to activate family 2023-11-15 20:14:48 +05:30
Neeraj Gupta 172fc66f76 Extract strings 2023-11-15 18:58:53 +05:30
Neeraj Gupta 09ac36ee57 Show banner in debugMode 2023-11-15 18:54:29 +05:30
Neeraj Gupta e13061069a Hide BF banner after 5th Dec 2023-11-15 18:39:13 +05:30
ashilkn 46175ae969 minor change 2023-11-15 18:19:33 +05:30
ashilkn 781271c43c Show new black friday banner only for android 2023-11-15 18:15:38 +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
ashilkn 6017140a1b show LocationScreen instead of SearchResultPage when opening a location from
'view all' of location search section
2023-11-15 13:33:59 +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 4f49032427 Hide progress bar once there are no items to be indexed 2023-11-15 10:42:37 +05:30
vishnukvmd 4c2ec1da50 Wait until model is loaded 2023-11-15 10:42:03 +05:30
ashilkn 09a78038eb Reload only location search section on changes related to loc tag 2023-11-15 10:29:07 +05:30
ashilkn fcf94ed517 Revert "Make search section stateless and stop rebuiding on events"
This reverts commit b6e7aece76.
2023-11-15 10:20:45 +05:30
vishnukvmd 2e15d953f7 Ignore search if models haven't been loaded 2023-11-15 10:19:05 +05:30
Neeraj Gupta 41cf688552 Hide free sub validity if bf deal is active 2023-11-15 08:37:45 +05:30
vishnukvmd 7abaf52683 Prompt only twice for a rating 2023-11-15 03:00:21 +05:30
vishnukvmd 4a5d91623a Show a progress bar next to Status 2023-11-15 02:29:47 +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
vishnukvmd 688b43c75a Listen to changes in the DB and update the cache 2023-11-15 01:16:17 +05:30
vishnukvmd a65ea2e649 Remove code to debug 2023-11-15 00:55:43 +05:30
vishnukvmd 4740d723af Simplify scoring function 2023-11-15 00:16:49 +05:30
vishnukvmd ce2e034085 Play with an optimized computeScore method 2023-11-14 23:33:10 +05:30
vishnukvmd 6ad7911f1f Update indexing status in real time 2023-11-14 23:32:03 +05:30
vishnukvmd 98b1c1689d Update key 2023-11-14 22:48:03 +05:30
vishnukvmd 49856e2667 Update path to object box 2023-11-14 22:44:00 +05:30
vishnukvmd ef5a5b7c40 Ignore files that have already been queued 2023-11-14 21:01:16 +05:30
vishnukvmd 7c2bf8bd97 Block back fill on remote sync 2023-11-14 20:50:46 +05:30
vishnukvmd 1f17e892c0 Disable search if magic search is disabled 2023-11-14 19:30:06 +05:30