Commit graph

2386 commits

Author SHA1 Message Date
Abhinav-grd b7c7f02141 prevent progress modal closing during upload 2021-01-12 13:30:14 +05:30
Abhinav-grd 45ba58d2fc renamed uploadProgressProps to progressBarProps and imporved memory management 2021-01-12 13:29:21 +05:30
Abhinav-grd f82e4c2b41 Modified file metadata property names 2021-01-12 12:31:00 +05:30
Abhinav-grd 1b32791fb4 Improved Progress bar UI 2021-01-12 12:29:37 +05:30
Abhinav-grd 52295b0548 added uploadButtonView state 2021-01-11 15:20:11 +05:30
Abhinav-grd 4c509644cc added progress bar component update logic 2021-01-11 14:45:41 +05:30
Abhinav-grd d4cd0ed099 added encryptToB64 worker function 2021-01-11 13:50:49 +05:30
Abhinav-grd bdcbcc935d minor correction and removed debug statements 2021-01-11 13:50:24 +05:30
Abhinav-grd 7cb1e3912f updated encryptToB64 function 2021-01-11 13:49:47 +05:30
Abhinav-grd cbb74b9a59 added update data state on upload logic 2021-01-11 13:47:19 +05:30
Abhinav-grd 103bd7fce7 renamed modalview state to uploadmodalview 2021-01-11 13:46:23 +05:30
Abhinav-grd 2dcd95f6a6 refactored fetchData to fileService and collectionSelector to upload component 2021-01-11 13:43:53 +05:30
Abhinav-grd bca829c9ed changed s3 bucket request to put 2021-01-10 08:13:54 +05:30
Abhinav-grd e6917adc50 improved metadata handling 2021-01-09 09:17:05 +05:30
Abhinav-grd 03d1af3f15 modified fileAtrribute to allow string type encryptedData 2021-01-09 09:04:43 +05:30
Abhinav-grd 2f4ebdf0a9 completed file upload logic 2021-01-08 18:46:27 +05:30
Abhinav-grd 63a7586a6d corrected encryptMetadata function 2021-01-08 18:44:31 +05:30
Abhinav-grd dd7aa0e0a7 corrected key param check logic 2021-01-08 18:42:36 +05:30
Abhinav-grd f07e7b3502 added accept prop to dropzone to accept only image and video 2021-01-08 18:41:48 +05:30
Abhinav-grd 54b7a1162c passed token to uploadService 2021-01-08 13:16:57 +05:30
Abhinav-grd a65f101fe5 added token state 2021-01-08 13:16:10 +05:30
Abhinav-grd f073d9c187 corrected encryptMetadata function 2021-01-08 13:14:56 +05:30
Abhinav-grd 01852b67a8 added encryptThumbail and encryptMetaData functions 2021-01-08 09:37:50 +05:30
Abhinav-grd c5e0c19a05 replaced inline functions with named 2021-01-08 09:27:31 +05:30
Abhinav-grd b4965f4591 refactored upload functions to uploadService 2021-01-08 09:21:59 +05:30
Abhinav-grd ffc6b4e12e removed local user related data from component 2021-01-08 08:38:50 +05:30
Abhinav-grd a553209d6c changed NEXT_PUBLIC_ENTE_ENDPOINT back to original 2021-01-07 16:20:51 +05:30
Abhinav-grd 8539912f3f integrated file upload service 2021-01-07 16:20:21 +05:30
Abhinav-grd 4ca5232c1a implemented uploadFile service 2021-01-07 16:20:01 +05:30
Abhinav-grd 73ee2453c6 created encryptFile cryptoWorker function 2021-01-07 16:19:03 +05:30
Abhinav-grd 759d00718d updated collectionLatestFile interface and getCollectionLatestFile logic 2021-01-07 16:18:33 +05:30
Abhinav-grd cf265bd306 changed card.img to previewCard 2021-01-07 16:15:50 +05:30
Abhinav-grd 1a389f8dfd implemented encryptChaCha 2021-01-07 16:13:06 +05:30
Abhinav-grd 533a0e6ec9 removed debug functions 2021-01-07 16:11:02 +05:30
Abhinav-grd bd394c8ee4 changed NEXT_PUBLIC_ENTE_ENDPOINT value 2021-01-06 23:29:19 +05:30
Abhinav-grd 6555895d73 improved getCollectionLatestFile implementation 2021-01-06 23:28:52 +05:30
Abhinav-grd 0c7fedc09a css changes 2021-01-06 23:24:06 +05:30
Abhinav-grd f7ad11e08b added collectionLatestFile undefined/null check 2021-01-06 13:16:02 +05:30
Abhinav-grd 99c57c5ad2 style changes to collectionSelector 2021-01-06 13:03:37 +05:30
Abhinav-grd b7e0ccd900 seperate DropZone component for collections 2021-01-06 12:47:56 +05:30
Abhinav-grd 87bf367c90 created seperated FullScreenDropZone component 2021-01-06 12:44:46 +05:30
Abhinav-grd 230ba38840 Moved FileUpload to _app 2021-01-06 12:01:16 +05:30
Abhinav-grd 9fb0920c43 fixed UploadProgress import to gallery 2021-01-06 10:06:19 +05:30
Abhinav-grd 45507d13bd added default export to UploadProgress 2021-01-06 09:15:49 +05:30
Abhinav-grd ae03343066 passed Setprogress as prop to File Upload component 2021-01-05 16:44:19 +05:30
Abhinav-grd 38ef6d12bc integrated upload progress component 2021-01-05 16:42:38 +05:30
Abhinav-grd 0612361ee2 Added Upload Progress component 2021-01-05 16:42:02 +05:30
Abhinav-grd 40861e5e74 updated passed collection prop to collectionLatestFile 2021-01-05 16:02:13 +05:30
Abhinav-grd 01c9edaac2 added collectionLatestFile state and setCollectionLatestFile logic 2021-01-05 15:59:05 +05:30
Abhinav-grd cec4a4bdc3 Corrected interface name to collectionLatestFile 2021-01-05 15:58:04 +05:30
Abhinav-grd f30cbedcb2 Created getCollectionLatestFile fileService 2021-01-05 15:53:28 +05:30
Abhinav-grd 34d1a261b9 Prevented EventPropgration to gallery dropzone and style changes 2021-01-05 13:18:13 +05:30
Abhinav-grd 7c53f3936a added FileUpload wrapper Component over collection cards 2021-01-05 13:06:35 +05:30
Abhinav-grd 7b36fba3dc refactored and moved CollectionSelector to Gallery 2021-01-05 13:05:47 +05:30
Abhinav-grd 8ee630fc43 Updated CollectionSelector to show actual collection data 2021-01-05 12:53:28 +05:30
Abhinav-grd 4e8117b6b2 Passed collections to CollectionSeclector 2021-01-05 12:47:46 +05:30
Abhinav-grd c49084430f Updated the CollectionSelector to display Collections 2021-01-05 12:47:17 +05:30
Abhinav-grd 5921c6ea23 [Abhinav] | integrated uploader components with gallery component 2021-01-05 10:57:34 +05:30
Abhinav-grd 6b7b579197 [Abhinav] | moved upload Button to gallery component 2021-01-05 10:56:33 +05:30
Abhinav-grd 1fe714fb2a [Abhinav] | Added logic to show upload modal on hover 2021-01-05 10:55:58 +05:30
Abhinav-grd f64051008c [Abhinav] | Created CollectionSelector Component 2021-01-05 10:55:08 +05:30
Abhinav-grd 09f858e592 [Abhinav] | turned off the click event lisener on DrapAndDrop component 2021-01-05 08:13:38 +05:30
Abhinav-grd d71d89bada [Abhinav] | Integrated FileUpload with gallery component 2021-01-05 08:10:59 +05:30
Abhinav-grd 82729532fe [Abhinav] | Added dragAndDropUpload component 2021-01-05 08:00:43 +05:30
Abhinav-grd d183b9290e [Abhinav] | added Upload Button component 2021-01-05 07:56:34 +05:30
Pushkar Anand 3bc12919be Last chunk decryption. 2021-01-02 17:04:53 +05:30
Pushkar Anand d9b37f93c7 Its something. 2020-12-31 22:49:33 +05:30
Pushkar Anand 5674a4d6f0 Fix gallary gird. 2020-12-19 21:53:35 +05:30
Pushkar Anand d74b5cdea6 Testing directly streaming of videos. 2020-12-01 22:51:17 +05:30
Vishnu Mohandas 0c6acba5db Specify the client in the GET ott request 2020-11-30 11:05:32 +05:30
Pushkar Anand cfbb32702c Fix for layout messup on resize / collection switch. 2020-11-29 21:08:38 +05:30
Pushkar Anand 3cebd4c96c CSS fix. 2020-11-29 20:28:34 +05:30
Pushkar Anand 37062f93ba Design fixes. 2020-11-29 20:25:07 +05:30
Pushkar Anand c78774f232 Timestamp list support. 2020-11-29 20:18:47 +05:30
Pushkar Anand 2798163ec0 Fix for high res image not loading. 2020-11-29 00:13:24 +05:30
Pushkar Anand 140b4860ac Responsive fix. 2020-11-28 23:46:56 +05:30
Pushkar Anand ba24e8ee46 Collection handling. 2020-11-28 23:41:24 +05:30
Pushkar Anand 8f27d7636f Video fix. 2020-11-26 23:05:26 +05:30
Pushkar Anand b6fbc79e7e Build fix 🤦‍♂️ 2020-11-26 22:09:43 +05:30
Pushkar Anand cd56c9b0b0 Video support. 2020-11-26 22:04:23 +05:30
Pushkar Anand 4d2743cec9 build fix 2020-11-25 20:11:32 +05:30
Pushkar Anand 44f550d55f zoom on mobile devices. 2020-11-25 19:44:05 +05:30
Pushkar Anand 6c75a433ee Removed ; 2020-11-25 19:12:24 +05:30
Pushkar Anand f20193a814 Cache cleam on logout 2020-11-25 12:32:21 +05:30
Pushkar Anand f9ca347452 Thumbnails caching. 2020-11-25 01:46:19 +05:30
Pushkar Anand a6774ef269 Fix for update. 2020-11-24 10:19:18 +05:30
Pushkar Anand 3e86d03efc Full image load done. 2020-11-24 10:10:02 +05:30
Pushkar Anand c53af912f0 Responsive handling. 2020-11-23 11:50:00 +05:30
Pushkar Anand 437682a901 Build fix. 2020-11-23 08:45:28 +05:30
Pushkar Anand 6adc49cc2b Inmemory caching with photoswipe on thumbnail. 2020-11-23 08:30:54 +05:30
Vishnu Mohandas a85ef0de9a Add functionality to download and decrypt files 2020-11-21 20:26:36 +05:30
Vishnu Mohandas b298c94519 Create a separate flow for registration 2020-11-21 17:48:03 +05:30
Pushkar Anand a7664dbab1 Infinite pagination. 2020-11-20 22:54:21 +05:30
Vishnu Mohandas 90b41c67a5 Increase diff response limit 2020-11-20 16:52:13 +05:30
Vishnu Mohandas 8f1d37b071 Handle the case of deleted collections 2020-11-20 16:52:04 +05:30
Vishnu Mohandas 2eebd82776 Remove trailing slash 2020-11-20 14:43:20 +05:30
Pushkar Anand 8908615bc5 Storage and icon update. 2020-11-20 14:17:20 +05:30
Vishnu Mohandas f6381a78a0 Decrypt shared collection files 2020-11-20 12:29:27 +05:30
Vishnu Mohandas 77ac01b8f5 Fix typo 2020-11-14 17:43:49 +05:30
Pushkar Anand 78ff318512
Update apiUtil.ts 2020-11-07 21:29:06 +05:30
Pushkar Anand 623d115019 Fixes. 2020-11-07 21:13:00 +05:30
Vishnu Mohandas 9a0adc1e1e Fix minor errors 2020-11-07 16:43:00 +05:30
Vishnu Mohandas e2c0c381c8 Update the file fetching APIs 2020-11-07 16:40:49 +05:30
Vishnu Mohandas a9e0821db0 Generate and set user's private and public key pair 2020-11-07 15:57:59 +05:30
Vishnu Mohandas 580ce23c17 Add function to download and decrypt a file 2020-10-19 08:37:16 +05:30
Vishnu Mohandas 01e57a212b Update file decryption mechanism 2020-10-19 08:31:34 +05:30
Pushkar Anand cdccfd3372 Fix crypto bug. 2020-10-03 20:20:10 +05:30
Vishnu Mohandas ca9e1b49c1 Fix typo in key decryption 2020-10-03 20:11:19 +05:30
Pushkar Anand ad1e90dfcc Moved libsodium to worker. 2020-10-03 19:51:56 +05:30
Vishnu Mohandas e67710b4b2 Send attributes in the correct format to server 2020-10-02 18:36:46 +05:30
Vishnu Mohandas ddeb906cbb Update contract for verifying hash 2020-10-02 18:36:16 +05:30
Vishnu Mohandas 1f2b60f997 Fix TODO 2020-10-02 18:24:46 +05:30
Vishnu Mohandas 5d4dc2e671 Revert endpoint to staging 2020-10-01 17:21:36 +05:30
Vishnu Mohandas ff72a22a78 Remove unused crypto utils 2020-10-01 17:18:52 +05:30
Vishnu Mohandas d7ed746658 Sanitize the hash generated on mobile 2020-10-01 17:18:11 +05:30
Vishnu Mohandas 906e3cfc4a Verify the hash over a worker 2020-10-01 17:17:13 +05:30
Vishnu Mohandas 8b41415408 Use libsodium for key encryption and decryption 2020-10-01 06:59:24 +05:30
Vishnu Mohandas 31106f1eca Update crypto worker to pipe calls via the libsodium util 2020-10-01 06:58:52 +05:30
Vishnu Mohandas 212f8f2ccd Add a util that wraps all libsodium calls 2020-10-01 06:58:21 +05:30
Vishnu Mohandas 07502e1bfc Add functions to hash and verify hashes using libsodium 2020-10-01 03:07:37 +05:30
Vishnu Mohandas 45033903cb Factor out the decryption logic 2020-10-01 02:59:27 +05:30
Vishnu Mohandas 51afe4d8fc Minor rename 2020-10-01 02:54:40 +05:30
Vishnu Mohandas 3559e68490 Merge crypto workers into one 2020-10-01 02:52:58 +05:30
Pushkar Anand 760a085dfd Integrated Comlink. 2020-09-27 22:48:57 +05:30
Vishnu Mohandas ab7fd7651a Use sodium to decrypt metadata and thumbnails 2020-09-26 22:46:16 +05:30
Pushkar Anand 2fa452e01f Failing build fix. 2020-09-20 20:53:48 +05:30
Pushkar Anand f9ee680c8f Initial gallary chagnes. 2020-09-20 20:48:35 +05:30
Pushkar Anand 8e76f6b5bd Added web worker for parallel decryption. 2020-09-20 02:50:10 +05:30
Pushkar Anand bbe3286150 Changed API endpoint 2020-09-14 15:02:01 +05:30
Pushkar Anand 8c3cd95b52 Accessibility improvements. 2020-09-13 22:45:48 +05:30
Pushkar Anand d13448a18c Fix UX issues. 2020-09-13 22:31:36 +05:30
Pushkar Anand 92f37ede48 Added title. 2020-09-13 14:17:52 +05:30
Pushkar Anand 295d8eaa32 Changes to deploy on netlify 2020-09-13 14:11:01 +05:30
Pushkar Anand 5478a2e8a1 Using local and session storage to maintain session.
+ Fixed SSR of styled components.
+ Added warninig message in console.
2020-09-13 12:00:07 +05:30
Pushkar Anand 2e10ea441e Login and key generation flow complete! 2020-09-13 03:23:41 +05:30
Pushkar Anand 8e3da8e315 Voila! 2020-09-10 02:39:51 +05:30