0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-02-04 01:09:14 -05:00
immich/server/apps
Jaime Baez 20c5578470
Make user business logic reusable (#1114)
- Refactor user business logic from `user.service` into `user.domain`
  Make user business logic reusable by using `user.domain` from other services than `user.service`

- Add `jest-when` lib to make testing easier and use it in `userService`
  Using when helps from coupling tests to order of mock implementations execution

- Move all user business logic from user-repository to user.service

- Fix user.service tests not awaiting promises leaking state between tests

- Presentation logic for `getUserProfileImage` moved from UserService to UserController

- Fix `user.e2e` test logic. Pending fixing the configuration of the test itself
2022-12-23 21:08:50 +01:00
..
cli feat(server): reset admin password using cli command in the server container (#928) 2022-11-05 11:28:40 -05:00
immich Make user business logic reusable (#1114) 2022-12-23 21:08:50 +01:00
microservices chore(server) Add job for storage migration (#1117) 2022-12-19 12:13:10 -06:00