feat: Team leader role permissions, certificate generation, and bug fixes

- Add team_leader access to /admin/users endpoint for user list viewing
- Add PDF certificate generation for AI Kurzy with Puppeteer
- Add certificate assets (background, signatures)
- Add getPrilohaById and download endpoint for attachments
- Fix time tracking service permissions for team_leader
- Fix timesheet controller/service permissions for team_leader
- Fix calendar badge to include reminders in count
- Add lastSeen to message service for online indicator

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
richardtekula
2026-01-29 10:58:42 +01:00
parent a4a81ef88e
commit 225936e64a
18 changed files with 1229 additions and 54 deletions

View File

@@ -3,5 +3,5 @@ export { getAllUcastnici, getUcastnikById, createUcastnik, updateUcastnik, delet
export {
getAllRegistracie, getRegistraciaById, createRegistracia, updateRegistracia, deleteRegistracia,
getCombinedTableData, updateField,
getPrilohyByRegistracia, createPriloha, deletePriloha,
getPrilohyByRegistracia, createPriloha, deletePriloha, getPrilohaById,
} from './ai-kurzy/registracie.service.js';