Commit graph

1316 commits

Author SHA1 Message Date
Abhinav 36c141de0e add USE_CF_PROXY flag 2022-05-31 13:01:54 +05:30
Abhinav Kumar 31c06a759a
Merge pull request #567 from ente-io/fix-live-photo-cluterring
Fix live photo cluterring
2022-05-30 23:11:14 +05:30
Abhinav d4a44eeb28 add comments 2022-05-30 22:59:14 +05:30
Abhinav 9a1b6509b3 filter out files without metadata before calling sending files for livePhoto clustering 2022-05-30 22:31:37 +05:30
Abhinav c390c79eaa add error log to clusterLivePhotoFiles 2022-05-30 22:00:22 +05:30
Abhinav f9b143c67a return false from isTokenValid only if api resonse is 401 2022-05-30 21:23:03 +05:30
Abhinav Kumar acbf5c78da
Merge pull request #559 from ente-io/dev-2
Group dedupes by same file hashes when possible
2022-05-23 18:59:12 +05:30
Rushikesh Tote 959df48cb6 refactor 2022-05-23 18:57:49 +05:30
Rushikesh Tote 55fd0fda4b group dedupes by same file hashes when possible 2022-05-23 18:32:35 +05:30
Abhinav 2087a72105 remove reader for parsing medatata json 2022-05-23 18:08:57 +05:30
Abhinav 381bd9ab95 wrap electron file in getUint8ArrayView function 2022-05-23 18:02:00 +05:30
Abhinav 593eee8992 mantain old code if we have to revert 2022-05-23 17:31:48 +05:30
Abhinav fd9e318850 update log for getUint8ArrayView 2022-05-23 17:29:33 +05:30
Abhinav c0d50d7aaa add logs for read file failing 2022-05-23 16:51:36 +05:30
Abhinav b53aac4961 use getUint8ArrayView function inconvertHEIC 2022-05-23 16:49:45 +05:30
Abhinav 6fdefff035 add error log to getUint8ArrayView 2022-05-23 16:46:19 +05:30
Rushikesh Tote a740ac2e36 move to arrayBuffer instead of readAsArrayBuffer 2022-05-23 14:41:07 +05:30
Abhinav Kumar ac9542b23a
Merge pull request #545 from ente-io/hash-dedupe
Dedupe using file hash
2022-05-20 19:54:50 +05:30
Rushikesh Tote 3de2bc21aa chain sort 2022-05-20 13:35:03 +05:30
Abhinav c350ac1ca7 keep orignal file extension 2022-05-20 12:44:24 +05:30
Abhinav f5cc8f79c2 add mod as format missed by file-type lib 2022-05-20 12:43:53 +05:30
Rushikesh Tote c54f5cb4f5 compare only file hashes 2022-05-20 10:35:36 +05:30
Abhinav Kumar 07ef4b397e
Merge pull request #534 from ente-io/workers-upload
Workers Uploads
2022-05-19 21:31:41 +05:30
Abhinav Kumar 623441fe9d
Merge pull request #537 from ente-io/file-hash
Check file hashes when uploading
2022-05-19 18:05:08 +05:30
Rushikesh Tote 6f4414793f fix build 2022-05-19 17:49:42 +05:30
Rushikesh Tote dad5e57e11 dedupe by file hash 2022-05-19 17:36:04 +05:30
Rushikesh Tote 7fcfb5b9a7 remove creating new FileReader 2022-05-19 16:57:10 +05:30
Rushikesh Tote 12d341b1be changes based on review comments 2022-05-19 16:50:59 +05:30
Abhinav Kumar 8b67cab5d3
Merge pull request #543 from ente-io/file-reading-failed-logs
add file size to failed to read file error log
2022-05-19 14:52:17 +05:30
Abhinav 97d8d3fd03 improve comment 2022-05-19 14:29:06 +05:30
Abhinav c079acf96a add explainatory comment 2022-05-19 13:15:21 +05:30
Rushikesh Tote 520a6c88bb skip decryption when file only added to collection 2022-05-19 13:10:40 +05:30
Rushikesh Tote 11b755a461 check for file hash when uploading 2022-05-19 13:05:48 +05:30
Rushikesh Tote 2b8d47e087 Merge branch 'master' into file-hash-dev 2022-05-19 13:04:23 +05:30
Abhinav 8f19404870 create local copy of convertBytesToHumanReadable to prevent loading window through indirect import 2022-05-19 13:02:37 +05:30
Abhinav 94e8e501f2 log file size on file reading fail 2022-05-19 13:01:55 +05:30
Abhinav 87c88056ab move uploadClientV2 to uploadClient v2 functions 2022-05-19 11:42:56 +05:30
Abhinav 28d06ae94a Merge branch 'allow-electron-2gb+' into thumbnail-generation-failed-section 2022-05-18 15:38:41 +05:30
Abhinav b032b61045 remove electron limit 2022-05-18 15:31:41 +05:30
Abhinav ab431c66df Revert "remove upload limits"
This reverts commit 57e421886d.
2022-05-18 15:29:15 +05:30
Abhinav 1f7bd273b0 better names 2022-05-18 14:58:47 +05:30
Abhinav 80a731be6f fix issues 2022-05-18 14:53:28 +05:30
Abhinav f67e5e67d0 added uploaded with black thumbnail upload result 2022-05-18 14:52:09 +05:30
Abhinav 451a9fe7e5 remove braces 2022-05-18 14:39:13 +05:30
Abhinav fe9e30791e remove redundant import 2022-05-18 14:35:15 +05:30
Abhinav 14f52de2ba add better error logs on file read fail 2022-05-18 14:33:35 +05:30
Abhinav 57e421886d remove upload limits 2022-05-18 14:33:33 +05:30
Abhinav 9d90f4a9a9 skip videoMetadata extraction and thumbnail generation for electron 2gb+ files but allow upload 2022-05-18 12:44:16 +05:30
Rushikesh Tote f49b53db0f move getFileHash to crypto 2022-05-18 12:41:39 +05:30
Abhinav 313746b45a add storage estimate log if local storage setItem fails 2022-05-17 23:46:59 +05:30