Commit graph

515 commits

Author SHA1 Message Date
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
Neeraj Gupta 85998f4c47
DB: Method to getCount of files for each pathID 2022-07-23 11:14:51 +05:30
Neeraj Gupta 5fe8167006
Rename variable 2022-07-23 11:11:43 +05:30
Neeraj Gupta 248e6b6108
Support for inserting device pathID and fileIDs mapping 2022-07-23 10:36:19 +05:30
Neeraj Gupta 470c5de015
add table for device_files and device_path_collections 2022-07-21 18:33:33 +05:30
Neeraj Gupta e8cf734446
dedupe files by localId 2022-07-11 09:34:12 +05:30
Neeraj Gupta 35d8e00034
Add view all device photos option for iOS 2022-07-09 22:53:11 +05:30
Neeraj Gupta 460dd1203e
Prefer const 2022-07-04 11:33:10 +05:30
Neeraj Gupta c54fe344ce
avoid fetching hidden memories for memories (duh) 2022-06-21 18:43:16 +05:30
Neeraj Gupta 03ea93f277
Hide hidden collections from memories 2022-06-21 18:25:39 +05:30
vishnukvmd 47505ae102 Execute dart format lib 2022-06-11 13:53:52 +05:30
vishnukvmd 3e306facf5 Apply dart fix for require_trailing_commas 2022-06-11 13:53:18 +05:30
Neeraj Gupta 9bc4306218
Merge branch 'master' into redesign 2022-06-09 18:37:56 +05:30
Neeraj Gupta b329939cb4
make limit mandatory parameter 2022-06-08 19:47:19 +05:30
Neeraj Gupta 423304aecc
Fix bug in sql query 2022-06-08 15:59:29 +05:30
Neeraj Gupta 91a9e13925
minor refactor 2022-06-08 15:00:21 +05:30
Neeraj Gupta bb5ef1b246
Minor bug fixes 2022-06-08 14:50:03 +05:30
Neeraj Gupta e547304036
Reupload files with missing location 2022-06-08 14:19:23 +05:30
Neeraj Gupta c7347b7f04
Add DB to track potential fileIDs for reupload 2022-06-08 10:52:07 +05:30
Neeraj Gupta 1873600a83
Fix hidden file count 2022-05-17 18:24:56 +05:30
Neeraj Gupta 300a3c9647
show count for trashed & hidden files 2022-05-05 12:16:31 +05:30
Neeraj Gupta ba4d193d01
switch to count query for detecting empty trash 2022-05-04 08:07:17 +05:30
Neeraj Gupta 588aae777f Add support for archiving collection 2022-03-21 15:02:24 +05:30
Neeraj Gupta fed63d5ce7 add additional filter check for unsynced files 2022-02-13 18:12:34 +05:30
Neeraj Gupta a7d8fca551 rename and fix bug in query 2022-02-13 18:12:34 +05:30
Neeraj Gupta 8b9a47a64b remove blocking upload dialog for manually backed up files 2022-02-13 18:12:34 +05:30
vishnukvmd 277d33ab4e Handle null case for public URLs 2022-01-24 23:14:33 +05:30
Neeraj Gupta ff61b7113a
Support for enabling/disabling public urls 2022-01-23 11:34:39 +05:30
Neeraj Gupta a9f4fa8bd8 Bugfix: Fix typo 2021-10-31 19:59:22 +05:30
Neeraj Gupta 3eea54d262
BugFix: deduplicate files for home page 2021-10-30 12:35:50 +05:30
Neeraj Gupta 914f785014
trashdb: add method to update trash file 2021-10-30 08:22:53 +05:30
Neeraj Gupta 6fce44a28a
Merge pull request #124 from ente-io/hide_ignored_files
Hide ignored files from home page + refactoring
2021-10-29 12:36:09 +05:30
Neeraj Gupta 4312360fce
move ignored file logic to home page 2021-10-29 12:09:13 +05:30
Neeraj Gupta f8c85c6fe9
hide ignored files from home page 2021-10-29 10:27:52 +05:30
Neeraj Gupta f0085c0889
remove unused methods 2021-10-29 09:52:38 +05:30
Neeraj Gupta 8a4d6801ab
Add ignored file service & cache ignoredIDs 2021-10-29 09:39:38 +05:30
Neeraj Gupta 38b703ca39
remove unused method 2021-10-29 07:38:57 +05:30
Neeraj Gupta 8fdb6ed0f2
Use less expensive query to identify empty trash state 2021-10-28 10:33:23 +05:30
vishnukvmd e7ddf880dd Add missing return statement 2021-10-28 01:12:30 +05:30
Neeraj Gupta 96932f22d7
Merge branch 'master' into edit-time 2021-10-27 13:25:42 +05:30
Neeraj Gupta 44dd20cf20
IgnoredFiles: deviceFolder & title for matching on Android 2021-10-27 11:01:12 +05:30
Neeraj Gupta 2a0d60a83c
IgnoredFiles: switch to getAllLocalIDs for iOS 2021-10-27 10:37:17 +05:30
Neeraj Gupta 577af41c6d
use string interpolation 2021-10-27 10:15:31 +05:30
Neeraj Gupta 62b1de6c6a
IgnoredFilesDB: persist device folder name 2021-10-27 10:13:01 +05:30
Neeraj Gupta 3816f15343
formatting changes 2021-10-26 20:16:58 +05:30
Neeraj Gupta aa145e0217
Support for editing date of memory 2021-10-26 16:07:14 +05:30
Neeraj Gupta eff885f696
Handle pubMetadata in trash & diff fetchers 2021-10-26 11:15:26 +05:30
Neeraj Gupta 4e492396e4
File & FilesDB: Add pubMetadata 2021-10-26 10:55:42 +05:30
Neeraj Gupta 022398addc
Fix typo in _getRowForCollection 2021-10-24 09:28:08 +05:30
Neeraj Gupta 047b154156
trash_db: store file original metadata as json 2021-10-22 15:00:06 +05:30
Neeraj Gupta 964ddd50e5
refactor: rename stuff 2021-10-21 17:26:02 +05:30
Neeraj Gupta 85a6c7ca83
minor clean up and documentation 2021-10-20 20:06:48 +05:30
Neeraj Gupta 29630aedd0
TrashRestore: Remove unsynced local files 2021-10-20 16:28:11 +05:30
Neeraj Gupta dfbc98cb05
trash: persist file update time to avoid local fileUpdate on restore 2021-10-20 15:59:21 +05:30
Neeraj Gupta 0193355f43
fix typo 2021-10-17 22:25:42 +05:30
Neeraj Gupta c9cecdc045
trashdb: remove redundant columns 2021-10-17 22:19:41 +05:30
Neeraj Gupta cb16f188b4
refactor and more documentation 2021-10-17 21:40:20 +05:30
Neeraj Gupta f5a74f220a
IgnoredFile: minor refactoring & improved documentation 2021-10-17 19:58:47 +05:30
Neeraj Gupta 5e2fb4dc80
trash: add footer with information about days on thumbnail widget 2021-10-17 18:33:02 +05:30
Neeraj Gupta be9c9ca13b
ignore files which were trashed or deleted 2021-10-16 22:50:15 +05:30
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
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 5cdcf5f743 Capture upload errors triggered in the background 2021-03-05 00:06:40 +05:30
Vishnu Mohandas 3b3e5b60d1 Make UploadLocksDB dumber 2021-03-04 01:48:50 +05:30
Vishnu Mohandas bf9fcdfc0e Create an UploadLocks DB 2021-03-03 21:36:34 +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 d34d020095 Persist collection version 2021-02-15 00:03:57 +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 876e85a037 collection_db changes 2021-01-25 00:28:21 +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
Abhinav-grd 4dfbdeb9bf corrected db scripts 2021-01-23 18:06:03 +05:30
Abhinav-grd 7c30653239 corrected the collectionsTableCopy name 2021-01-23 11:07:20 +05:30
Abhinav-grd c97a1a1f5d added migration scripts and setuped sqflite_migration 2021-01-22 13:47:02 +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 96dba3f905 Update shared collections interface 2020-11-02 20:08:59 +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 46e5993de4 Update collection owner structure 2020-10-31 21:41:43 +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 405578b086 Show an indicator of the collection owner's email on the shared collection icon 2020-10-30 21:33:13 +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 26f3e62c0e Fix API to add a file to favorites 2020-10-22 03:52:09 +05:30
Vishnu Mohandas 948814ea9c Use a model to encapsulate public keys 2020-10-19 03:09:55 +05:30
Vishnu Mohandas ff6cc91f0d Fix the query to search for email addresses 2020-10-19 03:05:39 +05:30
Vishnu Mohandas 91e985ec88 Add a data store to persist user keys 2020-10-17 23:46:23 +05:30
Vishnu Mohandas d64f34f6d7 Remove dead code related to folders 2020-10-14 21:48:26 +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 0af41fd97b Fetch and store shared collections 2020-10-14 01:42:37 +05:30
Vishnu Mohandas fcc172f733 Pull the util method to serialize and deserialize a collection type into the Collection class 2020-10-14 01:12:39 +05:30
Vishnu Mohandas c75bc2f784 Update sharee fetching logic 2020-10-13 10:52:20 +05:30
Vishnu Mohandas 76eb21350f Fix the type of owner_id in collections table 2020-10-13 02:05:04 +05:30
Vishnu Mohandas b8586e31e0 Fix the serialziation logic for CollectionType 2020-10-13 00:44:23 +05:30
Vishnu Mohandas da8b69084b Add collectionID as an attribute to files 2020-10-11 05:30:44 +05:30
Vishnu Mohandas 0ba60025f3 Add pathDecryptionNonce as a param 2020-10-11 05:14:04 +05:30
Vishnu Mohandas c66eb60d02 Introduce a CollectionsDB 2020-10-11 03:33:25 +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
Vishnu Mohandas 727a1684ce Switch to libsodium for file encryption and decryption 2020-09-26 00:37:32 +05:30
Vishnu Mohandas a5028c9605 Display accurate sync state 2020-09-18 00:18:25 +05:30
Vishnu Mohandas 43c9fa37cd Fix duplicate file issue 2020-09-14 12:29:28 +05:30
Vishnu Mohandas 87fd87987a Explicitly call the AESCrypt password as password 2020-09-10 03:57:54 +05:30
Vishnu Mohandas c61368f7f2 Update structure of a file object 2020-09-06 11:59:03 +05:30
Vishnu Mohandas a5d3305cbf Encrypt every file with a separate key 2020-09-03 22:20:26 +05:30
Vishnu Mohandas 2cfefb6805 Remove unnecessary integer parsing 2020-08-13 02:26:01 +05:30