Commit graph

795 commits

Author SHA1 Message Date
abhinav-grd b53c978093 set REPLACE_THUMBNAIL_THRESHOLD to 500KB 2021-10-19 13:49:03 +05:30
abhinav-grd c9959994a5 rename migrate to migrateThumbnailService 2021-10-18 16:25:29 +05:30
abhinav-grd bc561f804b Revert "testing large thumbnails"
This reverts commit 96e9e54112.
2021-10-18 16:18:40 +05:30
abhinav-grd 1054380d09 show fix thumbnail dialog if large thumbnail present on load 2021-10-18 13:56:13 +05:30
abhinav-grd 96e9e54112 testing large thumbnails 2021-10-18 12:03:18 +05:30
abhinav-grd 2789a14eeb adds local state for fixLargeThumbnails 2021-10-18 11:49:57 +05:30
abhinav-grd 6681b601a3 completes fix thumbnail modal UI 2021-10-18 11:07:59 +05:30
Abhinav-grd 04dfe6a969
Merge pull request #184 from ente-io/save-fav-collection
Fixes Error removing from favorite
2021-10-18 10:29:46 +05:30
Abhinav-grd 1249421e4c
Merge pull request #179 from ente-io/search-files
Search files
2021-10-18 10:29:18 +05:30
abhinav-grd c095031b8e add newly created favorite collection to localCollections 2021-10-09 15:19:33 +05:30
abhinav-grd b399c50e65 fix MAX_THUMBNAIL_SIZE name typo and exported it 2021-10-08 19:57:38 +05:30
abhinav-grd d14217400a added migrate service to update large thumbnails 2021-10-08 19:56:49 +05:30
abhinav-grd b7c6eb8a2f updated _downloadThumb into getThumbnail to get uint8array as output 2021-10-08 19:56:06 +05:30
abhinav-grd 11eb962f79 compress thumbnail generated from ffmpeg using canvas method 2021-10-08 13:46:11 +05:30
abhinav-grd 3de8b0bfbe generate jpeg thumbnail with 512*512 resolution and jpeg format 2021-10-08 13:20:54 +05:30
abhinav-grd cbe1d8ce88 show only one instance of a file 2021-10-07 17:03:57 +05:30
abhinav-grd 9fa1c1fc09 fix owner photo filtering 2021-10-07 17:03:57 +05:30
abhinav-grd 9afd224a23 dont show shared files in options 2021-10-07 17:03:57 +05:30
abhinav-grd 828844151c show only four file search results 2021-10-07 17:03:57 +05:30
abhinav-grd 950adae9b3 Adds file search by name 2021-10-07 17:03:50 +05:30
abhinav-grd 798163f733 adds deleteBy caption to photo preview 2021-10-04 20:27:45 +05:30
abhinav-grd e3af66da9e Merge branch 'remove-file-from-collection' into trash 2021-10-04 18:39:11 +05:30
abhinav-grd 0e0e1f777d Merge branch 'master' into remove-file-from-collection 2021-10-04 18:30:39 +05:30
abhinav-grd 15a913e5fa fix trashItem decryption fail bug 2021-10-04 13:46:09 +05:30
abhinav-grd 1658d561cb decrypt collection in getColletion API 2021-10-04 13:45:32 +05:30
abhinav-grd d8d86eb967 added restoreToCollection API 2021-10-04 12:44:45 +05:30
abhinav-grd db066090f0 moved appendPhotoSwipeProps to getTrashedFiles 2021-10-04 11:39:23 +05:30
abhinav-grd 7497865172 added trash and delete from trash options 2021-10-04 11:03:03 +05:30
abhinav-grd d8801bf8bc added isTrashed Property to file interface 2021-10-01 12:16:07 +05:30
abhinav-grd a034504679 added getCollection API 2021-10-01 12:15:44 +05:30
abhinav-grd e28154e5b1 added trash service 2021-10-01 12:11:48 +05:30
abhinav-grd 0fc184d994 dont log collections missing from collectionsAndTheirLatestFile list 2021-09-30 17:56:28 +05:30
abhinav-grd d495ba8d86 updated error logging 2021-09-30 13:55:33 +05:30
abhinav-grd 2e6193b64b fixes favorite collection sorting 2021-09-30 13:02:58 +05:30
abhinav-grd 22a15d30aa collectionAndThierLatestFIle null check 2021-09-30 12:36:43 +05:30
abhinav-grd 7e738e1627 fix sort by latest file 2021-09-28 19:21:54 +05:30
abhinav-grd 4941cb514e Merge branch 'master' into search-collection 2021-09-28 16:30:42 +05:30
abhinav-grd 8deb45a358 updates collection delete to use the new API 2021-09-28 14:39:08 +05:30
abhinav-grd 44f01d128c upates delete file to trash file 2021-09-28 14:39:06 +05:30
abhinav-grd 497b97c26d adds collection ops remove logic 2021-09-28 13:55:15 +05:30
abhinav-grd d54e27b0be passes CollectionAndThierLatest file to Collection component and add sorting by latest file logic 2021-09-27 11:51:26 +05:30
abhinav-grd b9c41ea532 adds sharedCollections to collectionAndTheirLatestFile
This is needed because when sorting we use collectionsAndThierLatestFile to sort based on latest file and we need shared Collection file there
2021-09-27 11:36:06 +05:30
abhinav-grd 96711f7462 lowercase the text before searching for suggestions 2021-09-24 19:41:01 +05:30
Abhinav-grd 8ea85efafb
Merge pull request #155 from ente-io/archive
Archive
2021-09-24 18:40:22 +05:30
abhinav-grd 23cef6b9af Merge branch 'master' into search-collection 2021-09-24 14:06:02 +05:30
abhinav-grd dcc3f6665d searchCollection service function 2021-09-23 00:16:02 +05:30
abhinav-grd 1fe6875a14 first set collections and then its updation time ,to prevent bad state of time updated by collections not persisted 2021-09-22 19:38:21 +05:30
abhinav-grd 46471d4c25 Revert "added queue processor to file decryption"
This reverts commit 3cab5372e9.
2021-09-22 14:52:50 +05:30
abhinav-grd 6cf696a164 Merge branch 'disable-shared-collection-ops' into archive 2021-09-22 13:25:16 +05:30
abhinav-grd c98d4792be Merge branch 'move-files' into disable-shared-collection-ops 2021-09-22 12:34:12 +05:30
abhinav-grd 0bb82c189e better variable names 2021-09-21 17:52:31 +05:30
abhinav-grd 3cab5372e9 added queue processor to file decryption 2021-09-21 17:13:18 +05:30
abhinav-grd a26722d8de refactor deleteFileHelper and delete API 2021-09-21 16:09:04 +05:30
abhinav-grd 3021fd4a43 update updateMagicMetadata API 2021-09-21 16:07:53 +05:30
abhinav-grd 0b62609591 added updateMagicMetadata 2021-09-21 13:33:15 +05:30
abhinav-grd 78533c01e9 adds magicMetadata decryption logic 2021-09-21 13:15:17 +05:30
abhinav-grd 57aa358865 hides archived from all section 2021-09-21 13:00:39 +05:30
abhinav-grd 5ec72c2550 added ownerID to check if file is a shared file 2021-09-21 12:07:39 +05:30
abhinav-grd 5fcde0b6e6 added isShared property to collection and isSharedCollectionActive state 2021-09-20 19:16:08 +05:30
abhinav-grd b90fc6409b added error handling for move to collection fail 2021-09-20 17:57:24 +05:30
abhinav-grd 93c3cf8121 update moveToCollection API 2021-09-20 17:38:03 +05:30
abhinav-grd 68a81c2f77 added moveToCollection API 2021-09-20 17:38:03 +05:30
abhinav-grd 4dec65a891 try to get exif only for image files 2021-09-16 07:27:11 +05:30
abhinav-grd e17eb7aca4 exif data can be null so dont destructure function response 2021-09-16 07:26:48 +05:30
Abhinav-grd 74471d9bfb
Merge pull request #143 from ente-io/update-exif-package
Update exif package
2021-09-13 12:05:36 +05:30
abhinav-grd e34a8e8b92 remove processQueue recursive call
as we are processing the queue in a loop left when making the change
2021-09-12 16:01:08 +05:30
abhinav-grd b3a9c8ee94 improves queueProcessor 2021-09-12 15:56:16 +05:30
abhinav-grd d68cebb7a1 if unix time less than zero ignore it 2021-09-12 12:41:15 +05:30
abhinav-grd c4938d04e3 updates code to fit with new getExif function 2021-09-12 12:17:17 +05:30
abhinav-grd 5cf48597df updates exif parsing to use new library features 2021-09-12 12:16:30 +05:30
abhinav-grd f9c46cdcb6 dont log exifdata 2021-09-10 22:12:15 +05:30
abhinav-grd 5e6adb4634 updated getUNIXTime logic 2021-09-10 12:21:18 +05:30
abhinav-grd ea73bc43f8 use exifr package
exif-js fails for heic EXIF parsing
2021-09-10 12:18:34 +05:30
abhinav-grd c24a187df6 better error for favourite operations 2021-09-10 09:34:38 +05:30
abhinav-grd 37bb67ea21 remove deleted collection from local 2021-09-10 09:12:58 +05:30
Abhinav-grd 07d44846be replaced heic2any pacakeg with heic-convert and use custom worker 2021-09-07 14:54:08 +05:30
Abhinav-grd 1d0adec48c throw error if hasSetKey undefined 2021-09-06 11:47:24 +05:30
Abhinav-grd 1ff2fa3462 update error message 2021-09-02 13:28:35 +05:30
Abhinav-grd 7dfd6658ea added compulary context message to all logError calls 2021-09-01 18:04:18 +05:30
Abhinav-grd cbcdba8229 add jpg to list of files missed by file type lib 2021-08-31 17:29:33 +05:30
Abhinav-grd e614ef755c fix create collection fail
The cause of bug was due to collection sync fail which occured due collection decyrption failure because of collection key mismatch bug
2021-08-31 16:53:43 +05:30
Abhinav-grd e1465609dd run unlink thumbnail only if thumbnail generation succeedes 2021-08-31 15:56:12 +05:30
Abhinav-grd b195015d64 added PAGES enum for all avialable routes 2021-08-31 10:28:58 +05:30
Abhinav-grd c21b20df95 only put if hasSetKeys explicitly false 2021-08-30 23:22:56 +05:30
Abhinav-grd 01e9a2ca96 put ORIGINAL_KEY_ATTRIBUTES after keySet check 2021-08-30 17:54:04 +05:30
Abhinav-grd af1ad9c973 put keyAttributes if not set , using session-validity-v2 check 2021-08-30 17:30:04 +05:30
Abhinav-grd 61df0d6ea8 move FORMAT_MISSED_BY_FILE_TYPE_LIB to file service build fix 2021-08-30 10:48:28 +05:30
Abhinav-grd 28a5ccee4a format missed by type detection 2021-08-30 10:45:16 +05:30
Abhinav-grd c596338463 adds type detection failed logs 2021-08-30 10:11:50 +05:30
Abhinav-grd ecec1b4a29 fix infinite seek 2021-08-30 09:45:02 +05:30
Abhinav-grd e06ca8c4a9 fix seek more than videoLength ebug 2021-08-30 09:27:27 +05:30
Abhinav-grd d1d3623880 fix file extension logging for unsupported formats 2021-08-30 06:54:57 +05:30
Abhinav-grd aa1ae957af fix unlink inputFileName 2021-08-29 20:38:19 +05:30
Abhinav-grd abdab27287 unlink correct thumbFileName 2021-08-29 20:30:11 +05:30
Abhinav-grd acef50e512 Merge branch 'master' into fix_multiple_request 2021-08-29 15:00:29 +05:30
Abhinav-grd 974d8d9241 store file promise in fileObjectUrlPromise 2021-08-29 14:58:53 +05:30
Abhinav-grd 3acd3ba87f skip too large files 2021-08-29 14:45:12 +05:30
Abhinav-grd 2a645dc16e remove console log 2021-08-29 14:28:37 +05:30
Abhinav-grd 28ccf3d11c added file too large section 2021-08-29 12:56:24 +05:30
Abhinav-grd a8c93da704 updated error handler 2021-08-29 12:44:33 +05:30