Commit graph

309 commits

Author SHA1 Message Date
Vishnu Mohandas 99726eac4a Update remote asset URLs 2021-03-02 05:13:36 +05:30
Vishnu Mohandas 2c69be6071 Add product ID for free susbcriptions 2021-02-25 20:29:54 +05:30
Vishnu Mohandas db47586424 Don't rely on cache that does not exist yet 2021-02-14 23:45:38 +05:30
Vishnu Mohandas 77b909f3d2 Remove legacy code related to orma.in where files could be unencrypted 2021-02-08 14:35:41 +05:30
Vishnu Mohandas 6fdbba8d73 Update subscription model 2021-02-01 16:08:07 +05:30
Vishnu Mohandas 8b7c16d522 Fix variable name 2021-02-01 15:51:25 +05:30
Vishnu Mohandas 088c1777fd Update billing plan model 2021-02-01 15:50:39 +05:30
Vishnu Mohandas 4465056061 Display current usage on the susbcription page 2021-02-01 02:30:12 +05:30
Vishnu Mohandas 74bb2ce0c4 Update subscription model 2021-01-29 16:37:58 +05:30
Vishnu Mohandas 013c1576be Merge branch 'encrypt-collection-name' into ui_refresh 2021-01-25 15:20:53 +05:30
Abhinav-grd b5f05b0afd set default version as 0 and corrected version check 2021-01-24 21:17:42 +05:30
Abhinav-grd cc5dc4aa43 set version default value to zero 2021-01-24 11:52:01 +05:30
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
Vishnu Mohandas 1abb72523c Fix issue with deleting folders 2020-06-02 02:29:07 +05:30
Vishnu Mohandas eef26ffebd Fix how the folder name is displayed 2020-06-02 02:17:13 +05:30
Vishnu Mohandas 3ca3335e9a Remove unused imports 2020-05-31 01:43:38 +05:30
Vishnu Mohandas d14015ed30 Remove client side conversion of HEIC to JPG 2020-05-31 01:40:43 +05:30
Vishnu Mohandas 1c42e32adf Convert HEIC images before rendering them 2020-05-28 04:21:58 +05:30
Vishnu Mohandas 650e2f3161 Prevent duplication of images within iOS 2020-05-27 22:01:12 +05:30
Vishnu Mohandas 6990faa451 Add a getter for the thumbnail URL 2020-05-27 19:50:52 +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 b37682d863 Enable sharing of remote photos 2020-05-25 20:37:22 +05:30
Vishnu Mohandas 4cd01be276 Render gallery of remote folders 2020-05-25 20:05:06 +05:30
Vishnu Mohandas 2f3951f124 Integrate APIs to fetch shared folders 2020-05-22 23:52:55 +05:30
Vishnu Mohandas 97c1d0532b Enable sharing of a folder 2020-05-18 02:09:21 +05:30
Vishnu Mohandas 2949d5858d Fetch folder status 2020-05-18 01:05:57 +05:30
Vishnu Mohandas 3a2ea5014f Ensure that uploaded files are not reuploaded on reinstall 2020-05-18 00:12:03 +05:30
Vishnu Mohandas 5e5fdba4e2 Rename album to folder 2020-05-17 20:05:31 +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 275c36755c Move the responsibility of filtering to an album 2020-05-06 22:46:30 +05:30
Vishnu Mohandas 1279ccbf3d Try to parse create timestamp from file name when unavailable 2020-05-06 02:12:21 +05:30
Vishnu Mohandas 57dd9d098b Fix issues with downloaded images not getting loaded 2020-05-06 00:22:10 +05:30
Vishnu Mohandas 4207cc7fd3 Bring in consistency to package imports 2020-05-05 01:38:20 +05:30
Vishnu Mohandas d4b698e6ab Rename package name 2020-05-01 23:50:12 +05:30
Vishnu Mohandas 2cdb268b80 Fix issues with respect to uploading photos 2020-05-01 01:05:33 +05:30
Vishnu Mohandas 5c293fe827 Rebrand 2020-04-30 21:45:18 +05:30
Vishnu Mohandas 6c768da91a Improve thumbnail generation logic 2020-04-25 15:58:22 +05:30
Vishnu Mohandas 734807ba8d Add parameter to specify quality 2020-04-25 00:41:24 +05:30
Vishnu Mohandas 4a892e2ce3 Fix issues on iOS 2020-04-24 18:10:24 +05:30
Vishnu Mohandas 20f4f6324b Enable rendering of HEIC images 2020-04-24 01:30:20 +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 802e6c2d27 Add pending file for generatedId related changes 2020-04-18 02:07:56 +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 a142e2694a Fix some stuff 2020-04-11 16:45:27 +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 7f3ab5894b Implement face search 2020-04-05 19:30:44 +05:30
Vishnu Mohandas 2089135720 Add available faces to the search page 2020-04-05 17:52:38 +05:30
Vishnu Mohandas 0bbf7d1604 Refactor some code 2020-03-30 20:38:50 +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 53442cbf14 Add some amount of caching 2020-03-28 23:48:27 +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 a8cdc811fd Hello world 2020-03-25 01:29:36 +05:30