13 Commits

Author SHA1 Message Date
Glenn de Haan
b29150c15b Updated README.md. Updated dependencies. Implemented VOUCHER_NOTE_REQUIRED environment variable. Implemented required note checks 2026-02-09 17:59:04 +01:00
Glenn de Haan
ea65b34a80 Ensure note field is always present within vouchers api call. Cleanup older comments. Simplify code. Implement separator check. Updated README.md 2025-12-30 09:39:55 +01:00
nickelblack619
122d2aebde Remove sanitize
Remove the input trim
No initialize a variable
2025-12-30 01:23:03 +01:00
nickelblack619
a61be4487e Revert "Update api.js"
This reverts commit 6cfae61e6d.
2025-12-29 18:40:03 +00:00
nickelblack619
6cfae61e6d Update api.js 2025-12-29 19:19:05 +01:00
nickelblack619
f1901b7e9e Add notes utility to API GET vouchers response 2025-12-28 02:13:04 +01:00
nickelblack619
e6a5d56f4c Add note input sanitization for voucher creation
Sanitize note input and limit its length to 255 characters before creating the voucher code.
2025-12-28 02:09:07 +01:00
Glenn de Haan
a361770aee Updated dependencies. Implemented default locale redirect on /kiosk (Force users to default translation) 2025-12-08 17:06:01 +01:00
Glenn de Haan
7bffaa4ebb Moved fetchUserInfo call to authorization.js middleware. Catch fetchUserInfo exceptions, causing invalided session to be stuck 2025-11-11 18:57:04 +01:00
Glenn de Haan
e347f67249 Implemented the AUTH_OIDC_REDIRECT_LOGIN environment variable. Added an OIDC redirect function within authentication.js controller. Updated README.md. Updated dependencies 2025-10-31 08:33:40 +01:00
Glenn de Haan
ae6aa9b5a1 Implemented KIOSK_TIMEOUT environment variable. Introduced adjustable kiosk timeout timer. Moved static animation from style.css to kiosk.ejs. Fixed incorrect preload tag within kiosk.ejs. Added missing bg.jpg preload tag within kiosk.ejs. Updated docker-compose.yml. Dependency updates. Updated README.md 2025-09-23 19:24:34 +02:00
Glenn de Haan
4b215541b2 Implemented KIOSK_EMAIL environment variable. Lowered log output from unifi.js. Implemented kiosk email toggle. Fixed missing kiosk printer check causing errors. Updated README.md 2025-08-28 19:06:41 +02:00
Glenn de Haan
f36fa1144a Refactored server.js into separate controllers. Implemented UNIFI_TOKEN startup check within info.js. Implemented KIOSK_HOMEPAGE environment variable. Implemented new / redirect structure base on KIOSK_HOMEPAGE variable. Implemented Admin UI button within kiosk.ejs. Updated array.js with new deprecated variables. Updated docker-compose.yml. Updated README.md. 2025-08-22 18:27:14 +02:00