Commit graph

540 commits

Author SHA1 Message Date
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