Skip to content

Commit

Permalink
Fix password schema (#1883)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Feb 25, 2021
1 parent e746b73 commit 107585d
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 103 deletions.
94 changes: 19 additions & 75 deletions git_pull/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions git_pull/config.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions mariadb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions mariadb/config.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
Expand Down
28 changes: 10 additions & 18 deletions mosquitto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions mosquitto/config.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -28,7 +28,7 @@
"require_certificate": false
},
"schema": {
"logins": [{ "username": "str", "password": "str" }],
"logins": [{ "username": "str", "password": "password" }],
"anonymous": "bool",
"customize": {
"active": "bool",
Expand Down
4 changes: 4 additions & 0 deletions samba/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 9.3.1

- Update options schema for passwords

## 9.3.0

- Support new media folder
Expand Down
4 changes: 2 additions & 2 deletions samba/config.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -26,7 +26,7 @@
"schema": {
"workgroup": "str",
"username": "str",
"password": "str",
"password": "password",
"interface": "str",
"allow_hosts": ["str"],
"veto_files": ["str"],
Expand Down
4 changes: 4 additions & 0 deletions ssh/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 9.0.2

- Update options schema for passwords

## 9.0.1

- Upgrade Home Assistant CLI to 4.10.1
Expand Down
4 changes: 2 additions & 2 deletions ssh/config.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"schema": {
"authorized_keys": ["str"],
"password": "str",
"password": "password",
"server": {
"tcp_forwarding": "bool"
}
Expand Down

0 comments on commit 107585d

Please sign in to comment.