mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-04-05 00:44:18 -04:00
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
This commit is contained in:
11
README.md
11
README.md
@@ -149,8 +149,14 @@ services:
|
||||
LOG_LEVEL: 'info'
|
||||
# Sets the default translation for dropdowns
|
||||
TRANSLATION_DEFAULT: 'en'
|
||||
# Hides languages from the UI, example: en,nl,de
|
||||
TRANSLATION_HIDDEN_LANGUAGES: ''
|
||||
# Enables/disables translation debugging, when enabled only translation keys are shown
|
||||
TRANSLATION_DEBUG: 'false'
|
||||
# Enables/disables an automated task to clean up expired vouchers from UniFi
|
||||
TASK_CLEANUP_EXPIRED: 'false'
|
||||
# Enables/disables an automated task to clean up unused vouchers (Vouchers unused a day after creation) from UniFi
|
||||
TASK_CLEANUP_UNUSED: 'false'
|
||||
# Optional volume mapping to override assets
|
||||
volumes:
|
||||
- ./branding:/kiosk
|
||||
@@ -208,7 +214,10 @@ The structure of the file should use lowercase versions of the environment varia
|
||||
"kiosk_homepage": false,
|
||||
"log_level": "info",
|
||||
"translation_default": "en",
|
||||
"translation_debug": false
|
||||
"translation_hidden_languages": "",
|
||||
"translation_debug": false,
|
||||
"task_cleanup_expired": false,
|
||||
"task_cleanup_unused": false
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user