Commit graph

507 commits

Author SHA1 Message Date
Abhinav-grd 776eebde4b updated error handling 2021-04-29 14:13:18 +05:30
Abhinav-grd e7b0df8b48 use original file's metadata File for edited files 2021-04-29 12:50:15 +05:30
Abhinav-grd 58190f7f6a redirec to all after collection delete 2021-04-28 15:27:08 +05:30
Abhinav-grd 63883600ef corrected expected response 2021-04-28 14:41:25 +05:30
Abhinav-grd 43ebfbf116 used boxSeal to encypt collection key for sharing 2021-04-28 14:29:05 +05:30
Abhinav-grd db951c297f updated shareCollection logic 2021-04-28 13:30:15 +05:30
Abhinav-grd c6d7b993f0 added check to skip collection whos edecryption fails 2021-04-28 13:09:45 +05:30
Abhinav-grd b1174f6033 exported AddToCollection 2021-04-27 17:29:10 +05:30
Abhinav-grd 5b535faa92 moved getSelectedFileIds to util and new helper get selectedFiles 2021-04-27 17:14:26 +05:30
Abhinav-grd d867c8b120 udpate file interfcae name to PascalCase 2021-04-27 14:47:38 +05:30
Abhinav-grd 1d9dcfac89 moved image display logic to photoframe 2021-04-27 14:10:37 +05:30
Abhinav-grd c0b9258fc2 rename collectionAndItsLatestFile array to collectionsAndTheirLatestFile 2021-04-27 13:07:42 +05:30
Abhinav-grd fa420c2f44 removed unneccessary Statements 2021-04-27 12:07:40 +05:30
Abhinav-grd 58be1d66d7 removed unsed props 2021-04-27 11:40:38 +05:30
Abhinav-grd 3665dc63bf added share and unshare collection logic 2021-04-26 17:00:02 +05:30
Abhinav-grd 733f3013b1 updated the user interface name to PascalCase 2021-04-26 13:14:34 +05:30
Abhinav-grd e217a6e345 minor changes 2021-04-25 20:48:17 +05:30
Abhinav-grd d9261a8465 remove deleted file for localDB 2021-04-24 19:00:11 +05:30
Abhinav-grd 309532ad3f added collection rename logic and rename Collection service 2021-04-24 15:33:52 +05:30
Abhinav-grd 849213a50b added delete collection logic 2021-04-24 12:39:37 +05:30
Abhinav-grd e2f73fcb3f setting error before error handling 2021-04-24 00:46:40 +05:30
Abhinav-grd 214a999661 corrected syncFile logic is Updated state when just files deleted 2021-04-24 00:46:27 +05:30
Vishnu Mohandas aae606f001 Rename imported attribute 2021-04-23 13:19:49 +05:30
Abhinav-grd 1a79e88ed8 changed logic to decrypt files per request 2021-04-23 12:52:04 +05:30
Abhinav-grd cf27370e37 updated collection interface name to PascalCase 2021-04-23 12:52:04 +05:30
Abhinav-grd 9488626de6 update confirm action component 2021-04-22 18:26:06 +05:30
Abhinav-grd 819aa54c4a update subscription interface 2021-04-21 22:15:50 +05:30
Abhinav-grd a5f8b35a8b updated api methods 2021-04-21 22:12:27 +05:30
Abhinav-grd da4a2a1d61 added new confirm action activate subscription 2021-04-20 12:15:24 +05:30
Abhinav-grd 8aedf2b514 call actiavte api if subscritpin was cancelled before update 2021-04-17 19:26:28 +05:30
Abhinav-grd 3264e2d0c4 Merge branch 'master' into stripe-integration 2021-04-17 18:15:38 +05:30
Abhinav-grd 1e6d8f7161 updated stripe subscriptionupate response 2021-04-16 17:37:25 +05:30
Abhinav-grd 1673a79908 handled verification failed 2021-04-14 14:19:48 +05:30
Abhinav-grd dca4a42bba verify subcription update with verify-subscrption api 2021-04-13 14:55:04 +05:30
Abhinav-grd e3141d8ad0 use paln id as subscription productID 2021-04-13 14:17:15 +05:30
Abhinav-grd 0ae2e4838d handle warning while intailising DedicatedCryptoWorker 2021-04-12 14:29:51 +05:30
Abhinav-grd 79de18a843 get Dedicated worker for upload 2021-04-12 12:56:38 +05:30
Abhinav-grd f22ef34420 show progress for metadata file reading 2021-04-12 11:36:02 +05:30
Abhinav-grd c6168ea752 increase WAIT_TIME_THUMBNAIL_GENERATION to 30 sec and reduce MAX_CONCURRENT_UPLOADS to 2 2021-04-11 23:12:54 +05:30
Abhinav-grd 4e8168f2fa
Merge pull request #52 from ente-io/dedupe-upload
Dedupe upload
2021-04-11 21:42:44 +05:30
Abhinav-grd 208b8918d9 upadted util name to sortFilesIntoCollections 2021-04-11 21:21:04 +05:30
Abhinav-grd ba602d6e11 removed filename from BackupedFile interface 2021-04-11 20:45:05 +05:30
Abhinav-grd 539ab66bc1 handle new collection 2021-04-11 20:26:44 +05:30
Abhinav-grd 80601e14ab group files collectionWise for fileAlreadyInCollection check 2021-04-11 19:29:28 +05:30
Abhinav-grd cac1cf4631 tidy up 2021-04-11 15:28:02 +05:30
Abhinav-grd f78fd6dcfb combine ensted if with and 2021-04-11 14:40:21 +05:30
Abhinav-grd 3ba8b87c2c rename changeProgressBarProps to updateProgressBarUI 2021-04-11 14:34:31 +05:30
Abhinav-grd 9cce57fdf1 added lgoic to return exisitng collection if collection with name exists 2021-04-11 14:10:05 +05:30
Abhinav-grd 9fbd8ae136 increase fileCompleted count after skipping 2021-04-11 13:51:10 +05:30
Abhinav-grd 524e9f7ee4 added logic to skip files that are already uploaded 2021-04-11 13:46:39 +05:30
Abhinav-grd e2e6d4198d moved file related utils to utils/file 2021-04-11 12:13:47 +05:30
Abhinav-grd 1ae5dd81c6 fix thumbnail generation fail for heic 2021-04-11 11:32:53 +05:30
Abhinav-grd cf4c840ba4 properly catch and handle upload errors 2021-04-11 11:32:53 +05:30
Abhinav-grd 7ba7044216 style changes 2021-04-08 11:48:34 +05:30
Abhinav-grd bfbff09e0a added manage payment method button 2021-04-08 10:43:34 +05:30
Abhinav-grd f6a391d666 updated customer portal api 2021-04-08 10:26:37 +05:30
Abhinav-grd 2b5d881f99 Merge branch 'master' into stripe-integration 2021-04-07 12:48:45 +05:30
Abhinav-grd 5ca4523281 updated updateSubscription logic and added acknowledgeSubscriptionUpdate function 2021-04-06 19:13:11 +05:30
Abhinav-grd b4ff03b79a remove proration preview 2021-04-06 12:38:38 +05:30
Abhinav-grd 9ac0a5e573 replaced generateMasterKey with updated name generateEncryptionKey 2021-04-06 09:46:56 +05:30
Vishnu Mohandas ab046a85f0 Set default value for name 2021-04-05 19:48:36 +05:30
Abhinav-grd 9dc3c9c149 added createNewRecoveryKey logic 2021-04-05 14:33:12 +05:30
Abhinav-grd c67006345b added setKeys service function 2021-04-05 11:09:25 +05:30
Abhinav-grd 78de76fd3d fix build 2021-04-04 18:44:04 +05:30
Abhinav-grd 40bb651f16 Merge branch 'master' into export-data 2021-04-04 18:38:54 +05:30
Abhinav-grd 32ca9f754d
corrected sanitizeName call 2021-04-04 14:04:42 +05:30
Abhinav-grd ad3faec8a6
rename sanitize function to singular 2021-04-04 13:53:00 +05:30
Abhinav-grd d45a12ceae renamed utilFunctions tpoindex and corrected imports 2021-04-03 10:13:13 +05:30
Abhinav-grd cddff63a31 moved crytoWorker to util/cryto/index 2021-04-03 10:06:15 +05:30
Abhinav-grd 281fab1b5a updated type name KeyAttribute 2021-04-02 09:33:00 +05:30
Abhinav-grd af2e6706e0 fixed token validity check api 2021-04-01 19:22:30 +05:30
Abhinav-grd 3dfe084850 fix downloadFIle response for images 2021-03-31 17:45:37 +05:30
Abhinav-grd 29207fa0c1 handled abort export 2021-03-31 14:04:00 +05:30
Abhinav-grd f29d4e714a send export already in progress notification 2021-03-31 12:43:01 +05:30
Abhinav-grd 9ac0e83735 save metadata files along with files 2021-03-31 12:15:41 +05:30
Abhinav-grd 67678650db change collection folder name structure to id_name 2021-03-31 12:00:42 +05:30
Abhinav-grd 2ee0045b56 create collectionw wise folders during export 2021-03-31 11:23:21 +05:30
Abhinav-grd 9c34231dff added try catch to export files function 2021-03-30 18:30:09 +05:30
Abhinav-grd 7034c6ff8f added logic to send notification of export start and finish and show progress on ssytem tray icon 2021-03-30 17:07:32 +05:30
Abhinav-grd aa34a99b2c updated record after exporting files 2021-03-30 17:05:47 +05:30
Abhinav-grd afbf9c741f improved error handling 2021-03-30 13:53:36 +05:30
Abhinav-grd 05170341bb read error reponse properly 2021-03-30 13:52:46 +05:30
Abhinav-grd c7f51d7c93 dont retry get request 2021-03-30 11:07:13 +05:30
Abhinav-grd 4a8dfe57bd use fresh token on each request 2021-03-30 11:06:58 +05:30
Abhinav-grd 15d5a1660c updated token null handling 2021-03-30 10:39:43 +05:30
Abhinav-grd 12a28e4fc7 added axios interceptor 2021-03-30 10:38:41 +05:30
Abhinav-grd b6d1a9211a getExportedFiles list and skip those exports 2021-03-29 18:15:54 +05:30
Abhinav-grd b1055a3ef8 added exportFiles logic 2021-03-29 16:59:19 +05:30
Abhinav-grd 94903a2009 minor fixes 2021-03-29 16:59:01 +05:30
Abhinav-grd 1d8ca64f48 cleaned up deleteFiles function 2021-03-29 15:59:17 +05:30
Abhinav-grd a832fa1cb3 corrected console.error body 2021-03-29 15:05:05 +05:30
Abhinav-grd b140e04a21 removed unneccesary console logs 2021-03-29 14:41:03 +05:30
Abhinav-grd 4d65768b1f handled getCollection Errors with setting banner message 2021-03-29 14:22:56 +05:30
Abhinav-grd 20a5bea858 added isTokenActive 2021-03-29 11:52:15 +05:30
Abhinav-grd 173deab5da added export service 2021-03-29 10:45:08 +05:30
Abhinav-grd 407a6d463d updated downloadFIle function to return readabel Stream 2021-03-29 10:43:59 +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 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
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
Abhinav-grd aee7097e71 random percentage progress for put call 2021-03-22 17:45:07 +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 09c5882ded added progress tracker to multipart upload 2021-03-22 11:45:38 +05:30
Pushkar Anand a4bbf85559 Build optimization. 2021-03-21 19:48:38 +05:30
Abhinav-grd 4a528115b1 added deleteFiles service 2021-03-21 12:23:41 +05:30
Abhinav-grd 1a5eaa75e0 added preview proration before subscription upgrade 2021-03-21 10:19:37 +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 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 0e062c1093 renamed subcription service to billing service 2021-03-18 20:52:34 +05:30
Abhinav-grd f6cc73c91b removed console logs 2021-03-18 20:48:29 +05:30
Abhinav-grd e25bbcef5e removed empty id property from subscription 2021-03-18 20:44:03 +05:30
Abhinav-grd d540e06c0f updated subscription with cancelSubscription response 2021-03-18 19:18:44 +05:30
Abhinav-grd d164bc6a26 added alert message for subscription ops 2021-03-17 17:37:20 +05:30
Abhinav-grd 4346d6ea7e moved helper function to util added cancel and updated subscription logic and updated service to modify localStorage records 2021-03-17 12:51:55 +05:30
Abhinav-grd e412fec108 Merge branch 'master' into stripe-integration 2021-03-16 19:05:41 +05:30
Abhinav-grd c3ada5c6f7 corrected localForage import 2021-03-16 19:02:43 +05:30
Abhinav-grd dbdf74922f added conditional manage or subscribe button 2021-03-16 18:22:57 +05:30
Abhinav-grd 90d73a660e updated logic to find unique files 2021-03-16 15:11:11 +05:30
Abhinav-grd 5bacbdfd65 updated plan selector style 2021-03-16 14:32:57 +05:30
Abhinav-grd a8b678b0a1 Merge branch 'master' into stripe-integration 2021-03-16 14:32:15 +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 ddcc80419c remove empty collections 2021-03-15 23:00:49 +05:30
Abhinav-grd ce5a495d98 updated error logging 2021-03-14 20:23:13 +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 b7a0fabe89 refresh subscription detail on page reload 2021-03-13 18:25:47 +05:30
Abhinav-grd 1dff2d2be0 updated createCheckoutSession api call 2021-03-13 15:34:17 +05:30
Abhinav-grd 51f0411c5d added redirect to customer portal logic 2021-03-13 05:12:19 +05:30
Abhinav-grd 58df5fef07 updated subscription service 2021-03-13 04:36:16 +05:30
Abhinav-grd e6e0315270 updated subscription service 2021-03-12 23:04:20 +05:30
Abhinav-grd 5d53ef10db updated stripe identifier name and create session response json 2021-03-12 20:39:17 +05:30
Abhinav-grd cf7f292b16 added plan selector modal and apis 2021-03-12 18:00:33 +05:30
Abhinav-grd 48af4280b2 corrected getCheckoutSession query params 2021-03-12 17:13:47 +05:30
Abhinav-grd 9702760954 build fix 2021-03-12 14:43:38 +05:30
Abhinav-grd 766b695a0a Merge branch 'sidebar' into stripe-integration 2021-03-12 14:42:19 +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 c435783e3d added wrapper import for localForage 2021-03-12 12:28:27 +05:30
Abhinav-grd b8d48627d1 moved logout function to userService 2021-03-12 10:20:58 +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 0066ef4ee2 moved subscription interface to subscription Service 2021-03-11 22:01:20 +05:30
Abhinav-grd 78d9fa659c add subscriptionService 2021-03-11 21:34:52 +05:30
Abhinav-grd 99b3791700 Merge branch 'master' into butterify-file-upload 2021-03-11 19:34:06 +05:30
Abhinav-grd 6a556eabf1 removed downloadManager intialization with token 2021-03-11 12:50:11 +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 422ea8f6ed upload test PriceID 2021-03-10 12:35:30 +05:30
Abhinav-grd f42c2e4e30 added getCheckoutSesssion function 2021-03-10 08:55:00 +05:30
Abhinav-grd dbc5ecaf2e added subscription flow 2021-03-09 21:53:13 +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
Vishnu Mohandas ae5e67522a Move code to download a file to DownloadManager, also re-enable HEIC decoding 2021-03-08 12:00:27 +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 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
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 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
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
Vishnu Mohandas 5eb77a2505
Merge pull request #30 from ente-io/reduce-concurrent-uploads
reduce concurrent upload to 4
2021-02-26 15:48:50 +05:30
Abhinav-grd 18defbb9b8 stored literal values to const 2021-02-26 15:08:34 +05:30
Abhinav-grd e50c8864ec reduce conccurent upload to 4 2021-02-26 11:28:44 +05:30
Abhinav-grd bb37368f56 ignore metadata errors 2021-02-26 11:26:10 +05:30
Abhinav-grd 26b4414799 clear encryptedkey 2021-02-25 23:57:30 +05:30
Abhinav-grd 7d53d9f239 destructure encryptedFile and encryptedKey into seperate variables 2021-02-25 23:02:17 +05:30
Abhinav-grd d5718b43e5 removed unneccesary Cryptoworker creations 2021-02-25 22:01:49 +05:30
Abhinav-grd 6075949de7 clear object references 2021-02-25 21:37:23 +05:30
Abhinav-grd ac126b2e0a Merge branch 'master' into fixing-upload-memory-leak 2021-02-25 12:34:54 +05:30
Vishnu Mohandas 5204bd30e4 Increase diff limit to 2500 2021-02-24 21:35:26 +05:30
Abhinav-grd 9e193da33e reuse same file readers 2021-02-24 21:34:14 +05:30