Commit graph

1056 commits

Author SHA1 Message Date
Abhinav 8d81368a34 change Url to URL 2022-01-20 12:13:10 +05:30
Abhinav 1a74eccdd7 change Url to URL 2022-01-20 12:12:27 +05:30
Abhinav 6303f2d606 fix send report 2022-01-19 17:14:46 +05:30
Abhinav 072e471f27 update to hadle new URL format 2022-01-19 16:24:43 +05:30
Abhinav 13ebc48f9c add deleteSharableURL api and UI 2022-01-19 16:23:59 +05:30
Abhinav a648695e44 add go to ente button 2022-01-19 12:55:15 +05:30
Abhinav f2caf2758b add abuse report logic 2022-01-18 18:38:24 +05:30
Abhinav ad7f24e8df disable report abuse form 2022-01-17 18:16:33 +05:30
Abhinav 292c3c4a1f add report abuse buttona and form 2022-01-17 18:12:53 +05:30
Abhinav 2b5cea72a5 rename sharedCollection to publicCollection 2022-01-17 16:48:13 +05:30
Abhinav a53ebd5ce4 add local caching to sharedURLAlbum gallery
collection info api and ui element
open in ente button
2022-01-17 16:48:13 +05:30
Abhinav 8d81fc0342 add OpenInEnte component 2022-01-17 16:48:13 +05:30
Abhinav ecc2ce7093 add logic and apis for viewing sharedAlbum Thumbnails and files 2022-01-17 16:48:13 +05:30
Abhinav 80f3c1bdda small bug fixes 2022-01-17 16:48:13 +05:30
Abhinav 429211f9a8 add create sharable url logic
ui for opening shared collections
2022-01-17 16:48:09 +05:30
Abhinav 05f19c3303 handle plan modal opening error better 2022-01-15 11:01:09 +05:30
Abhinav 22528bb7ca dont animate currentSubscribedPlan 2022-01-14 17:43:40 +05:30
Shailesh Pandit ec0108dda6 Start and stop sync job from debug page
using ml work manager
2022-01-14 15:51:37 +05:30
Abhinav 13c362f16c fixes unable to select consective item range select 2022-01-13 14:18:50 +05:30
Abhinav 6516246499 fixes https://sentry.ente.io/organizations/ente/issues/2338/
adds rangeStart undefined check
2022-01-13 14:18:00 +05:30
Shailesh Pandit f5e45a8b73 Show filtered faces based on detection probability
Some styling changes of debug page
2022-01-13 13:39:13 +05:30
Abhinav Kumar 44b2907c69
Merge pull request #295 from ente-io/fix-search-count
fix search count by updating it when filteredData changes
2022-01-13 11:14:58 +05:30
Abhinav 41a23dbc0b fix search count by updating it when filteredData changes 2022-01-13 10:39:14 +05:30
Shailesh Pandit 5f6e617f68 Show upto 200 people in search box
Make people list in search box scrollable
2022-01-13 09:28:01 +05:30
Shailesh Pandit 09c9deda5e Disabling large mst binary tree display on ml debug
Fix wrong assumptions in faceId comment
2022-01-13 07:16:54 +05:30
Shailesh Pandit 4cd781d201 Update hdbscan to remove mst tree from storage 2022-01-12 20:35:04 +05:30
Abhinav bed6a086a6 use suggested if available during first upload 2022-01-12 14:42:46 +05:30
Shailesh Pandit 0c1db302c1 Extract ConfigEditor as component 2022-01-11 09:42:31 +05:30
Shailesh Pandit 2ceca69514 Move ml react components to a folder 2022-01-11 08:44:33 +05:30
Shailesh Pandit aa6b40b724 Make ml sync configs editable on debug page 2022-01-10 22:28:09 +05:30
Shailesh Pandit b90cd62fa8 Store configs in db 2022-01-10 20:20:06 +05:30
Shailesh Pandit 4237b9cfc7 Display clusters and mst in treeview on ml debug
from last clustering run
2022-01-09 22:40:55 +05:30
Shailesh Pandit bb000c0c69 ML Debug refresh for all identified people
Clear people index button
2022-01-09 18:32:25 +05:30
Shailesh Pandit 0d9d79e979 Display all peope on ml debug 2022-01-09 10:05:13 +05:30
abhinavkgrd 9d727f23b6
Merge pull request #287 from ente-io/handle-exifr-error
handle exifr parsing failure gracefully
2022-01-08 15:08:05 +05:30
Abhinav d4eb485829 handle exifr parsing fail 2022-01-08 13:44:51 +05:30
Abhinav 585d3acf88 fix multiple folder detection for sibling folder with no common ancestor 2022-01-08 13:09:43 +05:30
Shailesh Pandit c995729ab9 Use face crop cache to store person display face 2022-01-07 19:20:56 +05:30
Shailesh Pandit 03a3a57055 Use only path of cached face crop in export 2022-01-07 13:56:45 +05:30
Shailesh Pandit 1b0d6e8da4 Catch error while showing blob image to not crash app 2022-01-07 09:18:39 +05:30
Shailesh Pandit 3d81ffd84b Export and Import ml data from ml debug 2022-01-07 09:06:18 +05:30
abhinavkgrd 6d219275c0
Merge pull request #263 from ente-io/upload-types-refactor
Extract types and constants from services and components
2022-01-06 18:36:23 +05:30
abhinavkgrd b297e9fd64
Merge pull request #278 from ente-io/fix-double-counting-selected-items
Fix overlapping range select behaviour
2022-01-06 14:30:46 +05:30
Abhinav 73882919d1 handle case where range select with few selected and few unselected items
select all the items in the union of two ranges
2022-01-06 14:12:41 +05:30
Abhinav 6d76611079 fix counting again 🥲 2022-01-06 13:53:29 +05:30
Abhinav 314f8d44b1 handle range deselection 2022-01-06 13:35:27 +05:30
Abhinav a24ace5946 deselect items if overlap between range selected value 2022-01-06 13:07:52 +05:30
Abhinav e41b3c184f make onSelect required prop 2022-01-06 13:07:18 +05:30
Abhinav 2044f4f6cf remove unneccsary console log 2022-01-06 12:15:13 +05:30
Abhinav bf6a0ef7cc fix double counting selected items if new and previous range select overlap 2022-01-06 12:14:18 +05:30
Abhinav 14b1e59c90 abstract SmallLoadingSpinner 2022-01-06 10:21:08 +05:30
Abhinav 3c4a0f7b6a add loading spinner during creation udpate api call 2022-01-06 10:11:33 +05:30
Shailesh Pandit 19c3654926 Rename tfjs face detection and embedding service files 2022-01-06 07:20:29 +05:30
Shailesh Pandit 19aae1a75b Refactor interfaces
Use composition to store face analysis results
Add face id to stored face
2022-01-06 06:49:08 +05:30
Abhinav e4f649c467 refactor upload service constants and types 2022-01-05 13:27:10 +05:30
Abhinav 344d2b2c0c move ProgressUpdater interface to UIService 2022-01-05 13:00:29 +05:30
Abhinav a5849600b1 move errorUtil from utils/common to utils/error 2022-01-05 12:25:48 +05:30
Abhinav b00d7ea2b0 move file enums to constants/file 2022-01-05 12:18:46 +05:30
Abhinav 9e0fef4743 move export enums to constants/export 2022-01-05 12:14:22 +05:30
Shailesh Pandit 2471a57b3b Store face crops in cache to reduce io
when updating indexeddb
2022-01-05 12:12:24 +05:30
Abhinav ce22425be9 move collection enum to constants/collection 2022-01-05 12:11:32 +05:30
Abhinav 11e990ffe9 move file constants to constants/file 2022-01-04 17:27:19 +05:30
Abhinav 8a96b73b37 moved export constants to constants/export 2022-01-04 17:19:14 +05:30
Abhinav 8f0a0d3f18 fix FIX_CREATION_TIME_VISIBLE_TO_USER_IDS import 2022-01-04 17:12:43 +05:30
Abhinav 5a84003388 move collection constants to constants/collection 2022-01-04 16:54:39 +05:30
Abhinav dfdf2897d4 move constants from util to src directory and split into sub folders 2022-01-04 16:50:54 +05:30
Abhinav b10a43b3a8 move gallery related types to types/gallery 2022-01-04 16:27:59 +05:30
Abhinav f30a5103bc renamed types to util/constants 2022-01-04 16:19:58 +05:30
Abhinav 41b8ed55a2 moved user related types to types/user 2022-01-04 16:09:42 +05:30
Abhinav 79f6ebc454 moved search related types to types/search 2022-01-04 15:48:33 +05:30
Abhinav aba964922e moved file related types to types/file 2022-01-04 15:20:14 +05:30
Abhinav f8af3a9a39 moved export types to types/export 2022-01-04 14:21:47 +05:30
Abhinav 2aba5cb058 moved collection related types to types/collection 2022-01-04 14:17:38 +05:30
Abhinav 1a1c4d145c created types for billing and renamed billingUtil to billing/index 2022-01-04 14:05:41 +05:30
Shailesh Pandit 4cb552046a Use IndexedDB without forage to use indexes 2022-01-04 11:26:16 +05:30
Shailesh Pandit fa7453323d Remove unnecessary sorting while getting out of sync files
Add timing logs to getPeopleList and getOutOfSyncFiles
2022-01-03 15:02:48 +05:30
Shailesh Pandit 86052cc393 Run face clustering using configured method
Save face clustering results
Display noise faces on ml debug page
2021-12-31 12:08:50 +05:30
Shailesh Pandit 30f9088c81 Show face crops and images in rows 2021-12-29 18:45:47 +05:30
Shailesh Pandit 778431d01b Normalize landmark and box thickness in ml debug 2021-12-29 17:11:46 +05:30
Shailesh Pandit 385acec1ab Do 2nd pass of blazeface on close ups
for better accuracy
Transform utils
2021-12-28 20:30:52 +05:30
Shailesh Pandit 72b2a6ad8b Handle empty faces in unidentified faces 2021-12-25 14:22:38 +05:30
Shailesh Pandit 8177cd336b Show unidentified faces in info panel
Add local file debugging info to ml debug page
showing aligned face box and landmarks and face crops
2021-12-25 13:07:24 +05:30
Shailesh Pandit b4c31c5845 Store face crops, extract aligned faces from face crops
Align faces using center, size and rotation only, using this aligned faces can be extracted without whole image
2021-12-23 18:27:53 +05:30
Abhinav bff8411284 adds download collection option 2021-12-20 13:00:56 +05:30
Shailesh Pandit 2d17dd30e9 For uploaded files use local files for ML Sync
Extract out ML work manager and sync job from worker
Start and stop ML Sync job on app start, login and logout
2021-12-12 23:12:18 +05:30
Shailesh Pandit 470f9fb931 Move machine learning types to types folder 2021-12-08 12:43:51 +05:30
Shailesh Pandit 28b77bcf0a Merge branch 'master' into machine-learning 2021-12-07 18:41:29 +05:30
Abhinav 2424767e79 null safe variable 2021-12-07 12:54:11 +05:30
Shailesh Pandit 7bfddfedce Handle async updates in PeopleList 2021-12-01 11:18:36 +05:30
Abhinav cff0959cf3 Merge branch 'master' into export-v2 2021-11-29 14:56:22 +05:30
Abhinav 3a0e6b2f98 renamed get preview to getThumbnail 2021-11-29 14:12:24 +05:30
Shailesh Pandit 1d41644ac8 Add people to search, filter photos by person 2021-11-28 21:45:44 +05:30
Shailesh Pandit e96e1a9ee4 Show people face chips in info panel of image 2021-11-28 11:17:56 +05:30
Abhinav 97b9ac0626 add download all button 2021-11-27 13:23:05 +05:30
Shailesh Pandit 0d72fccd7a Streamline clustering config and service
Fix tsne
MLDebug to have start and stop ml sync
2021-11-27 09:55:39 +05:30
Abhinav fe6d0c4125 merge master into export-v2 2021-11-26 12:06:58 +05:30
Vishnu Mohandas 935f480b04
Merge pull request #250 from ente-io/photoswipe-error-handling
fixes photoswipe issues
2021-11-25 23:07:14 +05:30
Shailesh Pandit 1f0853debd Run ml-worker batches continuously
Persist versioned faces in indexdb
2021-11-25 22:08:28 +05:30
Abhinav 80e26b10b7 fix width and height missing from photoswipe items 2021-11-25 17:25:56 +05:30
abhinavkgrd d1e98d17a5
Merge pull request #247 from ente-io/fix-multi-folder-detection
Fix multi folder detection
2021-11-24 13:51:43 +05:30
Abhinav 18878ec240 remove console logs 2021-11-23 17:24:58 +05:30
Abhinav e204fb2aef fix multiple folder detection 2021-11-23 17:24:58 +05:30
Shailesh Pandit 986f514cba Hide clustering params not used in hdbscan 2021-11-22 11:53:59 +05:30
Abhinav dcc13dc317 fix UI 2021-11-22 11:40:04 +05:30
Abhinav b95be7bf06 fix style 2021-11-19 02:21:10 +05:30
Abhinav 56791e2c91 update layout 2021-11-19 01:36:58 +05:30
Abhinav 60fef97f7b update copies 2021-11-19 01:34:54 +05:30
Abhinav db92ac123f update string 2021-11-19 00:59:56 +05:30
Abhinav 8d6b889126 fix date selector width 2021-11-19 00:49:39 +05:30
Abhinav b928052165 make fix creation time visible to array of userIds 2021-11-19 00:25:11 +05:30
Abhinav aca752f00e refactor component 2021-11-19 00:25:11 +05:30
Abhinav b2162c4398 add options for fix creation time 2021-11-19 00:24:47 +05:30
Abhinav 91cbbfc3eb refactor date picker into seperate component 2021-11-18 22:20:53 +05:30
abhinavkgrd e913615f57
Merge pull request #221 from ente-io/fix-creation-time
Fix creation time
2021-11-17 22:26:16 +05:30
Abhinav d62739e259 show fix creation for selected user 2021-11-17 15:10:09 +05:30
Shailesh Pandit 4171e8cb3a Use blazeface for detection, face-api for alignment and embeddings 2021-11-17 14:01:30 +05:30
Abhinav d15cef404d update strings 2021-11-17 13:05:41 +05:30
Abhinav de2acbcf32 fix updateExportTime 2021-11-17 11:58:50 +05:30
Abhinav 29ecff60d6 reorder selection bar icons 2021-11-17 10:29:40 +05:30
Abhinav 70b3e59fbf add fix time icon 2021-11-16 17:55:19 +05:30
Abhinav 638dab4421 fix setting fixState on modal open 2021-11-16 13:08:25 +05:30
Abhinav 80fda73a79 move fix CreationTime option to selectionOption bar 2021-11-16 12:27:23 +05:30
Shailesh Pandit cbaba79db9 Use hdbscan debug info to visualize mst tree 2021-11-14 16:30:23 +05:30
Neeraj Gupta 9b333807a2
Add support to show mnemonic recovery key 2021-11-13 00:23:05 +05:30
Abhinav ab73e7f8a9 Merge branch 'master' into close-for-without-edit 2021-11-12 10:53:38 +05:30
Abhinav c6318dd808 remove commented code 2021-11-11 12:54:28 +05:30
Abhinav 04ab5a1651 dont create inline function for startFix 2021-11-10 15:02:36 +05:30
Abhinav 088d7e2156 sync after fix creation time completion 2021-11-10 14:55:29 +05:30
Abhinav 87089eec43 adds logic to refresh state on repen 2021-11-10 13:46:16 +05:30
Abhinav 76842b92a6 Merge branch 'master' into fix-creation-time 2021-11-10 12:50:34 +05:30
Abhinav 8c3106f66d added fail safe for exportModal state update on reopen 2021-11-09 22:40:57 +05:30
Abhinav b651d16ee5 skip shared-collections during export 2021-11-09 22:40:57 +05:30
Abhinav 15f12a6f8e fix filename spliting 2021-11-09 22:33:09 +05:30
Shailesh Pandit 4d8c1571df Use TSNE to visualize faces over 2d plot 2021-11-09 19:16:52 +05:30
Abhinav b225b4ff35 simpley close date edit if saved without edit 2021-11-09 16:06:12 +05:30
Abhinav 1dc5ecb061 minor improvments 2021-11-09 15:59:37 +05:30
Abhinav d807828b77 remove valid file extension detection logic 2021-11-09 15:43:10 +05:30
Abhinav 4f3faf3d78 use formik for file name update form state management 2021-11-09 15:32:27 +05:30
Abhinav aa90e897b4 update EnteSpinner to use props passed to it 2021-11-09 15:31:09 +05:30
Abhinav 40846245ff break long file name 2021-11-08 12:49:04 +05:30
Shailesh Pandit 4bd52d53ee Use HDBSCAN for clustering and visualize results 2021-11-07 19:09:39 +05:30
Shailesh Pandit 48388aa125 Use centroid of cluster as summary
Increase face detection minConfidence
2021-11-07 07:39:28 +05:30
Shailesh Pandit 0ed8df8c17 Make maxFaceDistance configurable 2021-11-06 14:26:12 +05:30
Shailesh Pandit 15fcfbde44 Distribute noise to nearest initial clusters if distance is within limit 2021-11-06 14:03:12 +05:30
Shailesh Pandit dbb5e99fda Restrict face distance further 2021-11-06 11:27:07 +05:30
Shailesh Pandit 833f25e07f Add batch size, return all info to derive face images later
Required to reduce worker -> caller payload size later
2021-11-06 10:59:05 +05:30
Shailesh Pandit 0db387cdb1 Tweak default parameters based on initial results 2021-11-05 22:05:10 +05:30
Shailesh Pandit a5453b8858 Add minFaceSize to limit small faces 2021-11-05 21:44:38 +05:30
Shailesh Pandit 6fb22e429c Testing with face face-api.js 2021-11-05 20:56:41 +05:30
Abhinav 91825db617 Merge branch 'master' into update-file-title 2021-11-05 13:26:12 +05:30