Commit Graph
6 Commits
Author SHA1 Message Date
Leon Tonhäuser dd60fd6ee6 feat: auto-assign new Immich albums via keyword rules
Auto-assignment rules were only applied when an admin clicked
"Regeln jetzt anwenden". New albums created in Immich therefore
never reached editorials automatically.

- applyAllRules() syncs every active editorial's keywords against the
  full album list in one pass and grants matches as system actor
- in-process scheduler (src/instrumentation.ts) runs the sync every
  AUTO_RULE_SYNC_INTERVAL_SECONDS (default 120s)
- POST /api/cron/album-sync allows external triggers via CRON_SECRET
- overlapping sync runs coalesce to avoid duplicate grants/emails
2026-08-25 01:05:04 +02:00
Leon TonhäuserandClaude 21d41c7017 docs: record archiver v8 export-is-a-class gotcha in AI_MEMORY
Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-11 14:48:14 +02:00
Leon TonhäuserandClaude ca5f79e193 docs: correct AI_MEMORY album-membership guidance for current Immich
getAlbum no longer returns assets on current Immich (AlbumService.get uses
{ withAssets: false }), so the old "getAlbum + iterate album.assets" best
practice is wrong and caused the download-404 bug. Document the
search/metadata id+albumIds membership check now in use.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-11 14:26:16 +02:00
Leon Tonhäuser b81cd7c3e2 docs: update AI Memory with watermark, responsive emails and image styling quirks 2026-08-11 13:14:45 +02:00
Leon Tonhäuser ed957e6559 docs: update AI memory with recent fixes and architectural knowledge 2026-08-11 12:52:23 +02:00
Leon Tonhäuser 4667615ed0 feat: implement hard delete, email notifications, watermark, and fix bulk download 2026-08-11 12:28:39 +02:00