This website requires JavaScript.
Explore
Help
Register
Sign In
starred
/
unifi-voucher-site
Watch
1
Star
0
Fork
0
You've already forked unifi-voucher-site
mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced
2026-03-31 06:24:00 -04:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
f5b8529fa8cb72a6c2cb6de70c531b98fe5e22bf
unifi-voucher-site
/
utils
History
Glenn de Haan
09d2e24cdb
Migrated languages.js from master
2025-08-27 19:19:22 +02:00
..
array.js
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
bytes.js
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
cache.js
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
cleanup.js
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
fetch.js
Refactor fetch.js to utilize global cache
2025-08-26 18:35:20 +02:00
languages.js
Migrated languages.js from master
2025-08-27 19:19:22 +02:00
logo.js
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
notes.js
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
size.js
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
status.js
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
time.js
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
types.js
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