Commit graph

2836 commits

Author SHA1 Message Date
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 0c8b36279f set initialValues for collectionNamer to empty string to give good error message 2022-02-16 11:23:55 +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 d972dad891 fix import name to ToastNotification 2022-02-16 09:24:24 +05:30
Abhinav c63e3eed99 remove unused class 2022-02-16 09:21:52 +05:30
Abhinav f9d38c8c6c renamed Notification to ToastNotification 2022-02-16 09:16:12 +05:30
Abhinav b7d63ee833 better comments 2022-02-16 09:15:19 +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 56a10cd80d create util isLivePhoto 2022-02-16 09:01:26 +05:30
Abhinav 0b34bcbba2 set livePhotoLocalID correctly 2022-02-15 19:21:53 +05:30
Abhinav 5d7d32d5fc better names 2022-02-15 17:04:36 +05:30
Abhinav cf8d3eb72f show notification only 3 times 2022-02-15 16:52:02 +05:30
Abhinav 8a9bbf08f3 close notification on photoswipe close 2022-02-15 16:51:41 +05:30
Abhinav f58108a55f fix type passed to thumbnail generation for heic detection 2022-02-15 16:32:42 +05:30
Abhinav acbbfdf405 fix localID intialisation 2022-02-15 15:53:32 +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 93505f9bc4 show live photo overlay only on live photos 2022-02-15 09:26:36 +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 9ead332d1f show live support coming soon message when live photo opened 2022-02-14 16:41:16 +05:30
Abhinav d764cecb4b add notification toast component 2022-02-14 16:41:03 +05:30
Abhinav d1da966530 live photo indicator overlay 2022-02-14 15:47:07 +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
Neeraj Gupta 94adaaf020
shared-url: use base58 encoding for ck 2022-02-13 23:41:58 +05:30
Neeraj Gupta 3fc214962f
shared-albums: add support for handling both hex and base58 encoding for ck 2022-02-13 23:28:11 +05:30
Abhinav c335bc21be no need to sorting before segregateMetadataAndMediaFiles 2022-02-13 16:59:17 +05:30
Abhinav 2afa7407b9 fix type uploadResult 2022-02-13 16:51:39 +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 10be89e72c fix minor issues 2022-02-13 09:52:59 +05:30
Abhinav 7b45aee757 refactor code 2022-02-13 09:43:25 +05:30
Abhinav 13d8c10a60 Merge branch 'master' into live-photo-import 2022-02-13 08:29:16 +05:30
Abhinav bbb78a6c5e update publicCollectionUID template 2022-02-12 14:03:13 +05:30
Abhinav eb23444853 create a POC working model of live photo upload 2022-02-09 10:53:43 +05:30
Abhinav 858315c897 added stage for metadata extraction 2022-02-09 10:32:14 +05:30
Abhinav Kumar c801e8225f
Merge pull request #363 from ente-io/public-link-changes
Public link changes
2022-02-06 16:43:34 +05:30
Abhinav 1baa4ab93d fix edit creation date ui 2022-02-06 16:40:44 +05:30
Abhinav 2cdd326d29 change GoToEnte button link to ente website 2022-02-06 16:40:44 +05:30
Abhinav f5f7ea726a dont show info button for shared albums 2022-02-06 16:40:44 +05:30
Abhinav 99bd6d71fb fix file info UI 2022-02-06 16:40:44 +05:30
Abhinav c7bec04603 update PHOTOSWIPE_HASH_SUFFIX 2022-02-06 15:23:02 +05:30
Abhinav cc04a48d26 send correct header for video download 2022-02-06 15:22:19 +05:30
Abhinav 6d07b63cba remove token and key logging 2022-02-05 20:43:26 +05:30
Abhinav 5852fa65f3 add back the web description meta 2022-02-05 18:25:20 +05:30
Abhinav 10b5f6cd47 revert to setting title in _app.tsx next issue 2022-02-05 16:20:03 +05:30
Abhinav ba54a48bd9 update footer margins 2022-02-05 16:19:20 +05:30
Abhinav b6e1dd5561 move head setting logic from app to worker 2022-02-05 16:06:34 +05:30
Abhinav e39eb9c82e remove cacheResp logging 2022-02-05 15:15:40 +05:30
Abhinav b5d19d8ce7 Revert "add better logs to check cache issue"
This reverts commit 83ada844a3.
2022-02-05 15:12:35 +05:30
Abhinav e45f164246 Revert "even better logs"
This reverts commit e3586fa3fe.
2022-02-05 15:11:01 +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 95a7b871f6 add check to only set data in map if not null 2022-02-05 14:22:07 +05:30
Abhinav 42670853e7 renamed 5GB to better name of max file size supported 2022-02-05 14:10:18 +05:30
Abhinav c9129ce11c remove console logs 2022-02-05 14:03:34 +05:30
Abhinav e3586fa3fe even better logs 2022-02-05 09:35:02 +05:30
Abhinav 83ada844a3 add better logs to check cache issue 2022-02-05 09:27:51 +05:30
Abhinav fdd06b1ece add album meta description for alubms domain 2022-02-04 19:44:25 +05:30
Abhinav f361ad516b log cache response 2022-02-04 19:30:50 +05:30
Abhinav a4681fa7b5 fix overscrolling photoframe 2022-02-04 19:30:50 +05:30
Abhinav 09a4be46fd fix footer positioning issue 2022-02-04 19:30:50 +05:30
Abhinav 52be964256 update-default-sentry-dsn 2022-02-04 18:28:28 +05:30
Abhinav cf6ca4363b final chnage 2022-02-04 13:31:00 +05:30
Abhinav 1aff0d2ae9 update albums footer 2022-02-04 13:09:13 +05:30
Abhinav 21aab14380 fix things 2022-02-04 00:26:34 +05:30
Abhinav e7c051ac53 refactor metadata extraction 2022-02-03 23:54:36 +05:30
Abhinav 496c402177 fix variable name 2022-02-03 13:35:06 +05:30
Abhinav e71fb680ef handle back button press to open and close photoswipe 2022-02-03 13:18:01 +05:30
Abhinav 8ceaf68259 Revert "remove album url label and add spacing after form description"
This reverts commit be5e1d96ef.
2022-02-03 09:58:39 +05:30
Abhinav 6355f01e96 better handle routing with shallow replacing 2022-02-03 09:51:12 +05:30
Abhinav ccaf37b2c6 replcae push with replace when routing to shared-albums 2022-02-03 09:46:56 +05:30
Abhinav be5e1d96ef remove album url label and add spacing after form description 2022-02-02 22:09:51 +05:30
Abhinav 5c62a3183d update ABUSE_REPORT_DESCRIPTION 2022-02-02 22:01:58 +05:30
Abhinav a3235967e3 nothing to see here if files is empty 2022-02-02 22:01:01 +05:30
Abhinav 6ffe0acd54 fix comlink type import 2022-02-01 19:10:30 +05:30
Abhinav 835ce8eced set queue processor concurrent request count to 5 2022-02-01 19:03:31 +05:30
Abhinav f76b1c3ee3 add new worker for conversion 2022-02-01 18:54:44 +05:30
Abhinav 8a0361b788 fix queue processor processing only one request even if max limit greater than 1 2022-02-01 18:46:33 +05:30
Abhinav c30fa05b60 add HIECConveter service to queue up and process heic to jpeg conversion 2022-02-01 16:21:47 +05:30
Abhinav 4d02c3a404 handle non localhost dev setups 2022-02-01 15:37:17 +05:30
Abhinav 818a645205 Merge branch 'master' into chrome-oom-crash 2022-02-01 14:18:38 +05:30
Abhinav f335a9bbfd fix grammer 2022-01-31 23:36:53 +05:30
Abhinav 2266d7a115 update abuse report description 2022-01-31 23:32:47 +05:30
Abhinav 2cc30ebe88 update abuse report success strings 2022-01-31 23:31:41 +05:30