From 107585db0ce949b46270644a580f090331a02a21 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 25 Feb 2021 12:57:09 +0100 Subject: [PATCH] Fix password schema (#1883) --- git_pull/CHANGELOG.md | 94 +++++++++--------------------------------- git_pull/config.json | 4 +- mariadb/CHANGELOG.md | 5 +++ mariadb/config.json | 4 +- mosquitto/CHANGELOG.md | 28 +++++-------- mosquitto/config.json | 4 +- samba/CHANGELOG.md | 4 ++ samba/config.json | 4 +- ssh/CHANGELOG.md | 4 ++ ssh/config.json | 4 +- 10 files changed, 52 insertions(+), 103 deletions(-) diff --git a/git_pull/CHANGELOG.md b/git_pull/CHANGELOG.md index f3ac370..6bb396c 100644 --- a/git_pull/CHANGELOG.md +++ b/git_pull/CHANGELOG.md @@ -1,123 +1,67 @@ # Changelog -## 7.12 +## 7.12.1 + +- Update options schema for passwords + +## 7.12.0 - Fix error of deployment_key eventually failing by overwriting the deployment_key every cycle -## 7.11 +## 7.11.0 - Update Home Assistant CLI to 4.2.0 -## 7.10 +## 7.10.0 - Update Home Assistant CLI to 4.1.0 -## 7.9 +## 7.9.0 - Update Home Assistant CLI to 4.0.1 -## 7.8 +## 7.8.0 - Added support for Azure DevOps repositories by removing the requirement for the `.git` suffix - Update to Alpine 3.11 -## 7.7 +## 7.7.0 - Update Hass.io CLI to 3.1.1 -## 7.6 +## 7.6.0 - Update Hass.io CLI to 3.1.0 -## 7.5 +## 7.5.0 - Update Hass.io CLI to 3.0.0 -## 7.4 +## 7.4.0 - Update Hass.io CLI to 2.3.0 -## 7.3 +## 7.3.0 - Update Hass.io CLI to 2.2.0 -## 7.2 +## 7.2.0 - Fix restart_ignore when specifying a sub-directory -## 7.1 +## 7.1.0 - Enhance restart_ignore to support whole directories - Fix repeat option: don't terminate if internet connection unavailable during a check -## 7.0 +## 7.0.0 - Update Hass.io CLI to 2.0.1 -## 6.1 +## 6.1.0 - Bugfix in git diff command while comparing commits -## 6.0 +## 6.0.0 - Allow to disable Home Assistant restart for specific file changes - -## 5.0 - -- Update Hass.io CLI to 1.4.0 -- Add new API role profile - -## 4.9 - -- Fix git repo detection in config-dir - #372 -- Fix repeat option detection - #375 -- Allow to stay on the currently checked out branch - set "git_branch": "" -- Correct typo - -## 4.8 - -- Add option to use git reset instead of git pull -- Validate git origin URL - -## 4.7 - -- Update Hass.io CLI to 1.3.1 - -## 4.6 - -- Update Hass.io CLI to 1.3.0 - -## 4.5 - -- Update Hass.io CLI to 1.2.1 - -## 4.4 - -- Update Hass.io CLI to 1.1.2 - -## 4.3 - -- Downgrade Hass.io CLI to 1.0.1 - -## 4.2 - -- Update Hass.io CLI to 1.1.1 - -## 4.1 - -- Add support for key validation against ssh cloned GitHub repositories - -## 4.0 - -- Allow to use user/password authentication for GIT -- New options `deployment_user` and `deployment_password` - -## 3.0 - -- New CLI -- Update base image -- Backup of files before clearing the /config folder -- Copy back all non YAML files and the secrets.yaml after the git clone -- More verbose error handling. Also logging the GIT exceptions. -- Splitted code out into functions -- Check SSH connection before setting the key diff --git a/git_pull/config.json b/git_pull/config.json index 99125de..a762a6a 100644 --- a/git_pull/config.json +++ b/git_pull/config.json @@ -1,6 +1,6 @@ { "name": "Git pull", - "version": "7.12", + "version": "7.12.1", "slug": "git_pull", "description": "Simple git pull to update the local configuration", "url": "https://github.com/home-assistant/hassio-addons/tree/master/git_pull", @@ -33,7 +33,7 @@ "deployment_key": ["str"], "deployment_key_protocol": "match(rsa|dsa|ecdsa|ed25519|rsa)", "deployment_user": "str", - "deployment_password": "str", + "deployment_password": "password", "git_branch": "str", "git_command": "list(pull|reset)", "git_remote": "str", diff --git a/mariadb/CHANGELOG.md b/mariadb/CHANGELOG.md index 888181c..2089515 100644 --- a/mariadb/CHANGELOG.md +++ b/mariadb/CHANGELOG.md @@ -1,4 +1,9 @@ # Changelog + +## 2.2.2 + +- Update options schema for passwords + ## 2.2.1 - Don't delete the mariadb.sys user, it's needed in MariaDB >= 10.4.13 diff --git a/mariadb/config.json b/mariadb/config.json index 145f062..38d20d0 100644 --- a/mariadb/config.json +++ b/mariadb/config.json @@ -1,6 +1,6 @@ { "name": "MariaDB", - "version": "2.2.1", + "version": "2.2.2", "slug": "mariadb", "description": "An SQL database server", "url": "https://github.com/home-assistant/hassio-addons/tree/master/mariadb", @@ -24,7 +24,7 @@ }, "schema": { "databases": ["str"], - "logins": [{ "username": "str", "password": "str" }], + "logins": [{ "username": "str", "password": "password" }], "rights": [{ "username": "str", "database": "str" }] }, "image": "homeassistant/{arch}-addon-mariadb" diff --git a/mosquitto/CHANGELOG.md b/mosquitto/CHANGELOG.md index 9398ca7..c575b26 100644 --- a/mosquitto/CHANGELOG.md +++ b/mosquitto/CHANGELOG.md @@ -1,40 +1,32 @@ # Changelog -## 5.1 +## 5.1.1 + +- Update options schema for passwords + +## 5.1.0 - Add cafile option in configuration - Add require_certificate option in configuration -## 5.0 +## 5.0.0 - Update mosquitto 1.6.3 / Alpine 3.10 - Migrate to `mosquitto-auth-plug` from pvizeli - Use auth cache for faster reauthentication -## 4.3 +## 4.3.0 - Fix password generator with new images -## 4.2 +## 4.2.0 - Enable quiet logging for http auth plugin -## 4.1 +## 4.1.0 - Update mosquitto 1.5.6 -## 4.0 +## 4.0.0 - Use Alpine 3.7 because libwebsocket 3.0.0 is broken on Alpine 3.8 - -## 3.0 - -- Use auto setup (discovery) on Home Assistant -- Publish his service to Hass.io -- Attach to Home Assistant user system -- Set anonymous default to false - -## 2.0 - -- Update mosquitto to 1.4.15 -- New options to allow clients to connect through websockets diff --git a/mosquitto/config.json b/mosquitto/config.json index 69cab15..d180ad3 100644 --- a/mosquitto/config.json +++ b/mosquitto/config.json @@ -1,6 +1,6 @@ { "name": "Mosquitto broker", - "version": "5.1", + "version": "5.1.1", "slug": "mosquitto", "description": "An Open Source MQTT broker", "url": "https://github.com/home-assistant/hassio-addons/tree/master/mosquitto", @@ -28,7 +28,7 @@ "require_certificate": false }, "schema": { - "logins": [{ "username": "str", "password": "str" }], + "logins": [{ "username": "str", "password": "password" }], "anonymous": "bool", "customize": { "active": "bool", diff --git a/samba/CHANGELOG.md b/samba/CHANGELOG.md index 07d85de..057e47e 100644 --- a/samba/CHANGELOG.md +++ b/samba/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 9.3.1 + +- Update options schema for passwords + ## 9.3.0 - Support new media folder diff --git a/samba/config.json b/samba/config.json index 6b6070d..613c4a5 100644 --- a/samba/config.json +++ b/samba/config.json @@ -1,6 +1,6 @@ { "name": "Samba share", - "version": "9.3.0", + "version": "9.3.1", "slug": "samba", "description": "Expose Home Assistant folders with SMB/CIFS", "url": "https://github.com/home-assistant/hassio-addons/tree/master/samba", @@ -26,7 +26,7 @@ "schema": { "workgroup": "str", "username": "str", - "password": "str", + "password": "password", "interface": "str", "allow_hosts": ["str"], "veto_files": ["str"], diff --git a/ssh/CHANGELOG.md b/ssh/CHANGELOG.md index e332350..96579fd 100644 --- a/ssh/CHANGELOG.md +++ b/ssh/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 9.0.2 + +- Update options schema for passwords + ## 9.0.1 - Upgrade Home Assistant CLI to 4.10.1 diff --git a/ssh/config.json b/ssh/config.json index 409c9c4..3e2cb0a 100644 --- a/ssh/config.json +++ b/ssh/config.json @@ -1,6 +1,6 @@ { "name": "Terminal & SSH", - "version": "9.0.1", + "version": "9.0.2", "slug": "ssh", "description": "Allow logging in remotely to Home Assistant using SSH", "url": "https://github.com/home-assistant/hassio-addons/tree/master/ssh", @@ -29,7 +29,7 @@ }, "schema": { "authorized_keys": ["str"], - "password": "str", + "password": "password", "server": { "tcp_forwarding": "bool" }