1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 11:15:54 +02:00
immich/server/test/fixtures
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
..
activity.stub.ts chore: migrate database files (#8126) 2024-03-20 21:02:51 +00:00
album.stub.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
api-key.stub.ts chore: migrate database files (#8126) 2024-03-20 21:02:51 +00:00
asset.stub.ts chore: object shorthand linting rule (#12152) 2024-08-30 14:38:53 -04:00
audit.stub.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
auth.stub.ts feat(server): user and server license endpoints (#10682) 2024-07-01 17:43:16 +00:00
face.stub.ts feat(server): Import face regions from metadata (#6455) 2024-09-04 18:23:58 -04:00
file.stub.ts feat: API operation replaceAsset, POST /api/asset/:id/file (#9684) 2024-05-23 20:26:22 -04:00
library.stub.ts refactor: library type (#9525) 2024-05-20 18:09:10 -04:00
media.stub.ts feat(server): accepted video containers (#11274) 2024-07-21 21:14:23 +00:00
memory.stub.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00
metadata.stub.ts feat(server): Import face regions from metadata (#6455) 2024-09-04 18:23:58 -04:00
partner.stub.ts chore: migrate database files (#8126) 2024-03-20 21:02:51 +00:00
person.stub.ts fix(server): correct person birth date across timezones (#11369) 2024-07-29 19:52:04 -04:00
session.stub.ts refactor(server): sessions (#8915) 2024-04-19 06:47:29 -04:00
shared-link.stub.ts fix: remove asset.resized (#11983) 2024-08-22 23:24:49 -04:00
system-config.stub.ts fix: auth sub override (#9635) 2024-05-21 09:07:34 -04:00
tag.stub.ts feat: tags (#11980) 2024-08-29 12:14:03 -04:00
user.stub.ts refactor(server): enums (#11809) 2024-08-15 06:57:01 -04:00