Commit graph

672 commits

Author SHA1 Message Date
Neeraj Gupta 774136137a
Lint: dart fmt, remove empty lines on top 2023-01-07 18:15:15 +05:30
Neeraj Gupta 38ab84a710
Fix typo 2023-01-05 16:44:28 +05:30
Neeraj Gupta 0ff8c3c52f
Minor fix 2023-01-05 09:59:17 +05:30
Neeraj Gupta 97bf760c3b
minor refactor 2023-01-05 09:34:34 +05:30
Neeraj Gupta bc4e759e01
NullSafety: Fix select files & download 2022-12-30 23:54:25 +05:30
Neeraj Gupta 3234081e85
Handle missing fileType 2022-12-30 20:20:40 +05:30
Neeraj Gupta fbb17c5fcc
NullSafety: More migration and fixes 2022-12-30 15:33:50 +05:30
Neeraj Gupta 0a84f06b5a
NullSafety: More migration and fixes 2022-12-30 15:14:52 +05:30
Neeraj Gupta 801707bbb9
NullSafety: Migrate DeduplicateFiles model 2022-12-30 13:56:32 +05:30
Neeraj Gupta c4bacb0e8d
Merge branch 'main' into null_safety_1 2022-12-28 12:10:49 +05:30
Neeraj Gupta dc4bc05c23
NullSafety: Migrate filters model 2022-12-27 17:55:24 +05:30
vishnukvmd b3913cefa4 Fix parsing 2022-12-27 17:13:00 +05:30
vishnukvmd 006cf071c3 Add serializers for UserDetails 2022-12-27 17:05:15 +05:30
Neeraj Gupta e4997dc7ce
Missing title: log only for debug builds 2022-12-26 14:51:58 +05:30
Neeraj Gupta 8498ddae53
Hide collections for link from album screen 2022-12-22 23:25:09 +05:30
Neeraj Gupta 947eff472b
Merge branch 'main' into create_link 2022-12-22 14:54:13 +05:30
Neeraj Gupta 3361db1029
Fix minor bug 2022-12-20 15:08:21 +05:30
Neeraj Gupta 8bac31cbb7
Add uncategorized type & fix parsing from string to type 2022-12-20 15:02:57 +05:30
Neeraj Gupta 670fea0abe
Fix create collectionr request 2022-12-20 15:02:12 +05:30
Neeraj Gupta aed55f5770
Merge pull request #695 from ente-io/collaboration_view
Prettify Sharing + Collect Files 
2022-12-19 15:34:56 +05:30
Neeraj Gupta d224c28f14
Add collection subType for sharedfiles collection 2022-12-19 13:30:48 +05:30
Neeraj Gupta df49a6ddda
GalleryType: Add showCreateLink 2022-12-19 13:14:09 +05:30
Neeraj Gupta 05ca972d23
Fix bug in file selection check 2022-12-17 16:07:46 +05:30
Neeraj Gupta 87d76acc1f
Fix: open collection with correct appBarType 2022-12-17 14:58:16 +05:30
Neeraj Gupta 66c5e0f24f
Use new bottom bar for gallery folder page 2022-12-16 15:29:48 +05:30
vishnukvmd ff635f1a95 Merge remote-tracking branch 'origin/collaboration_view' into collect_changes 2022-12-16 14:02:55 +05:30
Neeraj Gupta 5f5cdabf37
Show delete option for hidden bottom menu 2022-12-16 13:13:41 +05:30
Neeraj Gupta 9f655a2c5b
Show hide option on archive bottom menu 2022-12-16 13:01:07 +05:30
vishnukvmd e0f6db707c Show uploader avatar for collected files 2022-12-16 12:10:55 +05:30
Neeraj Gupta ff4611b192
hook more options on file selections 2022-12-15 16:54:51 +05:30
Neeraj Gupta 439c7241d4
Add hooks for more file actions 2022-12-15 15:32:46 +05:30
Neeraj Gupta aa14d41388
Add new galleryType: favortie 2022-12-15 14:58:08 +05:30
Neeraj Gupta 26a403b642
Add helper method to show file ownership split 2022-12-15 08:45:10 +05:30
Neeraj Gupta 8ec8944fbd
FileSelection: Show various actions based on gallery type 2022-12-14 23:05:08 +05:30
Neeraj Gupta df1e0c3d10
GalleryType: add action method for addToAlbum option 2022-12-14 22:17:33 +05:30
ashilkn aca1da4b43 Removed Equatable in UserDetails 2022-12-13 20:23:58 +05:30
Neeraj Gupta 8891b0ce58
Merge branch 'master' into collaboration_view 2022-12-11 19:18:23 +05:30
Neeraj Gupta d2c760ae5d
Model changes for collect 2022-12-11 18:36:36 +05:30
Neeraj Gupta cb455fff11
Fix lint warning 2022-12-08 11:37:57 +05:30
Neeraj Gupta 373d0812fc
simplify logic to compute useFileTimeStamp flag 2022-12-08 11:09:58 +05:30
Neeraj Gupta 85c6f87168
Fix typo 2022-12-08 10:58:10 +05:30
Neeraj Gupta ed76ca0b39
Prefer existing creationTime if tileFromFileName is close to existing time 2022-12-08 10:55:32 +05:30
Neeraj Gupta 0f72c1b4a2
Android: Parse timestamp from fileName during upload 2022-12-08 09:58:33 +05:30
Neeraj Gupta a075f335e8
Fix state fresh issues while adding/remove participants 2022-11-25 16:34:35 +05:30
Neeraj Gupta 54eef4f112
Add enum for collection participant 2022-11-22 21:23:50 +05:30
Neeraj Gupta 421af35a09
Add helper method 2022-11-22 15:51:44 +05:30
Neeraj Gupta 5e4aee84dd
refactor 2022-11-21 14:58:17 +05:30
Neeraj Gupta 2e4167a97f
User: Helper properties to identify role 2022-11-21 07:40:42 +05:30
Neeraj Gupta 507533646f
Collection: Persist user role 2022-11-20 17:24:10 +05:30
ashilkn cd1d49f438 minor fix 2022-11-19 17:06:16 +05:30
ashilkn 9f3c693e7d bug fix : selected files thumbnail not not getting refreshed on 'cancel' 2022-11-18 17:26:39 +05:30
ashilkn bc2caac531 Merge branch 'master' into select-photos-of-day 2022-11-16 10:05:52 +05:30
Neeraj Gupta 34de3f5fc3
Merge pull request #583 from ente-io/empty_albums
Empty albums
2022-11-15 10:54:56 +05:30
ashilkn 43d48916e2 minor changes 2022-11-14 18:23:03 +05:30
ashilkn 61ecbb3321 Merge branch 'master' into select-photos-of-day 2022-11-14 10:07:42 +05:30
ashilkn 39c749a39c code refactoring 2022-11-14 10:04:22 +05:30
Neeraj Gupta 2de6562343
Do not show hide option for local only files 2022-11-11 11:53:01 +05:30
ashilkn 9223ffbe69 remove rebuild on unselecting all files + use better name 2022-11-10 17:17:05 +05:30
Neeraj Gupta 587817965d
rename method 2022-11-10 16:10:35 +05:30
Neeraj Gupta 68b5750d48
Change base date for creationTime cutoff 2022-11-10 16:07:41 +05:30
Neeraj Gupta f7c1593470
Fix creationLogic 2022-11-10 16:06:22 +05:30
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