Commit graph

567 commits

Author SHA1 Message Date
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
Neeraj Gupta ff61b7113a
Support for enabling/disabling public urls 2022-01-23 11:34:39 +05:30
vishnukvmd e30f038395 Accept review comments 2021-11-24 11:10:07 +05:30
vishnukvmd 7fb8b6690a Add session model 2021-11-24 01:10:22 +05:30
Neeraj Gupta f5d1a24ee7 Allow changing file name via info dialog 2021-11-12 17:18:39 +05:30
Vishnu Mohandas 20b8b9b794
Merge pull request #119 from ente-io/exif_time
Use creationTime from EXIF when available
2021-10-28 00:06:52 +05:30
vishnukvmd 90904cbe6a Remove dependency on external lib to parse time 2021-10-27 20:03:09 +05:30
vishnukvmd 9dfefc4f46 Parse creationTime from exif only for images 2021-10-27 18:18:58 +05:30
vishnukvmd 840e2f3a3c Use creationTime from EXIF when available 2021-10-27 18:17:34 +05:30
Neeraj Gupta 96932f22d7
Merge branch 'master' into edit-time 2021-10-27 13:25:42 +05:30
Neeraj Gupta bf18952156
IgnoredFiles: add deviceFolder 2021-10-27 10:03:59 +05:30
Neeraj Gupta 3816f15343
formatting changes 2021-10-26 20:16:58 +05:30
Neeraj Gupta 13d683c42f
minor fix 2021-10-26 17:43:20 +05:30
Neeraj Gupta aa145e0217
Support for editing date of memory 2021-10-26 16:07:14 +05:30
Neeraj Gupta 4e492396e4
File & FilesDB: Add pubMetadata 2021-10-26 10:55:42 +05:30
Neeraj Gupta 4207633797
Fix: Add fileType in file metadata 2021-10-25 17:01:11 +05:30
Neeraj Gupta 047b154156
trash_db: store file original metadata as json 2021-10-22 15:00:06 +05:30
Neeraj Gupta 6d3327113a
Fixes based on review comments 2021-10-21 17:38:12 +05:30
Neeraj Gupta f5a74f220a
IgnoredFile: minor refactoring & improved documentation 2021-10-17 19:58:47 +05:30
Neeraj Gupta 3b3f787f8c
persist deleted/trashed files with localId in ignoredFiles db 2021-10-16 21:45:15 +05:30
Neeraj Gupta df6eeb407b
Add support for persisting ignored files 2021-10-16 20:44:40 +05:30
Neeraj Gupta ceaed8def3
TrashFile: extend File 2021-10-13 02:59:05 +05:30
Neeraj Gupta a5265b09af
Add diff fetcher for trashed files 2021-10-12 20:18:35 +05:30
Neeraj Gupta f488f47f2b
Trash: Add trash service & api to trash files 2021-10-11 10:35:37 +05:30
vishnukvmd 2ee21cd928 Merge branch 'master' into deduplicate 2021-09-23 12:46:08 +05:30
Neeraj Gupta fa4480eb44
Improve filename to datetime parsing for video files 2021-09-22 11:48:48 +05:30
Neeraj Gupta 2bbf49384f
Rename to avoid conflict between request MagicMetadata & File:MagicMetadata 2021-09-20 12:56:25 +05:30
Neeraj Gupta 81eeeb7aeb
magic-metadata: rename 2021-09-20 12:11:38 +05:30
Neeraj Gupta e9de949468
[archive] more refactoring 2021-09-18 09:24:32 +05:30
Neeraj Gupta fde3ef0ec3
use constants for file visibility values 2021-09-17 15:34:24 +05:30
Neeraj Gupta f3e131e160
Sync service to update magic metadata on remote 2021-09-16 22:51:27 +05:30
Neeraj Gupta d120f18aab
Support for persisting magic metadata for file 2021-09-16 18:44:51 +05:30
vishnukvmd f38259bae9 Convert fetched fileIDs to File objects 2021-09-14 23:58:14 +05:30
vishnukvmd dcab8b8028 Add API to fetch duplicate files from remote 2021-09-14 20:53:39 +05:30
vishnukvmd d9b8f95868 Remove unused import 2021-09-14 20:53:23 +05:30
Neeraj Gupta 45d3b2f9a0
Stop uploading fileExif as part of encrypted metadata 2021-09-13 12:54:54 +05:30
Neeraj Gupta 70526a4157 Fixed upload for files shared to ente for backup 2021-08-31 13:50:32 +05:30
Neeraj Gupta 779449a340
Merge pull request #23 from ente-io/stripe_payment
Enable subscription via Stripe on independent apk
2021-08-28 10:42:03 +05:30
Neeraj Gupta 69a9a0f67c
Merge pull request #26 from ente-io/cf_worker_flag
Add feature flag to enable/disable CF Worker endpoint
2021-08-24 13:04:24 +05:30
vishnukvmd b97fb12b05 Clear origin files that are cached 2021-08-24 12:44:51 +05:30
Neeraj Gupta c1e0886757 Add feature flag to enable/disable CF Worker 2021-08-24 12:21:02 +05:30
Neeraj Gupta 4cdd9a6238 Remove unused method 2021-08-24 11:36:59 +05:30
Neeraj Gupta a4d5367f3b Merge branch 'stripe_payment' of github.com:ente-io/frame into stripe_payment 2021-08-23 15:46:23 +05:30
Neeraj Gupta 14fa763d80 address review comments 2021-08-23 15:45:45 +05:30
vishnukvmd c6475827ef Merge branch 'master' into stripe_payment 2021-08-23 15:31:30 +05:30