Commit graph

1092 commits

Author SHA1 Message Date
Neeraj Gupta b44c349c10
Add missing await and use unawaited for remote sync 2022-09-12 10:12:53 +05:30
Neeraj Gupta 7ba4ccb16b
add log when syncing remote is resulting in forceReload of gallery 2022-09-12 10:07:18 +05:30
Neeraj Gupta d61d456217
[Part-4] Mark all folders for backup when limited permission is granted 2022-09-10 10:06:41 +05:30
ashilkn b9bd97446e Merge branch 'rewrite_device_sync_remote' of https://github.com/ente-io/frame into incremental-migration-to-null-safety 2022-09-09 17:58:37 +05:30
Neeraj Gupta e14f44e6bd
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-09 17:51:23 +05:30
Neeraj Gupta 6aa01ce833
minor refactor 2022-09-09 17:50:37 +05:30
ashilkn eea38d6857 Merge branch 'rewrite_device_sync_remote' of https://github.com/ente-io/frame into incremental-migration-to-null-safety 2022-09-09 17:10:02 +05:30
Neeraj Gupta 53ce251528
remove unused variable 2022-09-09 16:01:29 +05:30
Neeraj Gupta 01c29037dd
Handle cancellation for uploads when folder is unmarked for backup 2022-09-09 15:04:09 +05:30
ashilkn 78392da517 resolved merge conflicts 2022-09-09 12:56:59 +05:30
Neeraj Gupta 5851e48fe1
minor refactor 2022-09-08 11:24:07 +05:30
Neeraj Gupta 83067bc523
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-08 10:50:27 +05:30
Neeraj Gupta 3c6acb85ba
Merge branch 'master' into rewrite_device_sync 2022-09-08 10:49:21 +05:30
Ashil 9c0226e549
Merge pull request #467 from ente-io/migrate-to-null-safety
started incremental migration to null safety
2022-09-07 18:12:31 +05:30
ashilkn c1722959e7 resolve merge conflicts 2022-09-07 17:56:24 +05:30
Neeraj Gupta c99fe1bf59
Merge branch 'master' into rewrite_device_sync_remote 2022-09-07 17:31:00 +05:30
Neeraj Gupta 28dda0443b
Merge branch 'master' into rewrite_device_sync 2022-09-07 17:30:39 +05:30
Neeraj Gupta bb038e043b
Fix stupid bug: continue instead of break 2022-09-07 17:01:11 +05:30
Neeraj Gupta a5b516b643
Migrate existing backup folder selection 2022-09-07 16:20:02 +05:30
Neeraj Gupta cc0c6e3442
Import files from recent collection (isAll True) in the end 2022-09-07 16:01:18 +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 f7d90f2b08
refresh ui on device folder change 2022-09-07 13:45: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 e9e57a6f75
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-06 23:11:04 +05:30
Neeraj Gupta 9e78775167
Fire event on backup folder updation 2022-09-06 23:09: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
Vishnu Mohandas 49802befa0
Merge pull request #454 from ente-io/handle-cases-for-no-password-on-device 2022-09-06 17:50:39 +05:30
Neeraj Gupta 1612b4f8f6
Show error if user tries to link existing subscription to another account 2022-09-06 17:02:22 +05:30
ashilkn 9637a5df49 Merge branch 'master' into handle-cases-for-no-password-on-device 2022-09-06 14:08:14 +05:30
ashilkn 4bf751ea28 refactoring + variable name changes 2022-09-06 14:05:34 +05:30
Neeraj Gupta d9217dee41
Fix typo 2022-09-05 23:00:53 +05:30
ashilkn 1b06395e9c create service file for local authentication 2022-09-05 16:02:04 +05:30
ashilkn 80557f0adf Merge branch 'master' into handle-cases-for-no-password-on-device 2022-09-05 15:25:34 +05:30
Neeraj Gupta 53d1ee491a
Merge pull request #462 from ente-io/fix_sync_ui_status
Fix missing feedback for remote sync
2022-09-05 15:23:09 +05:30
Ashil 9f71a4c2e7
Merge pull request #459 from ente-io/dedupe-screen-changes
Dedupe screen changes
2022-09-05 15:02:30 +05:30
Neeraj Gupta cf92871a64
minor fix 2022-09-05 14:33:49 +05:30
Neeraj Gupta 491fb0b19a
Fix missing feedback for remote sync 2022-09-05 14:14:21 +05:30
Neeraj Gupta b96c2814af
rename 2022-09-05 13:43:47 +05:30
Neeraj Gupta 4a011b3d56
Improve logic for resetting syncTime 2022-09-05 13:38:10 +05:30
ashilkn f81c8791d4 Merge branch 'master' into handle-cases-for-no-password-on-device 2022-09-05 05:30:00 +05:30
ashilkn 7b3812044d Merge branch 'master' into dedupe-screen-changes 2022-09-05 05:28:23 +05:30
Neeraj Gupta 536d8b0440
Rewrite storeDiff logic to fix matching bugs 2022-09-04 17:12:22 +05:30
ashilkn 145b998294 sort clubbed dedepue files in alphabetical order of collection names 2022-09-03 20:01:46 +05:30
ashilkn c1da25fa7a removed commented code + bug fix 2022-09-03 08:32:42 +05:30
ashilkn 18abdb089d Merge branch 'master' into handle-cases-for-no-password-on-device 2022-09-03 07:16:37 +05:30
ashilkn c2272879f1 extracted local authentication to LocalAuthenticationService 2022-09-02 19:50:03 +05:30
Neeraj Gupta 1ad387979e
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-02 14:12:46 +05:30
Neeraj Gupta 298c94bb65
Merge branch 'match_bug_fix' into rewrite_device_sync 2022-09-02 14:12:14 +05:30
Neeraj Gupta 81beff6f1d
Merge pull request #415 from ente-io/reupload_hash_check
[Part-0] Rewrite Sync: Use hash to avoid duplicate uploads
2022-09-02 12:07:45 +05:30
Neeraj Gupta 06cc2d083f
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-01 20:57:09 +05:30
Neeraj Gupta a018d33478
minor fixes 2022-09-01 20:56:51 +05:30
Neeraj Gupta b15c8528db
minor rename 2022-09-01 20:46:57 +05:30
Neeraj Gupta 567804f0f9
minor formatting and rename 2022-09-01 20:39:47 +05:30
Neeraj Gupta 7e6a54d318
ensure photo is not uploaded to Recent whenever possible 2022-09-01 18:11:32 +05:30
Neeraj Gupta 7a18d3ab38
make final 2022-09-01 15:11:50 +05:30
Neeraj Gupta eec540af93
review changes 2022-09-01 14:17:57 +05:30
Neeraj Gupta 226c064d82
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-01 09:45:17 +05:30
Neeraj Gupta c0f47ec0e9
Merge branch 'master' into rewrite_device_sync_remote 2022-09-01 09:05:04 +05:30
Neeraj Gupta a5a135a611
minor rename refactoring 2022-09-01 01:34:02 +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 e09e585c5f
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-31 23:58:48 +05:30
Neeraj Gupta 046dfc610a
FileUploader: return new or updated file after file linking to existing file 2022-08-31 23:46:04 +05:30
Neeraj Gupta cddcc786dc
Merge branch 'master' into reupload_hash_check 2022-08-31 23:16:12 +05:30
Neeraj Gupta cfc55d7df3
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-08-30 13:11:35 +05:30
Neeraj Gupta 19832b82b5
Merge branch 'master' into rewrite_device_sync_remote 2022-08-30 13:03:54 +05:30
Ashil Kandapath 5850074120 minor changes 2022-08-30 12:13:51 +05:30
Ashil Kandapath d81c43268b resolved merge conflicts 2022-08-30 11:44:57 +05:30
Neeraj Gupta 708512093e
make method private 2022-08-30 11:36:33 +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 2bbacb26ee
mark variables as final when possible 2022-08-29 23:35:13 +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
Neeraj Gupta 531b4a0490
add review comments 2022-08-29 23:13:17 +05:30
vishnukvmd 06ec7cb658 final all the vars! 2022-08-29 20:13:31 +05:30
Neeraj Gupta 68738c5c56
Refactor fileHash handling 2022-08-29 13:28:49 +05:30
Neeraj Gupta 124672768e
refactor 2022-08-29 10:38:18 +05:30
Neeraj Gupta 28b5e9710f
mark field as final 2022-08-29 10:11:38 +05:30
Neeraj Gupta 399cad4561
refactor: rename 2022-08-29 10:00:28 +05:30
ashilkn 89892ea9f1 enable extra hidden features only for internal testers or on debug build 2022-08-27 15:24:06 +05:30
Neeraj Gupta 3cd3c2dd81
Fix handling of re-upload of deleted file 2022-08-27 12:00:41 +05:30
Neeraj Gupta 8ec13b05e9
Fix handling of re-upload of deleted file 2022-08-27 11:16:04 +05:30
Neeraj Gupta e72ab4f52d
Clear ignoredFiles db while resetting db 2022-08-26 17:07:59 +05:30
Neeraj Gupta 38b719c61e
Fix handling for ignored files 2022-08-26 17:07:31 +05:30
Neeraj Gupta 7b043fff30
Sync mapping from device albums to files table 2022-08-26 16:30:22 +05:30
Neeraj Gupta 22cdf59f6e
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-08-26 15:04:59 +05:30
Neeraj Gupta 23bd6ff6ba
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-26 15:04:40 +05:30
Neeraj Gupta cdf6d5d334
Merge branch 'master' into reupload_hash_check 2022-08-26 15:04:15 +05:30
Neeraj Gupta 38771a9402
Put search behind remote feature flag 2022-08-26 14:59:49 +05:30
Neeraj Gupta 72043e9f0d
temp 2022-08-26 14:51:44 +05:30
Neeraj Gupta 919186a9c9
Fix: only attempt to update files ownedBy user 2022-08-26 12:34:41 +05:30
Neeraj Gupta 5ad1196172
Remove redundant method for uploading editedFiles 2022-08-26 12:04:41 +05:30
Neeraj Gupta 3bcb907f85
Fire LocalPhotosUpdatedEvent on local mapping change 2022-08-26 11:21:40 +05:30
vishnukvmd 4da025a419 Fix typos 2022-08-25 17:11:49 +05:30
Neeraj Gupta e221b20ad8
Remove redundant devicePathID field from File 2022-08-25 15:12:37 +05:30
Neeraj Gupta 6db967bbc1
refactor 2022-08-25 14:53:33 +05:30
Neeraj Gupta b588221ff1
Simplify getDeviceFiles 2022-08-25 14:32:03 +05:30
Neeraj Gupta 11edab5783
remove redundant sorting 2022-08-25 13:49:15 +05:30
Neeraj Gupta 9bdf2e8ed6
log syncAll timeTaken 2022-08-24 17:00:40 +05:30
Neeraj Gupta c6c955c889
Return unique files while returning unsynced assets 2022-08-24 16:44:10 +05:30
Neeraj Gupta 64efda4284
Avoid unncessory converstion from localID to File 2022-08-24 16:26:44 +05:30
Neeraj Gupta 3db9b64e36
minor refactor 2022-08-24 16:02:41 +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 aa9943e209
Sync device album add/remove changes to local db 2022-08-23 13:30:09 +05:30
Neeraj Gupta cf84d21ac2
Fix refresh for device path cover and count 2022-08-23 11:08:18 +05:30
ashilkn adf093a57f fixed range error fix for months 2022-08-22 17:10:27 +05:30
Neeraj Gupta 08bf7d478c
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-22 16:28:55 +05:30
Neeraj Gupta d24daaa332
Fix bug in deleting entries from file_migrations db 2022-08-22 16:28:42 +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
Neeraj Gupta 7513fcdfea
Fix range error in HolidaySearch suggestions 2022-08-22 13:22:22 +05:30
ashilkn 1d40e4833d misc. changes 2022-08-22 11:32:06 +05:30
ashilkn 32190e1ea5 modified getYearSearchResults service to handle more than one year + refactoring 2022-08-22 10:48:28 +05:30
ashilkn ce84ad1125 bug fix on holiday search and files not shown for current year holidays 2022-08-19 10:35:21 +05:30
ashilkn eded31210c Made month reslut widget + fixed bug on searching 'december' 2022-08-17 17:18:25 +05:30
ashilkn aa2f85af93 Made service for month search and added results to allResults 2022-08-17 16:20:40 +05:30
ashilkn ffe3d37726 minor changes 2022-08-17 14:05:16 +05:30
ashilkn d59aa30957 removed unnecessary for loops + other improvements 2022-08-16 17:19:58 +05:30
ashilkn fd6e8c7d76 minor changes 2022-08-16 15:49:26 +05:30
ashilkn dec2029814 fixed merge conflicts 2022-08-16 13:00:17 +05:30
ashilkn 5b4b86d964 refactoring 2022-08-16 12:43:21 +05:30
ashilkn 4c2fc2b5f6 moved constant holiday data to a new file 2022-08-16 12:24:05 +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
vishnukvmd a124211f27 Fix ordering of search results within a year 2022-08-13 18:40:01 +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 3f2e70a44a minor changes 2022-08-12 12:07:19 +05:30
ashilkn 7822ed7f68 mixed merge conflicts 2022-08-12 11:30:41 +05:30
vishnukvmd 1e047d6e4b Fix logger name 2022-08-11 20:08:43 +05:30
ashilkn c134bffc66 Merge branch 'master' into search-by-year 2022-08-11 19:16:24 +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
vishnukvmd 08841b22c3 Rename variable 2022-08-11 18:00:15 +05:30
vishnukvmd f25045b92a Fetch 10 results for location searches 2022-08-11 17:18:09 +05:30
vishnukvmd 91e2226eaa Gracefully handle all errors while querying by location 2022-08-11 13:34:58 +05:30
vishnukvmd e254e6e64e Sort location search results by the latest file first 2022-08-11 13:14:42 +05:30
vishnukvmd b7f546644c Remove separate cache for files 2022-08-11 13:12:06 +05:30
ashilkn 9c24051b28 used more consistant names for methods 2022-08-11 11:50:39 +05:30
ashilkn 865ad15827 code refactoring 2022-08-11 11:10:29 +05:30
ashilkn ebf389e598 code refactoring 2022-08-11 10:45:42 +05:30
ashilkn e33384be8f logic changes and code refactoring on search_service.dart 2022-08-10 18:57:04 +05:30
ashilkn 9109ee46cb minor changes 2022-08-10 15:39:56 +05:30
ashilkn d773ecc831 misc. changes 2022-08-10 10:18:40 +05:30
ashilkn a0a4e3d1f3 moved getFilteredCollectionsWithThumbnail to search_service.dart 2022-08-09 20:39:18 +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 52ee30eee9 moved getLocationsAndMatchedFiles to search_service.dart 2022-08-08 10:45:06 +05:30
ashilkn f970869c57 misc. changes 2022-08-06 23:26:36 +05:30
ashilkn a54c212876 added hero animation from location suggestion to location collection 2022-08-06 20:56:07 +05:30
ashilkn dd9cb3aac9 added solution for an edge case for search 2022-08-06 19:14:52 +05:30
ashilkn 18fb6917ae added delay for caching files after init + cached files will be deleted on logging out 2022-08-06 18:05:29 +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 65f929fbdd
rename method 2022-08-05 17:43:51 +05:30
Neeraj Gupta 7055b618d1
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-05 17:24:23 +05:30
Neeraj Gupta 9ad4ac2068
backfill existing rows with missingLocation reason 2022-08-05 17:05:32 +05:30
Neeraj Gupta 4d0059df29
Use fileMigrationDB for verifying if file needs update 2022-08-05 16:39:56 +05:30
Neeraj Gupta 1f7c4c3b9f
Use fileHash to avoid re-upload of already uploaded files 2022-08-05 15:20:03 +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
ashilkn f6d02d575a moved files caching to search_service.dart 2022-08-04 12:16:39 +05:30
ashilkn 2428ca16a3 set limit of collection suggestions to not greater than 20 2022-08-04 11:22:03 +05:30
ashilkn bb13623704 added limits to suggestions of collection and file name search 2022-08-04 10:21:23 +05:30
ashilkn 40bee92e64 modified code to work with the new object returned by getLocationsToMatchedFiles 2022-08-03 16:39:11 +05:30
ashilkn 96c68e6d99 simplified the the return of getLocationSearchData()(renamed it to getLocationsToMatchedFiles) from a list to a smaller map 2022-08-03 15:53:41 +05:30
ashilkn 7c379bcdab removed objects for which no files are present in the location key from the list of objects returned by getLocationSearchData 2022-08-02 09:47:38 +05:30
ashilkn 611c252a07 minor fix 2022-08-02 09:15:06 +05:30
ashilkn 1e029d208d typo fix 2022-08-02 09:02:55 +05:30
ashilkn 634ce7e013 cached file name, made functions to return location name and files 2022-08-01 21:06:24 +05:30
Neeraj Gupta 6429820485
refactor 2022-08-01 16:35:16 +05:30
ashilkn 46f96b6b50 minor changes 2022-07-29 15:17:13 +05:30
ashilkn b90ae84d67 added try catch block, modified the data returned by getLocationSearchData() 2022-07-29 14:52:09 +05:30
Neeraj Gupta 3fdb422c64
Refactor mile migration service 2022-07-29 11:36:03 +05:30
ashilkn 9fa691a1d3 made api call service for location search 2022-07-29 10:57:39 +05:30
ashilkn 72f3c70804 minor changes 2022-07-28 11:24:40 +05:30
Neeraj Gupta b2cf52c31a
minor refactor 2022-07-28 10:25:54 +05:30
ashilkn c1b4ad8e38 minor changes 2022-07-27 12:43:22 +05:30
ashilkn af492c61a1 fixed no such method error 2022-07-27 11:45:15 +05:30
ashilkn 8e0e9e9e1e created CollectionWithThumbnail object list which is to be returned by getSearchedCollections() 2022-07-27 11:15:20 +05:30
Neeraj Gupta 52dbb2789f
Support for fetching device path collections from db 2022-07-26 13:08:04 +05:30
ashilkn ab4a2db60b minor changes + refactoring 2022-07-26 13:02:55 +05:30
Neeraj Gupta ae72969982
Support for storing latest file as deviceFolder cover 2022-07-26 11:02:04 +05:30
ashilkn c7f1d182be removed print and debug print statements 2022-07-25 19:30:07 +05:30
ashilkn 950ae2645c added feature flag for search feature 2022-07-25 17:22:16 +05:30
ashilkn 5ecda81dbd remove priority search + refactor 2022-07-25 15:38:19 +05:30
Neeraj Gupta d08d8da173
refactor 2022-07-25 13:09:34 +05:30
Neeraj Gupta 99f02574b3
Persist device pathID to name mapping 2022-07-24 22:52:12 +05:30
Neeraj Gupta e7d6aa48d0
DeveloperMode: Support for deleting local sync state
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-23 15:34:53 +05:30
Neeraj Gupta 6cb98a9309
LocalSync: Change scope for get<Local|Ignore|Download>IDs to pvt
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-23 15:25:02 +05:30
Neeraj Gupta 870564dabf
LocalSync: Add pathID in while getting deviceFiles.
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-23 15:20:19 +05:30
Neeraj Gupta c0e3267ad0
rename 2022-07-23 15:18:33 +05:30
Neeraj Gupta facdabc772
Test: Disable upload for testing 2022-07-23 13:22:18 +05:30
Neeraj Gupta 470c5de015
add table for device_files and device_path_collections 2022-07-21 18:33:33 +05:30
Neeraj Gupta d5296cbd5b
more clean up in local file sync util 2022-07-20 15:30:10 +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 5d9764b8d0
Refactor file_sync_util and remove special check for recent/duplicate files 2022-07-20 14:16:53 +05:30
ashilkn fd2f89e1b9 renamed file + collection search service now returns an object with results marked with levels of relevance 2022-07-19 17:22:16 +05:30
ashilkn c281c3dc73 made a service to get cached collection ids on search 2022-07-19 14:51:52 +05:30
Neeraj Gupta cfe79220d5
Remove email verification success toast 2022-07-14 18:59:29 +05:30
Neeraj Gupta 3376945609
reduce stacktrace noise from user logs 2022-07-13 09:12:37 +05:30
Neeraj Gupta d82856e795
Remove unused code 2022-07-12 09:30:36 +05:30
Vishnu Mohandas 76b4012e6e
Merge pull request #385 from ente-io/post-ott 2022-07-11 19:39:07 +05:30
Neeraj Gupta 989c764d87
Fix typo 2022-07-08 15:05:09 +05:30
Neeraj Gupta b123b2301c
Add API to fetch delete challenge 2022-07-08 14:20:19 +05:30
Neeraj Gupta e0cd9e0233
Add api for deleting user 2022-07-07 15:39:37 +05:30
Manav fdd18e1545 Use the new POST variant of the /users/ott endpoint 2022-07-06 22:27:31 +05:30
Neeraj Gupta edabfe6da3
lint: enable prefer_const_constructors_in_immutables rule 2022-07-04 14:13:01 +05:30
Neeraj Gupta 460dd1203e
Prefer const 2022-07-04 11:33:10 +05:30
Neeraj Gupta fdadf36baa
Lint fixes 2022-07-03 15:39:01 +05:30
Neeraj Gupta 1911f8fa83
dart format 2022-07-03 15:19:33 +05:30
Neeraj Gupta 590715c9d8
Fix few flutter_lint hints 2022-07-03 15:15:00 +05:30
Neeraj Gupta 6a0e7b2315
Fix more lint issues 2022-07-03 13:17:15 +05:30
Neeraj Gupta c15e054204
Lint fixes for trailing comma 2022-07-03 12:26:43 +05:30
Neeraj Gupta a382a02196
Organize ui widgets in separate folders 2022-07-01 19:48:05 +05:30
Neeraj Gupta 1e3475194d
enhance logs 2022-06-29 10:26:11 +05:30
Neeraj Gupta d0090080ee
minor fixes 2022-06-29 10:19:19 +05:30
Neeraj Gupta 57b447ee50
enhance logs for asset re-upload scenarios 2022-06-29 10:10:06 +05:30
Neeraj Gupta d588df6abd
ensure that config is init before UserService 2022-06-23 18:40:35 +05:30
Neeraj Gupta ce202c94b3
Update email on UI on emailChange 2022-06-23 18:36:35 +05:30
Neeraj Gupta 5b9d332649
Fix change email flow 2022-06-23 17:42:19 +05:30
Neeraj Gupta b93379b8b2
use fetchUploadUrl instead of canUpload wrapper 2022-06-22 16:49:12 +05:30
Neeraj Gupta 76f279cb83
address review comment 2022-06-22 12:49:34 +05:30
Neeraj Gupta 3135538514
Log known error as warning and unhandled as server error 2022-06-22 12:00:58 +05:30
Neeraj Gupta 2f847e0ccc
Verify if user can upload more files before preparing files for upload 2022-06-22 11:57:36 +05:30
Manav 82c26ef1c9
Merge pull request #337 from ente-io/hide_hidden_memories
Hide hidden memories from memories widget 🍭
2022-06-21 18:48:31 +05:30
Neeraj Gupta 03ea93f277
Hide hidden collections from memories 2022-06-21 18:25:39 +05:30
Neeraj Gupta 22cf83faf0
Fix: Sync all files on disk change when limited permission is granted 2022-06-21 12:48:49 +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
vishnukvmd 2ecd872f3d Pass context to toast_util 2022-06-10 19:59:56 +05:30
Neeraj Gupta 1ffbc15dca
Capitalize words 2022-06-10 11:32:48 +05:30
Neeraj Gupta 94a06734a0
Fix merge conflic 2022-06-09 19:11:44 +05:30
Neeraj Gupta 9bc4306218
Merge branch 'master' into redesign 2022-06-09 18:37:56 +05:30
Neeraj Gupta b329939cb4
make limit mandatory parameter 2022-06-08 19:47:19 +05:30
Neeraj Gupta 69f37e5456
only run migration is device if device is on Android API level >=29 2022-06-08 16:19:29 +05:30
Neeraj Gupta 423304aecc
Fix bug in sql query 2022-06-08 15:59:29 +05:30
Neeraj Gupta 42f2316fc8
Fix typo 2022-06-08 15:37:17 +05:30
Neeraj Gupta 5c5fa2735b
put migration logic behind feature flag 2022-06-08 15:21:03 +05:30
Neeraj Gupta 2b60008350
minor refactor 2022-06-08 15:09:02 +05:30
Neeraj Gupta 937658519c
Merge branch 'master' into reupload_files 2022-06-08 15:08:29 +05:30
Manav c1023b059b
Merge pull request #263 from ente-io/remove_nw_wait_time
[Perf][AppStart] Don't await on featureFlag fetch from network
2022-06-08 15:06:14 +05:30
Neeraj Gupta 91a9e13925
minor refactor 2022-06-08 15:00:21 +05:30
Neeraj Gupta bb5ef1b246
Minor bug fixes 2022-06-08 14:50:03 +05:30
Neeraj Gupta e547304036
Reupload files with missing location 2022-06-08 14:19:23 +05:30
Neeraj Gupta c7347b7f04
Add DB to track potential fileIDs for reupload 2022-06-08 10:52:07 +05:30
Vishnu Mohandas 712763d723
Merge pull request #266 from ente-io/bugFix 2022-06-03 21:40:40 +05:30
Neeraj Gupta 5ad6a8520e
BugFix: Fix bug in matching remoteFile to localFile 2022-06-03 21:39:35 +05:30
Manav 14db8d9e19
Merge pull request #263 from ente-io/remove_nw_wait_time
[Perf][AppStart] Don't await on featureFlag fetch from network
2022-06-03 15:43:19 +05:30
Neeraj Gupta 7cd17d6ea7
address review comment 2022-06-03 15:42:11 +05:30
Neeraj Gupta fab9980549
Don't block appStart on featureFlag fetch from network 2022-06-03 15:16:18 +05:30
Neeraj Gupta 756957770d
minor refactor 2022-06-03 15:12:41 +05:30
Neeraj Gupta 48bd242a59
use constants for feature flags default 2022-06-03 15:04:17 +05:30
Neeraj Gupta 4d7bed0450
documentation 2022-06-03 08:40:04 +05:30
Neeraj Gupta 9b1cd98f1a
Perf#init: do not wait on clearing old memories 2022-06-03 08:37:46 +05:30
Neeraj Gupta fb367ccd20
Capitalize words 2022-06-03 07:19:05 +05:30
Neeraj Gupta 6191847909
Capitalize words 2022-06-03 07:16:29 +05:30
Neeraj Gupta d51ff8b0bb
Fix incorrect logger tag 2022-06-03 07:13:45 +05:30
Neeraj Gupta 8532a482c4
remove redundant import 2022-06-03 07:09:51 +05:30
Neeraj Gupta b1c7423342
remove unused method 2022-06-03 07:09:24 +05:30
Neeraj Gupta 8873b9c827
Fix subsciption fetch 2022-05-30 14:53:55 +05:30
Neeraj Gupta 22b25db0c1
Merge branch 'master' into redesign 2022-05-27 20:14:47 +05:30
Neeraj Gupta 6791773845
bug fix 2022-05-26 15:56:53 +05:30
Neeraj Gupta 67fdadabce
process updated files in the end 2022-05-26 15:34:12 +05:30
vishnukvmd 07c6e7253c Fix compilation issues 2022-05-18 15:38:13 +05:30
Neeraj Gupta dc839bf925
undo redundant change 2022-05-17 22:55:04 +05:30
Neeraj Gupta 726a5acaf5
ensure app version is visible 2022-05-17 22:53:00 +05:30
Neeraj Gupta d030734440
more ui fixes 2022-05-17 02:31:52 +05:30
Neeraj Gupta 22babe31e6
upgrade photos_manager pkg 2022-05-12 08:57:32 +05:30
Neeraj Gupta 0e1124363c
Fix compliation issue 2022-05-10 14:16:12 +05:30
Neeraj Gupta acaeafcc49
Merge branch 'master' into redesign 2022-05-10 14:10:22 +05:30
Neeraj Gupta fa6d3c3eb3
Update local_sync_service.dart 2022-05-10 14:02:46 +05:30
Neeraj Gupta 0da95111bb
Log only when files are updated 2022-05-10 13:12:41 +05:30
Neeraj Gupta e3f4092a11
rename 2022-05-08 11:43:43 +05:30
Neeraj Gupta eb26740b32
switch to trash diff v2 2022-05-06 00:08:58 +05:30
Neeraj Gupta a9d1da6242
Sync trash after file deletion 2022-05-05 12:02:02 +05:30
Neeraj Gupta b83a68bf5d
Merge remote-tracking branch 'origin/master' into redesign 2022-05-03 18:13:36 +05:30
Neeraj Gupta d7c88ff678
update family portal base url 2022-05-03 18:10:51 +05:30
Neeraj Gupta edb8aecae2
Merge branch 'master' into redesign 2022-04-26 15:05:00 +05:30
Neeraj Gupta 896ac3cf29
update url for family portal 2022-04-21 20:25:37 +05:30
Neeraj Gupta 4151b18b43
remove redundant comment 2022-04-21 10:04:15 +05:30
Neeraj Gupta 4bcde8d308
msupport for managing family 2022-04-21 01:44:44 +05:30
Neeraj Gupta b2df82bb2e
Add ChildSubscription Widget with support to leave family 2022-04-21 01:06:33 +05:30
Neeraj Gupta 6e183545bc
Support for fetching families jwt token
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-04-20 15:45:08 +05:30
Neeraj Gupta 9000974fb6
UserService: Support to fetch user/details/v2 2022-04-14 18:31:24 +05:30
Ashil ecd9a433ef Existing account screen redesigned 2022-04-09 07:40:56 +02:00
vishnukvmd 9ac41b4a48 Fetch only those collections that have updated since the last sync 2022-04-08 11:52:45 +05:30
Neeraj Gupta 70855cb927
Merge remote-tracking branch 'origin/theme' into frame-ashil-neeraj 2022-04-07 00:18:49 +05:30
Ashil 5cc225e9ed create account and verification of email is done 2022-03-25 19:10:22 +01:00
Neeraj Gupta 0ac8b87c97 switch to put 2022-03-21 16:34:28 +05:30
Neeraj Gupta d5f7de9632 update the cached collection 2022-03-21 15:23:35 +05:30
Neeraj Gupta 8694b5bda0 minor bug fixes 2022-03-21 15:21:09 +05:30
Neeraj Gupta 588aae777f Add support for archiving collection 2022-03-21 15:02:24 +05:30
Neeraj Gupta 68445df5d7 Prioritize upload of most recent photo 2022-03-20 14:35:43 +05:30
Neeraj Gupta 6d79df247f
add logs for debugging app stuck 2022-03-08 01:48:50 +05:30
Neeraj Gupta 7ebf0cd368
support for setting link expiry, download button. & password 2022-02-22 11:38:27 +05:30
Neeraj Gupta 0dbc09670d
Fix bug in uploading local files 2022-02-14 22:57:00 +05:30
Neeraj Gupta ca66be4c14 fav: trigger remote sync for initiating upload of unsynced file 2022-02-13 18:12:34 +05:30
Neeraj Gupta 6948eba897 fav: upload unsynced file in background 2022-02-13 18:12:34 +05:30
Neeraj Gupta b09896b619 Prefer existing collectionID during unpload for unsynced files 2022-02-13 18:12:34 +05:30
Neeraj Gupta a7d8fca551 rename and fix bug in query 2022-02-13 18:12:34 +05:30
Neeraj Gupta 8b9a47a64b remove blocking upload dialog for manually backed up files 2022-02-13 18:12:34 +05:30
Neeraj Gupta 8ee7bee8fd
add option to share logs from log in/sign up screen 2022-02-05 22:13:40 +05:30
Neeraj Gupta ffc08cbdbc
remove usage of import Applocalization 2022-02-04 11:01:07 +05:30
Neeraj Gupta 3c9960d16c
Fix: Handle repeated upload for file with new localID 2022-01-30 10:57:25 +05:30
Neeraj Gupta 8c3f146efe
Fire collection update event on share/unshare 2022-01-25 12:03:42 +05:30
Neeraj Gupta 0c2ffe04b8
Revert "resync collections for public url launch"
This reverts commit 9504239a9a.
2022-01-25 11:57:49 +05:30
Neeraj Gupta 9504239a9a
resync collections for public url launch 2022-01-25 11:41:34 +05:30
Neeraj Gupta a29697c3c1
Add feature flag for disabling url sharing 2022-01-24 16:45:14 +05:30
Neeraj Gupta 1323091b58
handle no-subscription error 2022-01-24 16:19:47 +05:30
Neeraj Gupta ff61b7113a
Support for enabling/disabling public urls 2022-01-23 11:34:39 +05:30
vishnukvmd ba0b6f277c Expose separate method to club duplicates by their creation time 2022-01-21 15:17:52 +05:30
vishnukvmd 9a7a3208f4 Merge branch 'master' into stripe_payments_fix 2022-01-14 19:21:30 +05:30
vishnukvmd 5349e71333 Fetch user specific plans when token is available 2022-01-14 19:21:05 +05:30
Neeraj Gupta df741d948b
Merge pull request #168 from ente-io/fix_sync_status
Bugfix: Show reason for sync failure on UI
2022-01-10 21:31:26 +05:30
Neeraj Gupta d5412b8645
Bugfix: Show reason for sync failure on UI 2022-01-10 21:24:01 +05:30
Neeraj Gupta 6d6bef9264
ignore files which are not uploaded 2022-01-09 15:05:06 +05:30
Neeraj Gupta d315f11e60
Merge branch 'master' into fix_move_behaviour 2022-01-09 14:54:02 +05:30
Neeraj Gupta 1a45e87c2e
Fix bug in move ops when file is already present in toCollection 2022-01-09 14:29:01 +05:30
Neeraj Gupta b177469df8
Bugfix: Logout user on invalid token 2022-01-07 22:00:22 +05:30
vishnukvmd 9115ee8791 Don't break when we're unable to fetch the push token 2022-01-07 13:03:31 +05:30
Vishnu Mohandas 1936ed3b8b
Merge pull request #158 from ente-io/split_syncs
Decouple local and remote syncs
2022-01-05 13:32:09 +05:30
vishnukvmd a2be4f88a7 Throttle log statements to prevent crash 2022-01-05 13:26:44 +05:30
vishnukvmd 09bfc82271 Mark existing sync as completed 2022-01-05 13:25:04 +05:30
vishnukvmd c09f87e512 Inline variable 2022-01-04 00:02:56 +05:30
vishnukvmd 8e6595db63 Use final 2022-01-03 23:57:49 +05:30
vishnukvmd e12f7ea731 Decouple local and remote syncs 2022-01-03 23:54:43 +05:30
vishnukvmd 4f21ba0925 Fix comparison operator in sort 2021-12-23 12:04:03 +05:30
vishnukvmd 09289df9dc Don't overwrite the locally available modificationTime for a modified file 2021-12-03 11:57:59 +05:30
vishnukvmd 6964ed9f28 Batch delete file requests 2021-12-03 09:54:45 +05:30
vishnukvmd 59e9ab8ab5 Upload videos in the end 2021-12-02 10:30:27 +05:30
vishnukvmd 0ebfe2760e Extend the comparison operator to play it safe 2021-11-28 10:49:48 +05:30
vishnukvmd 823e51cead Swallow any errors during remote sync and reset the future 2021-11-28 10:48:46 +05:30
vishnukvmd 03152dcaf2 Start the upload timeout after it's processing has begun 2021-11-27 20:42:45 +05:30
vishnukvmd afeab0fcd6 Time out uploads 2021-11-27 20:34:21 +05:30
vishnukvmd 1c6a445ba0 Fix key for prefs 2021-11-25 17:14:14 +05:30
vishnukvmd f810fdf1bf Remove unnecessary permission request 2021-11-25 16:57:43 +05:30
vishnukvmd 17334589be Setup push handlers only on iOS 2021-11-25 16:05:38 +05:30
vishnukvmd 71feaad02c Initialize PushService only on iOS 2021-11-25 16:04:30 +05:30
vishnukvmd 3f9137481f Merge branch 'master' into bg_sync 2021-11-25 15:35:44 +05:30
vishnukvmd 3fbcd6a62d Add API to terminate a session 2021-11-24 01:18:24 +05:30
vishnukvmd 96501f8778 Add API to get active sessions 2021-11-24 01:10:33 +05:30
vishnukvmd 4e309ac939 Upload only 4 photos in the background 2021-11-15 21:20:20 +05:30
vishnukvmd feac5cc485 Don't upload videos if app is in background 2021-11-15 21:07:33 +05:30
vishnukvmd e398807f2e Resort to AppLifecycleState 2021-11-15 21:05:07 +05:30
vishnukvmd 215bd29ce9 Store app's lifecycle state within a service 2021-11-15 19:59:31 +05:30
vishnukvmd c75138a39f Sync only when asked to do so 2021-11-15 19:51:43 +05:30
vishnukvmd eb2f2d9551 Consistency in logging 2021-11-15 19:46:15 +05:30