15 Commits

Author SHA1 Message Date
Glenn de Haan
24bfbedc42 Updated dependencies. Moved email assets from base64 to attachments to improve support in Gmail. Implemented custom email branding support. Implemented custom print branding support. Moved image assets to email/kiosk directory. Implemented kiosk dark mode logo support. Updated README.md 2025-12-02 18:42:35 +01:00
Glenn de Haan
5b672ede8b Fixed OIDC loop when using local authentication. Removed default auth setting for mail.js. Updated dependencies 2025-12-01 18:29:55 +01:00
Glenn de Haan
b3f1988982 Added guestName translation to kiosk.json. Implemented time.json to time util translations. Updated info.js to reflect kiosk name requirement. Updated mail.js and print.js for localized time translations. Implemented optional guest name (voucher note) within kiosk.ejs. Implemented translations within time.js. Updated docker-compose.yml. Updated dependencies. Updated README.md 2025-07-07 21:29:45 +02:00
Glenn de Haan
30ef63f277 Added the kiosk_example.png. Updated the README.md. Implemented timer styles within style.css. Added kiosk output within info.js. Set default locale to 'en' for mail.js. Implemented KIOSK_ENABLED and KIOSK_VOUCHER_TYPE environment variables within variables.js. Added kiosk_bg.jpg. Updated navigation.ejs with kiosk link. Added kiosk.ejs template. Updated status.ejs and status.js with kiosk module status. Updated docker-compose.yml. Added /kiosk routes to server.js. Added kioskEnabled states to required routes in server.js 2025-03-14 19:18:07 +01:00
Glenn de Haan
d5c19d021d Removed _locales.json implementation. Added language parameter to mail.js. Implemented regex check to translation.js. Added language dropdown to email component. Added languages.js 2024-10-10 19:36:07 +02:00
Glenn de Haan
1bc459de66 Swapped mail function parameters. Replaced throw errors for log warnings. Implemented fallback language in translation.js. Added express-locale for future web i18n use 2024-10-09 13:48:26 +02:00
Glenn de Haan
467ce7edb1 Implemented mail translations. Updated debug output from translation.js 2024-10-09 12:39:44 +02:00
Glenn de Haan
9b48a97136 Fixed SMTP_SECURE type check within variables.js. Removed smtpSecure checks from mail.js. Disable TLS certificate checks within mail.js since this could cause issues with self-hosted solutions 2024-10-08 10:24:45 +02:00
Glenn de Haan
d475c1cc28 Implemented UNIFI_SSID_PASSWORD environment variable. Updated email template. Updated PDF template. Updated ESC/POS template. Updated README.md. Changed qr.js output based on open or password protected networks 2024-09-21 20:46:05 +02:00
Glenn de Haan
89ed5db429 Added extra logging to mail.js 2024-09-21 10:07:51 +02:00
Glenn de Haan
a5029e4aaa Implemented email connect template. Implemented qr.js for Scan to Connect. Updated README.md. Updated email_example.png screenshot 2024-09-21 09:44:12 +02:00
Glenn de Haan
73d17cdb3d Fixed missing email error response. Refactored email layout. Implemented voucher details in email layout 2024-09-21 08:09:07 +02:00
Glenn de Haan
8492616737 Created variables.js to replace duplicate code. Moved more cache.js logs to debug level. Fixed incorrect internal authentication state on status page. Updated dependencies. Fixed incorrect type check on /api/voucher/:type for HA users 2024-09-05 20:44:38 +02:00
Glenn de Haan
c5cc7569f4 Implemented HA config parameters for mail functionality 2024-08-17 13:54:33 +02:00
Glenn de Haan
46dd565379 Updated Dependencies. Add axios override to patch CVE-2024-39338. Implemented email functionality. Updated README.md 2024-08-17 13:42:12 +02:00