Commit graph

5788 commits

Author SHA1 Message Date
Abhinav 9857ee5b30 remove location search 2023-02-09 23:26:53 +05:30
Abhinav 089a7c15ad Merge branch 'refactor-cache-storage' into ml-alpha 2023-02-09 23:13:42 +05:30
Abhinav caa1be1c09 move cache util to under storage 2023-02-09 23:13:13 +05:30
Abhinav 85e6b14e85 fix file format 2023-02-09 23:06:51 +05:30
Abhinav b26b87f227 refactor cacheService into cache Storage service to allow handling more than one cache stores 2023-02-09 23:01:32 +05:30
Abhinav eb2b65e00a add crypto worker types and custom worker using support to getThumbnail 2023-02-09 22:50:30 +05:30
Abhinav 45e0365129 add comment to explain need of using separate constant file 2023-02-09 22:50:30 +05:30
Abhinav 51707d55c6 remove unused events 2023-02-09 22:50:30 +05:30
Abhinav 6d5387432d remove ml-debug page 2023-02-09 22:50:30 +05:30
Abhinav 5e98919599 remove unnecessary code and changes 2023-02-09 22:50:30 +05:30
Abhinav 1e96d09b94 advanced section should only be shown for electron as it just has ML setting currently 2023-02-09 22:50:30 +05:30
Abhinav 66b37c57bf refactor ml search settings 2023-02-09 22:50:14 +05:30
Abhinav efff2c41ac add loaders 2023-02-09 22:50:14 +05:30
Abhinav 0ac32b0c67 fix multiple instances of WorkerElectronCacheStorageService getting created 2023-02-09 22:50:14 +05:30
Abhinav 5794d53ebb reset batch wait time to 30secc 2023-02-09 22:50:14 +05:30
Abhinav 348a22e191 fix WorkerElectronCacheStorageClient not exposed to the from the worker 2023-02-09 22:50:14 +05:30
Abhinav 6596d2c702 Merge branch 'refactor-family-utils' into ml-alpha 2023-02-09 21:54:59 +05:30
Abhinav e48465c242 refactor family utils 2023-02-09 21:45:23 +05:30
Abhinav c56da87161 hide run ML Search button 2023-02-09 16:23:15 +05:30
Abhinav 5f18679691 Merge branch 'main' into ml-alpha 2023-02-09 16:14:45 +05:30
Abhinav 1c1b18dba6 fix Illegal invocation 2023-02-09 16:05:53 +05:30
Abhinav 3d91f5ac57 fix isInternalUser 2023-02-09 16:02:20 +05:30
Abhinav bfdac846e1 on logout reset ml search 2023-02-09 13:08:44 +05:30
Abhinav a47f61a092 update logoutUser Error handling 2023-02-09 12:58:47 +05:30
Abhinav 89afb36059 wrap error prone code in try code 2023-02-09 12:02:05 +05:30
Abhinav 931082b1b3 fix issues 2023-02-09 12:00:08 +05:30
Abhinav df748aa3a9 integrate user service APIs 2023-02-09 11:35:09 +05:30
Abhinav 789892de9a fix enable face search design issues 2023-02-09 10:18:16 +05:30
Abhinav 13712cf8ce add ML settings components 2023-02-08 20:07:12 +05:30
Abhinav 83ebce22a9 add sidebar advanced setting option 2023-02-08 20:00:27 +05:30
Ananddubey01 9953d09f44 Changed notShowXYZQuickOption to showXYZQuickOption 2023-02-08 18:46:42 +05:30
Ananddubey01 d9c8a7fbb8 Added utility option for Download Trash and share quick options 2023-02-08 13:12:20 +05:30
Ananddubey01 848caedde5 Merge branch 'main' into quickOptions-Refactor 2023-02-08 09:50:13 +05:30
Ananddubey01 4002969461 Refactored Collection QuickOptions 2023-02-08 09:49:12 +05:30
Abhinav Kumar 39394bf693
Merge pull request #929 from ente-io/fix-patches-of-thumbnail-not-loading
fix patches of thumbnail not loading
2023-02-07 12:37:14 +05:30
Abhinav b5eb788e67 set isMounted false in a empty dependency useEffect 2023-02-07 11:37:04 +05:30
Abhinav a1805248a4 sort before setFiles 2023-02-06 22:28:38 +05:30
Abhinav 1ced262fd4 fix sorting 2023-02-06 22:21:12 +05:30
Abhinav 2d6b2d4cb6 keep public url files non selectable 2023-02-06 21:48:10 +05:30
Abhinav 5e6b5491f2 fix gallery render for public url 2023-02-06 21:38:32 +05:30
Abhinav 1caac9465a reduce over scanning to 3 rows 2023-02-06 20:46:20 +05:30
Abhinav 36b317896e fix key 2023-02-06 20:41:29 +05:30
Abhinav bde387d84a fix key missing issue 2023-02-06 20:39:45 +05:30
Abhinav 774c0cbce1 attempt to fix blank spot 2023-02-06 20:17:38 +05:30
Abhinav a5a5d8418d placeholder thumbnails not removed on scroll stop 2023-02-06 19:35:39 +05:30
Abhinav ce74fb91b3 add error handling to PhotoFrame url prefill 2023-02-06 18:50:33 +05:30
Abhinav b13b61bf10 fix unhandled error 2023-02-06 18:46:43 +05:30
Abhinav Kumar 3e06cfb06a
Merge pull request #920 from ente-io/fix-uncategoried-issue
Fix uncategoried issue
2023-02-06 11:19:15 +05:30
Abhinav 764f52c526 add error for unknown file types 2023-02-06 11:12:32 +05:30
Abhinav f7d8973a8d sort by modificationTime if creation time is same 2023-02-06 11:10:00 +05:30
Abhinav 9c5fecf309 set state after trashFiles API success 2023-02-06 11:07:56 +05:30
Abhinav c0700f28bf added isValidMoveTarget target check 2023-02-05 21:37:37 +05:30
Abhinav 3cbfe58ec0 move state update before call 2023-02-04 16:53:56 +05:30
Abhinav 4aafc80b65 disable update of photoswipe items when open 2023-02-04 16:52:19 +05:30
Abhinav 41b658c3dd move setDeletedFileIds reset logic to sync 2023-02-04 16:51:50 +05:30
Abhinav e7ddcde740 fix getFiles error handling 2023-02-04 16:38:36 +05:30
Abhinav dbe9265498 pass item directly 2023-02-04 15:43:52 +05:30
Abhinav 694cd3b471 move map after filter filteredData 2023-02-04 15:29:13 +05:30
Abhinav d39b4808b5 fixed preview card multiple rerender 2023-02-04 15:10:02 +05:30
Abhinav 806abcd7be no need to pass complete files list to getThumbnail 2023-02-04 12:37:42 +05:30
Abhinav 8758671a9b some basic getFiles refactoring 2023-02-04 12:34:39 +05:30
Abhinav 76f155ddce improve logging 2023-02-04 12:25:59 +05:30
Abhinav 70381bccce refactored code 2023-02-04 12:06:28 +05:30
Abhinav 1d42926936 removed resetting of fetching state 2023-02-04 12:06:28 +05:30
Abhinav 162f697287 fixed preview card useLayoutEffect 2023-02-04 12:06:28 +05:30
Abhinav 8b81c1f34e fix issues 2023-02-04 12:06:26 +05:30
Abhinav cc63f58bd6 fix syncFiles 2023-02-04 12:06:02 +05:30
Abhinav 4a8cf54603 return only non deleted files from getLatestVersionFiles 2023-02-04 12:06:02 +05:30
Abhinav 86d8c9f82f remove usage of preservePhotoswipeProps 2023-02-04 12:06:02 +05:30
Abhinav 8b8e5d238f update mergeMetadata function 2023-02-04 12:05:53 +05:30
Abhinav 6f8539cbc6 sort files before setting state 2023-02-04 12:05:53 +05:30
Abhinav 051f3de40a update sortFiles 2023-02-04 12:05:53 +05:30
Abhinav 8a4615abf8 remove the use of preservePhotoswipeProps 2023-02-04 12:05:53 +05:30
Abhinav 1199fd02ee revert setFiles throttling 2023-02-04 12:05:45 +05:30
Abhinav d834314f0f fix very quick finishLoading after startLoading not detected 2023-02-03 14:11:18 +05:30
Abhinav f56b1fed5f fix handleSelection using old selection reference 2023-02-03 13:37:07 +05:30
Abhinav e283eeab27 Merge branch 'allow-incoming-album-selection' into patch-remove-collab-added-files 2023-02-03 13:01:08 +05:30
Abhinav 3728b30899 show only download selected file option for incoming share
and add download file option for uncategorized
2023-02-03 12:57:03 +05:30
Abhinav b326e4b873 allow incoming shared to be selectable 2023-02-03 12:55:17 +05:30
Abhinav 3ab197d279 add proper error handling 2023-02-03 12:28:00 +05:30
Abhinav 45aee0977c Revert "pass isCollectionOwner property to removeFromCollection"
This reverts commit 4ddaac3686.
2023-02-03 12:24:53 +05:30
Abhinav 0cddc2511b fix mix selection confirm color 2023-02-03 12:20:01 +05:30
Abhinav 009bdde234 added separate mix selection remove from album screen 2023-02-03 12:18:35 +05:30
Abhinav e68b622fe6 Merge branch 'main' into patch-remove-collab-added-files 2023-02-03 12:11:35 +05:30
Abhinav 4ddaac3686 pass isCollectionOwner property to removeFromCollection 2023-02-03 11:56:46 +05:30
Ananddubey01 d914008bb8 fixed map issue in gallery 2023-02-03 11:24:53 +05:30
Abhinav a8ebd7e3bc Merge branch 'uncategorised' into patch-remove-collab-added-files 2023-02-03 10:32:48 +05:30
Ananddubey01 46b946f159 Merge branch 'uncategorised' of https://github.com/ente-io/photos-web into uncategorised 2023-02-03 10:23:42 +05:30
Abhinav bc47ad8b7e fix get from collection map 2023-02-03 10:22:07 +05:30
Ananddubey01 84b9ea9d25 Removed unused collectionType APIs 2023-02-03 10:21:38 +05:30
Abhinav 14ea4f82b7 Merge branch 'main' into uncategorised 2023-02-03 09:59:03 +05:30
Neeraj Gupta 2b9f63fab5
Merge Fix copy for disable link sharing #903
Fix copy for disable link sharing
2023-02-03 09:49:37 +05:30
Ananddubey01 f9b46e11d7 Changed isSharedCollection check name to isIncomingSharedCollection 2023-02-02 22:49:27 +05:30
Ananddubey01 98e3186d44 Added allFiles parameter in removeFromCollection api of Collection Servies 2023-02-02 22:33:53 +05:30
Ananddubey01 03b3b43318 changed how we check isFavoriteCollection and isSharedCollection prop in SelectedFileOptions of gallery 2023-02-02 22:23:41 +05:30
Ananddubey01 d9acaef3b8 changed how we check isUncategorizedCollection prop in SelectedFileOptions of gallery 2023-02-02 22:12:42 +05:30
Ananddubey01 7329e60654 Merge branch 'uncategorised' of https://github.com/ente-io/photos-web into uncategorised 2023-02-02 21:16:21 +05:30
Ananddubey01 aa427b7ac7 Moved removeFromCollection logic from collectionOptions to collectionServices 2023-02-02 21:15:29 +05:30
Abhinav ac2257771f optimize code 2023-02-02 20:52:28 +05:30
Abhinav b8656ab5b0 fix build 2023-02-02 20:09:12 +05:30
Abhinav Kumar 286dd45166
Merge pull request #905 from ente-io/update-filetype-error-handling
Update filetype error handling
2023-02-02 18:31:43 +05:30
Abhinav Kumar 3eda945a3d
Merge pull request #910 from ente-io/fix-shift-event-listener-cleanup
fix shift key event listener cleanup
2023-02-02 18:31:28 +05:30
Abhinav b380f7604d handle selecting none user files 2023-02-02 18:29:19 +05:30
Abhinav db24e5bdea update handleSelect logic 2023-02-02 18:09:57 +05:30
Abhinav 4e7580127b show ownCount if non user files selected 2023-02-02 18:09:17 +05:30
Abhinav e91eb479ef refactor code 2023-02-02 15:05:59 +05:30
Abhinav 183e4fdc32 fix remove from collection api 2023-02-02 14:59:47 +05:30
Abhinav 0240cb5cf8 show collab added files 2023-02-02 14:31:45 +05:30
Abhinav 8eb7fff4df call remove v3 from non user files 2023-02-02 14:00:20 +05:30
Abhinav e64f1c9ad7 Merge branch 'fix-input-field-error-not-shown' into uncategorised 2023-02-02 13:28:42 +05:30
Abhinav 16ff07f8e6 show headers for non all section even if files count is zero 2023-02-02 13:23:22 +05:30
Ananddubey01 6d780f6b92 changed hasNonSystemCollections 2023-02-02 13:15:55 +05:30
Ananddubey01 6c8ddb32bf added uncategorized to 'UPLOAD_NOT_ALLOWED_COLLECTION_TYPE' 2023-02-02 12:54:56 +05:30
Ananddubey01 afd7ef8907 Added zero count option for sidebar section 2023-02-02 12:40:13 +05:30
Abhinav fc677f3419 add error handling to updateItems and refreshPhotoswipe 2023-02-02 10:46:37 +05:30
Ananddubey01 a4caacd362 Removed uncategorized collections from 'UPLOAD_NOT_ALLOWED_COLLECTION_TYPES' 2023-02-02 10:37:04 +05:30
Ananddubey01 b505a3d3fa Changed Delete Album message and titles color 2023-02-02 10:21:36 +05:30
Ananddubey01 f05446cb33 Changed width of menuOption 2023-02-02 10:13:15 +05:30
Abhinav 4af9ee5bed remove default reset form,and add option in callback 2023-02-02 09:28:21 +05:30
Abhinav 38d6d4dbb6 show dummy uncategorized until actual is created 2023-02-01 18:58:27 +05:30
Ananddubey01 9ca8240f8d Refactored collectionOptions and sidebar shortcutsection 2023-02-01 18:02:21 +05:30
Ananddubey01 c54dedb952 Changed variable names in CollectionOptions and sidebar shortcutSection 2023-02-01 18:00:54 +05:30
Ananddubey01 550e0caadf Merge branch 'main' into uncategorised 2023-02-01 12:21:05 +05:30
Abhinav 0241565b99 fix cleanup to call removeEventListener instead of addEventListener 2023-02-01 11:07:04 +05:30
Abhinav b2eeae2423 fix UPLOAD_NOT_ALLOWED_COLLECTION_TYPES list 2023-02-01 10:41:07 +05:30
Abhinav d176212a05 migrate deleted-collection to remove undefined values 2023-02-01 09:52:48 +05:30
Abhinav 36fda1ae1d throw error so that caller can avoid doing localDB update 2023-02-01 09:50:09 +05:30
Ananddubey01 9ac1f97e40 CollectionOptions: Refactored delete options names 2023-01-31 21:49:59 +05:30
Ananddubey01 ab42e68285 Customized download option text in OnlyDownloadCollectionOption 2023-01-31 21:20:07 +05:30
Ananddubey01 dbc2ab334b Merge branch 'main' into uncategorised 2023-01-31 20:52:22 +05:30
Ananddubey01 8ae4a4a8ac Changed delete album dialogbox in album delete option 2023-01-31 20:50:23 +05:30
Abhinav f599f7d88b Merge branch 'main' into update-filetype-error-handling 2023-01-31 19:59:25 +05:30
Ananddubey01 0b1b1f8c09 Implemented uncategorized count on sidebar 2023-01-31 18:59:55 +05:30
Abhinav c7bcb9cd02 fix addLogLine migration 2023-01-31 17:56:17 +05:30
Ananddubey01 3aa3e6b22b Removed UNCATEGORIZED_SECTION constant and implemented uncategorized count in side pannel 2023-01-31 17:29:39 +05:30
Ananddubey01 b8faf0d22d Implemented Keep photos collection action 2023-01-31 13:01:11 +05:30
Abhinav 0e98cf29a8 replace console.time with addLogLine 2023-01-31 12:54:48 +05:30
Abhinav 96be1ea59b replace console logs with addLogLine 2023-01-31 12:40:33 +05:30
Abhinav 95f20bcbd6 update addLogLine signature to similar to console log 2023-01-31 12:29:48 +05:30
Abhinav 306a9e5c6a fix build 2023-01-31 12:01:58 +05:30
Abhinav 6e5aebffc8 throw UNSUPPORTED_FILE_FORMAT for known non media formats
and TYPE_DETECTION_FAILED for errors
2023-01-31 11:42:45 +05:30
Abhinav 62a6b5963b revert INVALID_FILE_TYPE error change 2023-01-31 11:23:04 +05:30
Abhinav 564b822dbf improve local loggin 2023-01-31 11:21:11 +05:30
Abhinav f7b76ee7c3 throw invalid type error on type detection failure 2023-01-31 11:20:26 +05:30
Abhinav 2219b39ed4 better invalid mime type error 2023-01-31 10:43:34 +05:30
Abhinav 4abf00c734 change CustomError enum to Record 2023-01-31 10:43:14 +05:30
Abhinav 6969df8b39 improve logging 2023-01-30 19:20:12 +05:30
Abhinav 3ae79e57c8 added KNOWN_NON_MEDIA_FORMATS list 2023-01-30 19:18:05 +05:30
Abhinav 197b5f35f3 fix issue 2023-01-30 19:02:26 +05:30
Abhinav 1c3dc048ba updated error handling to ignore windows image processor error 2023-01-30 17:32:10 +05:30