Commit graph

611 commits

Author SHA1 Message Date
Neeraj Gupta fe34ddaeae
Improve creationTime fallback logic 2022-11-10 16:00:11 +05:30
Neeraj Gupta e42a1106dc
Use current date as importTime if parsing also fails 2022-11-10 14:51:57 +05:30
Neeraj Gupta ccf09cf19f
Use improved logic for parsing dateTime from fileName 2022-11-10 14:43:21 +05:30
Neeraj Gupta bbbc61fd4e
Merge branch 'master' into empty_albums 2022-11-06 14:45:46 +05:30
Neeraj Gupta 19cc54f422
Fix lint issues 2022-11-06 13:52:54 +05:30
ashilkn 27c660771f handled cases where caption is null 2022-11-05 13:47:02 +05:30
ashilkn 6dbafb118b Merge branch 'caption_search' into caption 2022-11-05 13:29:16 +05:30
Neeraj Gupta ec8aab680d
Add support for searching by caption 2022-11-05 11:22:28 +05:30
ashilkn 7b69dbb61f resolved merge conflicts 2022-11-05 11:02:15 +05:30
Neeraj Gupta dbe51b0d21
Add Result type for captions 2022-11-05 11:00:03 +05:30
Neeraj Gupta b2f301d96b
Move parseDateFromFileName in date time util 2022-11-05 10:40:22 +05:30
ashilkn a5c7f82019 add caption as hint text in caption textField 2022-11-05 09:57:38 +05:30
ashilkn 74f12ed879 android creation time bug fix 2022-11-04 18:27:28 +05:30
ashilkn 2bea592925 made util function to edit file's caption in public metadata 2022-11-04 15:40:11 +05:30
Neeraj Gupta 9a468c97c7
remove redundant null comparision 2022-11-02 16:18:11 +05:30
Neeraj Gupta 5744c35874
Fix bug in collection creation 2022-10-31 15:42:04 +05:30
Neeraj Gupta 587c0b5cd9
Support for basic hidden functionality 2022-10-27 12:53:45 +05:30
Neeraj Gupta e5742f6b1b
Add model for createColleciton request 2022-10-27 10:08:55 +05:30
Neeraj Gupta 5932bcb3cd
Hide hidden collections from timeline and memory 2022-10-26 22:41:06 +05:30
Neeraj Gupta c6692be88d
MagicData: Add constants for hidden and subType 2022-10-26 22:38:29 +05:30
Neeraj Gupta d8a16a777a
CollectionMagic: Add subType 2022-10-26 22:38:25 +05:30
ashilkn aa118645ef use FileType.type instead of hardcoding the fileTypes's integer 2022-10-26 09:38:26 +05:30
ashilkn e0bbe3a124 add photos getter in FilesCount to get images+livePhotos 2022-10-21 11:46:09 +05:30
ashilkn 313a98ac0a use arrow functions for FilesCount getters 2022-10-21 11:39:02 +05:30
ashilkn 11a6724868 changes in getting filesCount 2022-10-21 11:14:14 +05:30
Neeraj Gupta d80868b053
Show empty and archived albums in search result 2022-10-19 17:26:06 +05:30
ashilkn 6a14dc0aa1 made service to fetch photos and videos count 2022-10-18 14:01:58 +05:30
Neeraj Gupta 6b3d756648
Remove unused code 2022-10-14 22:34:20 +05:30
ashilkn 74c12d6114 use Equatable to check value equality in UserDetails 2022-10-08 21:29:38 +05:30
ashilkn c784bdbef9 added 'file_size' to local db 2022-09-24 16:06:05 +05:30
ashilkn b6c126dca8 make TrashFile members late 2022-09-23 11:55:45 +05:30
ashilkn 8d027b50f6 migrate selected_files.dart to null safety 2022-09-23 11:46:16 +05:30
ashilkn 9cf5c09cfd migrated memory.dart to null safety 2022-09-23 11:20:06 +05:30
ashilkn 012b5949c9 removed unused code 2022-09-23 11:17:52 +05:30
ashilkn 0bc03669e2 migrated ignored_file.dart 2022-09-23 11:17:23 +05:30
ashilkn 1fa34c9ae6 migrated trash_file.dart to null safety 2022-09-23 11:09:54 +05:30
ashilkn 9b650467da migrated file_load_results.dart 2022-09-23 10:12:33 +05:30
ashilkn ab2c8234a2 Merge branch 'rewrite_device_sync' into migrate-models 2022-09-23 10:05:59 +05:30
ashilkn d6fce43d73 migrate collection_items.dart to null safety 2022-09-23 10:05:45 +05:30
ashilkn f3213cc848 convert to getters 2022-09-23 07:18:25 +05:30
ashilkn 3de66f782e handle cases where title is null for getDisplayName 2022-09-23 06:48:00 +05:30
ashilkn d2d8cf5ed7 made PubMagicMetadata.editedTime nullable 2022-09-23 06:14:06 +05:30
ashilkn 703e3f841c migrated file.dart to null safety 2022-09-22 20:43:19 +05:30
ashilkn 0f54e2e44b made PubMagicMetadata.editedTime nullable 2022-09-22 20:36:26 +05:30
Ashil 19123c1957
Merge pull request #518 from ente-io/migrate-to-null-safety
Migrate to null safety
2022-09-22 10:41:21 +05:30
Neeraj Gupta 59840aafbb
Fix: Handle missing file and sharedCollection count 2022-09-21 19:41:58 +05:30
ashilkn 8d7758a70f Merge branch 'rewrite_device_sync' into migrate-to-null-safety 2022-09-21 18:11:41 +05:30
ashilkn aa42403d2d made all members of EncryptionResult nullable 2022-09-21 18:09:10 +05:30
Ashil 3efe9d028e
Merge pull request #510 from ente-io/change-on-factories
turn factories into static methods so it is allowed to return null
2022-09-21 17:28:36 +05:30
ashilkn 0327bc26d3 made Collection.attributes non-nullable 2022-09-21 16:17:50 +05:30
ashilkn c05cfb9578 turn factories into static methods so it is allowed to return null 2022-09-21 14:25:00 +05:30
ashilkn 5d69149ae6 Merge branch 'migrate-to-null-safety' of https://github.com/ente-io/frame into migrate-to-null-safety 2022-09-21 10:56:21 +05:30
Ashil a7253bc108
Merge pull request #504 from ente-io/migrate-user-details
Migrate user details
2022-09-21 06:38:16 +05:30
ashilkn c603ffc777 made 'name' of collection.dart nullable 2022-09-21 06:37:08 +05:30
ashilkn c9bbb80c05 remove prefix letter 'k' from constants in constants.dart 2022-09-20 17:23:32 +05:30
ashilkn 11a80f4d4d migrated user_details.dart to null safety 2022-09-20 15:49:13 +05:30
ashilkn ad4569baa7 turn factory into a static method so it is allowed to return null 2022-09-20 14:01:08 +05:30
ashilkn 9bdad2e06d removed unused code 2022-09-20 11:51:00 +05:30
ashilkn ee3ca77f72 migrated collection.dart to null safety 2022-09-20 11:42:35 +05:30
ashilkn 6201b77809 prefer factories that do not return null 2022-09-19 18:47:00 +05:30
ashilkn 9d8ea8ee37 removed unused code 2022-09-19 18:06:50 +05:30
ashilkn bbaf75ce66 replaced ArgumentError with Exception for non severe cases 2022-09-19 17:39:35 +05:30
ashilkn 60818c9cf4 migrated magic_metadata.dart to null safety 2022-09-19 17:34:52 +05:30
ashilkn 3e8bfc6f29 remove prefix letter 'k' from constants 2022-09-19 17:22:20 +05:30
ashilkn 661839f288 prefer factories that do not return null 2022-09-19 17:21:23 +05:30
ashilkn 85a520932a removed unused code 2022-09-19 15:46:47 +05:30
ashilkn 70b4e7d5a0 handle case where map['session'] is null gracefully 2022-09-19 15:31:05 +05:30
ashilkn c912fda3c3 migrated sessions.dart to null safety 2022-09-19 15:10:36 +05:30
ashilkn 9a91bb39c7 removed unused code 2022-09-19 13:49:06 +05:30
ashilkn 53b7197b88 migrated subscription.dart to null safety 2022-09-19 11:56:31 +05:30
ashilkn 7ee0a2d4f2 removed 'id' parameter from Subscription 2022-09-19 11:47:12 +05:30
ashilkn dafc6e5451 prefer factories that do not return null 2022-09-19 11:01:32 +05:30
ashilkn 5a547b042c removed unused code 2022-09-19 10:57:47 +05:30
ashilkn ccb0afe8e2 remove prefix letters from indentifier names 2022-09-19 10:41:02 +05:30
ashilkn 994d8a97aa migrated billing_plan.dart to null safety 2022-09-17 09:45:07 +05:30
ashilkn c396319dd7 prefer factories that do not return null 2022-09-16 19:59:29 +05:30
ashilkn 2c27fb4866 remove unused code from billing_plan.dart 2022-09-16 19:05:21 +05:30
ashilkn 8992de67b4 migrated file_type.dart to null safety 2022-09-16 18:24:16 +05:30
ashilkn 9b1c07bbee migrated location.dart to null safety 2022-09-16 12:42:46 +05:30
ashilkn 910534779c migrated public_key.dart to null safety 2022-09-16 12:12:04 +05:30
ashilkn fd2ea7450b removed unused code 2022-09-16 10:52:14 +05:30
ashilkn 86e496c9da removed unused code 2022-09-15 21:39:41 +05:30
ashilkn 3ff99d546a migrated set_keys_request.dart to null safety 2022-09-15 21:38:52 +05:30
ashilkn e8522e4f38 removed unused code 2022-09-15 21:09:54 +05:30
ashilkn abc860393c migrated set_recovery_key_request.dart to null safety 2022-09-15 21:07:15 +05:30
ashilkn b301302ff6 migrated key_attributes.dart to null safety 2022-09-15 20:57:03 +05:30
ashilkn e90cf84258 Merge branch 'rewrite_device_sync' into migrate-to-null-safety 2022-09-15 16:36:32 +05:30
ashilkn 932d055d8e change return type of cacheKey() to non-nullable 2022-09-15 16:34:33 +05:30
Neeraj Gupta 2ef7c7ce01
CollectionService: remove getCollectionNameByID method
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-09-15 12:41:57 +05:30
Neeraj Gupta c730e36201
Search: Support for searching by fileExtension 2022-09-15 10:14:09 +05:30
Neeraj Gupta db37c8b6dd
Support for searching by type:Image/Video/LivePhoto 2022-09-15 09:59:46 +05:30
Neeraj Gupta bffc967e21
more refactoring 2022-09-14 16:25:45 +05:30
Neeraj Gupta 742b8a76bc
Merge branch 'rewrite_device_sync' into search_refactor 2022-09-14 14:45:53 +05:30
Neeraj Gupta c0d5bb942a
file name 2022-09-14 14:10:35 +05:30
Neeraj Gupta 12fb13efdb
file rename 2022-09-14 14:10:27 +05:30
Neeraj Gupta f20bf786b9
Refactor search widgets 2022-09-14 14:03:51 +05:30
Neeraj Gupta af59fa3971
Make dateTimeUtil null safe 2022-09-14 14:03:51 +05:30
Neeraj Gupta 2a1e8a51fc
Make dateTimeUtil null safe 2022-09-14 10:31:05 +05:30
ashilkn ee308d34ff remove unused code 2022-09-13 17:49:36 +05:30
ashilkn 76092f243c migrated ente_file.dart to null safety 2022-09-13 15:52:31 +05:30
ashilkn 3e78d67fe0 migrated encryption_result.dart to null safety 2022-09-13 15:39:39 +05:30
ashilkn eecc664196 prefer factories that do not return null 2022-09-13 15:25:36 +05:30
ashilkn d8050d6a2a migrated collection_file_item.dart to null safety 2022-09-13 15:24:16 +05:30
ashilkn 6ebd227538 made use of unused derived_key_results.dart file on crypto_util.dart 2022-09-13 09:54:40 +05:30
ashilkn 6cded547dd migrated backup_status.dart to null safety 2022-09-13 09:42:41 +05:30
ashilkn fd586f4787 migrated delete_account.dart to null safety 2022-09-13 09:24:40 +05:30
Neeraj Gupta ff5117f55f
Merge pull request #474 from ente-io/part_5_local_file_speed
Part 5: Fix minor issues for while showing local files
2022-09-12 21:35:16 +05:30
Neeraj Gupta aac339caeb
refactor 2022-09-12 17:41:42 +05:30
Ashil 67d318d6b5
Merge pull request #469 from ente-io/incremental-migration-to-null-safety
Migrate all search models to null safety
2022-09-12 12:35:48 +05:30
Neeraj Gupta 75ea50281d
[Part-3] Remove view all device photos option 2022-09-10 09:24:18 +05:30
ashilkn 94ab1132f5 migrated location_api_response to null safety 2022-09-09 17:05:03 +05:30
ashilkn 926117f01c bug fix when location api response object is null 2022-09-09 17:01:21 +05:30
ashilkn 31972c6719 minor change 2022-09-09 16:49:52 +05:30
ashilkn 9b542f4b54 migrated month and year search models to null safety 2022-09-09 14:27:45 +05:30
ashilkn 0a629ad6db migrated holiday search related files to null safety 2022-09-09 14:14:21 +05:30
ashilkn 6bb70d90d0 migrated album_search_results to null safety 2022-09-09 14:01:07 +05:30
ashilkn 38d843f246 minor change 2022-09-09 13:42:45 +05:30
ashilkn 78392da517 resolved merge conflicts 2022-09-09 12:56:59 +05:30
Neeraj Gupta 3c6acb85ba
Merge branch 'master' into rewrite_device_sync 2022-09-08 10:49:21 +05:30
ashilkn c1722959e7 resolve merge conflicts 2022-09-07 17:56:24 +05:30
ashilkn 9529f852ea enabled null safety for files which are already null safe 2022-09-07 16:27:26 +05:30
ashilkn 1c69673e07 remove language version comment from files which are already null safe 2022-09-07 16:05:50 +05:30
ashilkn eb7c1ec837 started incremental migration to null safety 2022-09-07 14:00:09 +05:30
Neeraj Gupta 591e8ba1d9
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-07 13:50:43 +05:30
Neeraj Gupta 010982a0c0
store device collection upload strategy 2022-09-07 11:33:48 +05:30
Neeraj Gupta 29a0ebad8e
By default, only add to collection if file not already uploaded 2022-09-07 10:58:50 +05:30
Neeraj Gupta 8c3785c2d3
DeviceCollection: Remove unsued property 2022-09-06 22:21:05 +05:30
Neeraj Gupta 00cbc2e60c
Remove unsued device_folder and rename file 2022-09-06 22:19:02 +05:30
Neeraj Gupta f61ee05fbf
Merge branch 'master' into rewrite_device_sync 2022-09-06 22:14:25 +05:30
ashilkn 145b998294 sort clubbed dedepue files in alphabetical order of collection names 2022-09-03 20:01:46 +05:30
Neeraj Gupta 718fcdf6cb
Rename device_collection.sync -> should_backup 2022-09-01 00:21:17 +05:30
Neeraj Gupta dc0c856a4c
rename DevicePathCollection to DeviceCollection 2022-09-01 00:09:39 +05:30
Neeraj Gupta 9778c2f42b
undo redundant changes 2022-08-30 10:58:15 +05:30
Neeraj Gupta 22a1f5dde6
Simplify removal of ignoredFiles + documentation 2022-08-30 10:48:34 +05:30
Neeraj Gupta 1533ac4098
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-29 23:32:00 +05:30
Neeraj Gupta 792dd67ade
Merge branch 'master' into reupload_hash_check 2022-08-29 23:20:21 +05:30
vishnukvmd 06ec7cb658 final all the vars! 2022-08-29 20:13:31 +05:30
Neeraj Gupta c05cbb87e9
Handle livePhoto hash from web client 2022-08-29 13:35:16 +05:30
Neeraj Gupta 68738c5c56
Refactor fileHash handling 2022-08-29 13:28:49 +05:30
Neeraj Gupta e221b20ad8
Remove redundant devicePathID field from File 2022-08-25 15:12:37 +05:30
Neeraj Gupta 1bae350ec3
create & track collections for devicePath marked for sync 2022-08-24 10:08:16 +05:30
Neeraj Gupta 0502cd20da
Refactor and honor select all folder sync 2022-08-23 16:45:15 +05:30
Neeraj Gupta b396d420b0
Use devicePathCollection entity to show device folder/album page 2022-08-23 09:37:21 +05:30
Neeraj Gupta d3e0eebacb
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-22 16:06:47 +05:30
Neeraj Gupta 74734d47f2
Merge branch 'master' into reupload_hash_check 2022-08-22 16:03:26 +05:30
ashilkn 32190e1ea5 modified getYearSearchResults service to handle more than one year + refactoring 2022-08-22 10:48:28 +05:30
ashilkn aa2f85af93 Made service for month search and added results to allResults 2022-08-17 16:20:40 +05:30
ashilkn 52c6cb0fe7 made MonthSearchResult and MonthWithNumber types + made an allMonths list 2022-08-17 16:02:57 +05:30
ashilkn 5b4b86d964 refactoring 2022-08-16 12:43:21 +05:30
ashilkn d2a0ff3cde refactoring/restructuring 2022-08-15 19:33:42 +05:30
ashilkn eeb477598b changes to holidays search service and type of object returned by it 2022-08-15 17:32:56 +05:30
ashilkn e3d07556e7 Made serive to find matching holiday queries and stored it into the results of suggestions 2022-08-12 16:38:26 +05:30
ashilkn f9f87f0435 made static map of holidays + made a class to store holiday data as it's object 2022-08-12 15:13:15 +05:30
ashilkn 50c39dc768 made search service for search by year and stored it to the results variable which is passed on to the SearchSuggestionsWidget() 2022-08-11 18:52:30 +05:30
ashilkn 4cd054a164 Merge branch 'master' into location-search 2022-08-10 19:24:47 +05:30
vishnukvmd b84ca391a7 Update endpoint 2022-08-10 19:21:57 +05:30
vishnukvmd 0119f8a257 Update variable name 2022-08-10 18:58:33 +05:30
vishnukvmd eddaa8fe5d Directly hit the endpoint to download files only on non-production environments 2022-08-10 18:57:32 +05:30
ashilkn e33384be8f logic changes and code refactoring on search_service.dart 2022-08-10 18:57:04 +05:30
ashilkn 260cbb22a5 code refactor + used new object to find matching files for location 2022-08-09 20:10:50 +05:30
ashilkn 55b27a9015 made new classes to store the locaiton api response as objects of them 2022-08-09 17:53:43 +05:30
ashilkn f970869c57 misc. changes 2022-08-06 23:26:36 +05:30
Neeraj Gupta b15fcc7c70
Support for removing entries from IgnoreFiles when tries to add unuploaded files to collection 2022-08-05 21:23:28 +05:30
Neeraj Gupta 7055b618d1
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-05 17:24:23 +05:30
ashilkn 5ee05d8d59 SearhWidget (the search screen) is now a screen on the navigator stack 2022-08-05 12:51:39 +05:30
ashilkn 172cda39a2 vishnu' restructure with errors 2022-08-04 21:46:16 +05:30
ashilkn c3c8050663 made an object to store location and matching files and used it wherever needed 2022-08-04 13:08:31 +05:30
Neeraj Gupta 41f70abb67
Use hash from MediaDataUpload for fileMetadata 2022-07-28 14:49:38 +05:30
Neeraj Gupta 52dbb2789f
Support for fetching device path collections from db 2022-07-26 13:08:04 +05:30
Neeraj Gupta 7a49c329ed
File: Add devicePathID field 2022-07-23 12:55:40 +05:30
Neeraj Gupta fa17c7562b
Remove redundant update
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-20 14:18:53 +05:30
Neeraj Gupta ac0011f83b
Add base EnteFile and use cacheKey for thumbnailCache 2022-07-19 16:42:28 +05:30
Neeraj Gupta 9b1707071a
FixDownload: Ignore live video for auto-upload 2022-07-16 11:03:41 +05:30
Neeraj Gupta 35d8e00034
Add view all device photos option for iOS 2022-07-09 22:53:11 +05:30
Neeraj Gupta b123b2301c
Add API to fetch delete challenge 2022-07-08 14:20:19 +05:30
Neeraj Gupta ca1d9388e2
Fix share to ente upload 2022-07-06 01:35:51 +05:30
Neeraj Gupta fdadf36baa
Lint fixes 2022-07-03 15:39:01 +05:30
Neeraj Gupta 6a0e7b2315
Fix more lint issues 2022-07-03 13:17:15 +05:30
Neeraj Gupta b2d3cc9946
minor fix 2022-06-29 15:13:22 +05:30
Neeraj Gupta d2c506f149
Fix: selectedFiles use generatedId for tracking selected files 2022-06-29 15:11:20 +05:30
Neeraj Gupta e248758ad9
Refactor ImportantItemsFilter logic 2022-06-21 18:13:24 +05:30
vishnukvmd 47505ae102 Execute dart format lib 2022-06-11 13:53:52 +05:30
vishnukvmd 3e306facf5 Apply dart fix for require_trailing_commas 2022-06-11 13:53:18 +05:30
Neeraj Gupta 7c785d5c0a
Merge branch 'master' into redesign 2022-06-06 10:03:29 +05:30
Neeraj Gupta a77bf352db
File:include title in toString() 2022-06-05 17:17:59 +05:30
Neeraj Gupta 22b25db0c1
Merge branch 'master' into redesign 2022-05-27 20:14:47 +05:30
Neeraj Gupta c70b08c990
Merge remote-tracking branch 'origin/master' into redesign 2022-05-13 22:52:34 +05:30
Neeraj Gupta ae1ee2ca4a
Merge branch 'master' into photos_manger_upgrade 2022-05-13 17:31:49 +05:30
Neeraj Gupta 1137eea2f7
Fix null memories/shared album text 2022-05-12 09:27:22 +05:30
Neeraj Gupta 22babe31e6
upgrade photos_manager pkg 2022-05-12 08:57:32 +05:30
ashilkn 90cd47c46d refactored GalleryAppBarType and GalleryOverlayType to GalleryType 2022-05-08 10:04:55 +05:30
Neeraj Gupta 6287636d1e
update usage details section 2022-05-03 00:27:50 +05:30
Neeraj Gupta 8324fd5def
Update usage detail section for family plan 2022-04-21 09:52:58 +05:30
Neeraj Gupta 151456953d
use totalUsage while checking for downgrade 2022-04-21 02:06:35 +05:30
Neeraj Gupta 4bcde8d308
msupport for managing family 2022-04-21 01:44:44 +05:30
Neeraj Gupta 6dcb4ba0b4
switch to usageDetailsV2 for fetching subscription 2022-04-14 19:47:41 +05:30
Neeraj Gupta 9000974fb6
UserService: Support to fetch user/details/v2 2022-04-14 18:31:24 +05:30
Neeraj Gupta 588aae777f Add support for archiving collection 2022-03-21 15:02:24 +05:30
Neeraj Gupta 7ebf0cd368
support for setting link expiry, download button. & password 2022-02-22 11:38:27 +05:30
Neeraj Gupta 810a7f8fca
temp 2022-02-21 07:43:10 +05:30