Commit graph

197 commits

Author SHA1 Message Date
Abhinav-grd db8f9dd592 updated Classes collection and CollectionAttributes 2021-01-22 13:47:22 +05:30
Vishnu Mohandas f7cbd2c284 Handle null locations gracefully 2021-01-19 14:00:48 +05:30
Vishnu Mohandas 0324664551 Update subscription model 2021-01-18 22:32:44 +05:30
Vishnu Mohandas 90807c29f7 Update subscription model 2021-01-18 21:50:35 +05:30
Vishnu Mohandas 84f8894f7f Parse null location 2021-01-13 13:59:17 +05:30
Vishnu Mohandas 540cea31df Persist subscription plan returned by the server 2021-01-06 17:26:03 +05:30
Vishnu Mohandas facc9b04ce Update BillingPlan model 2021-01-06 14:17:18 +05:30
Vishnu Mohandas 669eed55e4 Add BillingService 2021-01-05 15:11:32 +05:30
Vishnu Mohandas b06eacc7b6 Mark uploaded files as important 2020-12-08 01:11:53 +05:30
Vishnu Mohandas dbad2cc37f Remove unnecessary fields from the log statement 2020-12-02 02:48:32 +05:30
Vishnu Mohandas dc45c81f27 Remove unused function 2020-11-30 15:20:08 +05:30
Vishnu Mohandas cd224e523d Ensure that tokens are passed only in the header 2020-11-27 12:22:07 +05:30
Vishnu Mohandas 19cb8989fe Remove unused model 2020-11-27 12:21:53 +05:30
Vishnu Mohandas dde2e5436e Fetch the latest set of files within a device folder when updated 2020-11-26 15:57:36 +05:30
Vishnu Mohandas 2effbf834d Eagerly supply all available device folder files 2020-11-14 16:27:08 +05:30
Vishnu Mohandas 96dba3f905 Update shared collections interface 2020-11-02 20:08:59 +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 6cfb3df4d8 Remove outdated field from File 2020-10-31 04:27:29 +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 af01dbe610 Add ability to add files to existing albums 2020-10-29 06:00:02 +05:30
Vishnu Mohandas 3630a25fb5 Remove SharedCollection 2020-10-28 20:55:32 +05:30
Vishnu Mohandas 673e5e9442 Add create album flow 2020-10-28 17:33:28 +05:30
Vishnu Mohandas be2522d85f Update like-unlike interactions 2020-10-24 15:55:02 +05:30
Vishnu Mohandas 26f3e62c0e Fix API to add a file to favorites 2020-10-22 03:52:09 +05:30
Vishnu Mohandas 9f88eb413d Persist the generated keys only after successful authentication 2020-10-22 02:59:16 +05:30
Vishnu Mohandas 65a431f366 Expose API to add a photo to the favorites-collection 2020-10-21 23:44:34 +05:30
Vishnu Mohandas 948814ea9c Use a model to encapsulate public keys 2020-10-19 03:09:55 +05:30
Vishnu Mohandas 2c6fa9c242 Ensure that shared folder files don't pop up in the local folder page 2020-10-18 01:38:50 +05:30
Vishnu Mohandas d64f34f6d7 Remove dead code related to folders 2020-10-14 21:48:26 +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 b8586e31e0 Fix the serialziation logic for CollectionType 2020-10-13 00:44:23 +05:30
Vishnu Mohandas d5338af961 Update API endpoint to upload and fetch files 2020-10-11 05:59:31 +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 c9342e9cc8 Define a collection service 2020-10-10 05:21:12 +05:30
Vishnu Mohandas 50646612ce Define model for a collection 2020-10-10 00:13:59 +05:30
Vishnu Mohandas 8da3f0c687 Remove more unnecessary models 2020-10-07 04:47:53 +05:30
Vishnu Mohandas 3f5d20027e Remove unnecessary model 2020-10-07 04:42:02 +05:30
Vishnu Mohandas 7f707d187e Refactor crypto util 2020-10-07 04:28:41 +05:30
Vishnu Mohandas 27f019af57 Move to XChaCha for thumbnail and metadata encryption 2020-10-07 04:25:59 +05:30
Vishnu Mohandas 7f16f88a8f Move services to a separate package 2020-10-03 23:26:18 +05:30
Vishnu Mohandas 5a25676dc4 Generate and store public private keypairs on the server 2020-10-03 03:15:26 +05:30
Vishnu Mohandas 0d1473708c Hash KEK instead of the passphrase 2020-10-01 00:01:04 +05:30
Vishnu Mohandas fed7cda7f4 Replace scrypt with libsodium's abstractions 2020-09-29 00:02:53 +05:30
Vishnu Mohandas 37b7eb1601 Add extra logging to file 2020-09-26 01:54:52 +05:30
Vishnu Mohandas 727a1684ce Switch to libsodium for file encryption and decryption 2020-09-26 00:37:32 +05:30
Vishnu Mohandas 44866f7ffe Introduce new models to encapsulate encryption attributes 2020-09-26 00:32:00 +05:30
Vishnu Mohandas 3bad6a7c94 Add API to chacha encrypt and decrypt a file 2020-09-25 21:15:00 +05:30
Vishnu Mohandas aba132058d Add toString for KeyAttributes 2020-09-14 12:23:53 +05:30
Vishnu Mohandas 87fd87987a Explicitly call the AESCrypt password as password 2020-09-10 03:57:54 +05:30
Vishnu Mohandas 94a41a72c9 Remove all assumptions related to key attribute encoding 2020-09-10 02:39:41 +05:30
Vishnu Mohandas 4cd93610f7 Make no assumptions about the encoding type of the key 2020-09-10 01:01:14 +05:30
Vishnu Mohandas c61368f7f2 Update structure of a file object 2020-09-06 11:59:03 +05:30
Vishnu Mohandas bc36bf8f5e Verify the correctness of the passphrase entered 2020-09-05 14:23:23 +05:30
Vishnu Mohandas a5d3305cbf Encrypt every file with a separate key 2020-09-03 22:20:26 +05:30
Vishnu Mohandas 617ea34f57 Upload data to the presigned s3 bucket URL 2020-08-27 20:11:56 +05:30
Vishnu Mohandas b4b685de13 Mark the assets loaded from disk as decrypted 2020-08-14 01:32:04 +05:30
Vishnu Mohandas 600fd58a46 Augment the getBytes function to take care of encrypted files 2020-08-13 06:48:41 +05:30
Vishnu Mohandas f6d3a7e6bd Decrypt, save and display encrypted thumbnails 2020-08-13 04:47:15 +05:30
Vishnu Mohandas 79e65f518d Add an isEncrypted property to File 2020-08-13 02:12:00 +05:30
Vishnu Mohandas 746fb18cf7 Download and save encrypted files 2020-08-12 04:34:16 +05:30
Vishnu Mohandas 4b63196e34 Encrypt and upload files 2020-08-11 05:17:22 +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 d7d5f473f2 Fix face ID attribute to match the updated API param 2020-08-01 03:06:48 +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 e35309b02e Add service to view and mark memories as seen 2020-07-20 17:59:07 +05:30
Vishnu Mohandas 239fc5582b Add storage layer for memories 2020-07-20 17:25:17 +05:30
Vishnu Mohandas 9152c11149 Fix hero animation issue for device folders with common entries 2020-07-16 06:05:12 +05:30
Vishnu Mohandas 02f7e801c6 Simplify the state management for selected files 2020-07-16 01:59:29 +05:30
Vishnu Mohandas da94f954a5 Establish consistency in the terminology used for updation timestamp 2020-07-14 03:33:58 +05:30
Vishnu Mohandas b01bad8090 Remove direct file access for thumbnails 2020-07-09 02:40:14 +05:30
Vishnu Mohandas ddb25a1536 Remove the notion of direct access URLs for files 2020-07-09 02:21:36 +05:30
Vishnu Mohandas 15966ce95f Update API to download a file 2020-07-09 01:16:04 +05:30
Vishnu Mohandas f333f32681 Update the URL to access thumbnails 2020-07-09 01:14:51 +05:30
Vishnu Mohandas 8d73735e93 Pass token while accessing a file or stream 2020-07-08 21:11:11 +05:30
Vishnu Mohandas c75551db99 Stream videos instead of downloading them raw 2020-07-08 03:07:13 +05:30
Vishnu Mohandas 8c031a87fd Add modificationTime as an attribute of a file 2020-07-07 00:39:47 +05:30
Vishnu Mohandas f79f2497e7 Mark files in the "Recent" folder also as important 2020-07-06 14:44:34 +05:30
Vishnu Mohandas 36467b6673 Fix cache-issues due to hash collisions 2020-06-24 01:43:45 +05:30
Vishnu Mohandas cd32098360 Fix the hero animation for remote images 2020-06-24 00:27:22 +05:30
Vishnu Mohandas c4dfc72aac Add a separate folder for videos 2020-06-21 05:35:15 +05:30
Vishnu Mohandas 12ba36a0d4 Rename file 2020-06-20 04:36:07 +05:30
Vishnu Mohandas a5aaf91460 Extend support for videos 2020-06-20 04:33:26 +05:30
Vishnu Mohandas 69d5ea1199 Move to pre Android Q API for fetching location 2020-06-15 08:55:05 +05:30
Vishnu Mohandas 4b38828d4c Let the uploaded ID be set to null when loading photo from disk 2020-06-15 06:03:24 +05:30
Vishnu Mohandas 81d90da546 Fix image loading on Android Q 2020-06-13 22:14:16 +05:30
Vishnu Mohandas 9994715cc4 Update toString methods 2020-06-03 23:07:37 +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 e0d6c831bc Convert HEIC images to JPG before uploading 2020-06-02 15:13:18 +05:30
Vishnu Mohandas f294e16b11 Remove unused import 2020-06-02 15:12:29 +05:30