Commit graph

754 commits

Author SHA1 Message Date
Pushkar Anand 36c84807f1
Merge pull request #9 from ente-io/file-loading-single-update
File loading single update
2021-02-07 21:15:07 +05:30
Pushkar Anand e5bcc95c2f Build fix 2021-02-07 20:33:04 +05:30
Abhinav-grd 1079a91056 used better variable names 2021-02-06 00:49:43 +05:30
Abhinav-grd 053568980e Merge branch 'collection-ops' into file-loading-single-update 2021-02-05 23:00:19 +05:30
Abhinav-grd 814530f1d1 abstracted fetch logic to syncWithRemote function 2021-02-05 22:34:32 +05:30
Abhinav-grd 08c993061c updated getCollectionLatestFile to use local files 2021-02-05 22:27:41 +05:30
Abhinav-grd 2e7f0e520a abstracted fetch calls to load data function 2021-02-05 19:34:08 +05:30
Abhinav-grd c281465fcd made setFavItemIds indepedent of collections updates 2021-02-03 13:53:32 +05:30
Abhinav-grd 42aca0ca00 Merge branch 'collection-ops' into file-loading-single-update 2021-02-03 13:45:47 +05:30
Abhinav-grd 2c0ba89c33 added updated collection not empty check 2021-02-03 13:44:37 +05:30
Abhinav-grd 61f0a07b3a abstracted out dropzone into seperate component 2021-02-03 11:42:07 +05:30
Abhinav-grd de5d47dbc7 abstracted out dropzone into seperate component 2021-02-03 11:26:11 +05:30
Abhinav-grd 121e3696d7 moved closing progressbar logic to finally block 2021-02-02 18:27:35 +05:30
Abhinav-grd 187d781726 added try catch block to dropzone Callback and setErrorCode on errors 2021-02-02 18:11:22 +05:30
Abhinav-grd ee663bc72c added new state errorCode and added errorAlert component to gallery 2021-02-02 18:09:36 +05:30
Abhinav-grd 50dc915401 Added ErrorAlert component 2021-02-02 18:08:28 +05:30
Abhinav-grd e524e0bc46 updated to use localCollection and fetchUpdatedCollections 2021-01-31 17:41:21 +05:30
Abhinav-grd 80c46796cf intial localFile Loading and then reload after complete fetch 2021-01-27 11:44:02 +05:30
Abhinav-grd 6321874ead added PreviewCard prop forcedEnable to overrride disable property 2021-01-26 15:14:56 +05:30
Abhinav-grd 01aef37a16 exported strings to englishConstants 2021-01-25 13:25:27 +05:30
Pushkar Anand a3379dc53a Updated empty content text. 2021-01-25 02:29:58 +05:30
Pushkar Anand e98ae28856 Fix fab button UI. 2021-01-25 02:24:14 +05:30
Pushkar Anand fc760ed471 UX fixes for File upload and Collection selection. 2021-01-25 01:52:12 +05:30
Abhinav-grd 49410a0eca reloaded data on photoswipe gallery close 2021-01-20 18:17:20 +05:30
Abhinav-grd c4e16ecfba added key to list elements 2021-01-20 17:35:32 +05:30
Abhinav-grd 58d1ffb66f added favItemId state 2021-01-20 17:35:04 +05:30
Abhinav-grd 1a8d53c739 Merge branch 'file-upload' into collection-ops 2021-01-20 08:43:52 +05:30
Abhinav-grd 78f4cca807 add check for getData reponse to be null 2021-01-20 08:40:00 +05:30
Abhinav-grd 63b26baa01 converted component to normal functions 2021-01-20 07:17:27 +05:30
Abhinav-grd e3c1b412e5 Merge branch 'file-upload' into collection-ops 2021-01-19 14:00:51 +05:30
Abhinav-grd c82cc2b5f1 replaced double equals with tripple equals 2021-01-19 10:32:21 +05:30
Abhinav-grd 40f27d0d17 fixed bug dropzone rejecting json file 2021-01-19 10:29:09 +05:30
Abhinav-grd 8e2b37fa78 improved styling 2021-01-19 10:28:32 +05:30
Abhinav-grd a9672056f1 made style imporvements 2021-01-19 10:27:21 +05:30
Abhinav-grd 37cb6f4d68 added onDragOver event on collectionDropzones to prevent filkerring 2021-01-19 10:17:13 +05:30
Abhinav-grd 310bcc1620 edited FullScreenDropZone to remove the unneccesary DropZone component wrapper 2021-01-19 10:12:11 +05:30
Abhinav-grd 5e0a547960 removed unnecessary fragments 2021-01-19 10:11:35 +05:30
Abhinav-grd 65a4489cf8 added onDragOver event on collectionDropzones to prevent filkerring 2021-01-19 10:04:42 +05:30
Abhinav-grd fe2aff1280 edited FullScreenDropZone to remove the unneccesary DropZone component wrapper 2021-01-19 10:04:42 +05:30
Abhinav-grd a58a8534be removed unnecessary fragments 2021-01-19 10:04:42 +05:30
Abhinav-grd bee1d7cfea updated all cryptoUtil calls to send Base64 values 2021-01-19 07:21:04 +05:30
Abhinav-grd 16c4e91607 updated all cryptoUtil calls to send Base64 values 2021-01-18 18:38:14 +05:30
Abhinav-grd c4f56d54c5 removed unneccesary token and masterKey props 2021-01-18 09:38:35 +05:30
Abhinav-grd ab9a0bc21b Added the photoswipe react component locally 2021-01-18 09:38:35 +05:30
Abhinav-grd 5d3f7af0fe made create Collection modal smaller and button width 100% 2021-01-18 09:38:35 +05:30
Abhinav-grd 36b4eab2f0 fixed bug dropzone rejecting json file 2021-01-18 09:38:35 +05:30
Abhinav-grd eb7cd41e00 corrected collection import 2021-01-18 09:38:35 +05:30
Abhinav-grd aeb3de2844 improved styling 2021-01-18 09:38:35 +05:30
Abhinav-grd 6815470c80 made style imporvements 2021-01-18 09:38:35 +05:30
Abhinav-grd 95fc146657 refactored getfiles and moved getCollectionLatestFile to collection service 2021-01-18 09:38:35 +05:30
Abhinav-grd ed922371d9 added logic to auto fill Collection name with folder name 2021-01-18 09:38:35 +05:30
Abhinav-grd b829187424 restructed the components related to new collection create 2021-01-18 09:37:57 +05:30
Abhinav-grd 87faa7f1f1 replace setData prop to refreshData for forcing reload of gallery component 2021-01-18 09:37:57 +05:30
Abhinav-grd 4707b94a9f added state to trigger useEffect 2021-01-18 09:37:57 +05:30
Abhinav-grd 2a547cde4e integrated Add Collection Icon component 2021-01-18 09:37:57 +05:30
Abhinav-grd 588061ee5c added named exports 2021-01-18 09:37:57 +05:30
Abhinav-grd 63ee4293bd Added addCollection Component 2021-01-18 09:37:57 +05:30
Abhinav-grd d867756868 Added CreateCollection Component 2021-01-18 09:37:57 +05:30
Abhinav-grd faa1fb329a Cleaned up uploadButton component 2021-01-18 09:37:57 +05:30
Abhinav-grd 331d6e4d92 removed unused parameter encryptionKey from fetchData 2021-01-18 09:37:57 +05:30
Abhinav-grd d687999f92 refactored Collection related function to collection Service 2021-01-18 09:37:01 +05:30
Abhinav-grd 8999ded2bd added condtional property lookup to filecounter prop 2021-01-13 09:44:01 +05:30
Abhinav-grd 15bca89639 restructed props arguments 2021-01-12 19:59:38 +05:30
Abhinav-grd 205c7f9196 accept JSON metadataFiles in dropzone 2021-01-12 19:13:41 +05:30
Abhinav-grd 2a9e34292e minor ui improvements 2021-01-12 13:30:40 +05:30
Abhinav-grd b7c7f02141 prevent progress modal closing during upload 2021-01-12 13:30:14 +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 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 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 c5e0c19a05 replaced inline functions with named 2021-01-08 09:27:31 +05:30
Abhinav-grd ffc6b4e12e removed local user related data from component 2021-01-08 08:38:50 +05:30
Abhinav-grd 8539912f3f integrated file upload service 2021-01-07 16:20:21 +05:30
Abhinav-grd cf265bd306 changed card.img to previewCard 2021-01-07 16:15:50 +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 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 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
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 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 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
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
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
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 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
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 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