Commit graph

241 commits

Author SHA1 Message Date
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
Vishnu Mohandas 79e65f518d Add an isEncrypted property to File 2020-08-13 02:12:00 +05:30
Vishnu Mohandas c7b40265c3 Fix issue with loading remote images 2020-08-10 04:04:59 +05:30
Vishnu Mohandas 8b600143c7 Fix the sharedWith attribute in folders 2020-08-01 04:20:36 +05:30
Vishnu Mohandas e1cf0706f3 Update API parameters 2020-08-01 02:56:53 +05:30
Vishnu Mohandas 9f91c83f77 Resume from the last seen memories for seen memories 2020-07-29 21:08:13 +05:30
Vishnu Mohandas 1cfdf488bb Minor refactor 2020-07-22 02:36:28 +05:30
Vishnu Mohandas 225815e8e0 Remove unnecessary parsing for fileID 2020-07-22 02:36:09 +05:30
Vishnu Mohandas 5a6d36a369 Show the oldest memories first 2020-07-21 13:40:44 +05:30
Vishnu Mohandas e6b4619c52 Make sure that the file fetched for memories is not deleted 2020-07-20 20:37:44 +05:30
Vishnu Mohandas 6469733ef0 Add missing parameter specifier 2020-07-20 18:56:21 +05:30
Vishnu Mohandas 410e5d522f Update API to fetch seen files 2020-07-20 17:58:00 +05:30
Vishnu Mohandas c05498b0d3 Add missing return statement 2020-07-20 17:25:41 +05:30
Vishnu Mohandas 239fc5582b Add storage layer for memories 2020-07-20 17:25:17 +05:30
Vishnu Mohandas 3925388a4c Add function to fetch files created within a specific duration 2020-07-20 17:23:42 +05:30
Vishnu Mohandas cbb0a88a07 Remove TODO to use a single database since using multiple ones simplifies schema upgrades 2020-07-20 17:21:41 +05:30
Vishnu Mohandas 275f5d003f Mark variables as final when possible 2020-07-20 17:19:26 +05:30
Vishnu Mohandas f7d5b989b9 Make variables final when possible 2020-07-20 17:19:00 +05:30
Vishnu Mohandas a5810abf98 Rename DBs 2020-07-20 16:33:09 +05:30
Vishnu Mohandas da15cc1290 Fix issues in loading remote folder entries 2020-07-20 03:38:18 +05:30
Vishnu Mohandas 7c75093b15 Update to new face search API 2020-07-20 02:56:26 +05:30
Vishnu Mohandas f77f14eb79 Add pagination to the face search API 2020-07-14 17:45:55 +05:30
Vishnu Mohandas da94f954a5 Establish consistency in the terminology used for updation timestamp 2020-07-14 03:33:58 +05:30
Vishnu Mohandas ddb25a1536 Remove the notion of direct access URLs for files 2020-07-09 02:21:36 +05:30
Vishnu Mohandas 8c031a87fd Add modificationTime as an attribute of a file 2020-07-07 00:39:47 +05:30
Vishnu Mohandas 42d9d21af5 Minor refactor 2020-07-06 14:43:59 +05:30
Vishnu Mohandas c4dfc72aac Add a separate folder for videos 2020-06-21 05:35:15 +05:30
Vishnu Mohandas a5aaf91460 Extend support for videos 2020-06-20 04:33:26 +05:30
Vishnu Mohandas a99bfde90d Fix the title matching logic for remote HEIC files that was triggering duplicate entries 2020-06-18 01:46:46 +05:30
Vishnu Mohandas 44965a3473 Remove unneccessary non-null constraints 2020-06-15 05:27:50 +05:30
Vishnu Mohandas d196284dfd Update photo when it was updated on remote 2020-06-15 05:02:37 +05:30
Vishnu Mohandas 2f3aa8da6a Safe guard against null locations 2020-06-07 02:42:49 +05:30
Vishnu Mohandas 2a312c5015 Add method to fetch folders by updated timestamp 2020-06-07 01:38:45 +05:30
Vishnu Mohandas 8d48ca9d3a Upload latest photos first 2020-06-03 23:23:50 +05:30
Vishnu Mohandas 125cbb0816 Change location search logic 2020-06-03 21:36:49 +05:30
Vishnu Mohandas 694c0c22d4 Implement location search 2020-06-03 19:41:34 +05:30
Vishnu Mohandas f715e17e3d Update logging 2020-06-02 02:17:26 +05:30
Vishnu Mohandas 4dbf9c8078 Hide remote folders in the gallery section 2020-05-28 02:33:30 +05:30
Vishnu Mohandas 25d132a594 Fetch and store thumbnail path 2020-05-27 01:03:29 +05:30
Vishnu Mohandas 995c97add3 Rename sync-timestamp to update-timestamp 2020-05-26 19:55:46 +05:30
Vishnu Mohandas 27519273e5 Change error message 2020-05-25 21:34:54 +05:30
Vishnu Mohandas b12e6195c3 Render photos in a remote folder 2020-05-25 20:24:54 +05:30
Vishnu Mohandas fd8d1a3e99 Setup photos and folders to use separate DBs for simplicity 2020-05-25 20:04:49 +05:30
Vishnu Mohandas 2f3951f124 Integrate APIs to fetch shared folders 2020-05-22 23:52:55 +05:30
Vishnu Mohandas 496e1d2f81 Rename DBHelper 2020-05-18 21:08:15 +05:30
Vishnu Mohandas 3a2ea5014f Ensure that uploaded files are not reuploaded on reinstall 2020-05-18 00:12:03 +05:30
Vishnu Mohandas c04f2baa3c Update to latest API 2020-05-17 18:09:38 +05:30
Vishnu Mohandas f36d77da6d Optimize album generation 2020-05-06 23:43:24 +05:30
Vishnu Mohandas d4b698e6ab Rename package name 2020-05-01 23:50:12 +05:30
Vishnu Mohandas 5c293fe827 Rebrand 2020-04-30 21:45:18 +05:30
Vishnu Mohandas 4a892e2ce3 Fix issues on iOS 2020-04-24 18:10:24 +05:30
Vishnu Mohandas 293e2cae95 Fix issues on Samsung phones 2020-04-21 17:18:56 +05:30
Vishnu Mohandas d4d0ef78dc Add functional gallery 2020-04-19 00:16:38 +05:30
Vishnu Mohandas d0f12ecf71 Add generated ID as a column 2020-04-18 02:07:04 +05:30
Vishnu Mohandas 6a73208b00 Collate by dates 2020-04-13 20:31:27 +05:30
Vishnu Mohandas cd82e5a786 Show months on the scrollbar 2020-04-13 16:58:01 +05:30
Vishnu Mohandas 8462ae2d77 Start building delete 2020-04-12 18:08:49 +05:30
Vishnu Mohandas 5826f8a7e0 Update thumbnail generation mechanism 2020-04-12 02:59:07 +05:30
Vishnu Mohandas 46d173ada6 Update API response parameter names 2020-04-10 00:33:11 +05:30
Vishnu Mohandas 80655c61d9 Fix some issues 2020-04-05 20:15:04 +05:30
Vishnu Mohandas f5225cda20 Add some buttons 2020-03-30 19:58:46 +05:30
Vishnu Mohandas 81882999c1 Update interactions 2020-03-30 16:27:04 +05:30
Vishnu Mohandas 22ca572532 Update diff handling 2020-03-28 19:26:06 +05:30
Vishnu Mohandas 99ba42743b Update interactions 2020-03-27 21:37:55 +05:30
Vishnu Mohandas 86362a7225 Update API interactions 2020-03-26 20:09:31 +05:30
Vishnu Mohandas a8cdc811fd Hello world 2020-03-25 01:29:36 +05:30