Commit graph

332 commits

Author SHA1 Message Date
Neeraj Gupta 0a84f06b5a
NullSafety: More migration and fixes 2022-12-30 15:14:52 +05:30
Neeraj Gupta 36c35b44f5
NullSafety: Miragrate filesDB 2022-12-29 16:25:49 +05:30
ashilkn 3a269f9f39 Removed unused method 2022-12-13 18:28:06 +05:30
Neeraj Gupta 4fc020c36e
Fix: Ignore unuploaded files while getting collection cnt and thumbnail 2022-11-17 17:30:31 +05:30
Neeraj Gupta a3e278ef0f
Remove unused code 2022-11-17 15:34:33 +05:30
Neeraj Gupta 792710a19d
Add migration script for fixing badCreationTime 2022-11-14 15:03:16 +05:30
Neeraj Gupta decea3d02d
Remove redundant log files 2022-11-11 14:34:57 +05:30
Neeraj Gupta 139e3c7835
Fix prefer_final_locals warnings 2022-11-06 14:04:06 +05:30
Neeraj Gupta 19cc54f422
Fix lint issues 2022-11-06 13:52:54 +05:30
Neeraj Gupta 858f0b5720
Remove hidden collection items from search result 2022-10-31 16:14:20 +05:30
Neeraj Gupta 587c0b5cd9
Support for basic hidden functionality 2022-10-27 12:53:45 +05:30
Neeraj Gupta c479a8e225
Support for hidden stuff 2022-10-27 11:35:39 +05:30
Neeraj Gupta 042eef0090
Fix hidden file count 2022-10-26 22:21:42 +05:30
ashilkn aa118645ef use FileType.type instead of hardcoding the fileTypes's integer 2022-10-26 09:38:26 +05:30
ashilkn 11a6724868 changes in getting filesCount 2022-10-21 11:14:14 +05:30
ashilkn db235cc9e8 avoid adding config dependency inside db if possible 2022-10-21 08:00:46 +05:30
ashilkn 56efb0ccf6 removed device and shared files from photo and video count 2022-10-20 15:41:57 +05:30
ashilkn 6a14dc0aa1 made service to fetch photos and videos count 2022-10-18 14:01:58 +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 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
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
Neeraj Gupta 66988ba728
Hide photo from UI if it's part of any hidden collection 2022-09-21 16:15:02 +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
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 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 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 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 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 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 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
ashilkn 89892ea9f1 enable extra hidden features only for internal testers or on debug build 2022-08-27 15:24:06 +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 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 4865664642
FileDB: Pass conflictAlg as optional param during insert 2022-08-24 16:02:03 +05:30
Neeraj Gupta 799e7ebed6
Fix conflict due to merge 2022-08-22 16:17:16 +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