Commit Graph

250 Commits

Author SHA1 Message Date
Glenn de Haan
d653c124e2 Fixed error on force re-sync when UniFi is unavailable. Implemented check for deprecated environment variables. Implemented check for valid UniFi usernames. Implemented UniFi username check in unifi.js. Added array.js utils 3.8.2 2024-09-30 18:35:52 +02:00
Glenn de Haan
f491c27af4 Added GitHub issue template config.yml 2024-09-29 17:37:06 +02:00
Glenn de Haan
4dd77a7ebd Implemented GitHub issue forms 2024-09-29 17:33:56 +02:00
Glenn de Haan
48f8bd3e36 Disabled userIcon for internal authentication 3.8.1 2024-09-24 20:56:46 +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 3.8.0 2024-09-24 19:09:28 +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
b06a4ede65 Moved request logger to catch OIDC callback request for debugging 3.7.1 2024-09-22 21:48:20 +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 3.7.0 2024-09-21 20:46:05 +02:00
Glenn de Haan
da15cf9e34 Updated escpos_example.jpg screenshot. Implemented qr.js buffer toggle, Implemented ESC/POS Scan to Connect. Optimized ESC/POS layout. Implemented qr.js error logging 3.6.0 2024-09-21 13:41:10 +02:00
Glenn de Haan
706e4b95b7 Updated email_example.png screenshot 2024-09-21 12:42:28 +02:00
Glenn de Haan
0abe269347 Improved email margins 2024-09-21 12:40:35 +02:00
Glenn de Haan
f97a61fcd2 Implemented missing unifiSsid check for PDF exports 2024-09-21 12:28:18 +02:00
Glenn de Haan
9cc7fe7cb5 Implemented pdf connect template. Updated pdf_example.png screenshot 2024-09-21 10:10:54 +02:00
Glenn de Haan
89ed5db429 Added extra logging to mail.js 2024-09-21 10:07:51 +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
73d17cdb3d Fixed missing email error response. Refactored email layout. Implemented voucher details in email layout 2024-09-21 08:09:07 +02:00
Glenn de Haan
c0f1585f1d Updated dependencies 2024-09-21 08:06:52 +02:00
Glenn de Haan
fdc062783d Updated dependencies 3.5.4 2024-09-14 20:34:09 +02:00
Glenn de Haan
e8928313d7 Updated dependencies 3.5.3 2024-09-10 21:24:42 +02:00
Glenn de Haan
eefb027711 Added logo.svg 2024-09-09 19:58:59 +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 3.5.2 2024-09-05 20:44:38 +02:00
Glenn de Haan
228f512ce8 Fixed incorrect status url for Home Assistant users 3.5.1 2024-09-04 18:12:16 +02:00
Glenn de Haan
86ad4457de Moved application startup logs to dedicated info.js module. Lowered log output from unifi.js. Created tag.ejs partial. Implemented dedicated application status page. Updated voucher.ejs to implement status link. Lowered log output from cache.js. General cleanup of server.js. Implemented 501 Not Implemented responses when features are not enabled or configured properly 3.5.0 2024-09-04 18:01:41 +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 3.4.1 2024-08-31 20:22:27 +02:00
Glenn de Haan
acdfa6f030 Merge pull request #38 from jlengelbrecht/added_UID_docs
Added UID Docs 📖
2024-08-31 10:55:08 +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 3.4.0 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
3725698c46 Implemented custom express error page 3.3.1 2024-08-26 22:20:47 +02:00
Glenn de Haan
cb6ed67c9c Implemented OIDC confidential client type support. Updated README.md. Added missing environment variables to docker-compose.yml 3.3.0 2024-08-26 19:32:31 +02:00
Glenn de Haan
36468b4588 Updated README.md 3.2.1 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 3.2.0 2024-08-25 10:18:37 +02:00
Glenn de Haan
10b1eaaa47 Updated dependencies. Fix micromatch CVE-2024-4067. Updated README.md 3.1.1 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 3.1.0 2024-08-23 16:42:07 +02:00
Glenn de Haan
89bc27aef0 Fixed missing x-ingress-path within authorization.js redirects. Implemented local/development .options.json config 3.0.1 2024-08-21 21:05:31 +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. 3.0.0 2024-08-21 20:30:36 +02:00
Glenn de Haan
f6c04e0098 Fixed create button copy. Added email forum spinner 2.7.3 2024-08-17 14:33:23 +02:00
Glenn de Haan
de07e51746 Hide email button when mail function is disabled 2.7.2 2024-08-17 14:11:27 +02:00
Glenn de Haan
c5cc7569f4 Implemented HA config parameters for mail functionality 2.7.1 2024-08-17 13:54:33 +02:00
Glenn de Haan
46dd565379 Updated Dependencies. Add axios override to patch CVE-2024-39338. Implemented email functionality. Updated README.md 2.7.0 2024-08-17 13:42:12 +02:00
Glenn de Haan
93e9037c6b Updated Dependencies. Updated GitHub actions 2.6.4 2024-06-19 21:06:27 +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 2.6.3 2024-06-12 22:10:56 +02:00
Glenn de Haan
df21247f27 Updated Dependencies. Upgraded Alpine to 3.20 2.6.2 2024-06-02 11:59:39 +02:00
Glenn de Haan
d785edd028 Removed unused css. Added a robots.txt. Attempt to block iOS from adding invalid telephone link. Added last sync to guest details. Changed DateTimeFormat from en-US to en-GB 2.6.1 2024-04-26 18:33:13 +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. 2.6.0 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 2.5.3 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 2.5.2 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 2.5.1 2024-04-15 18:01:59 +02:00