[PR #811] [CLOSED] feat: add admin config module for user configured config #8773

Closed
opened 2026-02-05 13:53:01 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/811
Author: @zackpollard
Created: 10/12/2022
Status: Closed

Base: mainHead: feat/system-config


📝 Commits (9)

  • 56d235c feat: add admin config module for user configured config, uses it for ffmpeg
  • c545191 feat: add api endpoint to retrieve admin config settings and values
  • 701429f feat: add settings panel to admin page on web (wip)
  • 5f63c32 feat: add api endpoint to update the admin config
  • ea84967 chore: re-generate openapi spec after rebase
  • ef9a1e0 refactor: move from admin config to system config naming
  • 296e21c chore: move away from UseGuards to new @Authenticated decorator
  • e2574bc style: dark mode styling for lists and fix conflicting colors
  • c06d7cf wip: 2 column design, no edit button

📊 Changes

43 files changed (+1219 additions, -129 deletions)

View changed files

📝 mobile/openapi/.openapi-generator/FILES (+4 -0)
📝 mobile/openapi/README.md (+108 -105)
mobile/openapi/doc/AdminConfigResponseDto.md (+15 -0)
mobile/openapi/doc/ConfigApi.md (+105 -0)
mobile/openapi/doc/SystemConfigResponseDto.md (+15 -0)
📝 mobile/openapi/lib/api.dart (+2 -0)
mobile/openapi/lib/api/config_api.dart (+106 -0)
📝 mobile/openapi/lib/api_client.dart (+2 -0)
mobile/openapi/lib/model/admin_config_response_dto.dart (+111 -0)
mobile/openapi/lib/model/system_config_response_dto.dart (+111 -0)
mobile/openapi/test/admin_config_api_test.dart (+26 -0)
mobile/openapi/test/admin_config_response_dto_test.dart (+27 -0)
mobile/openapi/test/config_api_test.dart (+31 -0)
mobile/openapi/test/system_config_response_dto_test.dart (+27 -0)
📝 server/README.md (+6 -1)
server/apps/immich/src/api-v1/config/config.controller.ts (+35 -0)
server/apps/immich/src/api-v1/config/config.module.ts (+18 -0)
server/apps/immich/src/api-v1/config/config.service.ts (+20 -0)
server/apps/immich/src/api-v1/config/dto/set-system-config.ts (+19 -0)
server/apps/immich/src/api-v1/config/response-dto/system-config-response.dto.ts (+5 -0)

...and 23 more files

📄 Description

This adds an admin config library and service that has default values and, if they exist, retrieves the user configured value from the database. Also includes implementation for use with the current ffmpeg implementation to make it more configurable for the admin of the server.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/811 **Author:** [@zackpollard](https://github.com/zackpollard) **Created:** 10/12/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/system-config` --- ### 📝 Commits (9) - [`56d235c`](https://github.com/immich-app/immich/commit/56d235cf44befe2c323b1512eab14570c53222f7) feat: add admin config module for user configured config, uses it for ffmpeg - [`c545191`](https://github.com/immich-app/immich/commit/c5451910fb7938bf99c35b79c4590708c0761de4) feat: add api endpoint to retrieve admin config settings and values - [`701429f`](https://github.com/immich-app/immich/commit/701429ff4387c0ac637e97a487a614102ea8d6b9) feat: add settings panel to admin page on web (wip) - [`5f63c32`](https://github.com/immich-app/immich/commit/5f63c321315ff3a0c7d08ff0863ddcbae334216a) feat: add api endpoint to update the admin config - [`ea84967`](https://github.com/immich-app/immich/commit/ea84967ece4fb49b8dea9437eeacbe2c94f25cd9) chore: re-generate openapi spec after rebase - [`ef9a1e0`](https://github.com/immich-app/immich/commit/ef9a1e05a1ba374d1c1edb362aa9845a6baf0428) refactor: move from admin config to system config naming - [`296e21c`](https://github.com/immich-app/immich/commit/296e21c021da4c1de49589725e44ead8e26e060c) chore: move away from UseGuards to new @Authenticated decorator - [`e2574bc`](https://github.com/immich-app/immich/commit/e2574bc7cbf166ef68655a0acaeb032c5d76b070) style: dark mode styling for lists and fix conflicting colors - [`c06d7cf`](https://github.com/immich-app/immich/commit/c06d7cf5cffbfbd6eab398349253dec4832f61c1) wip: 2 column design, no edit button ### 📊 Changes **43 files changed** (+1219 additions, -129 deletions) <details> <summary>View changed files</summary> 📝 `mobile/openapi/.openapi-generator/FILES` (+4 -0) 📝 `mobile/openapi/README.md` (+108 -105) ➕ `mobile/openapi/doc/AdminConfigResponseDto.md` (+15 -0) ➕ `mobile/openapi/doc/ConfigApi.md` (+105 -0) ➕ `mobile/openapi/doc/SystemConfigResponseDto.md` (+15 -0) 📝 `mobile/openapi/lib/api.dart` (+2 -0) ➕ `mobile/openapi/lib/api/config_api.dart` (+106 -0) 📝 `mobile/openapi/lib/api_client.dart` (+2 -0) ➕ `mobile/openapi/lib/model/admin_config_response_dto.dart` (+111 -0) ➕ `mobile/openapi/lib/model/system_config_response_dto.dart` (+111 -0) ➕ `mobile/openapi/test/admin_config_api_test.dart` (+26 -0) ➕ `mobile/openapi/test/admin_config_response_dto_test.dart` (+27 -0) ➕ `mobile/openapi/test/config_api_test.dart` (+31 -0) ➕ `mobile/openapi/test/system_config_response_dto_test.dart` (+27 -0) 📝 `server/README.md` (+6 -1) ➕ `server/apps/immich/src/api-v1/config/config.controller.ts` (+35 -0) ➕ `server/apps/immich/src/api-v1/config/config.module.ts` (+18 -0) ➕ `server/apps/immich/src/api-v1/config/config.service.ts` (+20 -0) ➕ `server/apps/immich/src/api-v1/config/dto/set-system-config.ts` (+19 -0) ➕ `server/apps/immich/src/api-v1/config/response-dto/system-config-response.dto.ts` (+5 -0) _...and 23 more files_ </details> ### 📄 Description This adds an admin config library and service that has default values and, if they exist, retrieves the user configured value from the database. Also includes implementation for use with the current ffmpeg implementation to make it more configurable for the admin of the server. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 13:53:01 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8773