Commit graph

777 commits

Author SHA1 Message Date
Abhinav-grd ab56307bd2 change useEffect watch state to acceptedFIles and prevent modal open when accpeted not loaded 2021-03-25 01:18:21 +05:30
Abhinav-grd bcc78e4f6f updated thumbnial generation logic to take screenshot at 3 sec timestamp 2021-03-24 20:58:37 +05:30
Abhinav-grd 2fa1f2b484 correted fav second place pinning 2021-03-24 16:31:57 +05:30
Abhinav-grd a968d5c47a added logic to pin favourite collection to second 2021-03-24 16:14:08 +05:30
Abhinav-grd eee947e515 readded onDropAccepted callback to open collection selector with uploadButton Click upload 2021-03-24 16:10:05 +05:30
Abhinav-grd 7158556087 fix modificationTime set to null error and location to undefined 2021-03-23 12:06:39 +05:30
Abhinav-grd 7a6296adeb skip uploading hidden files 2021-03-22 22:21:19 +05:30
Abhinav-grd 0f484635ba check exntension to find heic files if type missing 2021-03-22 22:20:28 +05:30
Abhinav-grd bbc1896f89 added logout button on generate page 2021-03-22 19:36:43 +05:30
Abhinav-grd 3ba6eafd01 Handled "Yesterday" and "Today" timestamps separately 2021-03-22 19:36:43 +05:30
Vishnu Mohandas 60b19811b4 Merge branch 'master' into tile-selection 2021-03-22 18:41:58 +05:30
Vishnu Mohandas ef6f506ff8
Merge pull request #44 from ente-io/nested-folder-upload
Nested folder upload
2021-03-22 18:35:39 +05:30
Vishnu Mohandas 4c52cb462a Update more styles 2021-03-22 18:35:04 +05:30
Vishnu Mohandas e82f043c56 Update styles 2021-03-22 18:35:01 +05:30
Abhinav-grd 0ae15d2c82 show uploaded file count only if file count greater than 1 2021-03-22 18:05:51 +05:30
Abhinav-grd 5fbb1c84fa updated upload string 2021-03-22 18:02:38 +05:30
Abhinav-grd 668214d717 add close on bg click after upload finish 2021-03-22 18:02:15 +05:30
Abhinav-grd aee7097e71 random percentage progress for put call 2021-03-22 17:45:07 +05:30
Abhinav-grd 021d3b3610 fix single collection upload File call 2021-03-22 17:31:20 +05:30
Abhinav-grd 5e5c67adb3 open collection on drop and wait in the collectionSelctor screen with overlay to select collection 2021-03-22 15:12:35 +05:30
Abhinav-grd a19fe8f910 increasing upload chunk size to 20 mb 2021-03-22 12:55:21 +05:30
Abhinav-grd 772e7c7d5a retry all network request 3 times before failing 2021-03-22 12:23:19 +05:30
Abhinav-grd 069f989860 removed console log 2021-03-22 11:52:37 +05:30
Abhinav-grd 09c5882ded added progress tracker to multipart upload 2021-03-22 11:45:38 +05:30
Abhinav-grd 241afa3412 updated upload component to call nextModal instead on collectionCreateModal when no Colletions present 2021-03-22 11:22:05 +05:30
Pushkar Anand 6e49a7ad9e Fix for selected tile after delete. 2021-03-21 20:06:40 +05:30
Pushkar Anand a4bbf85559 Build optimization. 2021-03-21 19:48:38 +05:30
Abhinav-grd 02995f844a updated logic to wait for delete to complete before colosing delete dialog 2021-03-21 12:29:18 +05:30
Abhinav-grd fea145e346 added new strings 2021-03-21 12:24:54 +05:30
Abhinav-grd c8afec67bb integrated file delete and show confrim dialog 2021-03-21 12:24:40 +05:30
Abhinav-grd 4a528115b1 added deleteFiles service 2021-03-21 12:23:41 +05:30
Abhinav-grd 2cf6e9652a updated sidebar to use new confim dialog 2021-03-21 12:23:19 +05:30
Abhinav-grd 2808b3b11d updated confirm delete to genertic confirm dialog 2021-03-21 12:23:02 +05:30
Pushkar Anand 12d8243916 Build and CSS fixes. 2021-03-21 00:18:02 +05:30
Pushkar Anand da0658a533 Open mail to url in new tab 2021-03-20 20:48:17 +05:30
Pushkar Anand 57bd754fc0 Implemented tile selection feature 2021-03-20 20:28:12 +05:30
Abhinav-grd 08b71b04d2 build fix 2021-03-20 18:51:21 +05:30
Abhinav-grd 8661e4fd76 added logic to open choice div if multiple folder dropped 2021-03-20 18:35:50 +05:30
Abhinav-grd eef139a858 beautified upload progress bar 2021-03-20 13:57:53 +05:30
Abhinav-grd 0b7159583c added logic to track upload put progress 2021-03-20 13:30:37 +05:30
Abhinav-grd 90eeca6f52 added checks to skip missing properties rather than skiping the whole metadata json 2021-03-19 19:17:12 +05:30
Abhinav-grd 5e00e8e833 added file progres prop 2021-03-19 18:59:07 +05:30
Abhinav-grd 55a682c3b0 extracted upload logic to seperate function 2021-03-19 13:58:08 +05:30
Abhinav-grd fd4bd9a1f0 chnaged cursor on add collection button to pointer 2021-03-19 13:49:49 +05:30
Abhinav-grd a7752b31bd fixed createCollection autoFill name logic 2021-03-19 13:46:26 +05:30
Abhinav-grd ee792a7734 added upload to exiting collection and new colllections logic and updtaed the upload service to recieve FilwWithCollection 2021-03-19 13:44:01 +05:30
Abhinav-grd 17f6cfdbd6 corrected getCollectionWiseFile logic 2021-03-19 13:41:31 +05:30
Abhinav-grd d692ad9986 added new strings 2021-03-19 05:11:04 +05:30
Abhinav-grd 5dfe3a8e93 implement multiple upload strategy 2021-03-19 05:10:54 +05:30
Abhinav-grd bb722fa692 renamed uploadModal View to collection Selector View 2021-03-19 05:09:02 +05:30
Abhinav-grd 4ee5d81e30 updated the collection selector component with new props type defination 2021-03-19 05:08:17 +05:30
Abhinav-grd 6464255bbd added upload stratergy choice modal 2021-03-19 05:07:25 +05:30
Abhinav-grd 5bf0c7d354 abstracted out collection create component 2021-03-19 05:06:40 +05:30
Abhinav-grd 98c896f450 updated add =collection to add collection button 2021-03-19 05:05:53 +05:30
Abhinav-grd 93ca29e0b8 moved dropzone to gallery to avoid trigerring it on login page 2021-03-19 01:46:18 +05:30
Vishnu Mohandas dcbe7d4c4e Use sensitive ops and mem limits to derive key 2021-03-18 15:26:40 +05:30
Abhinav-grd c3ada5c6f7 corrected localForage import 2021-03-16 19:02:43 +05:30
Abhinav-grd 8a749abf5e added logic to update data if favorites changes 2021-03-16 15:58:45 +05:30
Abhinav-grd 90d73a660e updated logic to find unique files 2021-03-16 15:11:11 +05:30
Abhinav-grd 9846f70bda added interface for galelry props 2021-03-16 12:36:33 +05:30
Abhinav-grd d13c13f8c4 clear any left previous user data on new login 2021-03-16 12:20:24 +05:30
Abhinav-grd dc9c081706 cancel async calls if token beomes null 2021-03-16 12:19:34 +05:30
Abhinav-grd a2d18a0d7e added null check 2021-03-16 11:31:42 +05:30
Abhinav-grd 54e7e5da12 tidying up files 2021-03-16 10:10:27 +05:30
Abhinav-grd 2a7df251c3 added filter non empty collection logic for local load 2021-03-15 23:11:20 +05:30
Abhinav-grd ddcc80419c remove empty collections 2021-03-15 23:00:49 +05:30
Abhinav-grd b9964513f9 fixed video not pausing on photoswipe window close 2021-03-15 09:47:36 +05:30
Abhinav-grd ce5a495d98 updated error logging 2021-03-14 20:23:13 +05:30
Abhinav-grd 68b433168c updated encryptionChunkSize variable name 2021-03-14 19:44:04 +05:30
Abhinav-grd 170b54fe12 added try catch to getFile 2021-03-14 18:50:00 +05:30
Abhinav-grd d5d761db15 updated for fetchMultipartUploadURLs api response changes 2021-03-14 18:14:21 +05:30
Abhinav-grd d29e869351 updated streaming logic to avoid over-pressure 2021-03-14 17:35:47 +05:30
Abhinav-grd 82836c1654 skipped exif parsing for videos for now 2021-03-14 15:57:48 +05:30
Abhinav-grd 6dc58de933 spell checked upload service 2021-03-14 15:55:10 +05:30
Abhinav-grd 05a8e02282 Merge branch 'master' into lfu-with-multipart 2021-03-14 15:51:11 +05:30
Abhinav-grd c528ccf8bc upadate getUploadUrls response object 2021-03-14 14:59:38 +05:30
Abhinav-grd 92e2f99611 move the drag state to fullScreenzone component 2021-03-14 14:31:16 +05:30
Abhinav-grd 3aef94a525 remove drop file overlay on all drop events 2021-03-14 14:11:28 +05:30
Vishnu Mohandas b82f14bf98 Add option to contact support 2021-03-14 13:16:22 +05:30
Vishnu Mohandas 1cf399a400 Add link to request a feature 2021-03-14 13:11:50 +05:30
Vishnu Mohandas 34b3cb40df Change color of text on the sidebar 2021-03-14 12:49:41 +05:30
Vishnu Mohandas 561fa559af Update formatting 2021-03-13 12:55:18 +05:30
Vishnu Mohandas fc03affb81 Change some colors 2021-03-13 12:30:40 +05:30
Abhinav-grd d787819020 added logout user button on verify page 2021-03-13 11:05:38 +05:30
Abhinav-grd dbad92c44f update sidebar usage info on every sidebar open 2021-03-13 11:01:46 +05:30
Vishnu Mohandas cdd57f181f Math.ceil 2021-03-13 10:52:56 +05:30
Vishnu Mohandas 1144943170 Merge branch 'sidebar' of github.com:ente-io/bada-frame into sidebar 2021-03-13 10:48:40 +05:30
Vishnu Mohandas 99f5ed8668 Change button color 2021-03-13 10:48:16 +05:30
Abhinav-grd 532a619b46 added expiry info to subscription info 2021-03-13 10:38:36 +05:30
Abhinav-grd db05e92bb6 Merge branch 'sidebar' of https://github.com/ente-io/bada-frame into sidebar 2021-03-13 10:37:19 +05:30
Abhinav-grd 39e30abbda updated Sidebar 2021-03-13 10:24:34 +05:30
Abhinav-grd 03175e5171 moved sidebar to app 2021-03-13 10:24:01 +05:30
Vishnu Mohandas dc8d21da6d Update strings 2021-03-13 10:18:23 +05:30
Abhinav-grd 555dda6404 Merge branch 'master' into sidebar 2021-03-12 14:17:00 +05:30
Abhinav-grd a2f4e50b03 Merge branch 'master' into sentry-integration 2021-03-12 13:58:01 +05:30
Abhinav-grd 09a72d4a41 disabled source map and added environment and attachStacktrace props 2021-03-12 13:52:29 +05:30
Abhinav-grd c435783e3d added wrapper import for localForage 2021-03-12 12:28:27 +05:30
Abhinav-grd bdb4f85eb5 Revert "console log to check node env on preview deploments"
This reverts commit a7d50499ab.
2021-03-12 12:16:35 +05:30
Abhinav-grd a7d50499ab console log to check node env on preview deploments 2021-03-12 11:55:56 +05:30
Abhinav-grd 84577af10e added missed accept property to dropzone 2021-03-12 11:38:56 +05:30
Abhinav-grd d2b32a48fc enable sentry only on production 2021-03-12 11:14:34 +05:30
Abhinav-grd 2f9e21a77d added logic to close sidebar on logout and login 2021-03-12 11:03:33 +05:30
Abhinav-grd b8d48627d1 moved logout function to userService 2021-03-12 10:20:58 +05:30
Abhinav-grd a111b0d407 removed outline on click 2021-03-12 10:09:32 +05:30
Abhinav-grd 2f4bf57cd2 fix sidebar unwanted open on load and render outside gallery 2021-03-12 09:54:01 +05:30
Abhinav-grd 7d3a4cd5dc minor changes 2021-03-12 09:31:29 +05:30
Abhinav-grd bc41ccf709 exported side bar to seperate component 2021-03-12 09:01:19 +05:30
Abhinav-grd 03277da4bb use getToken function directly insisted of local variable to avoid in memory invalid token 2021-03-12 08:46:35 +05:30
Abhinav-grd 9451b3ae1b added change email link on verfiy email page 2021-03-11 22:19:19 +05:30
Abhinav-grd 88ee89e4ac minor fixes 2021-03-11 22:06:55 +05:30
Abhinav-grd 0066ef4ee2 moved subscription interface to subscription Service 2021-03-11 22:01:20 +05:30
Abhinav-grd b4f4463ecc added missed string 2021-03-11 21:59:15 +05:30
Abhinav-grd ad6f92cf38 added subcription message component and extracted strings 2021-03-11 21:57:07 +05:30
Abhinav-grd 86b733982d added subscription change disable message component 2021-03-11 21:56:16 +05:30
Abhinav-grd 9c30e76eb1 saved subscription details to localStorage 2021-03-11 21:35:29 +05:30
Abhinav-grd 78d9fa659c add subscriptionService 2021-03-11 21:34:52 +05:30
Abhinav-grd 114c0858d5 added sidebar and moved logout to fullscreen dropzone 2021-03-11 21:34:34 +05:30
Abhinav-grd fd364fbaaa update class name 2021-03-11 19:43:36 +05:30
Abhinav-grd fb104e4021 style changes 2021-03-11 19:35:22 +05:30
Abhinav-grd 99b3791700 Merge branch 'master' into butterify-file-upload 2021-03-11 19:34:06 +05:30
Abhinav-grd b686988ed8 made upload progress modal smaller 2021-03-11 19:06:54 +05:30
Abhinav-grd 69f39d91f7 build fix 2021-03-11 19:03:00 +05:30
Abhinav-grd a52ffabdd9 added overlay whe drag active 2021-03-11 18:59:55 +05:30
Abhinav-grd 6a556eabf1 removed downloadManager intialization with token 2021-03-11 12:50:11 +05:30
Abhinav-grd 5eccc38933 added collectionSelector Close logic before uploading 2021-03-11 10:51:36 +05:30
Abhinav-grd 992b463f38 deleted unused components 2021-03-11 10:40:14 +05:30
Abhinav-grd f8c9ab0e57 build fix 2021-03-11 10:37:40 +05:30
Abhinav-grd f653479221 clean up 2021-03-11 10:21:10 +05:30
Abhinav-grd eedfe03ebb added auto Focus on collection name input and reduced collection Create dialog box width 2021-03-11 10:16:18 +05:30
Abhinav-grd eb73a70de6 added trigger to open collection Create modal if no existing collections 2021-03-11 09:51:58 +05:30
Abhinav-grd 29ec0a80f5 added trigger to open fileUploader on uploadButton press 2021-03-11 09:42:48 +05:30
Abhinav-grd 32054fd891 updated components to shift upload logic to Upload Component and handle Collection Selection in remaining 2021-03-11 09:42:16 +05:30
Abhinav-grd 496df88769 passed acceptedFile prop to upload Component 2021-03-10 20:54:31 +05:30
Abhinav-grd 1e5f475e7a added dropzone hook and passed propsetter tp fullDropzone 2021-03-10 20:53:10 +05:30
Pushkar Anand 0dcfec3c72 Build fix. 2021-03-09 21:54:25 +05:30
Vishnu Mohandas 2e7f6c5763 Add simple analytics 2021-03-09 21:35:27 +05:30
Vishnu Mohandas c88e4820e2 Fix asset path 2021-03-09 16:17:39 +05:30
Vishnu Mohandas e70b8b3f24 Add styles for the alert 2021-03-09 16:06:23 +05:30
Vishnu Mohandas c5bebb5289 Extract string 2021-03-09 16:06:13 +05:30
Vishnu Mohandas ac97caab38 Update empty state 2021-03-09 15:52:09 +05:30
Vishnu Mohandas 4fc5d45046 Hide chips if there are no collections to display 2021-03-09 15:44:34 +05:30
Vishnu Mohandas 21f4a0a3e1 Minor UI changes 2021-03-09 15:34:11 +05:30
Abhinav-grd df1359c9e1 Merge branch 'master' into re-enable-web-signups 2021-03-09 13:57:19 +05:30
Abhinav-grd b089f4d7fc added install mobile app prompt 2021-03-09 13:50:43 +05:30
Abhinav-grd a433e30ec1 extracted string to constant 2021-03-09 13:33:18 +05:30
Abhinav-grd 325684c524 added jumbotron when no photos 2021-03-09 13:29:45 +05:30
Abhinav-grd 692d3468b8 added jumbotron styles 2021-03-09 13:11:52 +05:30
Abhinav-grd ae3e33730e removed duplicate p tag 2021-03-09 12:38:53 +05:30
Abhinav-grd 3d8bd20329 removed duplicate p tag 2021-03-09 12:35:46 +05:30
Abhinav-grd e9178303f5 re-enabled web signups 2021-03-09 12:29:18 +05:30
Vishnu Mohandas d1c23935da Update the styles for the logout confirmation dialog 2021-03-08 22:28:50 +05:30
Abhinav-grd 66c6f674fc added constant strings 2021-03-08 19:10:04 +05:30
Abhinav-grd 963653ce7f integrated lgout confirm conponent 2021-03-08 19:09:53 +05:30
Abhinav-grd 20fc73d23d added confirm logout component 2021-03-08 19:09:30 +05:30
Abhinav-grd 123b8e400f made sentry util ts file 2021-03-08 18:38:46 +05:30
Abhinav-grd d5fe982e3b updated sentry export function name 2021-03-08 18:14:07 +05:30
Abhinav-grd b8e364d9de added check to prevent localForag.config call during pre rendering 2021-03-08 18:11:46 +05:30
Abhinav-grd 9a6a6bc608 replace error console logs with console.error 2021-03-08 18:06:10 +05:30
Abhinav-grd 3f78395106 remove enabled prop from sentry init 2021-03-08 17:37:19 +05:30
Abhinav-grd b39ffbcf84 integrated sentry 2021-03-08 17:29:14 +05:30
Vishnu Mohandas ae5e67522a Move code to download a file to DownloadManager, also re-enable HEIC decoding 2021-03-08 12:00:27 +05:30
Vishnu Mohandas bffbbfa05b Remove unused code 2021-03-08 11:50:09 +05:30
Pushkar Anand 6108f805c4 Using getFileUrl to fetch files. 2021-03-08 11:43:24 +05:30
Pushkar Anand f12f93868a Cleanup 2021-03-08 11:32:37 +05:30
Pushkar Anand b8899d13b0 Moved to chunk decoding. 2021-03-08 11:20:51 +05:30
Pushkar Anand 23d1ee3ab9 Merge branch 'master' of https://github.com/ente-io/bada-frame into test-video-streaming 2021-03-08 10:01:52 +05:30
Abhinav-grd 8fb8ee4feb updated response prop name 2021-03-07 15:23:06 +05:30
Abhinav-grd 0ab118f90b extarced CHUNKS_COMBINED_FOR_UPLOAD 2021-03-07 15:18:22 +05:30
Abhinav-grd 8f75a5a373 updated the uploadURL interface 2021-03-07 15:11:51 +05:30
Abhinav-grd 1624f9eb57 deepSource error resolve 2021-03-05 16:45:21 +05:30
Abhinav-grd 8098667a08 removed redundant code 2021-03-05 16:27:04 +05:30
Abhinav-grd e74689e8af removed debugging code 2021-03-05 16:21:40 +05:30
Abhinav-grd 60567cc596 set min stream upload size limit to 20mb 2021-03-05 16:19:45 +05:30
Abhinav-grd 13f1ce167b corrected tag assignment during encryption 2021-03-05 16:16:51 +05:30
Abhinav-grd bd6c1230fb moved file stream reading call to the end of readFile 2021-03-05 14:14:46 +05:30
Abhinav-grd 17ff1867da updated fetchUploadPartURLs to fetchMultipartUploadUrls 2021-03-05 12:10:22 +05:30
Abhinav-grd 93c4e73f56 addded error logs 2021-03-05 11:31:00 +05:30
Abhinav-grd 84de6e0de5 upadted isDataStream check logic 2021-03-05 10:26:10 +05:30
Vishnu Mohandas 226b8afd1f Update strings 2021-03-05 00:57:47 +05:30
Vishnu Mohandas d25e5508ce Reduce height of the logo 2021-03-05 00:43:04 +05:30
Abhinav-grd 301cd4cf76 named and exported chunk size 2021-03-04 23:19:08 +05:30
Abhinav-grd 8682704fa4 send complete multipart upload as xml 2021-03-04 22:22:15 +05:30
Abhinav-grd a7aeb3ff8d corrected chunking algo 2021-03-04 21:01:27 +05:30
Abhinav-grd bdfc8352cf minor changes 2021-03-04 19:13:15 +05:30
Abhinav-grd 1896ed345b tidy-up uploadService 2021-03-04 17:47:40 +05:30
Abhinav-grd d03c48251f almost working multipart upload 2021-03-04 17:44:45 +05:30
Abhinav-grd 3742e13f1d trying to fix fetch 2021-03-03 13:55:29 +05:30
Abhinav-grd 441ea9489b added fade in load effect 2021-03-02 17:41:50 +05:30
Abhinav-grd f6fc2617b7 remove content-length property 2021-03-02 17:34:17 +05:30
Abhinav-grd a193e8b120 changing file upload to use ReadableStream 2021-03-02 15:34:24 +05:30
Abhinav-grd 476de9f262 added initChunkEncryption encryptFileChunk crypto functions 2021-03-02 15:33:11 +05:30
Abhinav-grd a4dc646aee terminate variable defination in inerface with semi colon 2021-03-01 11:49:07 +05:30
Abhinav-grd 666f6d9b21 linted gallery/index 2021-03-01 11:27:36 +05:30
Abhinav-grd c0a460a0c1 Merge branch 'master' into fetch-only-opened-file 2021-03-01 11:26:04 +05:30
Abhinav-grd 1106576931 moved is CurrentItem check to getSlideData 2021-03-01 10:59:25 +05:30
Vishnu Mohandas 562b4e1752 Fetch file and thumbnails directly from museum if the endpoint is defined 2021-02-28 05:04:11 +05:30
Vishnu Mohandas bc24fff3d3 Route all asset requests through Cloudflare 2021-02-28 04:07:42 +05:30
Abhinav-grd 574578ffb0 deepsource suggested corrections 2021-02-27 16:35:27 +05:30
deepsource-autofix[bot] 627f9b2a03
Autofix issues in 2 files
Resolved issues in the following files via DeepSource Autofix:
1. src/components/PhotoSwipe/PhotoSwipe.tsx
2. src/pages/_app.tsx
2021-02-27 10:53:44 +00:00
Abhinav-grd 5f952c20a5 extracted title text to constants 2021-02-27 16:19:21 +05:30