Commit graph

185 commits

Author SHA1 Message Date
Vishnu Mohandas 03fb189396 Add some logging to fileutil 2020-09-28 21:45:21 +05:30
Vishnu Mohandas 4de5c56a3f Fix copypastah errors 2020-09-28 21:45:06 +05:30
Vishnu Mohandas f2b10a4168 Move expensive encryption and decryption operations to a separate isolate 2020-09-28 21:24:40 +05:30
Vishnu Mohandas e574a0d8d2 Use Dart's file handling APIs correctly to append to a file 2020-09-26 03:54:33 +05:30
Vishnu Mohandas 05a67773e9 Minor refactor 2020-09-26 03:08:14 +05:30
Vishnu Mohandas d6e0671fe7 Rename variable 2020-09-26 02:28:19 +05:30
Vishnu Mohandas bd66a9a309 Simplify encryption code 2020-09-26 02:26:02 +05:30
Vishnu Mohandas 9f6cfebcb1 Ensure file deletion only after read 2020-09-26 01:55:03 +05:30
Vishnu Mohandas 727a1684ce Switch to libsodium for file encryption and decryption 2020-09-26 00:37:32 +05:30
Vishnu Mohandas 3bad6a7c94 Add API to chacha encrypt and decrypt a file 2020-09-25 21:15:00 +05:30
Vishnu Mohandas 735d30583a Cache downloaded thumbnails and files for 365 days 2020-09-18 00:11:14 +05:30
Vishnu Mohandas 6d8e7c1a43 Save files to cache with the extension 2020-09-17 19:59:42 +05:30
Vishnu Mohandas 9e641ba57d Return base64 encoded string 2020-09-10 05:18:11 +05:30
Vishnu Mohandas 87fd87987a Explicitly call the AESCrypt password as password 2020-09-10 03:57:54 +05:30
Vishnu Mohandas db3869fa58 Use existing raw API for steel crypt 2020-09-10 03:00:04 +05:30
Vishnu Mohandas 94a41a72c9 Remove all assumptions related to key attribute encoding 2020-09-10 02:39:41 +05:30
Vishnu Mohandas 5fffea1824 Remove single line hash function 2020-09-10 02:22:18 +05:30
Vishnu Mohandas d9a583a46c Ensure that CBC is always the chosen mode of encryption 2020-09-10 02:17:51 +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 1f98f8ca8d Modify steel crypt to expose a hashBytes function that does not assume the encoding of the inputs or output 2020-09-09 14:35:24 +05:30
Vishnu Mohandas 831de35e9c Update file upload API 2020-09-06 11:59:30 +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 aa2890107f Add API to use AesCrypt to encrypt and decrypt data directly 2020-09-03 21:08:46 +05:30
Vishnu Mohandas 81db6e73d1 Display the full month in billing details 2020-08-29 09:34:59 +05:30
Vishnu Mohandas ddb2c7dc82 Update UI for the OTT sign in flow 2020-08-25 11:30:19 +05:30
Vishnu Mohandas 0c70cd96fd Fix crash on attempting to share multiple large files 2020-08-25 05:29:57 +05:30
Vishnu Mohandas 3d3c1496e7 Pull the key from server on sign in 2020-08-15 06:52:14 +05:30
Vishnu Mohandas 1ac16347bd Show progress dialog while downloading a video 2020-08-14 05:31:37 +05:30
Vishnu Mohandas a1ebee60b8 Add in memory cache for thumbnails to improve hero experience 2020-08-14 05:17:44 +05:30
Vishnu Mohandas 2505389d00 Use Computer to handle isolates 2020-08-14 04:34:32 +05:30
Vishnu Mohandas 7bd2ad19de Revert "Queue encryption and decryption with work-manager"
This reverts commit 5000a0b3cd.
2020-08-14 04:13:09 +05:30
Vishnu Mohandas bda0d8afd9 Minor change to the image decoding API 2020-08-14 04:01:37 +05:30
Vishnu Mohandas 5000a0b3cd Queue encryption and decryption with work-manager 2020-08-14 03:31:18 +05:30
Vishnu Mohandas 873f1b631d Use a single cache for thumbnails 2020-08-14 03:03:31 +05:30
Vishnu Mohandas 1ce1479dd9 Perform encryption and decryption on a separate isolate 2020-08-14 02:30:40 +05:30
Vishnu Mohandas 7da487cd4e Decrypt and render encrypted videos 2020-08-14 01:33:29 +05:30
Vishnu Mohandas c3265b91ab Move file decrypting logic out of ZoomableImage 2020-08-13 07:05:57 +05:30
Vishnu Mohandas 2a4404c293 Refactor file util 2020-08-13 06:54:48 +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 d36b88aa23 Mark preloadFile as TODO since the logic has to be reworked 2020-08-13 06:28:25 +05:30
Vishnu Mohandas f6d3a7e6bd Decrypt, save and display encrypted thumbnails 2020-08-13 04:47:15 +05:30
Vishnu Mohandas 746fb18cf7 Download and save encrypted files 2020-08-12 04:34:16 +05:30
Vishnu Mohandas 2e39f2e90a Upload thumbnail along with the file 2020-08-11 05:38:48 +05:30
Vishnu Mohandas 4b63196e34 Encrypt and upload files 2020-08-11 05:17:22 +05:30
Vishnu Mohandas 797c6ae856 Reuse existing library for generating secure random string 2020-08-10 05:49:44 +05:30
Vishnu Mohandas c7b40265c3 Fix issue with loading remote images 2020-08-10 04:04:59 +05:30
Vishnu Mohandas f80e06762f Add crypto util 2020-08-10 02:09:11 +05:30
Vishnu Mohandas 786dba4514 Set the background color for progress dialog 2020-08-09 20:00:46 +05:30
Vishnu Mohandas 805f41f811 Set the background color for toasts 2020-08-09 20:00:42 +05:30
Vishnu Mohandas 8f2dce89c7 Update the base plugin for memories 2020-07-30 00:47:13 +05:30
Vishnu Mohandas 590c72f2e5 Preload the next memory 2020-07-29 21:18:13 +05:30
Vishnu Mohandas 1c8b29d60f Rename method to delete files 2020-07-29 13:25:29 +05:30
Vishnu Mohandas ce9cf2c026 Extract function to delete a file from the DB 2020-07-29 13:23:13 +05:30
Vishnu Mohandas 5911a718cb Add file sync util for the day Flutter makes using isolate less painful 2020-07-28 02:02:07 +05:30
Vishnu Mohandas 755664a8de Display memories from previous years 2020-07-21 15:55:19 +05:30
Vishnu Mohandas e917e4e568 Increase connection timeout to 250ms 2020-07-16 05:57:55 +05:30
Vishnu Mohandas 5c53661dd8 Display a progress dialog while deleting a photo 2020-07-16 00:44:37 +05:30
Vishnu Mohandas 8f1e4297aa Add progress dialog while fetching data to share files 2020-07-08 03:34:08 +05:30
Vishnu Mohandas f4fe539df4 Accept toast-length as a parameter 2020-07-08 03:23:09 +05:30
Vishnu Mohandas 8f0b606713 Add a util for displaying toasts 2020-07-08 03:16:14 +05:30
Vishnu Mohandas 8b6685c3e2 Update video controls 2020-06-21 05:21:10 +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 d178b0838d Improve log statement readability 2020-06-18 01:17:49 +05:30
Vishnu Mohandas e4017d91df Add an info button to photos 2020-06-14 00:17:48 +05:30
Vishnu Mohandas f6c3881673 Fix issue in sharing HEIC files 2020-05-31 02:56:26 +05:30
Vishnu Mohandas b37682d863 Enable sharing of remote photos 2020-05-25 20:37:22 +05:30
Vishnu Mohandas 51b97dd698 Make endpoint search cancellable 2020-05-17 23:18:49 +05:30
Vishnu Mohandas 275c36755c Move the responsibility of filtering to an album 2020-05-06 22:46:30 +05:30
Vishnu Mohandas 98f413fbb3 Uncomment necessary code 2020-05-04 18:35:53 +05:30
Vishnu Mohandas 657b3a539b Revert "Add new lines between log statements"
This reverts commit 7c0fdb0b60.
2020-05-04 01:57:06 +05:30
Vishnu Mohandas 7c0fdb0b60 Add new lines between log statements 2020-05-04 01:53:48 +05:30
Vishnu Mohandas 455ac899e2 Catch Android runtime errors with Sentry 2020-05-03 23:41:54 +05:30
Vishnu Mohandas 80bbcd8816 Fix issues related to emailing logs 2020-05-02 22:51:50 +05:30
Vishnu Mohandas 3489172067 Add ability to send logs via email 2020-05-02 22:42:03 +05:30
Vishnu Mohandas 7b3a3eb184 Add logging to file 2020-05-02 21:58:54 +05:30
Vishnu Mohandas ee1c234cec Remove debug code 2020-05-02 00:05:52 +05:30
Vishnu Mohandas d4b698e6ab Rename package name 2020-05-01 23:50:12 +05:30
Vishnu Mohandas d228f7278f Add endpoint discovery mechanism 2020-04-30 20:39:41 +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 d53c34659a Refactor gallery 2020-04-17 15:24:42 +05:30
Vishnu Mohandas f1a696f8ee Refactor code 2020-04-14 21:06:18 +05:30
Vishnu Mohandas 6e7b03a048 Give up on the idea of providing smooth-scrolling because Flutter sucks. 2020-04-13 23:23:03 +05:30