immich/server
Fynn Petersen-Frey 47f5e4134e
feat(mobile): use cached asset info if unchanged instead of downloading all assets (#1017)
* feat(mobile): use cached asset info if unchanged instead of downloading all assets

This adds an HTTP ETag to the getAllAssets endpoint and client-side support in the app.
If locally cache content is identical to the content on the server, the potentially large list of all assets does not need to be downloaded.

* use ts import instead of require
2022-11-26 10:16:02 -06:00
..
apps feat(mobile): use cached asset info if unchanged instead of downloading all assets (#1017) 2022-11-26 10:16:02 -06:00
bin feat(server): reset admin password using cli command in the server container (#928) 2022-11-05 11:28:40 -05:00
libs Added migration needed for OIDC 2022-11-18 23:22:27 -06:00
.dockerignore feat(immich-server) use ubuntu base-image (#851) 2022-10-24 14:59:07 -05:00
.eslintrc.js Transfer repository from Gitlab 2022-02-03 10:06:44 -06:00
.gitignore Added generated geocoding files to gitignore 2022-09-28 15:44:43 -05:00
.prettierrc Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
Dockerfile refactor: multistage builds (#955) 2022-11-10 22:22:17 -06:00
immich-openapi-specs.json feat(mobile): use cached asset info if unchanged instead of downloading all assets (#1017) 2022-11-26 10:16:02 -06:00
LICENSE feat(docker) revert ubuntu base image (#863) 2022-10-25 14:18:37 -05:00
nest-cli.json feat(server,web): system config for admin (#959) 2022-11-14 22:39:32 -06:00
openapitools.json Add OpenAPI Specs and Response DTOs (#320) 2022-07-08 21:26:50 -05:00
package-lock.json chore(server) refactor serveFile and downloadFile endpoint (#978) 2022-11-16 00:11:16 -06:00
package.json chore(server) refactor serveFile and downloadFile endpoint (#978) 2022-11-16 00:11:16 -06:00
README.md feat(server,web): system config for admin (#959) 2022-11-14 22:39:32 -06:00
start-microservices.sh Improve Docker setup and reduce memory usage of production containers (#338) 2022-07-13 07:42:00 -05:00
start-server.sh Improve Docker setup and reduce memory usage of production containers (#338) 2022-07-13 07:42:00 -05:00
tsconfig.build.json Transfer repository from Gitlab 2022-02-03 10:06:44 -06:00
tsconfig.json feat(server,web): system config for admin (#959) 2022-11-14 22:39:32 -06: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.