mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 21:54:20 +01:00
Update configurator to 0.2.7 (#275)
* Update CHANGELOG.md * Update config.json * Update map.py
This commit is contained in:
committed by
Pascal Vizeli
parent
26db807753
commit
319215a3c7
@@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# 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
|
## 0.2.6
|
||||||
- Displaying current filename in title
|
- Displaying current filename in title
|
||||||
- Added menu item to open configurator in new tab
|
- Added menu item to open configurator in new tab
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Configurator",
|
"name": "Configurator",
|
||||||
"version": "0.2.6",
|
"version": "0.2.7",
|
||||||
"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",
|
||||||
@@ -35,7 +35,8 @@
|
|||||||
"banlimit": "int",
|
"banlimit": "int",
|
||||||
"ignore_pattern": ["str"],
|
"ignore_pattern": ["str"],
|
||||||
"dirsfirst": "bool",
|
"dirsfirst": "bool",
|
||||||
"sesame": "str?"
|
"sesame": "str?",
|
||||||
|
"verify_hostname": "str?"
|
||||||
},
|
},
|
||||||
"image": "homeassistant/{arch}-addon-configurator"
|
"image": "homeassistant/{arch}-addon-configurator"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ configurator = {
|
|||||||
'BANLIMIT': options['banlimit'],
|
'BANLIMIT': options['banlimit'],
|
||||||
'DIRSFIRST': options['dirsfirst'],
|
'DIRSFIRST': options['dirsfirst'],
|
||||||
'SESAME': options.get('sesame'),
|
'SESAME': options.get('sesame'),
|
||||||
|
'VERIFY_HOSTNAME': options.get('verify_hostname'),
|
||||||
}
|
}
|
||||||
|
|
||||||
with Path(sys.argv[1]).open('w') as json_file:
|
with Path(sys.argv[1]).open('w') as json_file:
|
||||||
|
|||||||
Reference in New Issue
Block a user