Commit graph

68 commits

Author SHA1 Message Date
Rushikesh Tote 890c41da69
fixed styling, live photo split 2022-03-01 18:19:07 +05:30
Abhinav 54e074bebe add resp.data not undefined check before creating Uint8ArrayBuffer out of it 2022-02-05 15:10:32 +05:30
Abhinav f4eaaaaf05 dont log cache failures 2022-01-27 12:32:21 +05:30
Abhinav 8ebb34c56d catch error when cache access fails 2022-01-27 12:27:01 +05:30
Abhinav 07241efafd change url casing 2022-01-24 14:58:41 +05:30
Abhinav b00d7ea2b0 move file enums to constants/file 2022-01-05 12:18:46 +05:30
Abhinav aba964922e moved file related types to types/file 2022-01-04 15:20:14 +05:30
Abhinav 9454540175 update name to getCachedOriginalFile 2021-11-29 14:14:28 +05:30
Abhinav 3a0e6b2f98 renamed get preview to getThumbnail 2021-11-29 14:12:24 +05:30
Abhinav a1672d3c2f handle saving to cache in getPreview itself 2021-11-29 14:11:41 +05:30
Abhinav 9e3c294775 check in memory cache for thumbnail before hitting browser cache 2021-11-29 12:08:53 +05:30
Abhinav f997c7457a use converted suffix instead of forPreview to to avoid duplicate download of unconverted files 2021-11-29 11:18:28 +05:30
Abhinav f688d620cc prevent duplicate file download calls 2021-11-29 10:42:46 +05:30
Abhinav-grd 197d5b49b4
Merge branch 'master' into migrate-large-thumbnails 2021-10-26 18:16:57 +05:30
abhinav-grd 18b27f5f08 dont have seperate preview file entry for video 2021-10-21 16:12:00 +05:30
abhinav-grd 6097e76fad fixed thumbnail and file download not retried after fail 2021-10-21 13:47:11 +05:30
abhinav-grd 8970741158 fix file download even if present in local bug 2021-10-19 18:19:29 +05:30
abhinav-grd d3b73eaa6b fix file not retrying download after a fail 2021-10-19 17:12:56 +05:30
abhinav-grd 1373a955aa make downloadThumb private correctly 2021-10-19 17:11:34 +05:30
abhinav-grd b7c6eb8a2f updated _downloadThumb into getThumbnail to get uint8array as output 2021-10-08 19:56:06 +05:30
Abhinav-grd 974d8d9241 store file promise in fileObjectUrlPromise 2021-08-29 14:58:53 +05:30
Neeraj Gupta 362d4f89ae Thumbnail: don't trigger download if a request is already in-flight 2021-08-29 11:40:18 +05:30
Abhinav-grd c9ffaf67b7 build fix 2021-08-18 11:54:21 +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 0a709c12f5 move types to proper place 2021-08-13 08:55:04 +05:30
Abhinav-grd ed049bac9a formatted source files 2021-08-13 08:17:10 +05:30
Abhinav-grd 9fcad8aee1 fix live photo rendering 2021-08-12 12:09:35 +05:30
Abhinav-grd 45d2a794e4 Merge branch 'master' into live_photos 2021-08-12 11:41:10 +05:30
Abhinav-grd 6d66b6ada0 formated and linted downloadManager 2021-08-12 11:40:33 +05:30
Abhinav-grd c80e299476 added live photo export logic 2021-08-12 10:56:17 +05:30
Abhinav-grd 7f8a8c5ffc renamed MotionPhoto attributes 2021-08-12 10:20:02 +05:30
Abhinav-grd 4f068e283d basic refactoring 2021-08-11 21:29:59 +05:30
Abhinav-grd b94795e0c4 formated and linted downloadManager 2021-08-11 21:08:14 +05:30
Neeraj Gupta 95177238f8 Move MotionPhoto logic in separate serivce 2021-08-11 15:52:59 +05:30
Neeraj Gupta 49525f3b4d LivePhoto: Support for unzip livephoto & preview image 2021-08-11 14:14:17 +05:30
Abhinav-grd 4b420b2144 optional conversion of heic if needed for preview 2021-07-21 11:38:41 +05:30
Abhinav-grd 10a93a2a34 updated getPreview to better catch errors 2021-06-13 21:23:33 +05:30
Pushkar Anand 0ce1e88db5 Moved to sentry login 2021-06-12 22:44:21 +05:30
Abhinav-grd 0ed71a6b76 improved error logging 2021-06-07 10:34:50 +05:30
Pushkar Anand e66817c43b Eslint rule update 2021-05-30 22:26:48 +05:30
Pushkar Anand adb6af09ce Added eslint 2021-05-29 11:57:52 +05:30
Abhinav-grd d867c8b120 udpate file interfcae name to PascalCase 2021-04-27 14:47:38 +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 40bb651f16 Merge branch 'master' into export-data 2021-04-04 18:38:54 +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 3dfe084850 fix downloadFIle response for images 2021-03-31 17:45:37 +05:30
Abhinav-grd 94903a2009 minor fixes 2021-03-29 16:59:01 +05:30