Commit graph

538 commits

Author SHA1 Message Date
Neeraj Gupta ef64d5d6b4
undo local changes 2022-10-07 03:34:54 +05:30
Neeraj Gupta 162d1ab658
Fix: Fallback logic to fetch device album cover 2022-10-07 03:25:37 +05:30
Neeraj Gupta d8fbd5cd3c
Sort on device collection by thumb creation time DESC 2022-10-03 16:05:57 +05:30
Neeraj Gupta a1fddd23ee
Merge branch 'master' into update_index 2022-10-03 15:01:02 +05:30
Neeraj Gupta c9ddac6d2c
Update index on files table 2022-10-03 14:51:20 +05:30
Neeraj Gupta 250f7bac96
Remove unused methods 2022-10-03 14:45:22 +05:30
Neeraj Gupta 5b4c08a5fd
DeviceThumbnail: Fallback logic if cover thumbnail is missing 2022-10-03 14:35:48 +05:30
Neeraj Gupta 292b700208
remove re-upload for missing location logic 2022-10-03 10:16:01 +05:30
Neeraj Gupta 1b1ac30c41
clear device_files and device_collections db on logout 2022-09-29 14:49:14 +05:30
ashilkn c784bdbef9 added 'file_size' to local db 2022-09-24 16:06:05 +05:30
ashilkn f3213cc848 convert to getters 2022-09-23 07:18:25 +05:30
Neeraj Gupta 99a5bd8ff0
Merge branch 'rewrite_device_sync' of github.com:ente-io/frame into rewrite_device_sync 2022-09-21 17:57:39 +05:30
Neeraj Gupta 0a6d6f0f62
Merge branch 'master' into rewrite_device_sync 2022-09-21 17:57:09 +05:30
ashilkn 0327bc26d3 made Collection.attributes non-nullable 2022-09-21 16:17:50 +05:30
Neeraj Gupta 66988ba728
Hide photo from UI if it's part of any hidden collection 2022-09-21 16:15:02 +05:30
ashilkn c25c88e8fc Merge branch 'rewrite_device_sync' into migrate-db-files 2022-09-21 13:15:30 +05:30
ashilkn 599770dc62 migrated upload_locks_db.dart to null safety 2022-09-21 12:03:12 +05:30
ashilkn 678f128dfd migrated public_keys_db.dart to null safety 2022-09-21 12:00:31 +05:30
ashilkn a93a52af0e migrated file_updation_db.dart to null safety 2022-09-21 11:49:11 +05:30
ashilkn 30f48304d1 migrated collections_db.dart to null safety 2022-09-21 11:29:53 +05:30
ashilkn d1c8d0c2e4 removed unused code 2022-09-21 11:21:20 +05:30
ashilkn 3e8bfc6f29 remove prefix letter 'k' from constants 2022-09-19 17:22:20 +05:30
Neeraj Gupta c4eb36188c
bug fix 2022-09-16 21:20:00 +05:30
Neeraj Gupta f7ed0a3db6
Search: Support for search by calendar date & specific day 2022-09-16 17:41:16 +05:30
Neeraj Gupta b72a761522
Ignore unuploaded file while finding collection thumbnail 2022-09-13 13:03:34 +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 bedfcd68a6
Switch to batch API 2022-09-12 17:21:33 +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 d61d456217
[Part-4] Mark all folders for backup when limited permission is granted 2022-09-10 10:06:41 +05:30
Neeraj Gupta 75ea50281d
[Part-3] Remove view all device photos option 2022-09-10 09:24:18 +05:30
ashilkn ad2502c20a minor change 2022-09-09 17:21:11 +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 44d7c62033
remove unused code 2022-09-09 16:20:12 +05:30
Neeraj Gupta 1777bca27e
Show files pending for upload on main screen 2022-09-09 16:04:42 +05:30
Neeraj Gupta 0612c5590c
remove redundant check in debug mode 2022-09-09 15:21:27 +05:30
Neeraj Gupta 01c29037dd
Handle cancellation for uploads when folder is unmarked for backup 2022-09-09 15:04:09 +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
ashilkn c1722959e7 resolve merge conflicts 2022-09-07 17:56:24 +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 1d3ce385ec
Merge branch 'master' into rewrite_device_sync 2022-09-07 13:49:13 +05:30
Neeraj Gupta f7d90f2b08
refresh ui on device folder change 2022-09-07 13:45:48 +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
ashilkn dad8a9c234 minor changes 2022-09-07 07:26:51 +05:30
ashilkn c385b32250 bug fix to show collection name in file info for incoming shared albums 2022-09-07 06:45:42 +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 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 a85f2229a7 show all collection of file in file info + remaned RawExifButton file 2022-09-06 16:57:39 +05:30
Neeraj Gupta 23336ddd5d
Fix query for android 2022-09-04 17:45:08 +05:30
Neeraj Gupta 536d8b0440
Rewrite storeDiff logic to fix matching bugs 2022-09-04 17:12:22 +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 3baafc72fb
Fix: Set localID for all files with same uploadedFileID 2022-09-02 13:12:46 +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 7a18d3ab38
make final 2022-09-01 15:11:50 +05:30
Neeraj Gupta afc057953d
minor refactor and bug fixes 2022-09-01 14:49:35 +05:30
Neeraj Gupta eec540af93
review changes 2022-09-01 14:17:57 +05:30
Neeraj Gupta fd9603d3ae
remove redundant param 2022-09-01 13:40:52 +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 6afe51b6f3
remove unused synced col from device_files 2022-09-01 01:27:48 +05:30
Neeraj Gupta decbfe0145
Only show deviceFolder on UI if coverFile is found 2022-09-01 01:20:11 +05:30
Neeraj Gupta 718fcdf6cb
Rename device_collection.sync -> should_backup 2022-09-01 00:21:17 +05:30
Neeraj Gupta 40c76edbc5
remove unused method 2022-09-01 00:12:24 +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 4ee0bebf73
Fix query in getFileCountInDeviceFolders 2022-08-31 23:50:00 +05:30
Neeraj Gupta cddcc786dc
Merge branch 'master' into reupload_hash_check 2022-08-31 23:16:12 +05:30
Ashil Kandapath d780752028 minor changes 2022-08-30 13:46:40 +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 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
Ashil Kandapath a278df2f23 exclude collectionID = -1 rows while querying for c-ids of hidden files 2022-08-29 20:14:07 +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 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
ashilkn 5fac3dae60 made a service to get set of collectionIDs of collections with hidden files 2022-08-26 20:14:11 +05:30
ashilkn 66a50ff045 get latest visible file from collection on getLatestVisibleFiles() 2022-08-26 17:57:59 +05:30
ashilkn f6e4659fb6 hid hidden files from albums 2022-08-26 17:44:40 +05:30
Neeraj Gupta 2bbef93713
Fix db update query 2022-08-26 17:17:30 +05:30
Neeraj Gupta 23c18c0013
Dedupe device folder file result 2022-08-26 16:41:44 +05:30
Neeraj Gupta 7b043fff30
Sync mapping from device albums to files table 2022-08-26 16:30:22 +05:30
Neeraj Gupta 72043e9f0d
temp 2022-08-26 14:51:44 +05:30
Neeraj Gupta f4544cb4db
Chore: Logging improvement 2022-08-26 12:35:10 +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 f8220ba1f5
Gallery: Fix loading for all photos for deviceFolder 2022-08-26 10:26:19 +05:30
Neeraj Gupta 91122c6a9c
minor refactor 2022-08-25 16:16:33 +05:30
Neeraj Gupta 6db967bbc1
refactor 2022-08-25 14:53:33 +05:30
Neeraj Gupta 64efda4284
Avoid unncessory converstion from localID to File 2022-08-24 16:26:44 +05:30
Neeraj Gupta 4865664642
FileDB: Pass conflictAlg as optional param during insert 2022-08-24 16:02:03 +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
Neeraj Gupta b396d420b0
Use devicePathCollection entity to show device folder/album page 2022-08-23 09:37:21 +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 799e7ebed6
Fix conflict due to merge 2022-08-22 16:17:16 +05:30
Neeraj Gupta 9eeb3fdf75
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-22 16:16:20 +05:30
Neeraj Gupta 7a0725955b
Fix migration query 2022-08-22 16:15:56 +05:30
Neeraj Gupta d3e0eebacb
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-22 16:06:47 +05:30
Neeraj Gupta 89c4f3a808
minor documentaiton 2022-08-22 16:06:07 +05:30
Neeraj Gupta 74734d47f2
Merge branch 'master' into reupload_hash_check 2022-08-22 16:03:26 +05:30
vishnukvmd a124211f27 Fix ordering of search results within a year 2022-08-13 18:40:01 +05:30
ashilkn 908d66359c misc. changes 2022-08-06 23:41:23 +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
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 b04d56f2e6
fix query 2022-08-05 17:39:01 +05:30
Neeraj Gupta 7c529b579e
fix query 2022-08-05 17:38:35 +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 5fdca7c8da deduped files in location search results 2022-08-04 11:29:15 +05:30
ashilkn bb13623704 added limits to suggestions of collection and file name search 2022-08-04 10:21:23 +05:30
ashilkn 6fcb96fee6 fetching the location search files now from cached memory + can see result page with rendered files now which has duplicates in it 2022-08-03 18:58:18 +05:30
ashilkn 9f97e26a73 added on tap to location suggestion widget which is paritally working 2022-08-03 15:06:38 +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
Neeraj Gupta b1ac8f4f3a
Add reason in re-upload tracker table 2022-07-29 11:34:00 +05:30
Neeraj Gupta e69ac95863
remove unused method 2022-07-28 14:49:38 +05:30
ashilkn bd09c5d148 made service for filename search + made corresponding class members/variables 2022-07-27 17:21:43 +05:30
Neeraj Gupta e8a60daa71
Switch to DevicePathCollections for backup folders screen 2022-07-26 15:02:39 +05:30
Neeraj Gupta 489a203d64
Fix getDevicePathIDToImportedFileCount 2022-07-26 14:01:07 +05:30
Neeraj Gupta 52dbb2789f
Support for fetching device path collections from db 2022-07-26 13:08:04 +05:30
Neeraj Gupta ae72969982
Support for storing latest file as deviceFolder cover 2022-07-26 11:02:04 +05:30
Neeraj Gupta 70faf7f5f5
Fix insertion query for db paths 2022-07-25 12:45:17 +05:30
Neeraj Gupta 99f02574b3
Persist device pathID to name mapping 2022-07-24 22:52:12 +05:30
Neeraj Gupta dbaf4bfe27
FilesDB: Fix create table query for device path collections 2022-07-23 17:03:59 +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 c0e3267ad0
rename 2022-07-23 15:18:33 +05:30