1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01:00
immich/server/test/repositories
BugFest 77e6a6d78b
feat(server): Import face regions from metadata (#6455)
* feat: faces-from-metadata - Import face regions from metadata

Implements immich-app#1692.
- OpenAPI spec changes to accomodate metadata face import configs. New settings to enable the feature.
- Updates admin UI compoments
- ML faces detection/recognition & Exif/Metadata faces compatibility

Signed-off-by: BugFest <bugfest.dev@pm.me>

* chore(web): remove unused file confirm-enable-import-faces

* chore(web): format metadata-settings

* fix(server): faces-from-metadata tests and format

* fix(server): code refinements, nullable face asset sourceType

* fix(server): Add RegionInfo to ImmichTags interface

* fix(server): deleteAllFaces sourceType param can be undefined

* fix(server): exiftool-vendored 27.0.0 moves readArgs into ExifToolOptions

* fix(server): rename isImportFacesFromMetadataEnabled to isFaceImportEnabled

* fix(server): simplify sourceType conditional

* fix(server): small fixes

* fix(server): handling sourceType

* fix(server): sourceType enum

* fix(server): refactor metadata applyTaggedFaces

* fix(server): create/update signature changes

* fix(server): reduce computational cost of Person.getManyByName

* fix(server): use faceList instead of faceSet

* fix(server): Skip regions without Name defined

* fix(mobile): Update open-api (face assets feature changes)

* fix(server): Face-Person reconciliation with map/index

* fix(server): tags.RegionInfo.AppliedToDimensions must be defined to process face-region

* fix(server): fix shared-link.service.ts format

* fix(mobile): Update open-api after branch update

* simplify

* fix(server): minor fixes

* fix(server): person create/update methods type enforcement

* fix(server): style fixes

* fix(server): remove unused metadata code

* fix(server): metadata faces unit tests

* fix(server): top level config metadata category

* fix(server): rename upsertFaces to replaceFaces

* fix(server): remove sourceType when unnecessary

* fix(server): sourceType as ENUM

* fix(server): format fixes

* fix(server): fix tests after sourceType ENUM change

* fix(server): remove unnecessary JobItem cast

* fix(server): fix asset enum imports

* fix(open-api): add metadata config

* fix(mobile): update open-api after metadata open-api spec changes

* fix(web): update web/api metadata config

* fix(server): remove duplicated sourceType def

* fix(server): update generated sql queries

* fix(e2e): tests for metadata face import feature

* fix(web): Fix check:typescript

* fix(e2e): update subproject ref

* fix(server): revert format changes to pass format checks after ci

* fix(mobile): update open-api

* fix(server,movile,open-api,mobile): sourceType as DB data type

* fix(e2e): upload face asset after enabling metadata face import

* fix(web): simplify metadata admin settings and i18n keys

* Update person.repository.ts

Co-authored-by: Jason Rasmussen <jason@rasm.me>

* fix(server): asset_faces.sourceType column not nullable

* fix(server): simplified syntax

* fix(e2e): use SDK for everything except the endpoint being tested

* fix(e2e): fix test format

* chore: clean up

* chore: clean up

* chore: update e2e/test-assets

---------

Signed-off-by: BugFest <bugfest.dev@pm.me>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-09-04 18:23:58 -04:00
..
access.repository.mock.ts feat: tags (#11980) 2024-08-29 12:14:03 -04:00
activity.repository.mock.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
album-user.repository.mock.ts feat: readonly album sharing (#8720) 2024-04-25 04:19:49 +00:00
album.repository.mock.ts refactor(server): remove has asset (#10891) 2024-07-05 15:10:11 -04:00
api-key.repository.mock.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
asset.repository.mock.ts feat: folder view (#11880) 2024-08-21 13:49:37 -05:00
audit.repository.mock.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
crypto.repository.mock.ts feat(server): user and server license endpoints (#10682) 2024-07-01 17:43:16 +00:00
database.repository.mock.ts fix(server): auto-reconnect to database (#12320) 2024-09-04 13:32:43 -04:00
event.repository.mock.ts refactor(server): event emits (#10648) 2024-06-27 15:54:20 -04:00
job.repository.mock.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
library.repository.mock.ts fix(server): don't crash when refreshing large libraries (#7934) 2024-08-28 13:05:48 -04:00
logger.repository.mock.ts feat(server): run microservices in worker thread (#9426) 2024-05-14 15:28:20 +01:00
machine-learning.repository.mock.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
map.repository.mock.ts refactor(server)!: move markers and style to dedicated map endpoint/controller (#9832) 2024-05-29 11:51:01 -04:00
media.repository.mock.ts feat(server): optimize person thumbnail generation (#7513) 2024-05-08 08:09:34 -05:00
memory.repository.mock.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
metadata.repository.mock.ts refactor(server)!: move markers and style to dedicated map endpoint/controller (#9832) 2024-05-29 11:51:01 -04:00
metric.repository.mock.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
move.repository.mock.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
notification.repository.mock.ts feat(server): email notifications (#8447) 2024-05-02 15:43:18 +01:00
partner.repository.mock.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
person.repository.mock.ts feat(server): Import face regions from metadata (#6455) 2024-09-04 18:23:58 -04:00
search.repository.mock.ts refactor(server): add config events for clip (#11575) 2024-08-04 21:00:36 +00:00
server-info.repository.mock.ts chore: build metadata (#10612) 2024-06-26 08:25:09 -04:00
session.repository.mock.ts feat(server): remove inactive sessions (#9121) 2024-04-27 16:45:16 -04:00
shared-link.repository.mock.ts chore: migrate to vitest (#7156) 2024-04-16 10:44:45 -04:00
stack.repository.mock.ts refactor(server): stacks (#11453) 2024-08-19 12:37:15 -05:00
storage.repository.mock.ts fix(server): follow symlinks when zipping assets (#11685) 2024-08-13 11:39:24 -04:00
system-metadata.repository.mock.ts feat(server): user and server license endpoints (#10682) 2024-07-01 17:43:16 +00:00
tag.repository.mock.ts fix(server): tag upsert (#12141) 2024-08-30 12:44:24 -04:00
user.repository.mock.ts feat(server): user and server license endpoints (#10682) 2024-07-01 17:43:16 +00:00