Commit graph

2386 commits

Author SHA1 Message Date
Abhinav 8fb7146236 use public metadata creation time for sorting 2021-10-29 17:39:57 +05:30
Abhinav 69c9f423fe adds publicMetadata data update and parsing logic 2021-10-29 17:22:08 +05:30
Abhinav 8afcd3a766 refactor changeFilesVisibility to have a seperate updateMagicMetadata function and move encryption logic to upateMagicMetadata API 2021-10-29 17:15:06 +05:30
Abhinav c918225f4a updates MagicMetadata related type definations 2021-10-29 17:11:13 +05:30
Abhinav 3cd2789dc9 updates Icon with HighlightWrapper 2021-10-29 16:53:10 +05:30
Abhinav ed6be1cde1 fix generateThumbnail call during replaceThumbnail 2021-10-29 14:20:45 +05:30
Abhinav-grd 2689e81da0
Merge pull request #195 from ente-io/better-error-logs
improved error logs for failures during thumbnail generation
2021-10-29 09:56:10 +05:30
Abhinav 99c4223e75 rename PhotoWall back to PhotoFrame 2021-10-28 19:32:57 +05:30
Abhinav 4dc50a75e8 use filterdataCopy until filterdata is updated 2021-10-28 17:29:37 +05:30
Abhinav 2bafe4d7e3 moved list Ref and added type definations 2021-10-28 16:49:25 +05:30
Abhinav 7ccc0b59f7 Merge branch 'master' into trash 2021-10-28 14:36:20 +05:30
Abhinav d5902aae84 Merge branch 'master' into remove-file-from-collection 2021-10-28 14:09:42 +05:30
Abhinav 86f1891d77 Merge branch 'master' into remove-file-from-collection 2021-10-28 14:08:01 +05:30
Abhinav 98f1f9c388 refactor PhotoFrame to PhotoWall and PhotoList 2021-10-28 13:33:01 +05:30
Abhinav e797899ef6 put filteredData inside useEffect 2021-10-28 12:12:49 +05:30
Abhinav a9d88c9b8f remove console logs 2021-10-28 12:12:13 +05:30
Abhinav 6d5ae6010f added edit icon 2021-10-27 14:05:17 +05:30
Abhinav 165958f772 Merge branch 'master' into migrate-large-thumbnails 2021-10-27 13:46:47 +05:30
Abhinav 244f59c7a6 Merge branch 'master' into better-error-logs 2021-10-27 13:30:54 +05:30
Abhinav b07ffbd820 make ffmpeg thumbnail output height to 720 2021-10-27 12:51:15 +05:30
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