Commit Graph

51 Commits

Author SHA1 Message Date
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
Glenn de Haan
d6b2071a98 Updated README.md. Added Prerequisites section. Implemented OIDC IdP Integration Guides. Added Keycloak OIDC implementation guide. Added Authentik OIDC implementation guide. Updated .dockerignore 2024-08-27 19:11:41 +02:00
Glenn de Haan
cb6ed67c9c Implemented OIDC confidential client type support. Updated README.md. Added missing environment variables to docker-compose.yml 2024-08-26 19:32:31 +02:00
Glenn de Haan
36468b4588 Updated README.md 2024-08-25 10:29:57 +02:00
Glenn de Haan
af3322cb7b Updated 'Voucher' log information. Implemented missing custom voucher log output. Implemented PRINTER_TYPE variable to prepare for future printers. Disabled printer function by default. Updated README.md 2024-08-25 10:18:37 +02:00
Glenn de Haan
10b1eaaa47 Updated dependencies. Fix micromatch CVE-2024-4067. Updated README.md 2024-08-24 10:45:32 +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
3ba8d33456 Updated .dockerignore to remove unneeded files from container build. Updated docker-compose.yml with new environment variables. Updated README.md. Updated project description. Replaced DISABLE_AUTH with AUTH_DISABLE. Replaced SECURITY_CODE with AUTH_PASSWORD. Implemented AUTH_TOKEN for api authentication. Added migration guide. 2024-08-21 20:30:36 +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
f68ee13ec0 Implemented guests cache. Implemented guests function within unifi.js. Updated app screenshots. Updated manifest.json. Added details.ejs component. Implemented voucher detail slide-over. Updated cache.js logic to fetch guests. Updated README.md. Implemented voucher detail component route. 2024-04-25 21:10:46 +02:00
Glenn de Haan
72d6f4df3c Updated the README.md. Updated the 'Share' copy to reflect 'Copy to Clipboard' function. Updated the 'Copy to Clipboard' icon 2024-04-20 09:03:45 +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
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
a80f533abf Fixed missing logo link. Implemented custom voucher type. Implemented custom voucher fields. Fixed divider visibility on dark mode. Changed default VOUCHER_TYPES to single-use voucher type. Implemented VOUCHER_CUSTOM environment variable. 2024-04-07 11:28:48 +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
65c79b1f3d Removed SID middleware. Implemented cache module. Updated screenshots. Removed old background images. Updated manifest.json. Updated 404 and login background color. Updated error alert styling. Updated voucher branding/layout. Updated README.md. Cleanup server.js. Removed GET /voucher route. Updated redirects to GET /vouchers. Implemented caching mechanism for UniFi vouchers overview. Implemented force refresh option. 2024-03-26 20:21:36 +01:00
Glenn de Haan
a0a3933650 Updated the README.md 2024-03-23 18:34:00 +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
bcc44cc64d Updated README.md 2024-01-22 21:50:50 +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
Glenn de Haan
bf9478ebad Updated dependencies. Fixed #28, unable to use the single-use voucher type 2024-01-15 19:00:00 +01:00
Glenn de Haan
65c29e2e83 Implemented voucher types. Updated the README.md 2022-11-14 16:36:29 +01:00
Glenn de Haan
ead4e927c1 Rebuild application for UniFi OS, Network v7 2022-10-06 17:33:58 +02:00
Glenn de Haan
22162db21a Mayor V2 refactor. Now also available on DockerHub 2021-01-16 09:45:22 +01:00
Glenn de Haan
b4eab450e7 Updated the readme 2018-03-09 13:38:28 +01:00