Commit graph

3187 commits

Author SHA1 Message Date
Rushikesh Tote bcf1c57e6c refactor deduplicate page 2022-03-27 17:47:54 +05:30
Rushikesh Tote 92408aef8b rename state 2022-03-26 20:39:35 +05:30
Rushikesh Tote 77ddda802a refactor selected options bar 2022-03-26 20:27:54 +05:30
Rushikesh Tote 2394818d89 address review comments 2022-03-26 20:08:52 +05:30
Abhinav Kumar c580ac60c8
Merge pull request #434 from ente-io/fix-heic-convert-fail
Fix heic conversion failing
2022-03-25 22:16:06 +05:30
Abhinav 6ee39b4005 adding exporting logs logline 2022-03-25 22:13:22 +05:30
Rushikesh Tote 36a2a71b44 fix file size 2022-03-25 16:09:36 +05:30
Rushikesh Tote 6161842dd7 fix import 2022-03-25 15:11:44 +05:30
Rushikesh Tote 1532c85219
Merge branch 'master' into recover-failed-imports 2022-03-25 15:03:59 +05:30
Rushikesh Tote ddb37de58c refactor trash files 2022-03-25 14:48:15 +05:30
Rushikesh Tote 7c047f2306 rendering file sizes and count 2022-03-25 14:32:33 +05:30
Rushikesh Tote b8e33fa13e styling top bar 2022-03-25 10:06:14 +05:30
Rushikesh Tote 0ab6ef8480 batch trash files 2022-03-25 09:35:14 +05:30
Rushikesh Tote a71eab199c refactor according to review 2022-03-24 20:58:54 +05:30
Rushikesh Tote ccb56ad313 update on each successful upload 2022-03-24 17:08:01 +05:30
Rushikesh Tote 3947206716 remove type attribute from ElectronFile 2022-03-24 11:40:38 +05:30
Rushikesh Tote 26f10156c3 fix file name 2022-03-24 11:36:22 +05:30
Rushikesh Tote 1a402b1001 get file type in web app 2022-03-24 10:52:36 +05:30
Rushikesh Tote 605a54cabd move choice modal to upload 2022-03-24 09:34:49 +05:30
Rushikesh Tote 35c07784bb refactor according to review 2022-03-24 09:23:57 +05:30
Rushikesh Tote 1285a2231d added rendering for deduplication 2022-03-23 13:06:24 +05:30
Rushikesh Tote 6e5d38e772 fix errors 2022-03-22 18:34:47 +05:30
Rushikesh Tote 497ea885e1 added deduplication service 2022-03-22 18:31:59 +05:30
Rushikesh Tote e0098184e9 refactor choice modals 2022-03-22 16:03:33 +05:30
Rushikesh Tote 17dc4fc70b move icons to component 2022-03-22 15:01:39 +05:30
Rushikesh Tote 42bfc71de6 address review comments 2022-03-22 11:38:15 +05:30
Rushikesh Tote afc7057e30 fix styling 2022-03-21 20:10:31 +05:30
Rushikesh Tote 7744064a90 center icon 2022-03-21 16:24:10 +05:30
Rushikesh Tote 499e087d30 fix width of modal 2022-03-21 15:19:16 +05:30
Rushikesh Tote 4e44eb458e styling upload modal 2022-03-21 14:33:18 +05:30
Rushikesh Tote 02ee68e5a3 refactor 2022-03-20 16:39:49 +05:30
Rushikesh Tote 7a6e14d12f added native file upload for electron 2022-03-18 18:30:01 +05:30
Abhinav Kumar 7a74b5e985
Merge pull request #450 from ente-io/improve-disable-download
Improve disable download
2022-03-18 18:18:27 +05:30
Abhinav b84ffbb8bc disable right click menu for images 2022-03-17 17:04:49 +05:30
Abhinav 3089ca2939 fix live photo layout 2022-03-17 15:28:16 +05:30
Abhinav 4256b0ef95 revert to setting src for images 2022-03-17 12:53:28 +05:30
Abhinav 64e305389c consistent classNames 2022-03-17 11:13:34 +05:30
Abhinav fcfb27edc4 log commit hash and app startup 2022-03-15 09:36:25 +05:30
Rushikesh Tote 1082a71359
fix types 2022-03-14 18:40:01 +05:30
Rushikesh Tote 86f46d0397
remove console logs 2022-03-14 18:17:51 +05:30
Rushikesh Tote 02f69dea51
modified condition to check if files are same 2022-03-14 18:14:32 +05:30
Abhinav af9e8d1a61 move timeout logic to heicConverterService 2022-03-14 09:44:47 +05:30
Abhinav abe68ba660 reject on error 2022-03-14 09:11:50 +05:30
Abhinav Kumar bd92862f71
Merge pull request #449 from ente-io/fix-manage-sharable-URL
Fix manage sharable url
2022-03-13 15:08:22 +05:30
Abhinav 59aef4795e better error message 2022-03-13 15:06:24 +05:30
Abhinav 3305840c9f add check to only send jwt token header if token present 2022-03-13 15:05:33 +05:30
Abhinav 1eee3c8093 add better logging 2022-03-13 15:05:33 +05:30
Vishnu Mohandas 88ac1c81e5
Update englishConstants.tsx 2022-03-13 13:13:59 +05:30
Abhinav 5c18cc2c7f fix minor style 2022-03-13 12:43:37 +05:30
Abhinav 80571c3c1e key already in B64 format 2022-03-13 12:38:00 +05:30
Rushikesh Tote 579f7eecf6
fix to recover failed imports on the desktop app 2022-03-13 11:57:14 +05:30
Abhinav Kumar 67ee9506b4
Merge pull request #440 from ente-io/improve-exif-parsing
parseExif by self if exifr return unparsed value
2022-03-11 20:28:16 +05:30
Abhinav 5e58a9d671 rename to dateTime 2022-03-11 20:20:56 +05:30
Abhinav 74eac71440 refactor code 2022-03-11 20:19:55 +05:30
Abhinav 935e09f2b8 return null on error 2022-03-11 20:11:59 +05:30
Abhinav 0e45731c3a parseExif by self if exifr return unparsed value 2022-03-11 20:00:55 +05:30
Abhinav cbad95fef5 refactoring 2022-03-11 19:05:56 +05:30
Abhinav 603d961eca Merge branch 'master' into settings_button 2022-03-11 19:01:26 +05:30
Abhinav bfbb68d43d add blocking loader 2022-03-11 18:52:54 +05:30
Abhinav bce4ec4a67 style refactor 2022-03-11 18:44:24 +05:30
Abhinav eef77ab4c8 improve style 2022-03-11 18:27:21 +05:30
Abhinav c34460e5da set defaultValue instead of placeholder for device limit 2022-03-11 17:10:58 +05:30
Abhinav 68694218c0 change lock input field type to password 2022-03-11 16:56:55 +05:30
Abhinav 80ba749998 scroll into view the last setting option 2022-03-11 15:46:55 +05:30
Abhinav 446e8a4071 add padding for when link sharing is disabled 2022-03-11 14:26:55 +05:30
Abhinav c7065731b5 allow customizable work wrap property 2022-03-11 14:23:17 +05:30
Abhinav 0c2ef1f9b8 return results 2022-03-11 13:41:50 +05:30
Abhinav dba3fbf1b4 center align and hover highlight 2022-03-11 13:34:34 +05:30
Abhinav 0d0fb9fa65 use detail summary html tags for Accordion effect 2022-03-11 12:58:56 +05:30
Abhinav 6eec9a8af6 reduce retry to 3 2022-03-10 22:07:30 +05:30
Abhinav 8da1a3d2eb add heic conversion failed logs 2022-03-10 21:41:07 +05:30
Abhinav d55ceb4d8b logError on each failed attempt 2022-03-10 21:38:57 +05:30
Abhinav d14f2b0dd8 retry correctly 2022-03-10 21:38:42 +05:30
Abhinav 6b5e4e5f0b reduce wait and breath time 2022-03-10 21:23:14 +05:30
Abhinav b84e49d1e4 handle revive fail 2022-03-10 19:55:38 +05:30
Abhinav c64ff595ab style link expiry 2022-03-10 19:31:30 +05:30
Abhinav 6a39727a48 improve password entry 2022-03-10 19:22:51 +05:30
Abhinav 0bb5f480e2 style selects 2022-03-10 19:02:12 +05:30
Abhinav 24eed60538 style a little better 2022-03-10 18:14:57 +05:30
Abhinav 9bf97ff457 add retry for heic conversion 2022-03-10 13:16:36 +05:30
Abhinav 9b7ed8042f convert retryAsyncFunction into a generic retrier 2022-03-10 13:16:11 +05:30
Abhinav c594364f06 add upload http callls specific retrier 2022-03-10 13:14:42 +05:30
Abhinav c61dbccdb1 add a 100ms breath time after heic conversion 2022-03-10 12:38:28 +05:30
Abhinav 32054aa2c5 dont throw error 2022-03-10 12:13:30 +05:30
Abhinav 933fd2f367 discard worker and create new one if heic conversion fails 2022-03-10 12:10:18 +05:30
Abhinav 6a4a1e4f42 Merge branch 'master' into fix-heic-convert-fail 2022-03-10 10:12:04 +05:30
Abhinav Kumar 0cbabbc234
Revert "Skip jpeg type detection" 2022-03-10 09:54:03 +05:30
Abhinav eeb877b62b add type to prevent mistakes 2022-03-10 09:39:27 +05:30
Abhinav 431de40d55 remove global convert worker 2022-03-10 09:36:21 +05:30
Abhinav 992b8fb1d8 fix variable name 2022-03-10 09:24:57 +05:30
Abhinav cb754b562b move FORMAT_MISSED_BY_FILE_TYPE_LIB to typeDetectionService 2022-03-10 09:23:46 +05:30
Abhinav 6c9385a65d Revert "Merge pull request #435 from ente-io/skip-jpeg-type-detection"
This reverts commit 4f6e3158b4, reversing
changes made to 0ced60ac05.
2022-03-10 09:21:13 +05:30
Abhinav 551ed5804d Merge branch 'master' into fix-heic-convert-fail 2022-03-10 09:19:31 +05:30
Abhinav 5ad398b3a6 add type to prevent mistakes 2022-03-09 14:37:42 +05:30
Abhinav e6592284aa fix bug 2022-03-09 14:28:03 +05:30
Abhinav 427d138b78 only do heic convert files who whose extension is heic/heif 2022-03-09 14:12:50 +05:30
Abhinav 6bd11414d3 updated file-type library to latest version 2022-03-09 13:27:09 +05:30
Abhinav b4e40ff036 skip jpeg type detection 2022-03-09 13:23:02 +05:30
Abhinav 9b53942257 revert to jpeg 2022-03-09 13:14:32 +05:30
Abhinav 34efd0362d limit parallel exection to one 2022-03-09 13:01:58 +05:30
Abhinav 1ef333a15c remove console logs 2022-03-09 12:46:38 +05:30
Abhinav 206b15b962 add timeout to heic conversion 2022-03-09 12:44:07 +05:30
Abhinav faad7f554e increase heic count 2022-03-09 11:15:59 +05:30
Abhinav a96c81451a bug fix 2022-03-09 11:11:56 +05:30
Abhinav 8458ae8a2c fail if thumbnail generation fails 2022-03-09 11:10:36 +05:30
Abhinav ec15d63a7f handle HIEC multiple externally , process two files at a time , using a double the size of that as worker pool also use png as it didn't crash for two parralel files and add a timeout to heic conversion 2022-03-09 11:10:20 +05:30
Abhinav Kumar d8de8bb250
Merge pull request #429 from ente-io/ios_import_support
Support for preserving iCloud Album structure
2022-03-08 10:52:34 +05:30
Abhinav 74ce03748a will defintely have collection in uploader,
if not the process should fail lets not silently ignore it
2022-03-08 10:51:03 +05:30
Abhinav 0a6cdd024a fix typo 2022-03-08 10:43:33 +05:30
Abhinav b3fd97a6e5 disable logs 2022-03-07 19:19:12 +05:30
Abhinav df3eaa8a00 improve ready 2022-03-07 19:12:44 +05:30
Abhinav e8a1f8b042 fix ffmpegClient 2022-03-07 19:07:13 +05:30
Abhinav c771e955c2 undo testing changes 2022-03-07 18:49:28 +05:30
Abhinav d3ce6e9a62 fix ffmpegService import 2022-03-07 18:49:16 +05:30
Abhinav de174c2a37 offload ffmpeg operations on custom worker 2022-03-07 18:48:46 +05:30
Abhinav 7b827bde68 refactor ffmpeg specfic code to ffmpeg util 2022-03-07 18:46:53 +05:30
Neeraj Gupta 1f161568da
address review comments 2022-03-07 17:53:56 +05:30
Neeraj Gupta 1fcc45c036
address review comments 2022-03-07 17:51:59 +05:30
Abhinav e1b7212496 Merge branch 'refactor-services' into ffmpeg-single-thread 2022-03-07 17:30:14 +05:30
Abhinav da53e12869 build fix 2022-03-07 17:29:21 +05:30
Abhinav 47737d2dea refactor and create typeDetectionService and readerService 2022-03-07 17:26:11 +05:30
Neeraj Gupta 05faaeb0c9
minor refactoring 2022-03-07 17:18:05 +05:30
Neeraj Gupta 3dcf337f6c
Support for preserving iCloud Album Struture 2022-03-07 16:54:27 +05:30
Abhinav a78257a3f8 uplaod video as image for testing thums 2022-03-07 15:58:10 +05:30
Abhinav a9652e5b6c single threaded ffmpeg exit running change worked 2022-03-07 13:10:44 +05:30
Abhinav ab64c84f64 Revert "update to use single use ffmpeg st"
This reverts commit 65667ac416.
2022-03-07 13:07:25 +05:30
Neeraj Gupta 8ccb53cf4b
rename deriveIntermediateKey -> deriveInteractiveKey 2022-03-06 21:06:20 +05:30
Neeraj Gupta 9c48b6b120
reuse existing method for generating passhash 2022-03-06 20:59:54 +05:30
Neeraj Gupta c25b182296
move expirty options to util 2022-03-06 13:49:09 +05:30
Neeraj Gupta 9fb2cd0fd4
minor refactoring 2022-03-06 13:45:01 +05:30
Neeraj Gupta 483be815ee
remove dependency from luxon 2022-03-06 13:40:10 +05:30
Abhinav 65667ac416 update to use single use ffmpeg st 2022-03-05 18:44:44 +05:30
Abhinav 98f1f98650 add progress bar for metadata extraction 2022-03-05 13:32:57 +05:30
Abhinav 6406867770 update to use the local ffmpeg wasm package 2022-03-05 12:39:17 +05:30
Abhinav 009590ef54 add option to skip put for local 2022-03-05 07:51:02 +05:30
Abhinav 3c04dc3af5 make updateURlL and onSelect optional 2022-03-04 21:02:38 +05:30
Abhinav 3db5e786ed updated file with new updated urls in preview card too 2022-03-04 20:56:04 +05:30
Abhinav 9a34041b54 avoid creating deep copy of files 2022-03-04 20:34:39 +05:30
Abhinav ff11cb14bc verbose logs 2022-03-04 13:14:39 +05:30
Abhinav dfffd10fa9 fix keep newer logs 2022-03-04 12:35:35 +05:30
Abhinav 98238b103e limit to 1000 log lines max 2022-03-04 12:26:51 +05:30
Vishnu 506c3984ac Update styles for the debug logs button 2022-03-04 12:20:44 +05:30
Abhinav 76776fcf5d set file name for converted file 2022-03-04 11:13:38 +05:30
Abhinav 3c0dc7a63d log skipped files 2022-03-04 09:35:53 +05:30
Abhinav 4ac55d2837 remove unwanted strings 2022-03-04 09:28:01 +05:30
Abhinav 9d5917516c Revert "log last attemped video metadata extraction"
This reverts commit d72f16a884.
2022-03-04 09:24:15 +05:30
Abhinav 6919d3070f remove Section export 2022-03-04 09:22:23 +05:30
Abhinav bb3ff10d9f allow to download empty debug log 2022-03-04 09:21:04 +05:30
Abhinav 53bd9da49b delete upload logs modal 2022-03-04 09:19:21 +05:30
Abhinav 8aad9638d0 remove failed uploads dialog 2022-03-04 09:17:32 +05:30
Abhinav 685bc14899 added upload logs and download log option 2022-03-04 09:16:18 +05:30
Abhinav 72e0f7318c add upload logs 2022-03-04 08:40:14 +05:30
Abhinav 91ad161e05 show last attempted File in upload logs 2022-03-04 07:56:28 +05:30
Abhinav d72f16a884 log last attemped video metadata extraction 2022-03-04 07:27:33 +05:30
Neeraj Gupta 85ad90a1f6
minor refactoring based on review 2022-03-03 22:21:17 +05:30
Neeraj Gupta fe96581ca9
Fix bug in validating password length 2022-03-03 22:00:09 +05:30
Neeraj Gupta bb456850f0
minor rename 2022-03-03 21:55:23 +05:30
Neeraj Gupta e7098ac30b
fix typo 2022-03-03 21:46:23 +05:30
Neeraj Gupta 44ef819f07
switch to interactive limit for password hash 2022-03-03 19:43:59 +05:30
Abhinav Kumar f24f2bd00f
Merge pull request #411 from ente-io/log-failed-files
Log failed files
2022-03-03 19:03:04 +05:30
Abhinav 9225cb70fa log file size along with file name 2022-03-03 17:15:02 +05:30
Neeraj Gupta 0e32b2ac89
Merge branch 'master' into settings_button 2022-03-03 16:51:52 +05:30
Neeraj Gupta 133e807d14
add support for configuring link password 2022-03-03 16:48:28 +05:30
Abhinav 17dd56a999 log failed files only 2022-03-03 14:53:20 +05:30
Vishnu Mohandas b67c200580
Update englishConstants.tsx 2022-03-03 14:33:29 +05:30
Abhinav 83c65e67ed preview support is here 🎉
remove the notification for preview support coming
2022-03-03 12:49:28 +05:30
Abhinav 54e407b76f button already has disabled prop 2022-03-03 12:33:17 +05:30
Abhinav 1c3cbd145c disable live photo button when while loading 2022-03-03 12:31:06 +05:30
Abhinav 651a12426a fix casing 2022-03-03 11:59:54 +05:30
Rushikesh Tote 81aba874cb
refactor live photo elements 2022-03-03 11:47:55 +05:30
Rushikesh Tote 34dd456063
styling live photo button 2022-03-03 10:18:08 +05:30
Abhinav 54fdedd983 add failed uploads list sidebar option 2022-03-03 10:06:04 +05:30
Rushikesh Tote c1d7ba5007
refactor live photo button 2022-03-03 09:46:44 +05:30
Abhinav 5bf20e046e log failed files in localDB 2022-03-03 09:33:18 +05:30
Rushikesh Tote 5c40812b4c
Merge branch 'master' 2022-03-03 00:00:01 +05:30
Abhinav Kumar 913a3a65aa
Merge pull request #409 from ente-io/fix-loading
Fix loading
2022-03-02 22:30:44 +05:30
Abhinav f53dfe2c33 fix set src for image and live photo 2022-03-02 19:42:26 +05:30
Abhinav 8473d7b5ea set thumbnail as image for livePhoto too 2022-03-02 17:26:10 +05:30
Abhinav d1f4b935e1 add loading bar when src file is loading 2022-03-02 17:23:14 +05:30
Rushikesh Tote 70084fdc80
cleanup 2022-03-02 16:31:14 +05:30
Abhinav bdb356287e remove console log 2022-03-02 16:22:34 +05:30
Abhinav fa2b04a6da fix srcUrl not updating until changing slide 2022-03-02 16:18:10 +05:30
Abhinav ae8db26a00 fix video loader not showing issue 2022-03-02 16:17:06 +05:30
Neeraj Gupta 44eecaf92f
Increase timeout for thumbnail gen 10s -> 30s
During testing, observed that for multiple copies of the same HEIC files, the thumbnail was blank for some files due to timeout error. 
Increasing this timeout fixed the issue.
2022-03-02 12:43:22 +05:30
Rushikesh Tote 28197afd23
Merge branch 'master' into add-livephoto-support 2022-03-02 12:00:55 +05:30
Rushikesh Tote c83e15a461
fixed live photo event listeners 2022-03-02 11:51:50 +05:30
Abhinav a4d9526b22 show fade out in transistion using css 2022-03-01 19:19:39 +05:30
Rushikesh Tote 890c41da69
fixed styling, live photo split 2022-03-01 18:19:07 +05:30
Abhinav Kumar ba2cdacec5
Merge pull request #391 from ente-io/ffmpeg-video-metadata
Ffmpeg video metadata
2022-03-01 13:18:24 +05:30
Abhinav a86b9134d2 also check location tag in the metadata as fallback 2022-03-01 12:50:45 +05:30
Neeraj Gupta cb56fc7fa4
add support to change validity and deviceLimits 2022-03-01 07:07:58 +05:30
Abhinav 7144618241 update string 2022-02-28 20:40:54 +05:30
Abhinav ca13691688 extractedMetadata will allows have the properties so no need of conditional access 2022-02-28 18:27:44 +05:30
Abhinav a866d109e5 rename getUNIXTime to getUnixTimeInMicroSeconds 2022-02-28 17:44:23 +05:30
Abhinav b4e01a5e72 update strings 2022-02-28 17:39:36 +05:30
Abhinav 825d3544bc handle paypal plans 2022-02-28 15:59:44 +05:30
Abhinav 222167878a better handle metadata extraction failure 2022-02-28 14:03:47 +05:30
Neeraj Gupta 548895f522
PublicUrl: Support for enabling/disabling file download 2022-02-28 14:03:39 +05:30
Neeraj Gupta f37b660014
type: update interface for PublicURL 2022-02-28 13:50:10 +05:30
Abhinav cf1f55e68a moved types and getUnixTime to time util 2022-02-28 13:48:52 +05:30