Commit Graph

60 Commits

Author SHA1 Message Date
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
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
7cd513b057 Dependency updates 2025-10-14 18:33:49 +02: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
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
68dd918d31 Refactored print.js, bulk-print.ejs, details.ejs, email.ejs, print.ejs, voucher.ejs and size.js for object compatibility with the UniFi Integration API. Updated the unifi.js module to implement the UniFi Integration API. Added the UNIFI_TOKEN to variables.js. Added fetch.js util. Check for undefined state in notes.js. Added undici to the dependencies. server.js refactored for compatibility with the UniFi integration API. Fixed incorrect quote filter within server.js. Temporary fixed guest mapping to voucher_code instead of ids 2025-08-08 19:38:10 +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
c8c3b923b4 Updated languages.js to include new languages from Crowdin. Limit width of language selector in kiosk.ejs. Updated dependencies 2025-07-08 18:59:15 +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
4619b4d9cd Updated dependencies 2025-06-23 17:16:01 +02:00
Glenn de Haan
b7bb541a4f Updated dependencies 2025-06-11 20:11:35 +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
25d429a22b Dependency updates. Implemented en kiosk.json translations. Updated locale middleware config. Implemented translations within kiosk.ejs 2025-05-09 17:32:25 +02:00
Glenn de Haan
196d965175 Revert expressjs upgrade due to incompatibilities 2025-04-26 11:51:38 +02:00
Glenn de Haan
bfabcacdbe Dependency upgrades 2025-04-26 11:37:14 +02:00
Glenn de Haan
bd047558e5 Dependency updates 2025-03-13 19:21:46 +01:00
Glenn de Haan
04ccba25c9 Upgrade/migrate tailwind v3 to v4 2025-02-25 20:14:12 +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
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
4d2933b752 Dependency upgrades 2025-01-07 17:53:29 +01:00
Glenn de Haan
aaac79a096 Rollback pdfkit update due to HA encoding error 2025-01-04 22:46:32 +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
f717a2e358 Dependency updates. Removed incomplete French translation. Added Polish translation 2024-12-11 20:08:03 +01:00
Glenn de Haan
018b20b50d Updated dependencies 2024-11-24 09:34:59 +01:00
Glenn de Haan
4e4c792aa8 Updated dependencies 2024-11-12 18:15:59 +01: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
e2e259c699 Dependency updates 2024-10-09 00:26:09 +02:00
Glenn de Haan
be5f950568 Dependency updates. Fixed dark mode colors in details.ejs & email.ejs. Moved navigation to dedicated navigation.ejs file. Implemented user icon. Implemented user menu. Implemented /logout. Implemented Gravatar icon. Moved documentation and feature icons from menu to user menu 2024-09-24 19:09:28 +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
c0f1585f1d Updated dependencies 2024-09-21 08:06:52 +02:00
Glenn de Haan
fdc062783d Updated dependencies 2024-09-14 20:34:09 +02:00
Glenn de Haan
e8928313d7 Updated dependencies 2024-09-10 21:24:42 +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
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
Glenn de Haan
bfe2d3998d Switched docker build to path based to allow .dockerignore to work. Implemented OIDC support. Updated README.md 2024-08-23 16:42:07 +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
Glenn de Haan
730e11ac27 Updated Dependencies. Removed unused 'uuid' package. Fixed text color within select dropdown on Chromium based browsers on Windows using Dark Mode 2024-06-12 22:10:56 +02:00
Glenn de Haan
df21247f27 Updated Dependencies. Upgraded Alpine to 3.20 2024-06-02 11:59:39 +02:00
Glenn de Haan
2ce15fe7dc Implemented LOG_LEVEL environment variable. Implemented log_level HA variable. Implemented log level based on user preference. Changed UniFi stack trace output from error to debug. Removed duplicate cache error log. Implemented internal build number. Updated README.md. Added account warning to README.md. Output build version on application start 2024-04-17 17:19:00 +02:00
Glenn de Haan
5867bc423b Updated ejs dependency. Fixed docker healthcheck IPv4 binding. Reworked unifi.js settings/config sections. Removed 1-hour session timeout from unifi.js. Implemented retry params for all unifi.js functions. Implemented re-authentication functions within catch blocks in unifi.js 2024-04-15 18:01:59 +02:00
Glenn de Haan
30d66b9dfc Added the jsonwebtoken package. Implemented a web jwt verify flow. Added missing JSON responses for api auth flows. Added jwt module. Moved bytes.js, logo.js, time.js and types.js to utils folder. Updated README.md. Implemented HA config check to allow API service configuration. Implemented JWT initialization. Replaced authorization cookie contents with JWT token. Implemented /api/vouchers endpoint. Updated /api endpoints list. 2024-04-12 18:01:42 +02:00
Glenn de Haan
54d6cb1191 Updated dependencies. Removed unneeded dependency 2024-04-06 21:35:27 +02:00
Glenn de Haan
db0bd72cc2 Updated screenshots. Implemented color-scheme script to force browser color-scheme. Implemented print functionality. Updated README.md. Implemented print route. 2024-04-06 21:25:30 +02:00
Glenn de Haan
d64a787065 Updated 404 and login branding/layout. Moved tailwind dependencies to dev-dependencies. Patched follow-redirects. Implemented separate dependencies stage within Dockerfile to shrink image size. 2024-03-25 19:14:38 +01:00
Glenn de Haan
88fbf7c182 Implemented a logger. Fix UniFi error messages. Implemented additional UniFi logging 2024-03-24 12:21:08 +01:00
Glenn de Haan
95989c212c Implemented API endpoints. Update README.md. Implemented health endpoint. Updated dependencies 2024-03-22 17:13:37 +01:00
Glenn de Haan
611e8cc45c #30 Implemented environment variable to disable built-in authentication system 2024-03-04 20:49:42 +01:00
Glenn de Haan
03fb5356ef Updated dependencies. Introduced a styled 404 page. Implemented a new authorization system including separate login flow. Implemented flash message system to removal all query url parameters. Made SID more persistent between sessions. Implemented new vouchers overview. Improved color scheme for info and error flash messages. Updated README.md 2024-01-22 19:27:42 +01:00