Commit Graph

42 Commits

Author SHA1 Message Date
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
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
93c9ccaccb Updated dependencies. Also changed the way a controller object is created 2023-01-02 17:28:42 +01:00
Glenn de Haan
19e3d7e04c #21 Fixed missing -webkit-text-fill-color to override default safari styles 2022-12-18 10:42:59 +01:00
Glenn de Haan
006343a248 Updated the dependencies. Changed the GitHub actions 2022-10-06 17:37:57 +02: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
a80c585f4a Completed the UniFi create voucher flow. 2018-02-27 21:25:04 +01:00
Glenn de Haan
2a9c607137 Added the basic frontend and login flow 2018-02-27 20:35:38 +01:00
Glenn de Haan
cd93e31bb5 Added the basic js/css frontend to the express app 2018-02-26 22:52:19 +01:00
Glenn de Haan
91bad12f52 Initial commit 2018-02-26 22:24:07 +01:00