Update configurator to 0.2.7 (#275)

* Update CHANGELOG.md

* Update config.json

* Update map.py
This commit is contained in:
Daniel Perna
2018-04-12 16:54:48 +02:00
committed by Pascal Vizeli
parent 26db807753
commit 319215a3c7
3 changed files with 10 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 0.2.7
- Setting SO_REUSEADDR on socket for proper restarts
- Using Threading to handle multiple connections
- New VERIFY_HOSTNAME option to block requests without correct host header
- Fixed filebrowser hiding
## 0.2.6
- Displaying current filename in title
- Added menu item to open configurator in new tab

View File

@@ -1,6 +1,6 @@
{
"name": "Configurator",
"version": "0.2.6",
"version": "0.2.7",
"slug": "configurator",
"description": "Browser-based configuration file editor for Home Assistant.",
"url": "https://home-assistant.io/addons/configurator",
@@ -35,7 +35,8 @@
"banlimit": "int",
"ignore_pattern": ["str"],
"dirsfirst": "bool",
"sesame": "str?"
"sesame": "str?",
"verify_hostname": "str?"
},
"image": "homeassistant/{arch}-addon-configurator"
}

View File

@@ -26,6 +26,7 @@ configurator = {
'BANLIMIT': options['banlimit'],
'DIRSFIRST': options['dirsfirst'],
'SESAME': options.get('sesame'),
'VERIFY_HOSTNAME': options.get('verify_hostname'),
}
with Path(sys.argv[1]).open('w') as json_file: