Commit graph

708 commits

Author SHA1 Message Date
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 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 8ea85efafb
Merge pull request #155 from ente-io/archive
Archive
2021-09-24 18:40:22 +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