76 Commits

Author SHA1 Message Date
Glenn de Haan
232caf8a4e Implemented TASK_CLEANUP_UNUSED_DAYS environment variable. Implemented custom unused cleanup timing. Updated README.md 2026-02-13 18:50:42 +01:00
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
5a71a5e799 Updated README.md. Updated dependencies 2026-01-28 17:39:30 +01:00
Karolina Liskova
3f3cdd66a5 Allow configuring the bind address
Adds a config variable for bind address to support working in IPv6 environments.
2026-01-28 10:18:02 +00: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
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
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
c2d90c312c Updated README.md. Updated info.js guest warning 2025-08-27 19:16:55 +02:00
Glenn de Haan
7b8a996452 Removed old UniFi username check from info.js. Implemented temporary guest features warning in info.js. Cleanup unifi.js to remove legacy implementation and switch to UniFi Integrations. Removed deprecated UNIFI_USERNAME and UNIFI_PASSWORD from variables.js. Updated docker-compose.yml. Removed old dependencies. Updated README.md 2025-08-26 18:51:48 +02:00
Glenn de Haan
7af385c8fe Updated info.js to show deprecation messages when utilizing the options.json. Added translation status to info.js. Implemented the TRANSLATION_HIDDEN_LANGUAGES, TASK_CLEANUP_EXPIRED and TASK_CLEANUP_UNUSED environment variables in variables.js. Updated language dropdown to hide themselves if the number of allowed languages is lower than 2. Added the created at field within details.ejs. Implemented cleanup.js for automatically cleaning-up expired and unused vouchers. Updated the languages.js util with global filters. Added country flags to languages.js. Updated docker-compose.yml. Dependency updates. Updated README.md. Lowered log intensity within server.js 2025-08-26 18:21:30 +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
Glenn de Haan
0c9aeac7a5 Updated to . Fixed bulk-print.ejs notes view. Updated details.ejs view with additional voucher metadata. Updated voucher.ejs notes view. Created notes.js utils for extracting voucher notes and metadata. Updated docker-compose.yml. Updated README.md. Implemented voucher note check for seperator misuse. Implemented new notes-metadata embed. Implemented new voucher filter within existing chain. Fixed notes sort to only filter on the notes not the metadata. Removed unused variable forward to voucher.ejs 2025-07-30 19:19:43 +02:00
bstrate
6951b99191 Merging PIN_OIDC_USER_TO_OWN_DOMAIN System to PR-Branch 2025-07-30 09:07:07 +02:00
Glenn de Haan
247e161e5d Updated dependencies. Updated README.md 2025-07-23 19:28:35 +02:00
Glenn de Haan
95cbad4fd8 Updated info.js to reflect auto kiosk print status. Implemented KIOSK_PRINTER environment variable. Updated docker-compose.yml. Dependency updates. Updated README.md. Implemented voucher auto-print within kiosk in server.js 2025-07-22 19:20:22 +02:00
Glenn de Haan
454d92b861 Updated kiosk.json with new translation strings. Updated info.js to reflect the multiple kiosk voucher types. Deprecated the KIOSK_VOUCHER_TYPE environment variable. Implemented the KIOSK_VOUCHER_TYPES environment variable with support for multiple voucher types. Moved the kiosk images (logo.png and bg.jpg) to a kiosk image sub-folder. Redesign of the kiosk.ejs language selector to provide space for custom images. Implemented voucher types within kiosk.ejs. Utilize the bytes converter within voucher.ejs to reformat bytes labels. Updated the docker-compose.yml. Updated the README.md. Implemented /kiosk custom assets overrides. Implemented a type check for the voucher types from kiosk requests 2025-07-09 18:57:32 +02: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
78f6da221d Updated README.md 2025-05-19 18:59:45 +02:00
Glenn de Haan
5b2f8a1b30 Updated info.js for new printers key. Updated print.js to forward ESC/POS printer IPs. Updated keys within variables.js. Added 'UI_BACK_BUTTON', 'PRINTER_TYPE' and 'PRINTER_IP' to the deprecated strings array.js. Updated status.js with new printing module. Updated docker-compose.yml environment variables. Updated dependencies. Hotfix body type for express v5. Updated README.md. Removed back button from navigation.ejs. Updated print.ejs and bulk-print.ejs with printer selection. Updated print logic within server.js to allow printer selection by user 2025-05-19 18:50:46 +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
4e6b5187af Updated the README.md with v5 migration documentation 2025-02-25 19:47:08 +01:00
Glenn de Haan
07d48578e7 Updated README.md. Implemented the /api/languages endpoint. Refactored the /api endpoint to return methods for each endpoint. Added the voucher id within /api/vouchers. Refactored the /api/voucher endpoint from GET to POST method. Implemented optional email sending within /api/voucher endpoint. Implemented missing comments within api code. Implemented missing HTTP status codes within api responses. Enabled JSON responses within Express 2025-02-25 19:21:36 +01:00
Glenn de Haan
53d27733b0 Updated NodeJS to 22.x LTS. Updated Alpine to 3.21. Pinned tough-cookie to clear deprecation message. Dependency updates. Removed nodemon. Switched watcher to built-in version within NodeJS 22. Updated README.md 2025-02-25 17:47:51 +01:00
Glenn de Haan
ff455c57bf Updated screenshots. Fixed inconsistent 'unlimited' messaging. Implemented direct usage without overrides within unifi.js. Implemented voucher duration type dropdown during custom voucher creation. Implemented Multi-use (Limited/Quota) option during custom voucher creation. Updated README.md to reflect multi-use quota function within voucher type presets. 2025-01-21 17:34:24 +01:00
Glenn de Haan
9feeaa6bb6 Implemented expired states within templates. Implemented expired filter. Implemented notes within voucher creation. Implemented Notes within voucher overview and detail pages. Implemented notes sort option. Fixed incorrect voucher type when custom quotas are in use. Implemented quota display within templates. Implemented bulk printing for both PDF and ESC/POS modules. Updated README.md 2025-01-09 18:57:21 +01:00
Glenn de Haan
4691a900c3 Fixed QR code generation for 'Open' networks. Update README.md to reflect QR function. Updated dependencies 2025-01-08 19:09:25 +01:00
Glenn de Haan
99382626de Implemented UI_BACK_BUTTON for kiosk users to navigate to the previous page. Removed h1 to clean-up UI 2025-01-05 16:18:05 +01:00
Glenn de Haan
5e6ddc7746 Dependency updates. Implemented TRANSLATION_DEFAULT to override default selected translation 2025-01-04 22:35:17 +01:00
Glenn de Haan
965b35e6c1 Updated README.md 2024-10-14 21:35:09 +02:00
Glenn de Haan
d6216778b5 Updated README.md 2024-10-14 21:33:50 +02:00
Glenn de Haan
eafd7aaffa Updated README.md 2024-10-14 18:42:47 +02:00
Glenn de Haan
1b1a934f87 Implemented the translation.js module. Implemented the 'TRANSLATION_DEBUG' environment variable. Updated the README.md to include the Translations chapter. Moved en.json to en/email.json to better utilize Crowdin 2024-10-09 11:37:47 +02:00
Glenn de Haan
eacb0b4fd9 Updated README.md. Revert type check within variables.js. Implemented type check within config.js, fallback to 'null' when option is not defined 2024-10-07 00:45:58 +02:00
Glenn de Haan
0b2b18307d Renamed 'AUTH_TOKEN' to 'AUTH_INTERNAL_BEARER_TOKEN'. Updated README.md 2024-10-04 11:38:27 +02:00
Glenn de Haan
4418f9c347 Added Login with OIDC button to login page. Made login.ejs dynamic based on enabled authentication services. Made GitHub icon on login.ejs smaller. Refactored authorization.js middleware to support running both internal and OIDC authentication within the same instance. Added extra error to info.js when both authentication services are disabled but authentication itself is enabled. Updated status.js to correctly display both authentication services running at the same time. Updated README.md. Enabled /login when OIDC is enabled. Added missing middleware on /logout. Fixed JWT not initializing when authInternalEnabled is true 2024-10-03 13:56:28 +02:00
Glenn de Haan
0dc4562ad8 Implemented the 'AUTH_INTERNAL_ENABLED' and 'AUTH_OIDC_ENABLED' environment variables. Removed complex if structures with 'AUTH_OIDC_ENABLED' checks. Updated README.md 2024-10-03 10:34:54 +02:00
Glenn de Haan
4f501c09af Added 3.x to 4.x migration documentation to README.md. Updated OIDC integration documentation to mention new callback url 2024-10-01 13:26:47 +02:00
Glenn de Haan
10f7f7284b Updated docker installation in README.md. Added Release Noted chapter in README.md 2024-10-01 13:11:05 +02:00
Glenn de Haan
4ad1b68161 Removed 'public' OIDC flow from application. Deprecated 'AUTH_OIDC_CLIENT_TYPE'. Removed 'AUTH_OIDC_CLIENT_TYPE' from documentation. Updated OIDC config checks. Removed 'AUTH_OIDC_CLIENT_TYPE' and 'public' OIDC flow references from README.md 2024-09-30 19:35:39 +02:00
Glenn de Haan
11873f4879 Replaced AUTH_PASSWORD with AUTH_INTERNAL_PASSWORD 2024-09-30 18:53:07 +02:00
Glenn de Haan
88ae8d146c Updated OIDC documentation. Added Zitadel OIDC integration documentation 2024-09-23 17:32: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
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
83abfd205e Implemented UNIFI_SSID for templating 2024-09-21 08:11:51 +02:00
Glenn de Haan
fefdab9b79 Updated README.md to improve authentication explanation 2024-09-04 17:53:32 +02:00
Glenn de Haan
1cd53e4227 Updated README.md. Reformat some docs. Implemented OIDC configuration verification on application start. Updated auth type check 2024-08-31 20:22:27 +02:00
jlengelbrecht
6c8b05b9e1 Added UID Docs 📖 2024-08-30 19:33:03 -04:00
Glenn de Haan
3c2155346a Migrated README.md images to .docs folder. Moved print logic to own module. Implemented ESC/POS printer support. Added logo_grayscale_dark.png. Replaced PDF logo. Implemented size.js util for dynamic PDF page length. Updated README.md. Updated auth output log with type. Updated print output log with printer ip 2024-08-30 20:56:11 +02:00