Commit graph

148 commits

Author SHA1 Message Date
Shailesh Pandit 2d17dd30e9 For uploaded files use local files for ML Sync
Extract out ML work manager and sync job from worker
Start and stop ML Sync job on app start, login and logout
2021-12-12 23:12:18 +05:30
Shailesh Pandit 4d89e7df96 Revert comented ffmpeg code
As not required after common upload types are extracted out
2021-12-08 12:22:12 +05:30
Shailesh Pandit d65de21be5 Merge branch 'upload-types-refactor' into machine-learning 2021-12-08 11:59:07 +05:30
Shailesh Pandit d5199acc43 Extract common types in upload service to upload types
Required for not including code required for upload service in other parts just requiring common types
e.g. ffmpegService is included in machine learning web worker while including downloadManager service
2021-12-08 11:53:34 +05:30
Shailesh Pandit 28b77bcf0a Merge branch 'master' into machine-learning 2021-12-07 18:41:29 +05:30
Abhinav a0708ac3f8 log dateTime value on getUNIXTime fail 2021-11-30 11:15:36 +05:30
Abhinav 0e57c8830b fail safe error handling 2021-11-30 11:14:33 +05:30
Abhinav 1f3734b577 fix isFileHEIC check 2021-11-29 12:09:21 +05:30
abhinavkgrd 863b814d88
Merge pull request #237 from ente-io/fix-file-type-not-logged
missed a place where type info was not logged
2021-11-25 11:55:19 +05:30
Abhinav b2162c4398 add options for fix creation time 2021-11-19 00:24:47 +05:30
Abhinav 2b7e5f2074 one more place with same issue 2021-11-18 10:12:19 +05:30
abhinavkgrd e913615f57
Merge pull request #221 from ente-io/fix-creation-time
Fix creation time
2021-11-17 22:26:16 +05:30
Abhinav f94322ddef log the exifparsing inside getExifData itself 2021-11-16 11:40:46 +05:30
Abhinav e8aa6141dd bubble up error to caller from queue processor 2021-11-13 12:50:37 +05:30
Abhinav c47d24eb8c removed unneccessary getExifDataFromURL 2021-11-10 14:52:40 +05:30
Abhinav 76842b92a6 Merge branch 'master' into fix-creation-time 2021-11-10 12:50:34 +05:30
Abhinav 4b27ed4fd5 updated info object key from type to fileFormat , as sentry does not recognise type as valid property name for some reason 2021-11-10 12:14:56 +05:30
Abhinav 8d79b443fe add setLocalFile and remove appendPhotoSwipeProps funcitons 2021-11-04 18:46:04 +05:30
Shailesh Pandit 15707f8344 WIP: hacks to ignore dom access from web worker 2021-11-04 17:41:37 +05:30
Abhinav e6a3ac35ee Merge branch 'master' into fix-creation-time 2021-11-03 16:05:32 +05:30
Abhinav 5095bde562 adds updateCreationTimeWithExif script 2021-11-03 16:03:01 +05:30
Abhinav af302f6980 send fileType info with exif data missing logs 2021-11-02 20:50:07 +05:30
Abhinav c4dc9926e0 return file extension asexactType if file type detection fails 2021-10-27 11:43:13 +05:30
Abhinav 384fd9799a improved error logs for failure during thumbnail generation 2021-10-27 11:33:02 +05:30
Abhinav e850c8c242 fix typo 2021-10-27 10:55:43 +05:30
Abhinav 242deebb4c make max dimension(width or height) = 720px 2021-10-27 10:30:57 +05:30
Abhinav 81c77790df add comments 2021-10-27 09:13:43 +05:30
Abhinav 60c820a9be refactor code 2021-10-27 09:13:43 +05:30
Abhinav 01dc6142d0 log thumbnail dimension too 2021-10-27 09:13:43 +05:30
Abhinav 23356bf132 update thubnail dimension calculation 2021-10-27 09:13:43 +05:30
Abhinav e984eb9be9 improve variable names and fix compression loop condition 2021-10-26 12:11:00 +05:30
Abhinav 192229e1e1 reduce max-compression quality to 50% 2021-10-26 11:36:58 +05:30
Abhinav dac5ea727a updated min and max compression quality and MAX_THUMBNAIL_SIZE 2021-10-25 20:10:53 +05:30
abhinav-grd 47914f5281 reduce quality linearly 2021-10-19 15:46:15 +05:30
abhinav-grd 175e323c47 log thumbnail size greater than max limit 2021-10-19 14:02:11 +05:30
abhinav-grd 78a69a6d33 if compression more than min compression diff keep on compressing 2021-10-19 13:58:10 +05:30
abhinav-grd 11eb962f79 compress thumbnail generated from ffmpeg using canvas method 2021-10-08 13:46:11 +05:30
abhinav-grd 4dec65a891 try to get exif only for image files 2021-09-16 07:27:11 +05:30
abhinav-grd e17eb7aca4 exif data can be null so dont destructure function response 2021-09-16 07:26:48 +05:30
Abhinav-grd 74471d9bfb
Merge pull request #143 from ente-io/update-exif-package
Update exif package
2021-09-13 12:05:36 +05:30
abhinav-grd e34a8e8b92 remove processQueue recursive call
as we are processing the queue in a loop left when making the change
2021-09-12 16:01:08 +05:30
abhinav-grd b3a9c8ee94 improves queueProcessor 2021-09-12 15:56:16 +05:30
abhinav-grd d68cebb7a1 if unix time less than zero ignore it 2021-09-12 12:41:15 +05:30
abhinav-grd c4938d04e3 updates code to fit with new getExif function 2021-09-12 12:17:17 +05:30
abhinav-grd 5cf48597df updates exif parsing to use new library features 2021-09-12 12:16:30 +05:30
abhinav-grd f9c46cdcb6 dont log exifdata 2021-09-10 22:12:15 +05:30
abhinav-grd 5e6adb4634 updated getUNIXTime logic 2021-09-10 12:21:18 +05:30
abhinav-grd ea73bc43f8 use exifr package
exif-js fails for heic EXIF parsing
2021-09-10 12:18:34 +05:30
Abhinav-grd 07d44846be replaced heic2any pacakeg with heic-convert and use custom worker 2021-09-07 14:54:08 +05:30
Abhinav-grd 1ff2fa3462 update error message 2021-09-02 13:28:35 +05:30