Commit graph

144 commits

Author SHA1 Message Date
Abhinav-grd d1d3623880 fix file extension logging for unsupported formats 2021-08-30 06:54:57 +05:30
Abhinav-grd 3acd3ba87f skip too large files 2021-08-29 14:45:12 +05:30
Abhinav-grd 2a645dc16e remove console log 2021-08-29 14:28:37 +05:30
Abhinav-grd 28ccf3d11c added file too large section 2021-08-29 12:56:24 +05:30
Abhinav-grd a8c93da704 updated error handler 2021-08-29 12:44:33 +05:30
Abhinav-grd e6049aef1b function check for breaking error changes 2021-08-29 11:48:53 +05:30
Abhinav-grd ce8bc629a1 renamed parseError and handleError to upload specfic names 2021-08-29 11:48:03 +05:30
Abhinav-grd 8788a7cd48 final touch up 2021-08-28 19:29:00 +05:30
Abhinav-grd 0a2a9b1f1d added error handling 2021-08-28 11:21:05 +05:30
Abhinav-grd 4317964ca4 remove logs 2021-08-28 11:21:05 +05:30
Abhinav-grd a09c5e7a36 remove un used import 2021-08-28 11:21:05 +05:30
Abhinav-grd c0e665cd1d add logs 2021-08-28 11:21:05 +05:30
Abhinav-grd 9ee35f725e refactored code 2021-08-28 11:21:05 +05:30
Abhinav-grd 5b8ae127b5 just load fallback package 2021-08-28 11:21:05 +05:30
Abhinav-grd 53af52de61 added fallback core package 2021-08-28 11:21:05 +05:30
Abhinav-grd 26d9d500b4 break on thumbnail error 2021-08-28 11:21:04 +05:30
Abhinav-grd 75de06cff7 added ffmeg package 2021-08-28 11:21:04 +05:30
Abhinav-grd c32ec93d29 updated queueService to QueueProcessor 2021-08-28 11:20:02 +05:30
Abhinav-grd 1285305288 added queueService 2021-08-28 11:20:02 +05:30
Abhinav-grd c2e5007386 moved type detail logging logic to catch block 2021-08-20 12:50:34 +05:30
Abhinav-grd a7033f1699 fix location data bug 2021-08-20 12:28:21 +05:30
Abhinav-grd 7539f5c9fa remove exif file check and let exif library handle it and fail 2021-08-20 12:23:59 +05:30
Abhinav-grd e059f16325 send unsupported file extension 2021-08-19 12:03:10 +05:30
Abhinav-grd 9076735374 pass fileType info to metadata extracter 2021-08-19 08:55:11 +05:30
Abhinav-grd 9912be071a add hasStaticThumbnail to metadata object 2021-08-19 08:50:59 +05:30
Abhinav-grd 49e61ba1f1 read only metadat for checking duplicate 2021-08-19 08:42:08 +05:30
Abhinav-grd 7515e14d02 added uplaoded file to existingFilesCollectionWise 2021-08-18 20:41:11 +05:30
Abhinav-grd bb8f407bbf catch empty generated thumbnail 2021-08-18 18:26:24 +05:30
Abhinav-grd b67a7a9401 fiox typeParts undefined check 2021-08-18 17:46:20 +05:30
Abhinav-grd 47efa6a8e5 increase chunk size for exif parsing and just log and dont break on exif laod fail 2021-08-18 12:41:00 +05:30
Abhinav-grd 6b5bbacd00 read file chunk for exif 2021-08-18 11:21:17 +05:30
Abhinav-grd 744a308963 removed unneeded fileReader passed to functions 2021-08-18 11:08:20 +05:30
Abhinav-grd 9b49e15d5c moved file reading ot worker 2021-08-18 10:02:27 +05:30
Abhinav-grd e8c421a438 detect isHEIC based on filedata derived type 2021-08-16 19:03:57 +05:30
Abhinav-grd 884c2e57c3 dont round percenatge 2021-08-14 11:42:42 +05:30
Abhinav-grd 96e36c8bf0 custom check for heic not required 2021-08-13 22:17:06 +05:30
Abhinav-grd acc96947ec fixes 2021-08-13 22:12:34 +05:30
Abhinav-grd 902bb017c7 added lib for type detection 2021-08-13 20:27:39 +05:30
Abhinav-grd 37ca8e694b add comment reason for extracting files original name 2021-08-13 19:49:39 +05:30
Abhinav-grd e25fabf500 throw error if stream not done after all partUploadFinish 2021-08-13 19:44:40 +05:30
Abhinav-grd 50c3953a86 better constants 2021-08-13 19:29:30 +05:30
Abhinav-grd 9ba90dee60 reduce quality after first attempt to generate thumbnail at 100% quality 2021-08-13 19:24:31 +05:30
Abhinav-grd 5f0b723202 added type to fuinction instead to returned object 2021-08-13 12:13:00 +05:30
Abhinav-grd bbef258404 make getFileStream fileChunkReaderMaker generic by passing chunkSize to them 2021-08-13 12:10:05 +05:30
Abhinav-grd 5e57e79bda improve readebility 2021-08-13 12:00:22 +05:30
Abhinav-grd aa07979422 remove export from function used only in file scope 2021-08-13 11:54:33 +05:30
Abhinav-grd 8ef9862b60 renamed NetworkClient to UploadHttpClient 2021-08-13 11:52:18 +05:30
Abhinav-grd 6b6479eed7 rename s3Service to multiPartUploadService 2021-08-13 11:48:03 +05:30
Abhinav-grd 223cf9eb99 intiail canvas with empty canvas element 2021-08-13 11:42:57 +05:30
Abhinav-grd c985c5197b make collection as optional in FileWithCollection 2021-08-13 11:26:31 +05:30
Abhinav-grd 271b04b24e fixed typo and dont catch error 2021-08-13 11:04:14 +05:30
Abhinav-grd f053c74ae7 tidy up 2021-08-13 11:04:14 +05:30
Abhinav-grd 4d1e0612dd throw error when unable to load worker 2021-08-13 11:04:08 +05:30
Abhinav-grd c262fae8d3 spell checked 2021-08-13 10:45:40 +05:30
Abhinav-grd 830d457d85 better varaible names 2021-08-13 10:40:03 +05:30
Abhinav-grd 965a37873c added proper type for parsedMedatdata with title 2021-08-13 10:33:21 +05:30
Abhinav-grd bbbaf56daf added null fallbacks 2021-08-13 10:17:55 +05:30
Abhinav-grd 0172c308d4 build fix 2021-08-13 09:48:11 +05:30
Abhinav-grd 48622afaf5 better comments 2021-08-13 09:45:32 +05:30
Abhinav-grd 5fbff89324 fixed FILE_TYPE import 2021-08-13 09:08:42 +05:30
Abhinav-grd 7a403e086d formast all uploadService files 2021-08-13 09:08:02 +05:30
Abhinav-grd 3082363b5b final touchup 2021-08-12 21:06:44 +05:30
Abhinav-grd e82ba8439e fixed metadata extraction 2021-08-12 15:04:55 +05:30
Abhinav-grd 28b8773d6a fix check for failed or blocked files 2021-08-12 13:55:17 +05:30
Abhinav-grd bae4e95dcc use filename as tile instead of metadataJSON title propery 2021-08-11 17:42:28 +05:30
Abhinav-grd 910b794d24 fix completeMulltipart request body 2021-08-11 15:09:05 +05:30
Abhinav-grd d65f6cb494 fix build 2021-08-11 13:37:11 +05:30
Abhinav-grd ba065405eb has collection identifier with metadat 2021-08-11 12:50:26 +05:30
Abhinav-grd 9aef824603 send only collectionId in FileWithCollections 2021-08-11 12:41:57 +05:30
Abhinav-grd 82e70a343d formatted metadataService 2021-08-11 11:41:09 +05:30
Abhinav-grd 3a3de95df9 added await to catch preFetchUploadURLs error 2021-08-11 11:40:53 +05:30
Abhinav-grd 07ce0f4dcb add failed files to failed upload list 2021-08-11 11:25:18 +05:30
Abhinav-grd 01827e268e prevent progressbar from going back 2021-08-11 11:09:16 +05:30
Abhinav-grd 7434032956 corrected case 2021-08-11 10:56:40 +05:30
Abhinav-grd c3693a2eb3 minor bug fixes 2021-08-11 10:54:07 +05:30
Abhinav-grd e59be3e174 moved UploadURl logic to uploadService 2021-08-11 10:16:06 +05:30
Abhinav-grd e39583efdf moved progressTracking logic to uiService 2021-08-11 10:15:36 +05:30
Abhinav-grd 5e98981c05 refactored out uploadManager 2021-08-10 17:59:57 +05:30
Abhinav-grd cf67cd7b3b moved to utils to util file 2021-08-10 11:19:58 +05:30
Abhinav-grd 8bd10f4cf2 better names 2021-08-10 11:06:38 +05:30
Abhinav-grd befcdedd08 moved retryAsyncFunction to network util 2021-08-10 11:05:45 +05:30
Abhinav-grd b95a560072 created s3Service layer 2021-08-09 20:45:11 +05:30
Abhinav-grd 141924bbf6 fix progress bar for multipart upload 2021-08-09 17:02:45 +05:30
Abhinav-grd a033ee383c return canvas from videoThumbnail generator 2021-08-09 16:55:06 +05:30
Abhinav-grd 5f386f3c93 Merge branch 'master' into upload-refactoring 2021-08-09 14:56:49 +05:30
Abhinav-grd ff98eefe67 refactor readFile and encrypt logic 2021-08-09 14:42:11 +05:30
Abhinav-grd 5fde5ada71 created new services for readFile and encryption logic 2021-08-09 14:41:13 +05:30
Abhinav-grd d83462b3ea refactored out fileChunkReaderMaker 2021-08-06 10:46:33 +05:30
Abhinav-grd 5891a19547 remove console logs 2021-08-06 10:28:32 +05:30
Abhinav-grd 2d8f16742b refactored code to use fileReadClient 2021-08-06 10:17:08 +05:30
Abhinav-grd b2be864bc7 created fileReadClient 2021-08-06 10:16:38 +05:30
Abhinav-grd 06ed9bc54a created exif service 2021-08-06 10:14:48 +05:30
Abhinav-grd 64042128b7 refactor network logic to networkClient 2021-08-05 19:18:25 +05:30
Abhinav-grd 3d7a8c4106 moved uploadService to upload sub folder 2021-08-05 17:34:47 +05:30