Commit graph

165 commits

Author SHA1 Message Date
vishnukvmd 54278ac89f Alter timestamp column types 2021-07-22 01:52:15 +05:30
vishnukvmd fff50cafee Show number of items in folders 2021-07-12 15:54:30 +05:30
Vishnu Mohandas f1e44b6875 Show files to be synced for users who have granted limited permissions 2021-07-01 16:56:47 +05:30
Vishnu Mohandas 39860cfde1 Sync all files for users who have selected limited files 2021-07-01 16:36:20 +05:30
Vishnu Mohandas f86021c7c3 Show uploaded files for users who have opted for limited permissions 2021-07-01 16:21:13 +05:30
Vishnu Mohandas d6f7ad5020 Encapsulate file load results in a model 2021-06-29 10:43:16 +05:30
Vishnu 41ca328009 Add API to delete local files 2021-06-28 15:42:12 +05:30
Vishnu 8a07a438f2 Use server API to compute file size 2021-06-28 12:10:19 +05:30
Vishnu 3a369eb76d Add API to fetch backed up files 2021-06-28 11:00:58 +05:30
Vishnu a1aafad475 Drop the check for creation time during de-duplication 2021-06-13 16:45:24 +05:30
Vishnu Mohandas 9ab5141221 Upload edited remote files correctly 2021-06-09 21:02:30 +05:30
Vishnu Mohandas d591bff834 Order by modification time 2021-06-09 19:15:42 +05:30
Vishnu Mohandas 4cf2ec73e1 Save remote only files post edits 2021-06-05 00:41:39 +05:30
Vishnu Mohandas 560d5b6440 Sanitize folder names 2021-06-05 00:35:13 +05:30
Vishnu Mohandas 8c2e8bebdf Safe guard against path's with a quote 2021-05-25 17:49:20 +05:30
Vishnu Mohandas 6e8861bddc Revert "Let sqlite set the generated ID"
This reverts commit e044807a04.
2021-05-16 14:10:11 +05:30
Vishnu Mohandas 0ea59cc164 De-duplicate files 2021-05-14 01:27:27 +05:30
Vishnu Mohandas ba83be9f59 Remove accidental semi-colon 2021-05-14 01:24:37 +05:30
Vishnu Mohandas 2942364892 Remove unused function 2021-05-14 01:21:27 +05:30
Vishnu Mohandas e044807a04 Let sqlite set the generated ID 2021-05-14 01:21:16 +05:30
Vishnu Mohandas 1da9c12f7a Fix IN-query 2021-05-13 16:43:32 +05:30
Vishnu Mohandas 48fc198185 Update file loading API to accept order as a param 2021-05-08 23:16:48 +05:30
Vishnu Mohandas 7b402682bf Remove unnecessary order by clause 2021-05-07 03:41:55 +05:30
Vishnu Mohandas dda96457b2 Commit the batch without results 2021-05-07 02:01:21 +05:30
Vishnu Mohandas 76cf4234d2 Fix query for fetching latest collection files 2021-05-04 20:55:59 +05:30
Vishnu Mohandas 39c2d018b3 Prevent duplicate entries for the same local file 2021-05-04 04:18:02 +05:30
Vishnu Mohandas f787fb92eb Deduplicate folders 2021-04-28 03:57:54 +05:30
Vishnu Mohandas 16a1a519f8 Fix delete multiple query 2021-04-28 03:47:19 +05:30
Vishnu Mohandas 5a6d538879 Update the delete files API 2021-04-28 02:19:00 +05:30
Vishnu Mohandas 30817ef8c7 Add utility function to get files within windows 2021-04-27 21:32:33 +05:30
Vishnu Mohandas 7fec8e6c79 Filter and show only photos that are important 2021-04-25 18:10:10 +05:30
Vishnu Mohandas 3c55c3baf3 Remove unused functions from FilesDB 2021-04-25 17:56:55 +05:30
Vishnu Mohandas 2b7c4612ea Remove FileRepository 2021-04-21 18:39:18 +05:30
Vishnu Mohandas 9b3f66a006 Remove log statements 2021-04-21 02:16:02 +05:30
Vishnu Mohandas d8b5fb6406 WiP 2021-04-21 01:41:39 +05:30
Vishnu Mohandas a42e7e4b76 Remove outdated calls to fetch latest collection files 2021-04-19 23:30:40 +05:30
Vishnu Mohandas a997c1df98 Move de-duplication logic to the DB layer 2021-04-19 23:19:13 +05:30
Vishnu Mohandas 450109aecf Improve collections gallery loading time 2021-04-19 23:16:52 +05:30
Vishnu Mohandas d08ba1db5c Simplify code for showing backed up folders 2021-04-19 22:41:53 +05:30
Vishnu Mohandas 3c2cb3d551 Improve loading of local folders 2021-04-19 22:38:12 +05:30
Vishnu Mohandas edfde94ca6 Reset batch counter once committed 2021-04-19 19:44:34 +05:30
Vishnu Mohandas 3fd25e44af Log time taken to batch-insert files 2021-04-19 18:16:42 +05:30
Vishnu Mohandas 60555f35cf Reduce number of DB reads during diff fetch 2021-04-19 16:57:52 +05:30
Vishnu Mohandas d4fb81e4ee Filter out null device folders 2021-04-02 06:22:26 +05:30
Vishnu Mohandas 100ce80650 Ensure that unique entries are created for local files 2021-03-26 11:44:18 +05:30
Vishnu Mohandas 2337317c6d Group files to be uploaded by localID 2021-03-26 00:35:23 +05:30
Vishnu Mohandas d775051d35 Simplify logic to count uploads 2021-03-25 20:14:58 +05:30
Vishnu Mohandas d1d72ed325 Display the correct queue size 2021-03-22 12:44:16 +05:30
Vishnu Mohandas ec4852057d Handle empty list 2021-03-22 11:59:21 +05:30
Vishnu Mohandas a7b2e63b1a Add an option to logout 2021-03-18 02:37:17 +05:30
Vishnu Mohandas b2ea5fbfa0 Expose total uploaded files in FilesDB 2021-03-03 21:31:40 +05:30
Vishnu Mohandas 52aa287b27 Replace files in case there are conflicts 2021-02-26 13:33:27 +05:30
Vishnu Mohandas 8d0fc44776 Add margin to account for the bottom bar 2021-02-08 14:56:49 +05:30
Abhinav-grd 3a57092c5c correctly passed tableName while creating tempTable 2021-01-25 11:45:37 +05:30
Abhinav-grd 7cd85be0b2 correct tempTable camelCasing 2021-01-25 10:50:57 +05:30
Abhinav-grd 183f1226b2 file_db changes 2021-01-25 00:29:17 +05:30
Abhinav-grd 0a8f5ab7d0 seperated add index to prevent duplicate index addition 2021-01-24 17:21:53 +05:30
Abhinav-grd c9a41bc71f added device null check to select db query 2021-01-24 16:51:40 +05:30
Abhinav-grd e141e39dee corrected the formatting issue 2021-01-24 16:26:34 +05:30
Abhinav-grd 5c497c7789 made scripts contain only single command 2021-01-23 19:19:37 +05:30
Abhinav-grd 8626303b5b added file_db migration script to remove deviceFolder not null constrain 2021-01-23 18:13:30 +05:30
Vishnu Mohandas b699a94b58 Prevent duplicate uploads during reinstallations 2021-01-02 14:34:36 +05:30
Vishnu Mohandas 89693610c6 Fix stupidity 2020-12-02 02:16:40 +05:30
Vishnu Mohandas ada2c59d1d Update DB queries 2020-12-01 19:31:46 +05:30
Vishnu Mohandas 350b6423cf Update files that haven't been uploaded too 2020-12-01 13:39:02 +05:30
Vishnu Mohandas d318a57d23 Implement ability to update files on remote 2020-12-01 00:12:11 +05:30
Vishnu Mohandas f17d7027c8 Fix thumbnail issue within device folder section 2020-11-30 13:47:13 +05:30
Vishnu Mohandas b92023ad5c Skip parsing files that are already in sync 2020-11-30 11:58:37 +05:30
Vishnu Mohandas 87672faf62 Update statement to fetch files within a path 2020-11-26 17:08:49 +05:30
Vishnu Mohandas a6c3913af5 Convert HEIC images on Android 2020-11-20 16:35:17 +05:30
Vishnu Mohandas 2effbf834d Eagerly supply all available device folder files 2020-11-14 16:27:08 +05:30
Vishnu Mohandas b42c84cf42 Remove unnecessary conflict algorithm specification 2020-11-14 15:58:20 +05:30
Vishnu Mohandas ee8d1e653c Replace when conflicts are encountered while applying remote diff 2020-11-14 15:41:12 +05:30
Vishnu Mohandas 49af595268 Fix deletion behavior 2020-11-01 13:07:23 +05:30
Vishnu Mohandas 568947fbf6 Ensure that only non deleted files are fetched from the DB 2020-11-01 12:14:50 +05:30
Vishnu Mohandas 6270ce27c8 Fix device folder entries 2020-11-01 11:19:15 +05:30
Vishnu Mohandas 89c5d37389 Refresh local device folder when a file is deleted 2020-11-01 10:50:20 +05:30
Vishnu Mohandas 7d52d3c411 Delete collections deleted on remote 2020-10-31 18:18:41 +05:30
Vishnu Mohandas 4dd4eed10c Update delete API 2020-10-31 04:55:28 +05:30
Vishnu Mohandas 6cfb3df4d8 Remove outdated field from File 2020-10-31 04:27:29 +05:30
Vishnu Mohandas ef06cfbea0 Optimize collection loading 2020-10-31 04:00:54 +05:30
Vishnu Mohandas 2bbb27a55c Simplify favorites 2020-10-31 01:47:06 +05:30
Vishnu Mohandas 6e02cae865 Sort albums in the order in which they were updated 2020-10-29 06:20:39 +05:30
Vishnu Mohandas 0afbd87898 Update logic to deduplicate existing database entries 2020-10-29 05:44:48 +05:30
Vishnu Mohandas 3630a25fb5 Remove SharedCollection 2020-10-28 20:55:32 +05:30
Vishnu Mohandas 42507c4354 Remove unnecessary code 2020-10-28 19:37:32 +05:30
Vishnu Mohandas 09dfe6676a Update query to select important files 2020-10-26 15:58:05 +05:30
Vishnu Mohandas 6cabe8c21a Ensure that the location is saved to the metadata if unavailable before uploading 2020-10-25 05:09:46 +05:30
Vishnu Mohandas f473a51d95 Fix DB query to fetch files 2020-10-25 02:55:28 +05:30
Vishnu Mohandas fb897e9264 Revert "Fix DB query to fetch owned files"
This reverts commit a6b8d229dd.
2020-10-25 02:51:06 +05:30
Vishnu Mohandas a6b8d229dd Fix DB query to fetch owned files 2020-10-25 02:44:44 +05:30
Vishnu Mohandas 805e5a8550 Prevent duplicate uploads across collections 2020-10-25 01:35:50 +05:30
Vishnu Mohandas 69ab22f23a Add a unique constraint onto fileID and collectionID 2020-10-24 16:02:45 +05:30
Vishnu Mohandas be2522d85f Update like-unlike interactions 2020-10-24 15:55:02 +05:30
Vishnu Mohandas c44e89641b Remove files that have been deleted on remote 2020-10-23 20:29:51 +05:30
Vishnu Mohandas f6b9e50f8a Add a gallery for shared collections 2020-10-14 03:16:46 +05:30
Vishnu Mohandas 6a73308bd1 Fix remaining issues with displaying shared collection items 2020-10-14 03:10:22 +05:30
Vishnu Mohandas da8b69084b Add collectionID as an attribute to files 2020-10-11 05:30:44 +05:30
Vishnu Mohandas c553183556 Fix table creation statement 2020-10-07 05:06:23 +05:30
Vishnu Mohandas 27f019af57 Move to XChaCha for thumbnail and metadata encryption 2020-10-07 04:25:59 +05:30