immich/server
Sergey Kondrikov 2c67090e3c
feat(server): add transcode presets (#2084)
* feat: add transcode presets

* Add migration

* chore: generate api

* refactor: use enum type instead of string for transcode option

* chore: generate api

* refactor: enhance readability of runVideoEncode method

* refactor: reuse SettingSelect for transcoding presets

* refactor: simplify return statement

* chore: regenerate api

* fix: correct label attribute

* Update import

* fix test

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2023-03-28 14:03:43 -05:00
..
apps feat(server): add transcode presets (#2084) 2023-03-28 14:03:43 -05:00
bin fix(server): more asset upload validation and docs (#1720) 2023-02-11 23:54:07 -06:00
libs feat(server): add transcode presets (#2084) 2023-03-28 14:03:43 -05:00
openapi-generator fix(server): more asset upload validation and docs (#1720) 2023-02-11 23:54:07 -06:00
.dockerignore feat(immich-server) use ubuntu base-image (#851) 2022-10-24 14:59:07 -05:00
.eslintrc.js chore(docs): contributing (#1311) 2023-01-12 08:44:11 -06:00
.gitignore Added generated geocoding files to gitignore 2022-09-28 15:44:43 -05:00
.prettierignore chore(docs): contributing (#1311) 2023-01-12 08:44:11 -06:00
.prettierrc Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
Dockerfile chore: reduce docker image size (#1523) 2023-02-02 21:28:34 -06:00
immich-openapi-specs.json feat(server): add transcode presets (#2084) 2023-03-28 14:03:43 -05:00
LICENSE feat(docker) revert ubuntu base image (#863) 2022-10-25 14:18:37 -05:00
nest-cli.json refactor(server): domain/infra (#1298) 2023-01-11 21:34:36 -05:00
openapitools.json Add OpenAPI Specs and Response DTOs (#320) 2022-07-08 21:26:50 -05:00
package-lock.json Version v1.51.2 2023-03-22 21:12:45 +00:00
package.json feat(server): split generated content into a separate folder (#2047) 2023-03-25 09:50:57 -05:00
README.md feat(server,web): system config for admin (#959) 2022-11-14 22:39:32 -06:00
start-microservices.sh feat(deployment): support docker secrets (#1254) 2023-02-05 23:38:06 -06:00
start-server.sh feat(deployment): support docker secrets (#1254) 2023-02-05 23:38:06 -06:00
tsconfig.build.json Transfer repository from Gitlab 2022-02-03 10:06:44 -06:00
tsconfig.json refactor(server): common (#2066) 2023-03-23 23:55:15 -05:00

How to run migration

  1. Attached to the container shell
  2. Run npm run typeorm -- migration:generate ./libs/database/src/<migration-name> -d libs/database/src/config/database.config.ts
  3. Check if the migration file makes sense
  4. Move the migration file to folder server/libs/database/src/migrations in your code editor.