mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
3f2513a717
* chore: add typeorm commands to npm and set default database config values * feat: move to server side authentication tokens * fix: websocket should emit error and disconnect on error thrown by the server * refactor: rename cookie-auth-strategy to user-auth-strategy * feat: user tokens and API keys now use SHA256 hash for performance improvements * test: album e2e test remove unneeded module import * infra: truncate api key table as old keys will no longer work with new hash algorithm * fix(server): e2e tests (#1435) * fix: root module paths * chore: linting * chore: rename user-auth to strategy.ts and make validate return AuthUserDto * fix: we should always send HttpOnly for our auth cookies * chore: remove now unused crypto functions and jwt dependencies * fix: return the extra fields for AuthUserDto in auth service validate --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com> |
||
---|---|---|
.. | ||
apps | ||
bin | ||
libs | ||
openapi-generator/templates/serialization/native | ||
.dockerignore | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
Dockerfile | ||
immich-openapi-specs.json | ||
LICENSE | ||
nest-cli.json | ||
openapitools.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
start-microservices.sh | ||
start-server.sh | ||
tsconfig.build.json | ||
tsconfig.json |
How to run migration
- Attached to the container shell
- Run
npm run typeorm -- migration:generate ./libs/database/src/<migration-name> -d libs/database/src/config/database.config.ts
- Check if the migration file makes sense
- Move the migration file to folder
server/libs/database/src/migrations
in your code editor.