Commit graph

2294 commits

Author SHA1 Message Date
abhinav-grd 6262b6e781 send rootCause message to sentry 2021-10-09 15:38:30 +05:30
abhinav-grd c095031b8e add newly created favorite collection to localCollections 2021-10-09 15:19:33 +05:30
abhinav-grd 3f1c680df3 print the root error in dev environment 2021-10-08 19:58:03 +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 cf3d3ee01b Merge branch 'master' into search-files 2021-10-08 10:19:17 +05:30
Vishnu Mohandas a1209f340a
Merge pull request #181 from ente-io/search-all-files
Make search Global
2021-10-07 20:53:09 +05:30
abhinav-grd 19ab438aee Merge branch 'search-all-files' into search-files 2021-10-07 20:51:40 +05:30
abhinav-grd 515266bc93 remove prev collection from search 2021-10-07 20:46:21 +05:30
abhinav-grd 76351c38ab remove prev collection redirecting 2021-10-07 20:40:41 +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 6d8028ae99 find filteredData index and then open that item 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 57ff20029f set intial prevCollection to ALL_SECTION to avoid null check on searchUpdate 2021-10-07 15:02:31 +05:30
abhinav-grd afce424396 hide collection instead of removing it form dom in searhch mode 2021-10-07 14:44:39 +05:30
abhinav-grd dcf9145d89 remember prevCollection before search and redirect to it after search 2021-10-07 14:02:07 +05:30
abhinav-grd afbcda5892 renamed searchMode to isInSearchMode state 2021-10-07 13:52:25 +05:30
abhinav-grd 52fe27263c search in all section instead of the collection user opened search on 2021-10-07 11:24:21 +05:30
abhinav-grd f6af345421 remove states for isSharedCollectionActive and isFavCollectionActive.
Interfering with colletion Chip auto scroll to searched item
2021-10-05 15:18:05 +05:30
abhinav-grd 2edce610f8 fix download file name bug 2021-10-05 14:08:26 +05:30
abhinav-grd 0d62c1e67f make banner thinner 2021-10-05 12:43:29 +05:30
abhinav-grd 9c0dfde01d added better download option for when playback failed 2021-10-05 12:27:41 +05:30
abhinav-grd 10efcaddb4 added downloadFile util 2021-10-05 12:23:34 +05:30
abhinav-grd 798163f733 adds deleteBy caption to photo preview 2021-10-04 20:27:45 +05:30
abhinav-grd 2f789e8209 show collection name as trash for trash section 2021-10-04 19:00:23 +05:30
abhinav-grd cf8a35f817 build fix 2021-10-04 18:40:37 +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 50bd98438d added restore files UI 2021-10-04 12:31:05 +05:30
abhinav-grd 94edb58804 show colletionSelector even if collectionsAndTheirLatestFile is zero 2021-10-04 12:30:14 +05:30
abhinav-grd 652487d262 make sections always visible 2021-10-04 12:15:18 +05:30
abhinav-grd bfa24ce19a dont set deleted state for trashed files 2021-10-04 11:39:47 +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 b456147311 display trash 2021-10-01 12:17:02 +05:30
abhinav-grd 90f6b0e185 added appendPhotoSwipeProps util 2021-10-01 12:16:33 +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 ad173f7481 updated files state to include trash files 2021-10-01 12:15:14 +05:30
abhinav-grd e28154e5b1 added trash service 2021-10-01 12:11:48 +05:30
Vishnu Mohandas aa4e0cd82f
Ensure consistency in strings with the mobile app 2021-10-01 00:56:55 +05:30
Abhinav-grd a1ffb46ff1
Merge pull request #175 from ente-io/fix-too-many-location-api-error
fix too many location/history api request
2021-09-30 22:15:03 +05:30
abhinav-grd 5506806b29 fix too many location/history api request 2021-09-30 18:54:29 +05:30
abhinav-grd 8e04fffd33 set localCollectionState only after removing empty collections 2021-09-30 18:02:21 +05:30
abhinav-grd 0fc184d994 dont log collections missing from collectionsAndTheirLatestFile list 2021-09-30 17:56:28 +05:30
abhinav-grd 2fb8f4ec6a replace archive option with unarchive for archive section and dont allow move 2021-09-30 17:12:19 +05:30
abhinav-grd eec27acd15 add delete option for archived files 2021-09-30 16:02:02 +05:30
Abhinav-grd 8a2b7d861e
Merge pull request #172 from ente-io/fix-favorite-collection-operation
Fix favorite collection behavior
2021-09-30 14:40:11 +05:30
abhinav-grd d495ba8d86 updated error logging 2021-09-30 13:55:33 +05:30
abhinav-grd 062c1f3581 adds state to track isFavCollection 2021-09-30 13:25:49 +05:30
abhinav-grd a45019474b added isFavorite util 2021-09-30 13:25:19 +05:30
abhinav-grd d7d624b799 dont show move option for fav collection 2021-09-30 13:24:04 +05:30
abhinav-grd 2e6193b64b fixes favorite collection sorting 2021-09-30 13:02:58 +05:30
Abhinav-grd 8872fac444
Merge pull request #170 from ente-io/achive-url
updates archive collection URL
2021-09-30 12:38:45 +05:30
abhinav-grd 22a15d30aa collectionAndThierLatestFIle null check 2021-09-30 12:36:43 +05:30
abhinav-grd e291ecf390 logError on console for dev env 2021-09-30 12:36:43 +05:30
Abhinav-grd 069dcb88ae
Merge pull request #169 from ente-io/replace-icon
update move icon
2021-09-30 12:18:52 +05:30
abhinav-grd b07f52ba5c updates archive collection URL 2021-09-30 12:09:28 +05:30
abhinav-grd 252cea9844 update move icon 2021-09-30 11:53:58 +05:30
Abhinav-grd e022d14be9
Merge pull request #168 from ente-io/fix-sorting
Fix sorting
2021-09-28 19:31:03 +05:30
abhinav-grd 7e738e1627 fix sort by latest file 2021-09-28 19:21:54 +05:30
abhinav-grd caf5b4c5ca made sort by latest file as default 2021-09-28 19:13:12 +05:30
abhinav-grd aca7da35fa decrypt magic metadata for older client synced files 2021-09-28 18:55:27 +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 5ae24449f5 updates confirmation messge 2021-09-28 14:38:35 +05:30
abhinav-grd bda01914dc added trash chip when trash opened 2021-09-28 14:38:33 +05:30
abhinav-grd f3b27eacdf added trash button on the sidebar 2021-09-28 14:36:02 +05:30
abhinav-grd 8ae89c5be1 adds error logging for failed collection ops and file archiving 2021-09-28 14:20:05 +05:30
abhinav-grd 18d757525c unneeded CustomError 2021-09-28 14:13:19 +05:30
abhinav-grd 376865f6d1 fix move operation 2021-09-28 14:10:14 +05:30
abhinav-grd 2ef41995c8 Merge branch 'master' into remove-file-from-collection 2021-09-28 14:03:39 +05:30
Abhinav-grd efb61ab53f
Merge pull request #163 from ente-io/handle-failure
Handle failure
2021-09-28 13:56:11 +05:30
abhinav-grd 497b97c26d adds collection ops remove logic 2021-09-28 13:55:15 +05:30
abhinav-grd 5796a2a746 adds removeFromCollectionHelper 2021-09-28 13:54:33 +05:30
abhinav-grd 29d02afba8 refactors collection ops code 2021-09-28 13:33:32 +05:30
abhinav-grd b7497ab647 adds remove from collection option on the selection bar 2021-09-28 13:01:02 +05:30
abhinav-grd 5bd6ba0788 clear selection only on successful completion of operation 2021-09-28 10:29:43 +05:30
abhinav-grd 10282924eb Revert "fix console warning"
This reverts commit fa1c48ef95.
2021-09-27 17:30:37 +05:30
abhinav-grd 0909280453 build fix 2021-09-27 15:24:45 +05:30
abhinav-grd fa1c48ef95 fix console warning 2021-09-27 14:22:20 +05:30
abhinav-grd 8a1ec02ce2 better type definations 2021-09-27 14:04:49 +05:30
abhinav-grd d7d8b3d3aa renamed varaiable and refactoring 2021-09-27 13:39:28 +05:30
abhinav-grd a9d6419607 added ui sortBy state changes 2021-09-27 12:27:13 +05:30
abhinav-grd fef6070721 updates colletion sort option to set collection sort by to latest file 2021-09-27 11:52:35 +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 e0d153e048 wait for sync before setting operation as completed 2021-09-27 10:28:32 +05:30
abhinav-grd 44054e1efe silent sync after archive 2021-09-27 09:30:08 +05:30
abhinav-grd 22d2f62302 clear selection and syncWithRemote in finally section 2021-09-27 09:26:29 +05:30
abhinav-grd ea8fd240b5 moves out clearSelection and syncWithRemote to caller 2021-09-27 09:26:01 +05:30
abhinav-grd 45f098b29a adds collection sort 2021-09-26 14:13:53 +05:30
abhinav-grd 4a5a36a0df Adds new icons 2021-09-26 13:19:21 +05:30
abhinav-grd de9f5268e1 updated exisitng components 2021-09-26 13:19:10 +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 8ee76c2c46 convert react select to controlled component to better handle value clearing 2021-09-24 15:46:49 +05:30
abhinav-grd 876b0c94d6 clean up 2021-09-24 14:13:59 +05:30
abhinav-grd 23cef6b9af Merge branch 'master' into search-collection 2021-09-24 14:06:02 +05:30
abhinav-grd 4d84533707 adds collectionChip ref to scroll to the selected collection 2021-09-24 13:42:50 +05:30
abhinav-grd 52b8a3127f show searched collection instead of showing collection files in result view 2021-09-24 12:50:47 +05:30
abhinav-grd 4f9a8063c7 updated getIcon by type 2021-09-24 12:32:29 +05:30
abhinav-grd 56ed719cb7 updated move and add to collection string 2021-09-24 12:03:07 +05:30
abhinav-grd 4ebd471c49 reorder items in sidebar 2021-09-24 11:47:16 +05:30
abhinav-grd 1bf346a835 added hint text to all selection bar icon 2021-09-24 11:31:43 +05:30
abhinav-grd 5cb8dec7e2 added collection search logic 2021-09-23 00:21:55 +05:30
abhinav-grd 8c1bc0aa07 added collection search option icon 2021-09-23 00:16:19 +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 9bd481e6a9 set non-EmptyCollection as localCollection removed collection whose sync was pending 2021-09-22 19:38:21 +05:30
abhinav-grd a51e209f4b better comment 2021-09-22 18:06:43 +05:30
abhinav-grd f562e40ba3 adds comment for merge and update of magic metadata logic 2021-09-22 17:57:34 +05:30
abhinav-grd 0675182177 refactor code 2021-09-22 17:51:52 +05:30
abhinav-grd 8b0e2fe470 let the space be at the end of row , dont justify content 2021-09-22 17:43:31 +05:30
abhinav-grd e3021dcf55 remove archived local state 2021-09-22 15:57:56 +05:30
abhinav-grd 609a7bb989 create new updatedFiles array instead of upadating the existing selectedFiles 2021-09-22 15:41:39 +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 9a24f617ca updated filtering logic 2021-09-22 14:28:16 +05:30
abhinav-grd 2d8cb444df unarchive files 2021-09-22 13:58:23 +05:30
abhinav-grd 31632d779f set archived to quickly show archived file before server sync 2021-09-22 13:51:06 +05:30
abhinav-grd cbb880b42d fixed arhive file not visible bug 2021-09-22 13:29:08 +05:30
abhinav-grd 6cf696a164 Merge branch 'disable-shared-collection-ops' into archive 2021-09-22 13:25:16 +05:30
abhinav-grd c4165dca8c add conditional lookup 2021-09-22 13:08:45 +05:30
abhinav-grd 42c1687b3f fix archive icon import 2021-09-22 12:45:34 +05:30
abhinav-grd b45b6af9e1 renamed archive collection to archive section 2021-09-22 12:45:27 +05:30
abhinav-grd e067b7260b add a collection chip for archive section 2021-09-22 12:45:09 +05:30
abhinav-grd ea6074462f fixes collection related warning 2021-09-22 12:44:56 +05:30
abhinav-grd c98d4792be Merge branch 'move-files' into disable-shared-collection-ops 2021-09-22 12:34:12 +05:30
abhinav-grd f1848eca54 Merge branch 'master' into archive 2021-09-22 12:23:42 +05:30
abhinav-grd 6eb47c1fb9 Merge branch 'master' into move-files 2021-09-22 12:02:58 +05:30
abhinav-grd 6524204b2d set active collection to 0 for all section 2021-09-22 10:37:08 +05:30
abhinav-grd 1a8c4dcf23 makes move icon thinner 2021-09-22 10:23:26 +05:30
abhinav-grd 0bb82c189e better variable names 2021-09-21 17:52:31 +05:30
abhinav-grd d039dd87ef fixes magic metadata verison 2021-09-21 17:26:34 +05:30
abhinav-grd 973aedb7d3 fix magicMetadata encryption and decryption 2021-09-21 17:14:28 +05:30
abhinav-grd 3cab5372e9 added queue processor to file decryption 2021-09-21 17:13:18 +05:30
abhinav-grd 4250ad7c34 add option to view archived file on the sidebar 2021-09-21 16:59:24 +05:30
abhinav-grd a26722d8de refactor deleteFileHelper and delete API 2021-09-21 16:09:04 +05:30
abhinav-grd ea6a2165e2 added Archive logic 2021-09-21 16:08:03 +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 760cdef036 update decryptMetadata to handle any generic json decryption 2021-09-21 13:14:29 +05:30
abhinav-grd 57aa358865 hides archived from all section 2021-09-21 13:00:39 +05:30
abhinav-grd fe33c63c2f adds archive and unarchive icons 2021-09-21 12:25:52 +05:30
abhinav-grd a278b1d901 hide shared collection files from all section 2021-09-21 12:08:50 +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 ae881e6a4f fix isSharedCollection 2021-09-21 11:56:26 +05:30
abhinav-grd 801ff1a856 Merge branch 'move-files' into disable-shared-collection-ops 2021-09-21 11:48:08 +05:30
abhinav-grd d8230155fc remove unneccesary showCollectionSelector prop 2021-09-21 11:37:03 +05:30
abhinav-grd 065c051230 no need of adding isShared property to collection and can compare whenever needed 2021-09-21 11:31:47 +05:30
abhinav-grd 6c597570d1 better remove fromCollection 2021-09-20 21:08:14 +05:30
abhinav-grd cfb3f048e4 rename variable 2021-09-20 20:50:09 +05:30
abhinav-grd bc9a785093 disable fav button for sharedCollection 2021-09-20 19:20:45 +05:30
abhinav-grd ec0bc9919a disable selecting for sharedColletion 2021-09-20 19:20:17 +05:30
abhinav-grd 5fcde0b6e6 added isShared property to collection and isSharedCollectionActive state 2021-09-20 19:16:08 +05:30
abhinav-grd 1e45557e34 avoid double filtering 2021-09-20 18:58:46 +05:30
abhinav-grd 641053a025 hide collection from which file are moved from collection selector view 2021-09-20 18:54:26 +05:30
abhinav-grd 27baf3523c dont show move option in all 2021-09-20 18:44:05 +05:30
abhinav-grd e610005a85 updated showCreateCollection to create and move files if collection ops move selected 2021-09-20 18:21:40 +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 dd2b7a50ca updates addToCollection util to handle move 2021-09-20 17:38:03 +05:30
abhinav-grd 0d8af74e4a added moveButton on Selection bar 2021-09-20 17:38:03 +05:30
abhinav-grd 8c8a8dd1ce added move icon 2021-09-20 17:38:03 +05:30
abhinav-grd 68a81c2f77 added moveToCollection API 2021-09-20 17:38:03 +05:30
abhinav-grd be4e821190 clear selection if file of other collection selected 2021-09-20 17:26:29 +05:30
abhinav-grd 99d62756cc use activeCollection state for navigation between collections 2021-09-20 17:25:29 +05:30
abhinav-grd 219c7aa8d7 hide just overflow-x 2021-09-20 09:18:55 +05:30
abhinav-grd 760c84aaad fix looped resize 2021-09-16 16:36:00 +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 269a926ac7
Merge pull request #147 from ente-io/folder-drop
Upload behavior
2021-09-13 11:14:15 +05:30
abhinav-grd 96d2d089b7 removes unneccessary exif Data null check 2021-09-13 11:02:19 +05:30
abhinav-grd 958d3bd72c fix banner message state type 2021-09-13 09:15:26 +05:30
abhinav-grd bce0adfe33 updates init state of analysis result 2021-09-13 09:10:33 +05:30
abhinav-grd 63c3eb5db3 updates choice modal to directly call uploadToNewCollection 2021-09-13 09:04:44 +05:30
abhinav-grd 3c61fc1ab5 update behavior on folder drop 2021-09-13 08:45:53 +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 0cde9ea63c update prettyPrintExif 2021-09-10 22:09:18 +05:30
abhinav-grd a90f978c67 added pretty print exif util 2021-09-10 14:01:51 +05:30
abhinav-grd f4f685d2cf build fix 2021-09-10 13:30:31 +05:30
abhinav-grd 55b1746f3d cleanup 2021-09-10 13:16:50 +05:30
abhinav-grd a71a8e4d96 updates exifInfo usage of exifParser 2021-09-10 12:50:21 +05:30