immich/server
Alex a9859bc029
feat: Add description (#2237)
* Added dto, logic to insert description and web implementation

* create text field and update on remote database

* Update description and save changes

* styling

* fix web test

* fix server test

* preserve description on metadata extraction job run

* handle exif info is null situation

* pr feedback

* format openapi spec

* update createAssetDto

* refactor logic to service

* move files

* only owner can update description

* Render description correctly in shared album

* Render description correctly in shared link

* disable description edit for not owner of asset on mobile

* localization and clean up

* fix test

* Uses providers for description text (#2244)

* uses providers for description text

* comments

* fixes initial data setting

* fixes notifier

---------

Co-authored-by: martyfuhry <martyfuhry@gmail.com>
2023-04-13 10:22:06 -05:00
..
apps feat: Add description (#2237) 2023-04-13 10:22:06 -05:00
bin fix(server): more asset upload validation and docs (#1720) 2023-02-11 23:54:07 -06:00
libs feat: Add description (#2237) 2023-04-13 10:22:06 -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 fix(server): Revert alpine version to fix Sharp dependencies not installed correctly (#2172) 2023-04-05 02:57:30 +00:00
immich-openapi-specs.json feat: Add description (#2237) 2023-04-13 10:22:06 -05:00
LICENSE feat(docker) revert ubuntu base image (#863) 2022-10-25 14:18:37 -05:00
nest-cli.json chore: remove unused config (#2121) 2023-03-30 12:22:25 -05:00
openapitools.json chore(server): update openapi (#2205) 2023-04-08 21:26:09 -05:00
package-lock.json chore(deps): bump class-validator from 0.13.2 to 0.14.0 in /server (#2240) 2023-04-12 20:56:07 +00:00
package.json chore(deps): bump class-validator from 0.13.2 to 0.14.0 in /server (#2240) 2023-04-12 20:56:07 +00: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.