0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-11 02:23:09 -05:00
immich/server
Fynn Petersen-Frey 47f5e4134e
feat(mobile): use cached asset info if unchanged instead of downloading all assets ()
* 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 () 2022-11-26 10:16:02 -06:00
bin
libs Added migration needed for OIDC 2022-11-18 23:22:27 -06:00
.dockerignore
.eslintrc.js
.gitignore
.prettierrc
Dockerfile
immich-openapi-specs.json feat(mobile): use cached asset info if unchanged instead of downloading all assets () 2022-11-26 10:16:02 -06:00
LICENSE
nest-cli.json
openapitools.json
package-lock.json chore(server) refactor serveFile and downloadFile endpoint () 2022-11-16 00:11:16 -06:00
package.json chore(server) refactor serveFile and downloadFile endpoint () 2022-11-16 00:11:16 -06:00
README.md
start-microservices.sh
start-server.sh
tsconfig.build.json
tsconfig.json

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.