Commit graph

1451 commits

Author SHA1 Message Date
Neeraj Gupta f4de25cd27 Add change log 2023-06-22 19:12:14 +05:30
Neeraj Gupta 502af89e57 Hide favorite colleciton if it's empty 2023-06-22 14:49:34 +05:30
Neeraj Gupta 59f802edd0 Fix:Burst cover cache when colleciton is updated 2023-06-22 14:44:55 +05:30
Neeraj Gupta ed046c0301 Refactor DeleteEmptyButtonWidget 2023-06-22 14:19:42 +05:30
Neeraj Gupta d16e903a45 Remove dependency from _getCollectionsWithThumbnails 2023-06-22 14:00:20 +05:30
Neeraj Gupta a2bb8e7b4a Merge branch 'main' into remove_getCollectionsWithThumbnails_shared 2023-06-21 11:52:57 +05:30
Neeraj Gupta 65840dec28 Merge branch 'main' into remove_getCollectionsWithThumbnails_shared 2023-06-21 11:52:21 +05:30
Neeraj Gupta 01f16bddde Merge branch 'main' into map 2023-06-20 20:23:13 +05:30
Neeraj Gupta f6e9d63f59 Replace all usage of _deduplicatedAndFilterIgnoredFiles 2023-06-20 18:19:45 +05:30
Neeraj Gupta a1bcf60159 refactor 2023-06-20 17:55:49 +05:30
Neeraj Gupta c5647fa52a Minor refactor 2023-06-20 17:52:04 +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 38d817e1bf Introduce Filter with some common filters
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-20 17:25:42 +05:30
Neeraj Gupta 24e1e8d558 Remove dependency from getCollectionsWithThumbnails 2023-06-19 22:37:03 +05:30
Neeraj Gupta 522655ca65 SharedTab: remove dependency on getCollectionsWithThumbnails 2023-06-19 16:27:53 +05:30
Neeraj Gupta ee6a12e706 Refactor delete emptyAlbums logic 2023-06-19 15:58:15 +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 5b7eb47521 Add hook for checking permission 2023-06-15 18:15:26 +05:30
Neeraj Gupta 3b98ef597f RemoteStoreService: Add method for getting/updating bool flags 2023-06-15 13:00:11 +05:30
Neeraj Gupta 240b5667eb Merge branch 'cache_collections' into map 2023-06-14 16:14:16 +05:30
Neeraj Gupta e34ee87405 Do not reset _cachedLatestFiles on LocalFileUpdates 2023-06-14 14:42:17 +05:30
Neeraj Gupta f9cf813da9 Only reset cachedFiles future on updates 2023-06-14 14:39:48 +05:30
Neeraj Gupta a6505e2cfe Mark _getLatestCollectionFiles as private 2023-06-14 14:39:01 +05:30
Neeraj Gupta 938287ab23 Fix: Hide shared archived from all places as owned archived 2023-06-14 14:00:33 +05:30
Neeraj Gupta ba64ff92a5 Collections: switch to new version for caching collection paths 2023-06-14 12:54:30 +05:30
Neeraj Gupta b5433d3f0d Rename decrecated fields 2023-06-13 12:11:31 +05:30
Neeraj Gupta 20d908a126 Whitelist more internal users 2023-06-08 14:58:50 +05:30
Neeraj Gupta 40a6767c6b Use Search service to get files 2023-06-05 07:13:34 +05:30
Neeraj Gupta c57cd5fa96 Fix bug in request payload for fileInfo
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-31 18:40:42 +05:30
Neeraj Gupta fad5ab2dcf imporve logs 2023-05-31 15:27:01 +05:30
Neeraj Gupta 491a389deb Get dedupe list from local if size information is present 2023-05-31 14:43:06 +05:30
Neeraj Gupta 69eee09484 Merge branch 'main' into use_local_size 2023-05-31 14:22:01 +05:30
Neeraj Gupta 5932270787 Refactor: Switch to generic fn for clubbing by time 2023-05-31 12:01:56 +05:30
Neeraj Gupta 848e1488d9 Add clubByduplicates that take fn for clubbing key 2023-05-31 11:58:25 +05:30
Neeraj Gupta ff5d9f7595 Club duplicates files based on hash 2023-05-31 11:49:17 +05:30
Neeraj Gupta fc64570e05 Rename 2023-05-31 11:43:45 +05:30
Neeraj Gupta 4a605820d6 Fixed bug in clubByDuplicateName 2023-05-31 11:37:44 +05:30
Neeraj Gupta 0eb07ad10a Rename 2023-05-31 11:32:29 +05:30
Neeraj Gupta 1008bf606f Use localSize info during free up space 2023-05-31 10:10:59 +05:30
Neeraj Gupta dc2b62a9fb Add API to fetch fileInfo 2023-05-30 21:03:02 +05:30
Neeraj Gupta ad81ff412b Merge branch 'main' into migratie_collections 2023-05-30 07:47:05 +05:30
Neeraj Gupta 796423499b Show no-archived incoming collections 2023-05-29 19:17:35 +05:30
Neeraj Gupta 67eb859079 Fix url 2023-05-29 19:06:46 +05:30
Neeraj Gupta 392d39b5f2 Add support for updating/saving sharee json 2023-05-29 18:51:31 +05:30
Neeraj Gupta 1d0ed25cbc Add change log for 0.7.59+459 2023-05-29 10:20:36 +05:30
vishnukvmd 772206dd2e Add option to dedupe by file name 2023-05-28 21:14:40 +05:30
Neeraj Gupta 7819ba4b3e
Collages (#1158) 2023-05-27 11:07:25 +05:30
vishnukvmd cc2858d09f Lower log level 2023-05-27 10:56:31 +05:30
vishnukvmd 4affb2157b Log network errors 2023-05-27 00:56:58 +05:30
Neeraj Gupta ca04f5ece4 Skip metadata decryption for deleted collections 2023-05-26 19:06:05 +05:30
Neeraj Gupta a385d42838 Fix typo 2023-05-26 13:42:58 +05:30
Neeraj Gupta efe5ecf015 Persist colleciton pubMagicMetadata 2023-05-26 08:14:58 +05:30
Neeraj Gupta 4f99062662 Add logic to update sortOrder on remote
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-26 08:03:58 +05:30
Neeraj Gupta dc96583dcd Merge branch 'main' into migratie_collections 2023-05-25 13:37:52 +05:30
Neeraj Gupta 2aa272b9d0 Rename: Separate file and album magic property class 2023-05-25 11:23:34 +05:30
Neeraj Gupta 0b1f0e9ed7 Refactor: Move magic_metadata.dart under models/metadata
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-25 11:01:50 +05:30
Neeraj Gupta 779544941d Fire remoteSync event for first collections sync 2023-05-25 10:15:43 +05:30
Neeraj Gupta e97ad6f26b Wait for firstSync to finish before showing deleteEmptyAlbums 2023-05-25 10:11:43 +05:30
Neeraj Gupta 3dbfb36680 Remove any stale enteries in DB 2023-05-24 12:23:33 +05:30
Neeraj Gupta aaa1036e3a Remove migration code 2023-05-24 12:13:00 +05:30
Neeraj Gupta 103f1e23d9 Perf: Only refresh cache for fetched collections 2023-05-24 08:09:45 +05:30
Neeraj Gupta 1551c0c5ee Perf: Only refresh cache for fetched collections 2023-05-24 08:09:18 +05:30
Neeraj Gupta bfb4a52b9a Remove unused method 2023-05-24 07:58:15 +05:30
Neeraj Gupta 3f09aba42e Decrypt collection name and path during remote sync 2023-05-24 01:47:48 +05:30
Neeraj Gupta fcd58fb0aa Add setName for collection 2023-05-24 01:43:12 +05:30
Neeraj Gupta 46fbdd02b8 Refactor: put duplicate code in single method 2023-05-24 00:50:03 +05:30
Neeraj Gupta 98e56fae63 Remove redundant decryption for name and path 2023-05-23 21:50:24 +05:30
Neeraj Gupta 90ae96299c minor refactor 2023-05-23 18:42:28 +05:30
Neeraj Gupta b98e9c8aec Merge branch 'perf_minor' into migratie_collections 2023-05-23 17:04:38 +05:30
Neeraj Gupta 4c6ba5c851 Fix: Fire event with files for given collection 2023-05-23 16:59:50 +05:30
Neeraj Gupta 6d8d4aeddf CollectionDiff: Avoid redundant event for delete from delete 2023-05-23 16:57:35 +05:30
Neeraj Gupta 113d3e5709 Perf: Avoid reading entire collections while sync diff 2023-05-23 16:13:07 +05:30
Neeraj Gupta 10f1db49ef Merge branch 'remove_redundant_work' into migratie_collections 2023-05-23 15:26:21 +05:30
Neeraj Gupta 90bb00fefb Perf:Avoid redundant reading and decrypting all collections 2023-05-23 15:20:54 +05:30
Neeraj Gupta be65123544 CollectionSync: Remove unused return value
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:18:30 +05:30
Neeraj Gupta f4d7407d6e CollectionSync: Remove unused return value
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:16:49 +05:30
Neeraj Gupta fe576ef85c Fix typo
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:12:08 +05:30
Neeraj Gupta e822307423 Fix: Update collection after api success
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:10:45 +05:30
Neeraj Gupta f7fbb77887 Minor refactor for name decryption 2023-05-23 14:54:39 +05:30
Neeraj Gupta 5aae4f4157 refactor: move user class in separate file
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 11:24:35 +05:30
Neeraj Gupta b24bf451b6 refactor: extract PublicUrl outside collection.dart
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 11:08:17 +05:30
Neeraj Gupta 318865396b Refactor: move error to corresponding pkg
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 10:57:34 +05:30
Neeraj Gupta cf35fe10b9 Mark method private
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 10:54:45 +05:30
Neeraj Gupta e2e1d7ef13
Replace collection.name usage with collection.displayName 2023-05-23 10:26:48 +05:30
Neeraj Gupta ad96656472
Support for translating local_auth strings 2023-05-18 22:31:54 +05:30
Neeraj Gupta b9a41b2536
Add hook to upload file while viewing 2023-05-16 17:13:54 +05:30
Neeraj Gupta f629097252
Add trailing comma 2023-05-15 14:58:27 +05:30
Neeraj Gupta 76d4f7ae29
ObjectDetection: Return score with label 2023-05-11 14:14:34 +05:30
Neeraj Gupta 2a4d266bcc
Tweak minimum scores 2023-05-11 13:08:02 +05:30
Neeraj Gupta d893b91488
use final keyword 2023-05-11 12:35:07 +05:30
Neeraj Gupta 4ceaa4dd2e
l10n: extract strings for family plan 2023-05-09 14:28:40 +05:30
Neeraj Gupta 6412f8901e
Perf: Do not wait for objectService init during app start 2023-05-08 22:35:24 +05:30
Neeraj Gupta 1552f39865
Add change log entry 2023-05-07 09:27:26 +05:30
Neeraj Gupta ef5d47c584
Fix bug in handling file update 2023-05-03 17:44:59 +05:30
Neeraj Gupta 3e4bd6ec1e
Fix: Add check for valid location to handle NAN values 2023-05-03 10:25:07 +05:30
Neeraj Gupta c20cb8040a
Handle infinite or Nan values 2023-05-02 17:43:21 +05:30
Neeraj Gupta 91e835cdfd
Computer: Switch to forked version + enable debuglogs (#1042) 2023-05-01 11:40:42 +05:30
Ashil 38b7d04a70
Tests for exif to location parsing (#1045) 2023-04-29 17:27:48 +05:30
ashilkn 0d45b08a12 Remove regex 2023-04-29 17:25:39 +05:30
ashilkn e6d65866a6 Make latRef and longRef of GPSData final 2023-04-29 17:11:00 +05:30
Ashil 299d1bb117
Custom radius (#1039) 2023-04-29 16:15:21 +05:30
Neeraj Gupta db61826504
Clean up: Remove old migration code 2023-04-29 14:16:08 +05:30
Neeraj Gupta 87333c83d5
[Perf] Avoid redundant method call via compute 2023-04-29 14:03:44 +05:30
Neeraj Gupta 0fcf40b12a
Refactor: Directly ref shared computer instead of passing as variable 2023-04-29 13:55:31 +05:30
Neeraj Gupta b5fe6ede26
Assign taskname for computer tasks 2023-04-29 13:27:18 +05:30
Neeraj Gupta 4745a5a2f3
Initiate shared workers during app init 2023-04-29 12:33:38 +05:30
Neeraj Gupta 453a44cb82
Update computer pkg 2023-04-29 12:28:07 +05:30
ashilkn e028d16173 Return null if latRef or longRef's format is invalid on parsing location from EXIF 2023-04-28 17:21:08 +05:30
ashilkn 27abbbcae2 Add unit of raidus in dialog used to enter custom radius 2023-04-28 15:20:52 +05:30
ashilkn c7fbb550fc Merge branch 'main' into custom_radius 2023-04-27 13:02:41 +05:30
Neeraj Gupta 7ec8e09a36
Option to view files with location but no locaitonTag 2023-04-25 12:48:21 +05:30
ashilkn 7f1bb022b2 Changed raidus from int to double in location tags 2023-04-25 12:15:13 +05:30
Neeraj Gupta 207bc7e223
Add migration script for fixing badLocation coordinates 2023-04-25 12:10:10 +05:30
Neeraj Gupta bb1b52249a
Fix typo 2023-04-25 11:04:08 +05:30
Neeraj Gupta c1cc2add1d
Remove migration for badCreationTime 2023-04-25 11:01:30 +05:30
Neeraj Gupta 317944f5a7
Remove unused constants 2023-04-25 09:11:57 +05:30
ashilkn 6be8f047cb Handle case where latRef & longRef is null & lat and long are signed 2023-04-25 00:17:37 +05:30
ashilkn 36d2ba7059 Fixed bug in parsing of location in DMS format to decimal degrees 2023-04-24 23:23:50 +05:30
Neeraj Gupta bdb853ebd6
Handle incomplete lat/long values 2023-04-19 08:25:00 +05:30
Neeraj Gupta 416fc58053
Reduce nesting 2023-04-19 08:24:03 +05:30
Neeraj Gupta 059279b76f
Handle missing lat/long ref 2023-04-19 08:23:33 +05:30
Neeraj Gupta c421f029c0
Migration: Extract location from exif 2023-04-18 20:58:46 +05:30
Neeraj Gupta d83607b574
Location tag fixes (#993) 2023-04-18 14:07:46 +05:30
Neeraj Gupta 78554c837c
Search: sort allFiles by creationTime DESC 2023-04-18 12:51:27 +05:30
ashilkn 44fcb469a5 Fixed a null pointer error 2023-04-17 12:53:51 +05:30
Neeraj Gupta 33062b4606
Add changelog entry for location tag 2023-04-16 10:59:00 +05:30
ashilkn e0ccb2bfb4 get location data for file from exif if everything else fails 2023-04-14 11:11:27 +05:30
ashilkn ff3c4a7119 Show most recent photo as thumbnail for location tag search results 2023-04-13 19:39:27 +05:30
Neeraj Gupta 2cb1fc66c1
Fix: Open location screen on locationSearch result 2023-04-13 13:16:04 +05:30
Neeraj Gupta 0d0a04e8a3
Fix bug while adding first location tag 2023-04-13 09:12:07 +05:30
Neeraj Gupta 06c9ead3e2
feat(location_tag): add location tags (#908) 2023-04-11 10:10:50 +05:30
ashilkn 82cf19af12 Removed unused methods and commented out code 2023-04-10 11:15:31 +05:30
ashilkn 0fb119f6d7 Show shared photos too in location tag 2023-04-10 10:00:30 +05:30
vishnukvmd 81ba6ae70a Fix lint warnings 2023-04-08 09:47:44 +05:30
Neeraj Gupta 0f07fba944
l10n: extract strings 2023-04-07 12:03:40 +05:30
ashilkn 92b85d7f98 Used better method name 2023-04-06 12:32:56 +05:30
ashilkn 652e77ab9d Only use updateLocationTag() to update location tag 2023-04-06 12:28:26 +05:30
ashilkn 5b4af04712 Made delete locatioTag functional 2023-04-06 11:08:21 +05:30
ashilkn d685d37f39 Update state of 'Location screen' after updates in location 2023-04-06 09:42:41 +05:30
ashilkn 2b59ee1fc9 Created service to update locationTag 2023-04-06 09:04:30 +05:30
ashilkn d54f679b72 Rebuild 'edit location' sheet by listening to update in locationTag 2023-04-05 16:24:39 +05:30
ashilkn 72d8ae9f53 Made an event for add/update/delete locationTag and updated the Location tile in 'location details' sheet using it. 2023-04-05 14:33:54 +05:30
ashilkn c9f08c6eca Made 'update center point' functional in 'edit location' 2023-04-05 10:53:29 +05:30
ashilkn 01347f93c2 Pass LocalEntity<LocationTag> instead of locationTag
in update locationTag screens to get access to locaitonTag's id
2023-04-05 09:30:18 +05:30
ashilkn fa0fe9b681 Use equatable in LocalEntity<T> 2023-04-05 08:54:00 +05:30
ashilkn 4f003104ce Merge branch 'location_tag_screen_4' into location_tag_screen_5 2023-04-04 18:33:10 +05:30
Neeraj Gupta 138f0a4165
Fix integration with entity service 2023-04-04 14:18:54 +05:30
Neeraj Gupta 554a94d681
Add support for syncing and storing entities 2023-04-04 12:50:23 +05:30
ashilkn bca4ea4974 Methods to convert Location object to coordinates in DMS format 2023-04-04 11:24:30 +05:30