Commit graph

2516 commits

Author SHA1 Message Date
Abhinav b587ea70fa fix file name of ffmpeg in-memory file 2021-10-27 12:43:03 +05:30
Abhinav 58b45715b1 improve sentry local error logging for development 2021-10-27 11:43:59 +05:30
Abhinav c4dc9926e0 return file extension asexactType if file type detection fails 2021-10-27 11:43:13 +05:30
Abhinav 384fd9799a improved error logs for failure during thumbnail generation 2021-10-27 11:33:02 +05:30
Abhinav e850c8c242 fix typo 2021-10-27 10:55:43 +05:30
Abhinav 242deebb4c make max dimension(width or height) = 720px 2021-10-27 10:30:57 +05:30
Abhinav 81c77790df add comments 2021-10-27 09:13:43 +05:30
Abhinav 60c820a9be refactor code 2021-10-27 09:13:43 +05:30
Abhinav 01dc6142d0 log thumbnail dimension too 2021-10-27 09:13:43 +05:30
Abhinav 23356bf132 update thubnail dimension calculation 2021-10-27 09:13:43 +05:30
Abhinav 2927977192 update copy 2021-10-26 18:30:59 +05:30
Abhinav bc0be40a92 update copies 2021-10-26 18:28:51 +05:30
Abhinav 01e92a35e9 fetch large thumbnail after fix for confirmation 2021-10-26 18:25:39 +05:30
Abhinav-grd 197d5b49b4
Merge branch 'master' into migrate-large-thumbnails 2021-10-26 18:16:57 +05:30
Abhinav 393fb66141 Merge branch 'remove-file-from-collection' into trash 2021-10-26 16:53:14 +05:30
Abhinav 6111ac87e2 clearLocalTrash after empty trash api call 2021-10-26 16:49:46 +05:30
Abhinav 9d6ae6afea show empty trash button only when trash has files 2021-10-26 16:42:32 +05:30
Abhinav d57f829adc pass files to trashService to get latest files 2021-10-26 16:33:06 +05:30
Abhinav f3fc1955f2 remove inline function 2021-10-26 13:53:32 +05:30
Abhinav 9b11888040 adds empty trash button 2021-10-26 13:05:12 +05:30
Abhinav 9aaac2b232 adds new empty trash api 2021-10-26 13:04:40 +05:30
Abhinav 0b5af9a3c7 update delete btn with info message 2021-10-26 12:40:50 +05:30
Abhinav-grd f6106e70d1
Merge pull request #188 from ente-io/improve-thumnail-compression
Improve thumnail compression
2021-10-26 12:31:13 +05:30
Abhinav e984eb9be9 improve variable names and fix compression loop condition 2021-10-26 12:11:00 +05:30
Abhinav 475ae05352 fixed duplicate file entries in selectedFiles 2021-10-26 12:02:31 +05:30
Abhinav 2e5425a8e6 upadtes remove from collection messgae 2021-10-26 11:41:36 +05:30
Abhinav 192229e1e1 reduce max-compression quality to 50% 2021-10-26 11:36:58 +05:30
Abhinav aaf74290c3 updated trash diff fetch 2021-10-26 11:19:44 +05:30
Abhinav 2f52bc2aed show compress thumbnail only if has large thumbnails and if no large thumbnail set state as completed 2021-10-26 10:50:00 +05:30
Abhinav 565f871a3d logError if largeThumbnail left after migration complete 2021-10-26 10:45:19 +05:30
Abhinav 69067d89da dont autoStart thumbnail fix 2021-10-26 10:44:26 +05:30
Abhinav b14855e7ab only getThumbnail at start if migration not started 2021-10-26 10:43:14 +05:30
Abhinav dac5ea727a updated min and max compression quality and MAX_THUMBNAIL_SIZE 2021-10-25 20:10:53 +05:30
Abhinav 3bb83af24a added test console logs 2021-10-25 13:50:32 +05:30
Abhinav 601c6770c2 added selected parameter to key prop 2021-10-25 13:49:50 +05:30
Abhinav d07c680748 perf improvement 2021-10-25 13:25:53 +05:30
Abhinav 9a9671c0ee make rangeSelect props optional for preview card 2021-10-22 14:40:09 +05:30
Abhinav cde5df055a start rangeSelect only on checked select event 2021-10-22 14:38:10 +05:30
Abhinav 193d3de044 disable text select with shift for gallery list and date container 2021-10-22 14:34:57 +05:30
Abhinav 296ada94af complete rangeSelect operation after rangeEnd selected 2021-10-22 14:30:59 +05:30
Abhinav 500c91d431 clear last selected on selection clear 2021-10-22 13:56:33 +05:30
Abhinav 7569813a1a adds rangeSelect Functionality 2021-10-22 13:54:06 +05:30
Abhinav c66eb83696 made selecting UI more google like 2021-10-22 13:50:05 +05:30
abhinav-grd 18b27f5f08 dont have seperate preview file entry for video 2021-10-21 16:12:00 +05:30
abhinav-grd 6097e76fad fixed thumbnail and file download not retried after fail 2021-10-21 13:47:11 +05:30
abhinav-grd 8970741158 fix file download even if present in local bug 2021-10-19 18:19:29 +05:30
abhinav-grd d3b73eaa6b fix file not retrying download after a fail 2021-10-19 17:12:56 +05:30
abhinav-grd 1373a955aa make downloadThumb private correctly 2021-10-19 17:11:34 +05:30
abhinav-grd 47914f5281 reduce quality linearly 2021-10-19 15:46:15 +05:30
abhinav-grd 175e323c47 log thumbnail size greater than max limit 2021-10-19 14:02:11 +05:30
abhinav-grd 78a69a6d33 if compression more than min compression diff keep on compressing 2021-10-19 13:58:10 +05:30
abhinav-grd b53c978093 set REPLACE_THUMBNAIL_THRESHOLD to 500KB 2021-10-19 13:49:03 +05:30
abhinav-grd 4dbbc0fe51 updated strings 2021-10-18 18:12:44 +05:30
abhinav-grd 4803333881 remove completed but hasMore state 2021-10-18 18:06:03 +05:30
abhinav-grd c3a5d73195 update replace thumbnails strings 2021-10-18 18:05:57 +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 1aa93b29d8 setLargeThumbnailFiles with getLargeThumbnailFiles always 2021-10-18 16:15:23 +05:30
abhinav-grd 295b1d6ac2 new string added 2021-10-18 15:59:46 +05:30
abhinav-grd 45ecc1cb1c auto run thumbnail if started in previous load 2021-10-18 15:59:34 +05:30
abhinav-grd 2f03c678f8 adds completed but has more state to fix large thumbnail 2021-10-18 15:33:21 +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 fe70c1db59 export strings to constants 2021-10-18 13:32:32 +05:30
abhinav-grd 4d0e1bacfa updated thumbnail fix UI 2021-10-18 12:05:32 +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 8ad33e9db7 Merge branch 'master' into fix-shared-collection-chip-scrollTo 2021-10-18 10:33:30 +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 6b25555044 added fix thumbnail modal 2021-10-11 10:30:36 +05:30
abhinav-grd dbbe5a1d9c always send root cause message 2021-10-09 16:23:22 +05:30
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
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 8989cd4af1 remove console log 2021-09-10 10:15:30 +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 a1a73b0cbd show zero files for collection with no files 2021-09-09 15:18:45 +05:30
Abhinav-grd c38de745c9 name worker as ente worker 2021-09-07 17:18:36 +05:30
Abhinav-grd 02d7cf3802 remove console and try catch 2021-09-07 14:55:41 +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
Neeraj Gupta 6dc6501381 Show correct err msg when verification code has expired 2021-09-04 16:16:02 +05:30
Abhinav-grd 56bcf32b95 fix retrier returning undefined 2021-09-03 16:02:58 +05:30
Abhinav-grd e595ea09f0 fix usage info string 2021-09-03 14:15:04 +05:30
Abhinav-grd 1ff2fa3462 update error message 2021-09-02 13:28:35 +05:30
Abhinav-grd baf509085e fix new line between error stacks 2021-09-02 12:20:27 +05:30
Abhinav-grd 7ec132b39f updated the errorWithContext generation logic 2021-09-02 10:38:45 +05:30
Abhinav-grd 7dfd6658ea added compulary context message to all logError calls 2021-09-01 18:04:18 +05:30
Abhinav-grd 39d93c4f79 wrap error with context and report to sentry 2021-09-01 15:33:01 +05:30
Abhinav-grd cd309b0c77 update the feild below which error appears 2021-09-01 13:22:35 +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 7e7284d64a set collection state on collection sync
dont without waiting for filtering out the deleted collection for which we need to wait for the whole files to be synced
2021-08-31 17:01: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 08e2f4b038 added two factor disabled flash message and fix credentials redirect 2021-08-31 09:56:51 +05:30
Abhinav-grd ccd3a20a0d fix two-factor modal styles 2021-08-31 09:40:08 +05:30
Neeraj Gupta 18fc21377d Merge pull request #128 from ente-io/bugFixes
Fix recovery flow
2021-08-31 08:46:45 +05:30
Neeraj Gupta ca8d294496 Fix recoery flow 2021-08-31 08:35:30 +05:30
Abhinav-grd c21b20df95 only put if hasSetKeys explicitly false 2021-08-30 23:22:56 +05:30
Abhinav-grd a7a10f1a19 show save recovery key after singup 2021-08-30 18:58:27 +05:30
Abhinav-grd 10e86a7bd5 set ORIGINAL_KEY_ATTRIBUTES from verify response 2021-08-30 17:56:20 +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 b8a01d18f7 put keyAttribute if no response and local storage has them 2021-08-30 17:16:31 +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 f4cb568444 added user token or encryptedToken present check before credential redirect 2021-08-29 22:50:09 +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 6fc64b8d93 re push 2021-08-29 20:07:19 +05:30
Abhinav-grd ee3dfff1a3 set title 2021-08-29 19:47:44 +05:30
Abhinav-grd 4ad60fe2c2 dont regsiter worker 2021-08-29 19:35:23 +05:30
Abhinav-grd dac0b35a9b unregister service worker 2021-08-29 19:33:09 +05:30
Abhinav-grd f7af8b5c2d set header only in gallery 2021-08-29 19:20:39 +05:30
Abhinav-grd b1f9a3320d added coep header in document 2021-08-29 19:09:20 +05:30
Abhinav-grd 0c30efa3ef updated styles 2021-08-29 17:33:55 +05:30
Abhinav-grd d8ebd5f827 remove cloudflare analytics 2021-08-29 17:28:35 +05:30
Abhinav-grd f31ecece6a fix add to collection button creating first album 2021-08-29 17:20:56 +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 1b3a8714b8 updated strings 2021-08-29 14:43:20 +05:30
Abhinav-grd dddd7fac30 updated strings 2021-08-29 14:38:35 +05:30
Abhinav-grd 2a645dc16e remove console log 2021-08-29 14:28:37 +05:30
Abhinav-grd 6de4c2fabc upadted alert banner style 2021-08-29 14:22:37 +05:30
Abhinav-grd 7c85308516 added hooks to open plan selector 2021-08-29 14:20:01 +05:30
Abhinav-grd e9ed00fa22 added showPlanSelectorModal to gallery context 2021-08-29 14:19:08 +05:30
Abhinav-grd f145328c38 fixed error message shown to user 2021-08-29 13:50:56 +05:30
Abhinav-grd 1f62d7ba53 updated the alert banner 2021-08-29 13:39:14 +05:30
Abhinav-grd a1d5e75447 no need to catch and throw error 2021-08-29 13:01:48 +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
Abhinav-grd e6049aef1b function check for breaking error changes 2021-08-29 11:48:53 +05:30
Abhinav-grd ce8bc629a1 renamed parseError and handleError to upload specfic names 2021-08-29 11:48:03 +05:30
Neeraj Gupta 362d4f89ae Thumbnail: don't trigger download if a request is already in-flight 2021-08-29 11:40:18 +05:30
Abhinav-grd c57989d14f convert storage quota to human readable 2021-08-29 10:45:02 +05:30
Abhinav-grd a9d9b41ee0 fixed customer portal redirect 2021-08-29 10:34:50 +05:30
Vishnu 7e819bd940 Update collection share dialog 2021-08-29 02:43:23 +05:30
Vishnu 05173f3120 Remove click handler 2021-08-29 02:20:45 +05:30
Vishnu 0ff3e11584 Improve upload strategy dialog 2021-08-29 02:18:00 +05:30
Vishnu f961571b1f Rename first album 2021-08-29 02:17:00 +05:30
Vishnu bc4d46912e Update first screen 2021-08-29 01:20:00 +05:30
Abhinav-grd 24d0917537
Merge pull request #122 from ente-io/ffmpeg
Ffmpeg
2021-08-28 22:15:17 +05:30
Abhinav-grd febb0a47ae appended timestamp to filenames 2021-08-28 21:49:31 +05:30