Commit graph

229 commits

Author SHA1 Message Date
Neeraj Gupta 3b3f787f8c
persist deleted/trashed files with localId in ignoredFiles db 2021-10-16 21:45:15 +05:30
Neeraj Gupta df6eeb407b
Add support for persisting ignored files 2021-10-16 20:44:40 +05:30
Neeraj Gupta 517a7b2a20
Use dummy generatedID for trashed files 2021-10-13 14:47:58 +05:30
Neeraj Gupta ceaed8def3
TrashFile: extend File 2021-10-13 02:59:05 +05:30
Neeraj Gupta 556f75c01d
collectionsDB: add is_deleted column 2021-10-13 01:58:40 +05:30
Neeraj Gupta 35b41d07d4
Add hook to show trashed items 2021-10-13 01:31:51 +05:30
Neeraj Gupta 84b0283933
Sync trashed items in local db 2021-10-13 00:57:11 +05:30
Neeraj Gupta 33126b65a3
[trash] add trash db 2021-10-11 10:35:34 +05:30
Neeraj Gupta 2eaabf31cc
Fix db query for sqlite 3.9.2 2021-10-02 00:17:15 +05:30
vishnukvmd 4162df3622 Add a single query to delete multiple files within a collection 2021-09-30 14:58:29 +05:30
Neeraj Gupta 8c35d78b43
Bugfix: Add if not exists check in index statement 2021-09-27 10:01:27 +05:30
Vishnu Mohandas 87bdd04f3a
Merge pull request #60 from ente-io/fix_range_error 2021-09-24 19:11:49 +05:30
Neeraj Gupta 86842ad2f6
Validate empty list check in getFilesFromIDs 2021-09-24 19:09:51 +05:30
Neeraj Gupta b746e9ffbd
Migration script: handle default values for collection and uploadedFile id 2021-09-24 17:13:35 +05:30
Neeraj Gupta 075db8df10
SQL query to delete duplicate files in collection & unique index to avoid same in future 2021-09-24 16:49:03 +05:30
vishnukvmd 2ee21cd928 Merge branch 'master' into deduplicate 2021-09-23 12:46:08 +05:30
Neeraj Gupta 81eeeb7aeb
magic-metadata: rename 2021-09-20 12:11:38 +05:30
Neeraj Gupta 3e5a54220c
Reuse existing method for loading archived files 2021-09-17 16:22:19 +05:30
Neeraj Gupta fde3ef0ec3
use constants for file visibility values 2021-09-17 15:34:24 +05:30
Neeraj Gupta 731de0c5e2
Archived: only show files owned by user 2021-09-17 15:01:34 +05:30
Neeraj Gupta 7b599bfdf2
Archive page: deduplicated files 2021-09-17 10:56:26 +05:30
Neeraj Gupta d4db17fd2d
Archive: add show archive button 2021-09-17 10:14:10 +05:30
Neeraj Gupta 8d66af68ac
Support archiving memories & hide them from home page 2021-09-16 23:03:16 +05:30
Neeraj Gupta d120f18aab
Support for persisting magic metadata for file 2021-09-16 18:44:51 +05:30
Neeraj Gupta 99eaf37882
getAllUploadedFiles: remove redundant null check for owner_id 2021-09-15 09:52:11 +05:30
vishnukvmd f38259bae9 Convert fetched fileIDs to File objects 2021-09-14 23:58:14 +05:30
Neeraj Gupta 6d8a47c9f0
Hide incoming collections from main gallery 2021-09-14 12:15:14 +05:30
vishnukvmd 709c4e959c Store metadata attributes to disk 2021-08-18 18:53:42 +05:30
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