Commit graph

1062 commits

Author SHA1 Message Date
Abhinav a866d109e5 rename getUNIXTime to getUnixTimeInMicroSeconds 2022-02-28 17:44:23 +05:30
Abhinav 222167878a better handle metadata extraction failure 2022-02-28 14:03:47 +05:30
Abhinav cf1f55e68a moved types and getUnixTime to time util 2022-02-28 13:48:52 +05:30
Abhinav a98d35ad66 refactoring moved videoMetadata extraction to seperate service 2022-02-28 13:42:33 +05:30
Abhinav e49a7f9ec9 better types 2022-02-28 13:29:30 +05:30
Abhinav c488d76609 update comment for extractVideoMetadata command 2022-02-28 13:23:34 +05:30
Abhinav 5887aec373 read all available stream metadata dont need to specifically read video and audio streams 2022-02-28 13:05:14 +05:30
Abhinav a4d81da065 Merge branch 'master' into ffmpeg-video-metadata 2022-02-28 10:47:50 +05:30
Abhinav 540620373b fix minor bugs 2022-02-28 10:34:27 +05:30
Abhinav 1af2dc24ca add metadata extraction logic 2022-02-28 10:34:16 +05:30
Abhinav 63d3fb34cc fix error message for verify password api 2022-02-26 18:41:52 +05:30
Abhinav bda2423930 fix variable name for get and save LocalPassword and avoid using token directly as collectionUID 2022-02-26 15:37:46 +05:30
Abhinav 0a028e7b07 dont make syncCall if already up to date with collection update time 2022-02-26 14:45:31 +05:30
Abhinav 29c7cc69c7 handle password change case 2022-02-26 14:20:31 +05:30
Abhinav c6dd93270d revert back to using ref for password token 2022-02-26 12:34:43 +05:30
Abhinav 86488ee056 minor changes and refactoring 2022-02-25 15:58:12 +05:30
Neeraj Gupta fc45b94930
switch to different api for validating link password 2022-02-24 21:09:00 +05:30
Neeraj Gupta bb5b37997e
add support for showing password protected albums 2022-02-23 14:31:00 +05:30
Neeraj Gupta b93fb5167c
remove entry for publicCollection sync time while removing collection 2022-02-22 12:24:56 +05:30
Abhinav Kumar f7cb51f856
Merge pull request #253 from ente-io/live-photo-import
add live photo upload support
2022-02-16 20:18:38 +05:30
Abhinav 671bf0ee2d add live photo detection info section 2022-02-16 13:13:47 +05:30
Abhinav 0474d28aec remove only underscore three from the end 2022-02-16 12:30:34 +05:30
Abhinav 5744def6f2 added logic to show filename in upload progressbar 2022-02-16 12:18:07 +05:30
Abhinav 602f36ee37 use the ext returned from the fileType detection library to set the correct extension for the file 2022-02-16 12:04:16 +05:30
Abhinav 227a04a01f update file type detection function 2022-02-16 12:04:05 +05:30
Abhinav 4d74c62eb2 add try catch wrapper over extractFileMetadata and parseMetadataJSON to prevent one file breaking to progagate cause all of them to fail 2022-02-16 10:44:32 +05:30
Abhinav 3b9841b9c4 use the last index of underscore 2022-02-16 10:13:18 +05:30
Abhinav 47c6fabc05 isImageOrVideo util function and updated the areFilesLivePhotoAssets to allow only image and video as allowed assets 2022-02-16 10:06:28 +05:30
Abhinav 8534f69e96 refactor code 2022-02-16 09:57:33 +05:30
Abhinav 79455d2295 added imageType and videoType property to FleTypeInfo to handle livePhoto case 2022-02-16 09:52:00 +05:30
Abhinav 044b257972 dont need cryptoWorker for thumbnail generation convertService handles it 2022-02-16 09:29:50 +05:30
Abhinav 58dbac8ffd remove underscored suffix added to live photo name while comparing file names 2022-02-16 09:08:35 +05:30
Abhinav 0b34bcbba2 set livePhotoLocalID correctly 2022-02-15 19:21:53 +05:30
Abhinav f58108a55f fix type passed to thumbnail generation for heic detection 2022-02-15 16:32:42 +05:30
Abhinav 0ea457e5f8 fix imageMetadata intialisation 2022-02-15 09:52:17 +05:30
Abhinav c04056569b use image metadata for live photo 2022-02-15 09:48:38 +05:30
Abhinav 80db61133a refactored code to not create stream for livePhotodata assets as they zipping library doesn't support streams 2022-02-15 09:20:41 +05:30
Abhinav 8b668b924a use file name as metadata for some files may be empty 2022-02-15 09:01:19 +05:30
Abhinav 5ff8b857bc add comment and check to avoid larger than multipart file size files to be clustered as livePhoto 2022-02-15 08:12:38 +05:30
Abhinav 08cd6e72ea group same collection files together before live photo clustering 2022-02-14 16:43:56 +05:30
Abhinav 22a489be6e only generate and use image thumbnail for livePhoto 2022-02-14 13:17:10 +05:30
Abhinav ed06e1427e use video thumbnails for livePhotos 2022-02-14 13:05:22 +05:30
Abhinav dab1844223 reuse fileTypeInfo and metdata and fix case where live photos clustering 2022-02-14 12:44:42 +05:30
Abhinav 04f4fd14e3 uploadService getFileMetadata to better name extractFileMetadata to avoid confusion with getFileMetadataAndFileTypeInfo 2022-02-13 16:48:42 +05:30
Abhinav ccd730cf9f minor changes 2022-02-13 16:40:50 +05:30
Abhinav 1398ea22b3 set live photo extension as zip 2022-02-13 16:34:08 +05:30
Abhinav 86a9b86294 handle metadata null case 2022-02-13 16:26:46 +05:30
Abhinav 0fff2ee674 fix minor bugs 2022-02-13 14:40:17 +05:30
Abhinav 87d635be58 Merge branch 'refactor-metadata-extraction-v2' into live-photo-import 2022-02-13 12:59:43 +05:30
Abhinav 7b45aee757 refactor code 2022-02-13 09:43:25 +05:30