Commit graph

201 commits

Author SHA1 Message Date
Neeraj Gupta 002937975d Refactor: use getInt(FileType) instead of duplicating switchCase 2021-07-30 01:57:12 +05:30
Neeraj Gupta 830e83e3bb Gracefully handle deletion of unsynced files 2021-07-24 22:52:46 +05:30
vishnukvmd eb9de99730 Fix moar linter warnings 2021-07-23 00:11:58 +05:30
Neeraj Gupta 538578a9f3 Bugfix: explicitly declare type in the future 2021-07-22 13:18:21 +05:30
vishnukvmd 2747810cb3 Ensure that DB inits occur only once 2021-07-22 02:04:53 +05:30
vishnukvmd c6ce7f2850 Add indices 2021-07-22 01:52:15 +05:30
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