Abhinav
cf1f55e68a
moved types and getUnixTime to time util
2022-02-28 13:48:52 +05:30
Neeraj Gupta
a6a4ecbf46
Fix minor bug in put share-url api call
2022-02-28 13:48:30 +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
Neeraj Gupta
5646fff10b
collectionService: method for updating sharable url
2022-02-28 11:54:08 +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
Rushikesh Tote
1eee5e8a74
fixed: one ffmpeg process at any time
2022-02-28 10:04:20 +05:30
Rushikesh Tote
6188c9eed4
fixed issues with video conversion
2022-02-27 12:04:51 +05:30
Rushikesh Tote
4e33ce0cf6
Merge remote-tracking branch 'origin/master' into add-livephoto-support
2022-02-26 20:16:32 +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
Rushikesh Tote
60fd87df8f
added live photo playback support
2022-02-24 19:26:57 +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
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
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
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
f361ad516b
log cache response
2022-02-04 19:30:50 +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
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
55f6724090
use accessToken and collectionID combined as collectionUID
2022-01-31 14:00:26 +05:30
Abhinav
a750e7e900
update sharing Error handling
2022-01-30 16:03:13 +05:30
Abhinav
033a6020e2
handle too TOO_MANY_REQUEST error
2022-01-30 13:37:32 +05:30
Abhinav
16cc4844f1
don't send validTill and deviceLimit and use default options
2022-01-30 13:36:50 +05:30
Abhinav
3f3e65ad03
fix dedupe
2022-01-29 12:42:28 +05:30
Abhinav
d4264b9c06
get collection sync time UID
2022-01-29 12:33:56 +05:30
Abhinav
369887c346
changed ?? to ||
2022-01-29 09:32:45 +05:30
Abhinav
ba5431a723
fix cache errors
2022-01-29 09:13:07 +05:30
Abhinav
49869766d9
fix local file fetching
2022-01-28 17:41:48 +05:30
Abhinav
7649ee1894
add dedupe logic before saving collection to localStorage
2022-01-28 17:34:06 +05:30
Abhinav
de0a310969
Merge branch 'bug-fix-public-sharing' into update-abuse-report
2022-01-28 11:54:09 +05:30
Abhinav
eb714a145b
Merge branch 'public-album-styling' into bug-fix-public-sharing
2022-01-28 11:51:55 +05:30
Abhinav Kumar
04aab00edd
Merge pull request #313 from ente-io/shareable-url
...
shareable url
2022-01-27 16:00:57 +05:30
Abhinav Kumar
5fd12ad7b9
Merge pull request #330 from ente-io/progress-bar-ui-updates
...
upload progress bar upload
2022-01-27 15:43:05 +05:30
Abhinav
b7f87ef7ba
adds the missed reducePendingFiles function
2022-01-27 15:06:48 +05:30
Abhinav
c8fcb4d9ef
fix move to moveFileToResultList logic
2022-01-27 14:44:17 +05:30
Abhinav
c3081c9096
no need to set finished files progress on progress bar
2022-01-27 14:38:02 +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
ff5d9b5129
update the abuse report form
2022-01-26 19:17:37 +05:30
Abhinav
36c2c77546
add collectionToRemove not found locally check
2022-01-26 12:57:33 +05:30
Abhinav
9b47830076
fix public collection files download
2022-01-26 11:50:02 +05:30
Abhinav
cb29371959
remove token-missing erorr
2022-01-24 17:43:30 +05:30
Abhinav
b3dd490286
cleanup
2022-01-24 17:35:39 +05:30
Abhinav
826f9a1b0f
rename PulbicAccessURL to PublicURL
2022-01-24 16:33:33 +05:30
Abhinav
a8f327e49a
Merge branch 'master' into shareable-url
2022-01-24 15:06:53 +05:30
Abhinav
07241efafd
change url casing
2022-01-24 14:58:41 +05:30
Abhinav
ae5bc333ef
add new category for files larger than available storage
2022-01-22 12:26:41 +05:30
Abhinav Kumar
4511773b80
Merge pull request #315 from ente-io/change-url-casing
...
Change url casing
2022-01-22 11:03:49 +05:30
Abhinav
a358525b36
handle sharing errors
2022-01-21 18:24:57 +05:30
Abhinav
13f8968ee9
handle token exipring
2022-01-21 17:33:20 +05:30
Abhinav
6a3ed25c21
Merge branch 'master' into shareable-url
2022-01-21 17:22:33 +05:30
Abhinav
ffe5062d7a
fix video download for public collection
2022-01-20 15:49:40 +05:30
Abhinav
8d81368a34
change Url to URL
2022-01-20 12:13:10 +05:30
Abhinav
1a74eccdd7
change Url to URL
2022-01-20 12:12:27 +05:30
Abhinav
1796fae8a9
add cache control to prevent cache
2022-01-19 21:51:22 +05:30
Abhinav
6303f2d606
fix send report
2022-01-19 17:14:46 +05:30
Abhinav
13ebc48f9c
add deleteSharableURL api and UI
2022-01-19 16:23:59 +05:30
Abhinav
f2caf2758b
add abuse report logic
2022-01-18 18:38:24 +05:30
Abhinav
1ce3a9dc6a
udpate getPublicCollectionLastSyncTime
2022-01-17 18:41:26 +05:30
Abhinav
292c3c4a1f
add report abuse buttona and form
2022-01-17 18:12:53 +05:30
Abhinav
2b5cea72a5
rename sharedCollection to publicCollection
2022-01-17 16:48:13 +05:30
Abhinav
a53ebd5ce4
add local caching to sharedURLAlbum gallery
...
collection info api and ui element
open in ente button
2022-01-17 16:48:13 +05:30
Abhinav
ecc2ce7093
add logic and apis for viewing sharedAlbum Thumbnails and files
2022-01-17 16:48:13 +05:30
Abhinav
d7832a2e08
encode collectionKey as its not URL
2022-01-17 16:48:13 +05:30
Abhinav
80f3c1bdda
small bug fixes
2022-01-17 16:48:13 +05:30
Abhinav
429211f9a8
add create sharable url logic
...
ui for opening shared collections
2022-01-17 16:48:09 +05:30
Abhinav
ef1dd9a453
return currentTrash if getTrash fails
2022-01-16 16:22:57 +05:30
Abhinav
c9bedcdd6e
return empty array if updateTrash fails
2022-01-15 13:16:27 +05:30
Abhinav
01db5a28ce
change user-plans api url
2022-01-14 18:57:44 +05:30
Abhinav
1fe2a97f8c
call user-plans api if token present
2022-01-14 17:41:33 +05:30
Abhinav
000f1546fe
fix getFileOriginalName if name doesn't have edited suffix
2022-01-12 17:00:58 +05:30
Abhinav
f37cac0a39
fix casing of ParsedMetadataJSON
2022-01-12 16:59:27 +05:30
abhinavkgrd
7dc9246519
Merge pull request #284 from ente-io/rename-type-MetadataObject-to-Metadata
...
Rename type MetadataObject to Metadata
2022-01-09 18:05:13 +05:30
abhinavkgrd
71a97caa03
Merge pull request #281 from ente-io/reuse-file-readers
...
reuse file readers
2022-01-09 18:00:51 +05:30
Abhinav
48eac037ea
fix getFileOriginalName logic
2022-01-09 12:25:40 +05:30
Abhinav
d42af9cd1a
pass reader correctly instead of passing workers
2022-01-09 11:05:50 +05:30
Abhinav
6abf883b3e
Merge branch 'reuse-file-readers' into rename-type-MetadataObject-to-Metadata
2022-01-08 13:56:22 +05:30
Abhinav
0e7ab5c886
fix if fileReader not present check
2022-01-08 13:34:50 +05:30
Abhinav
f788490573
fixc worker passed instead of FileReader to getMimeTypeFromBlob
2022-01-08 12:29:10 +05:30
Abhinav
15a03a87b3
rename type MetadataObject to Metadata
2022-01-08 10:34:40 +05:30
Abhinav
8fc784a1f5
replace one missed worker.getUint8ArrayView function
2022-01-07 18:34:42 +05:30
Abhinav
bd3d6d84ce
use global file reader and reuse them wherever possible
2022-01-07 18:28:22 +05:30
Abhinav
028bbdd01d
Merge branch 'master' into fix-queue-processing-order
2022-01-06 19:25:47 +05:30
Abhinav
9e099d4e67
moved queueProcessor to service directory
2022-01-05 13:28:24 +05:30
Abhinav
e4f649c467
refactor upload service constants and types
2022-01-05 13:27:10 +05:30
Abhinav
344d2b2c0c
move ProgressUpdater interface to UIService
2022-01-05 13:00:29 +05:30
Abhinav
7285af6977
keep NULL_LOCATION along with Location type defination
2022-01-05 12:50:10 +05:30
Abhinav
44bc3916a5
move isDataStream type check util function to types/upload
2022-01-05 12:46:57 +05:30
Abhinav
a5849600b1
move errorUtil from utils/common to utils/error
2022-01-05 12:25:48 +05:30
Abhinav
b00d7ea2b0
move file enums to constants/file
2022-01-05 12:18:46 +05:30
Abhinav
9e0fef4743
move export enums to constants/export
2022-01-05 12:14:22 +05:30
Abhinav
ce22425be9
move collection enum to constants/collection
2022-01-05 12:11:32 +05:30
Abhinav
11e990ffe9
move file constants to constants/file
2022-01-04 17:27:19 +05:30
Abhinav
88ea78ebb3
dont export constants used only in one file
2022-01-04 17:14:34 +05:30
Abhinav
9b48275144
moved upload constants to constants/upload
2022-01-04 17:12:29 +05:30
Abhinav
eddfbed37c
moved user constants to constants/user
2022-01-04 16:57:57 +05:30
Abhinav
dfdf2897d4
move constants from util to src directory and split into sub folders
2022-01-04 16:50:54 +05:30
Abhinav
b10a43b3a8
move gallery related types to types/gallery
2022-01-04 16:27:59 +05:30
Abhinav
f30a5103bc
renamed types to util/constants
2022-01-04 16:19:58 +05:30
Abhinav
41b8ed55a2
moved user related types to types/user
2022-01-04 16:09:42 +05:30
Abhinav
4011b6fbe8
move trash related types to types/trash
2022-01-04 15:51:35 +05:30
Abhinav
79f6ebc454
moved search related types to types/search
2022-01-04 15:48:33 +05:30
Abhinav
b5b31a8350
move non exported constant back to origin file
2022-01-04 15:36:16 +05:30
Abhinav
aba964922e
moved file related types to types/file
2022-01-04 15:20:14 +05:30
Abhinav
f8af3a9a39
moved export types to types/export
2022-01-04 14:21:47 +05:30
Abhinav
2aba5cb058
moved collection related types to types/collection
2022-01-04 14:17:38 +05:30
Abhinav
1a1c4d145c
created types for billing and renamed billingUtil to billing/index
2022-01-04 14:05:41 +05:30
Abhinav
530f40f5a0
Merge branch 'master' into upload-types-refactor
2022-01-04 12:20:28 +05:30
Abhinav
f45fd0d0e4
fix allElectronAPIsExist intialisation
2021-12-19 15:23:36 +05:30
Abhinav
9088942e16
fix checks
2021-12-19 14:43:30 +05:30
Abhinav
e2b3c157f5
renamed oldClient to better allElectronAPIsExist
2021-12-19 14:38:10 +05:30
Abhinav
d814359e10
add olderClient check and use olderClient logic
2021-12-19 12:24:58 +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
Abhinav
9dfd2e4ba7
Merge branch 'master' into export-v2
2021-12-07 18:25:44 +05:30
Abhinav
2e92784569
add missing await to save saveMetadataFile
2021-12-07 18:17:46 +05:30
Abhinav
85d06fc528
fix bugs
2021-12-07 18:15:12 +05:30
Abhinav
27d9d703c7
renamed exported Collection if collection name changed
2021-12-07 16:23:56 +05:30
Abhinav
5257a91864
fix addCollectionExportedRecord calls
2021-12-07 16:02:55 +05:30
Abhinav
55b2de1a53
fix collection folder creation
2021-12-07 15:41:38 +05:30
Abhinav
cf09858fb7
only export user personal files
2021-12-07 14:24:28 +05:30
Abhinav
3dd90ba538
fix getUniqueFileSaveName , by providing collectionPath too for checking if file already exists at the fileSavePath
2021-12-07 14:16:37 +05:30
Abhinav
c3e7578019
Merge branch 'master' into fix-queue-processing-order
2021-12-07 13:19:26 +05:30
Abhinav
e925663dba
make internal function private
2021-12-07 13:19:10 +05:30
Abhinav
1476e68e3c
use queueProcessor to make update sequential
2021-12-07 13:14:21 +05:30
Abhinav
710ffd202b
add missing await for saveFileToDisk
2021-12-07 12:56:50 +05:30
Abhinav
42817eb8d2
better function name
2021-12-07 12:53:32 +05:30
Abhinav
8be93db2db
use exists electron API to remove the need of in memory used fileName and collectionName maps
2021-12-07 11:53:48 +05:30
Vishnu Mohandas
79046cc694
Enable batch edit of creation-time for 243
2021-12-03 10:08:54 +05:30
Abhinav
e9e777f5eb
better function name
2021-11-30 22:51:47 +05:30
Abhinav
9dfcbacaea
adds comments
2021-11-30 12:23:11 +05:30
Abhinav
c84ee17a7c
move version check logic to migrateExport function
2021-11-30 12:18:02 +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
cff0959cf3
Merge branch 'master' into export-v2
2021-11-29 14:56:22 +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
1f3734b577
fix isFileHEIC check
2021-11-29 12:09:21 +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
2260374fa0
add live photo upload support
2021-11-26 16:16:50 +05:30
Abhinav
fe6d0c4125
merge master into export-v2
2021-11-26 12:06:58 +05:30
Abhinav
33bd80f571
fix metadata json map setting
2021-11-26 12:04:46 +05:30
abhinavkgrd
4c30c45724
Merge pull request #249 from ente-io/ffmpeg-load-fail-handling
...
ffmpeg load fail handling
2021-11-25 12:11:53 +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
7f8d2b84c8
clear failed ffmpeg instance..so new load is trigerred
2021-11-25 11:28:16 +05:30
Abhinav-grd
66eb9478aa
add debug logs
2021-11-23 21:43:37 +05:30
Abhinav
62a761e5ca
handle missing key or token
2021-11-23 09:45:19 +05:30
Abhinav
e13787df7a
only pass non trashed file user files for search
2021-11-20 12:15:51 +05:30
Abhinav
8929f235e7
improve error handling
2021-11-20 12:06:25 +05:30
Abhinav
b928052165
make fix creation time visible to array of userIds
2021-11-19 00:25:11 +05:30
Abhinav
18c6edab2c
null check
2021-11-19 00:25:11 +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
d62739e259
show fix creation for selected user
2021-11-17 15:10:09 +05:30
Abhinav
8d4dff4c38
fix collection unique name and file name
2021-11-17 14:54:26 +05:30
Abhinav
2273dcdc76
adds util for getting metadata folderpath
2021-11-17 14:11:04 +05:30
Abhinav
eed7f5e288
change updateFileModifyDateInEXIF to updateFileCreationDateInEXIF
2021-11-17 14:06:53 +05:30
Abhinav
a4654413d4
no need to migrate metadata folder
2021-11-17 13:58:08 +05:30
Abhinav
8ad2d3f23f
skip non image file before downoading itself
2021-11-17 13:51:21 +05:30
Abhinav
0c23ace8ff
remove redundant code
2021-11-17 13:29:46 +05:30
Abhinav
f8de2f21c7
move setProgressTracker to finally block for any case update
2021-11-17 13:16:29 +05:30
Abhinav
80aa50b8fb
only try to parse image exif
2021-11-17 13:11:33 +05:30
Abhinav
da02db2a49
update DateTimeOriginal property with editedTime
2021-11-16 17:21:01 +05:30
Abhinav
3de18c4fbd
migrate export if previous export version less than current
2021-11-16 16:45:58 +05:30
Abhinav
80fda73a79
move fix CreationTime option to selectionOption bar
2021-11-16 12:27:23 +05:30
Abhinav
f94322ddef
log the exifparsing inside getExifData itself
2021-11-16 11:40:46 +05:30
Abhinav
799f85b089
fix process queue processed from the end
2021-11-15 13:58:52 +05:30
Abhinav
e8aa6141dd
bubble up error to caller from queue processor
2021-11-13 12:50:37 +05:30
Neeraj Gupta
ad11422034
Merge pull request #220 from ente-io/fix-file-type-not-logged
...
fix file type not logged on image thumbnail generation fail
2021-11-12 10:50:47 +05:30
Abhinav
eafa14c155
Merge branch 'master' into export-v2
2021-11-11 13:18:36 +05:30
Abhinav
6a482c937e
added error handling for updateFileModifyDateInEXIF
2021-11-11 13:11:16 +05:30
Abhinav
9a3aa75d1e
better variable names
2021-11-11 13:07:19 +05:30
Abhinav
dd6fbb29df
await on returned promised to handle error itself
2021-11-11 13:02:20 +05:30
Abhinav
220d7ba62e
fixed date format set in exif
2021-11-11 12:54:28 +05:30
Abhinav
f92fa1c331
replace dataURL so that piexif considers file as JPEG
2021-11-11 12:54:28 +05:30
Abhinav
2636568724
if file has edited Time and is jpeg then update the exif ModifyDate with the edited time
2021-11-11 12:54:28 +05:30
Abhinav
e6056f0ea3
adds exif update logic
2021-11-11 12:54:28 +05:30
Abhinav
824dc54d76
adds getFileExtension util
2021-11-11 12:54:28 +05:30
Abhinav
dfefa9f546
merge metadata for file before export
2021-11-11 12:54:28 +05:30
Abhinav
4deba2df42
update save file name and collection name parenthesied number for same name instead of using ids to make them unique
2021-11-11 12:54:28 +05:30
Abhinav
88f643192c
fix getExifData breaking for some files
2021-11-10 14:53:23 +05:30
Abhinav
c47d24eb8c
removed unneccessary getExifDataFromURL
2021-11-10 14:52:40 +05:30
Abhinav
3d3213e989
replace exif only if creationTime different than exif
2021-11-10 13:47:21 +05:30
Abhinav
76842b92a6
Merge branch 'master' into fix-creation-time
2021-11-10 12:50:34 +05:30
Vishnu Mohandas
46b7bada93
Merge pull request #219 from ente-io/fix-collection-sort
2021-11-10 12:41:30 +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
270c43521d
better solution to avoid saving merged metadata to local storage
2021-11-10 10:21:29 +05:30
Abhinav
7245af0cc8
honor edited property in metadata
2021-11-09 22:40:57 +05:30
Abhinav
b651d16ee5
skip shared-collections during export
2021-11-09 22:40:57 +05:30
Abhinav
3c5e74f16d
update the files array so that returned files from the function is sorted as the caller expect sorted files and use spread operator so that deep copy of file is used to set state to avoid #212 problem
2021-11-09 17:08:27 +05:30
Abhinav
ebe839acf0
Merge branch 'master' into update-file-title
2021-11-09 15:46:12 +05:30
Abhinav
b47cf3b1fa
await for fetchUploadURLs
2021-11-05 18:36:25 +05:30
Abhinav
91825db617
Merge branch 'master' into update-file-title
2021-11-05 13:26:12 +05:30
Abhinav
80ba92c98c
dont export getCollectionLastSyncTime
2021-11-04 19:25:19 +05:30
Abhinav
7444ad183e
dont set files directly to state, use a copy
2021-11-04 19:01:02 +05:30
Abhinav
d2ee821977
refactored getCollectionLastSyncTime
2021-11-04 18:53:35 +05:30
Abhinav
8d79b443fe
add setLocalFile and remove appendPhotoSwipeProps funcitons
2021-11-04 18:46:04 +05:30
Vishnu Mohandas
8f77bda4c6
Merge pull request #210 from ente-io/update-change-creation-time-ui
...
Update change creation time UI
2021-11-03 22:02:52 +05:30
Abhinav
e573a7f180
fix file not found chrome error
2021-11-03 21:24:46 +05:30
Abhinav
4c5df92e51
add max and min time limit
2021-11-03 20:06:00 +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
Vishnu Mohandas
d8eb2231be
Merge pull request #207 from ente-io/migrate-trashed-file-thumbnail
...
migrate trashFiles thumbnail too
2021-11-03 15:53:23 +05:30
Abhinav
801de8f3cc
add log if all large thumbnail are not present locally
2021-11-02 21:05:23 +05:30
Abhinav
ee67921a75
migrate trashFiles thumbnail too
2021-11-02 20:59:31 +05:30
Abhinav
af302f6980
send fileType info with exif data missing logs
2021-11-02 20:50:07 +05:30
Abhinav
99169e407a
correct lower limit edited time
2021-11-02 14:10:03 +05:30
Abhinav
f43e2cf6d6
added file name charcter limit
2021-11-02 13:21:00 +05:30
Abhinav
0263e5cb38
ad change file title logic
2021-11-02 13:05:41 +05:30
Abhinav
3eaf583f7b
return upated file as updateMagicMetadata response
2021-11-02 12:22:38 +05:30
Abhinav
916e84c58e
reafactor code
2021-11-02 11:52:13 +05:30
Abhinav
5b95215e07
mergeMetadata before every setFiles call
2021-11-02 11:13:35 +05:30
Abhinav
9603fba46c
adds max and min date limit
2021-11-01 23:53:34 +05:30
Abhinav
4b3e9f9e08
Merge branch 'master' into update-creation-time
2021-11-01 22:37:55 +05:30
Abhinav
d9fae0bf5d
Merge branch 'master' into update-creation-time
2021-10-31 19:25:21 +05:30
Abhinav
df0bfd0c2b
fix update magic metadata
2021-10-30 20:39:52 +05:30
Abhinav
ebccb6a981
merge metadatas before sorting
2021-10-30 20:35:45 +05:30
Abhinav
dc794090a6
update pubMagicMetadat prop name from creationTime to editedTime
2021-10-30 19:02:17 +05:30
Abhinav
1fe2766ce9
Merge branch 'master' into collection-diff-v2
2021-10-30 08:36:38 +05:30
Abhinav
243a39c904
update to collection diff v2
2021-10-30 08:26:30 +05:30
Abhinav
8fb7146236
use public metadata creation time for sorting
2021-10-29 17:39:57 +05:30
Abhinav
69c9f423fe
adds publicMetadata data update and parsing logic
2021-10-29 17:22:08 +05:30
Abhinav
8afcd3a766
refactor changeFilesVisibility to have a seperate updateMagicMetadata function and move encryption logic to upateMagicMetadata API
2021-10-29 17:15:06 +05:30
Abhinav
c918225f4a
updates MagicMetadata related type definations
2021-10-29 17:11:13 +05:30
Abhinav
ed6be1cde1
fix generateThumbnail call during replaceThumbnail
2021-10-29 14:20:45 +05:30
Abhinav-grd
2689e81da0
Merge pull request #195 from ente-io/better-error-logs
...
improved error logs for failures during thumbnail generation
2021-10-29 09:56:10 +05:30
Abhinav
7ccc0b59f7
Merge branch 'master' into trash
2021-10-28 14:36:20 +05:30
Abhinav
d5902aae84
Merge branch 'master' into remove-file-from-collection
2021-10-28 14:09:42 +05:30
Abhinav
86f1891d77
Merge branch 'master' into remove-file-from-collection
2021-10-28 14:08:01 +05:30
Abhinav
165958f772
Merge branch 'master' into migrate-large-thumbnails
2021-10-27 13:46:47 +05:30
Abhinav
244f59c7a6
Merge branch 'master' into better-error-logs
2021-10-27 13:30:54 +05:30
Abhinav
b07ffbd820
make ffmpeg thumbnail output height to 720
2021-10-27 12:51:15 +05:30
Abhinav
b587ea70fa
fix file name of ffmpeg in-memory file
2021-10-27 12:43:03 +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