Update Configurator to version 0.2.9 (#330)

* Update Configurator to 0.2.9

* Update Configurator to 0.2.9

* Update Configurator to 0.2.9

* Update Configurator to 0.2.9
This commit is contained in:
Daniel Perna
2018-06-25 00:09:21 +02:00
committed by Pascal Vizeli
parent 253a1ff83a
commit 48cf04795f
4 changed files with 18 additions and 4 deletions

View File

@@ -1,5 +1,16 @@
# Changelog # Changelog
## 0.4
- Update Configurator to version 0.2.9
- Material Icons and HASS-help now open in new tab instead of modal
- Open file by URL
- Added ENFORCE_BASEPATH option
- Cosmetic fix for scaled viewports
- Added search-function for entities
- Updated Ace Editor to 1.3.3
- Updated jQuery to 3.3.1
- Updated js-yaml to 3.12.0
## 0.3 ## 0.3
- Update Configurator to version 0.2.8 - Update Configurator to version 0.2.8

View File

@@ -1,5 +1,5 @@
{ {
"args": { "args": {
"CONFIGURATOR_VERSION": "0.2.8" "CONFIGURATOR_VERSION": "0.2.9"
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "Configurator", "name": "Configurator",
"version": "0.3", "version": "0.4",
"slug": "configurator", "slug": "configurator",
"description": "Browser-based configuration file editor for Home Assistant.", "description": "Browser-based configuration file editor for Home Assistant.",
"url": "https://home-assistant.io/addons/configurator", "url": "https://home-assistant.io/addons/configurator",
@@ -18,11 +18,12 @@
"certfile": "fullchain.pem", "certfile": "fullchain.pem",
"keyfile": "privkey.pem", "keyfile": "privkey.pem",
"ssl": false, "ssl": false,
"allowed_networks": ["192.168.0.0/16"], "allowed_networks": ["192.168.0.0/16", "172.30.0.0/16"],
"banned_ips": ["8.8.8.8"], "banned_ips": ["8.8.8.8"],
"banlimit": 0, "banlimit": 0,
"ignore_pattern": ["__pycache__"], "ignore_pattern": ["__pycache__"],
"dirsfirst": false "dirsfirst": false,
"enforce_basepath": false
}, },
"schema": { "schema": {
"username": "str", "username": "str",
@@ -35,6 +36,7 @@
"banlimit": "int", "banlimit": "int",
"ignore_pattern": ["str"], "ignore_pattern": ["str"],
"dirsfirst": "bool", "dirsfirst": "bool",
"enforce_basepath": "bool",
"sesame": "str?", "sesame": "str?",
"verify_hostname": "str?" "verify_hostname": "str?"
}, },

View File

@@ -12,6 +12,7 @@ with hassio_options.open('r') as json_file:
configurator = { configurator = {
'BASEPATH': "/config", 'BASEPATH': "/config",
'ENFORCE_BASEPATH': options['enforce_basepath'],
'HASS_API': "http://hassio/homeassistant/api/", 'HASS_API': "http://hassio/homeassistant/api/",
'HASS_API_PASSWORD': os.environ.get('HASSIO_TOKEN', ''), 'HASS_API_PASSWORD': os.environ.get('HASSIO_TOKEN', ''),
'CREDENTIALS': 'CREDENTIALS':