Commit graph

1381 commits

Author SHA1 Message Date
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
Neeraj Gupta 46ea1a83fb
Remove unused method 2023-04-03 17:17:44 +05:30
Neeraj Gupta 351087cb36
Fix location search 2023-04-03 17:02:24 +05:30
Neeraj Gupta ebf5d710b3
Refactor: only expose deserizlized location tags 2023-04-03 16:46:56 +05:30
Neeraj Gupta 9bf1c3ce53
Remove unused methods 2023-04-03 16:39:57 +05:30
Neeraj Gupta 87a5714a5a
minor refactor 2023-04-03 15:44:55 +05:30
Neeraj Gupta 1a17399783
Minor refactor 2023-04-03 15:38:53 +05:30
ashilkn 9999a7aa43 Removed Todo comment after checking 2023-04-03 07:30:07 +05:30
ashilkn a1f05e75fc Refactor: Used Location and LocationTag objects in codebase 2023-04-03 07:20:14 +05:30
ashilkn bb0ce08223 Use LocationTag data type and methods from freezed to convert LocationTag fromJson and toJson 2023-04-03 06:41:41 +05:30
ashilkn 3de5696b04 Used freezed package in location and locationTag models 2023-04-02 18:17:18 +05:30
vishnukvmd 698f3132d2 Handle errors from the isolate gracefully 2023-03-31 18:03:43 +05:30
vishnukvmd 5e9acfd4bd Handle errors during classification gracefully 2023-03-31 16:36:44 +05:30
ashilkn f677b5d60c Show location name on location screen 2023-03-31 15:50:45 +05:30
ashilkn eec2bd411c Make gallery in 'location' screen functional 2023-03-29 16:46:07 +05:30
ashilkn 156ec1acbe Define return type for isFileInsideLocationTag() 2023-03-27 16:40:53 +05:30
ashilkn 8499a56652 Merge branch 'location_tags' into add_location_screen 2023-03-27 16:36:18 +05:30
ashilkn aa7cb83f9a Make final 2023-03-27 16:33:46 +05:30
ashilkn a7618a4a1a Merge branch 'main' into location_tags 2023-03-27 10:13:26 +05:30
ashilkn 8283612f0e Merge branch 'main' into add_location_screen 2023-03-27 10:10:38 +05:30
ashilkn 1995b2c26a Show only files in 'Add location' gallery which are inside the location tag derived from location of selected file and variable radius 2023-03-21 18:21:10 +05:30
Vishnu Mohandas 0e1cb40255
Fix bug in getting collectionID for devicePath (#937) 2023-03-21 09:51:30 +05:30
Neeraj Gupta 45370cbc99
Fix bug in getting collectionID for devicePath 2023-03-21 09:43:56 +05:30
Neeraj Gupta 709eae6526
Fix log line 2023-03-21 09:08:09 +05:30
ashilkn fa913b243c Optimised by storing square of semi major and minor axes of ellipse with location data 2023-03-20 10:45:20 +05:30
ashilkn d412a8cd90 Wrote service method to return the location tags for a given coordinate and used it in file details 2023-03-17 19:21:53 +05:30
ashilkn d2b2a8f595 Modify code for hasGPSData + pass signedDecimalDegree coordinates to LocationTagsWidget 2023-03-17 17:30:39 +05:30
Neeraj Gupta 82e45a29c3
Fix: Handle email change from different client 2023-03-17 16:30:40 +05:30
ashilkn 9963e9a194 Show location tag infoItem in file details only if file has GPS data 2023-03-17 16:23:22 +05:30
Neeraj Gupta 011e7be38b
Fix check for missing collectionID 2023-03-17 12:50:19 +05:30
ashilkn 595e0e1149 Store loactionTag data with name, raduis & properites of the ellipse 2023-03-17 10:12:47 +05:30
Neeraj Gupta 17a12da2da
Lint fixes 2023-03-16 10:14:47 +05:30
Neeraj Gupta 0120cfa0b3
Remove unused field 2023-03-16 10:14:46 +05:30
Neeraj Gupta 02d43be270
Remove blocking progress dialog 2023-03-15 18:41:33 +05:30
Neeraj Gupta 7d18ab8e47
Send feedback as part of deletion request 2023-03-15 18:39:07 +05:30
Neeraj Gupta 4cdfd5d7ac
Add feedback type for anonymous feedbacks 2023-03-15 18:35:11 +05:30
ashilkn 47a3221484 Resolved merge conflicts 2023-03-15 14:44:07 +05:30
vishnukvmd 0c0a981442 Extract code to process image into the base class 2023-03-15 13:28:10 +05:30
vishnukvmd 05a6c2f600 Make Classifier more abstract 2023-03-15 13:20:48 +05:30
vishnukvmd bfdae3dab2 Fix case 2023-03-15 13:03:48 +05:30
vishnukvmd 3569cc404d Fix warnings 2023-03-15 13:02:26 +05:30
vishnukvmd 70247e8c79 Minor refactor 2023-03-15 13:01:42 +05:30
vishnukvmd f349b8e3ff Add source for MobileNet 2023-03-15 12:57:08 +05:30
vishnukvmd 290bcc959b Merge branch 'main' into image_classification 2023-03-15 12:33:05 +05:30
vishnukvmd bc1fb63005 Minor refactor 2023-03-15 12:31:35 +05:30
vishnukvmd 8116ae8543 Add scene detection 2023-03-15 12:28:25 +05:30
vishnukvmd c0110d1a0b Remove code for debugging 2023-03-14 15:18:55 +05:30
vishnukvmd a5646511e0 Add MobileNetv1 2023-03-14 15:11:49 +05:30
Neeraj Gupta 9edc8431bb
Revert changes 2023-03-14 07:10:54 +05:30
vishnukvmd 00a8e38a13 Parse internal user IDs 2023-03-13 14:44:33 +05:30
vishnukvmd 07afaef749 Rethrow sync errors for internal users 2023-03-13 13:50:23 +05:30
vishnukvmd 1f2fec23ab Rename variable 2023-03-13 10:35:01 +05:30
vishnukvmd 7898fe69ac Simplify if condition 2023-03-13 10:26:20 +05:30
vishnukvmd 5474d56949 Add more logs to remote sync 2023-03-13 10:24:57 +05:30
Neeraj Gupta 3a24599717
Anon feedback dialog post account deletion 2023-03-11 16:23:20 +05:30
ashilkn 8d3dde6d13 Search for location name strings with query with both lowercase 2023-03-09 10:49:18 +05:30
ashilkn b8c5892388 Merge branch 'main' into location 2023-03-08 17:22:29 +05:30
vishnukvmd 9100615e55 Disable 2FA recovery 2023-03-08 14:36:22 +05:30
Muhesh7 847eab2dca feat(location_tag): add location tags 2023-03-07 07:43:13 +05:30
vishnukvmd 29b8576108 Remove unnecessary log 2023-03-01 14:29:02 +05:30
vishnukvmd c5edee17f8 Log user details only on debug builds 2023-03-01 14:26:26 +05:30
vishnukvmd bcc1348a7d Document functions exposed by CryptoUtil 2023-02-27 17:56:51 +05:30
vishnukvmd 43fb16bf52 Remove unnecessary type casting 2023-02-27 16:15:27 +05:30
vishnukvmd 7c932ca533 Fix version check for decrypting collection path 2023-02-27 16:14:54 +05:30
vishnukvmd 0cf7daeba8 Rename variables for clarity 2023-02-27 16:14:27 +05:30
vishnukvmd cdb8fd9881 Merge branch 'main' into refactor_sodium 2023-02-27 11:23:21 +05:30
Neeraj Gupta 13ac0abfc0
Bump change log version 2023-02-27 10:10:25 +05:30
Neeraj Gupta 746d06aa0f
remove reference for unused property 2023-02-27 10:00:19 +05:30
ashilkn afa0309f39 Resolved merge conflicts 2023-02-23 18:13:15 +05:30
Neeraj Gupta c894bf06a3
Show storage banner until 5 counts 2023-02-23 10:12:03 +05:30
Neeraj Gupta 3d1630e7a1
Merge branch 'main' into fix_archived_albums 2023-02-23 07:07:28 +05:30