234 Commits

Author SHA1 Message Date
Pascal Vizeli
af19e95c81
Make discovery persistent (#727)
* Make discovery persistent

* fix file handling

* fix detection

* Smooth

* Fix ring import

* Fix handling

* fix schema

* fix validate

* fix discovery cleanup
2018-09-30 15:33:16 +02:00
Pascal Vizeli
e5451973bd
Overwork Services/Discovery (#725)
* Update homeassistant.py

* Update validate.py

* Update exceptions.py

* Update services.py

* Update discovery.py

* fix gitignore

* Fix handling for discovery

* use object in ref

* lock down discovery API

* fix api

* Design

* Fix API

* fix lint

* fix

* Fix security layer

* add provide layer

* fix access

* change rating

* fix rights

* Fix API error handling

* raise error

* fix rights

* api

* fix handling

* fix

* debug

* debug json

* Fix validator

* fix error

* new url

* fix schema
2018-09-29 19:49:08 +02:00
Pascal Vizeli
61eefea358
Add version endpoint (#718)
* Add version endpoint

* Update API.md

* Update const.py

* Create version.py

* Update __init__.py

* Update security.py

* Update version.py
2018-09-26 11:39:45 +02:00
Pascal Vizeli
67dcf1563b
Bump version to 132 2018-09-18 21:20:10 +02:00
Pascal Vizeli
9f8ad05471
Add API role system (#703)
* Add API role system

* Finish

* Simplify

* Fix lint

* Fix rights

* Fix lint

* Fix spell

* Fix log
2018-09-18 20:39:58 +02:00
Fabian Affolter
c2299ef8da
Fix typos (#704) 2018-09-18 18:17:20 +02:00
Franck Nijhof
622e99e04c Adds host PID mode support for add-ons (#700)
*  Adds host PID mode support for add-ons.

* 🔒 Disables host PID mode when in protected mode

* 🚦 Adds more negative rating weight to host PID mode
2018-09-17 21:02:28 +02:00
Franck Nijhof
3d459f1b8b Adds support for SYS_PTRACE add-on privileges (#697) 2018-09-15 22:05:50 +02:00
Pascal Vizeli
5f3dd6190a
Bump version 130 2018-09-10 00:02:27 +02:00
Pascal Vizeli
5cbdbffbb2
Bump version to 130 2018-09-08 00:17:05 +02:00
Pascal Vizeli
cecefd6972
Change access to API (#686)
* Update API.md

* Update API.md

* Update API.md

* Update addons.py

* Update addons.py

* Update addons.py

* Update addons.py

* Update __init__.py

* Update security.py

* Update security.py

* Update const.py

* Update validate.py

* Update __init__.py

* Update validate.py

* Update homeassistant.py

* Update homeassistant.py

* Update homeassistant.py

* Update addon.py

* Update addon.py

* Update homeassistant.py

* Fix lint

* Fix lint

* Backward combatibility

* Make token more robust

* Fix bug

* Logic error

* Fix access

* fix valid
2018-09-07 22:59:31 +02:00
Pascal Vizeli
ff7f6a0b4c
Bump version 129 2018-08-29 10:16:04 +02:00
Pascal Vizeli
0c345fc615
Bump version 128 2018-08-19 22:05:42 +02:00
Pascal Vizeli
5d319b37ea
Bump verison 127 2018-08-16 23:38:57 +02:00
Pascal Vizeli
ecd12732ee
New generation of security and access (#652)
* New generation of security and access

* Update const.py

* Update validate.py

* Update addon.py

* Update validate.py

* Fix name

* Allow access

* Fix

* add logs

* change message

* add rating

* fix lint

* fix lint

* fix

* Fix
2018-08-16 22:49:08 +02:00
Pascal Vizeli
f5f5ed83af
Bump version 126 2018-08-09 14:38:34 +02:00
Pascal Vizeli
5d7018f3f0
Bump version 125 2018-08-09 01:05:21 +02:00
Pascal Vizeli
78e91e859e
Add add-on support for docker sock ro (#635)
* Add add-on support for docker sock ro

* fix
2018-08-09 00:42:33 +02:00
Pascal Vizeli
398815efd8
Bump version to 124 2018-08-08 19:22:12 +02:00
Pascal Vizeli
858c7a1fa7
Bump version 123 2018-08-02 23:40:52 +02:00
Pascal Vizeli
f626e31fd3
Bump version 122 2018-07-25 01:52:24 +02:00
Pascal Vizeli
7f878bfac0
Bump version to 121 2018-07-25 01:39:33 +02:00
Pascal Vizeli
2116d56124
Bump version 120 2018-07-24 16:32:46 +02:00
Pascal Vizeli
22f59712df
Bump version 119 2018-07-23 13:01:51 +02:00
Pascal Vizeli
70005296cc
Bump version 118 2018-07-21 20:25:12 +02:00
Pascal Vizeli
57c58d81c0
Bump version 117 2018-07-21 00:06:34 +02:00
Pascal Vizeli
35b7c2269c
Support control of hassos-cli (#555)
* Support control of hassos-cli

* Update const.py

* Update validate.py

* Update supervisor.py

* Create hassos_cli.py

* Update hassos_cli.py

* Update hassos_cli.py

* Update hassos.py

* Update tasks.py

* Update hassos.py

* Update API.md

* Update API.md

* Update const.py

* Update hassos.py

* Update __init__.py

* Fix lint

* fix

* Fix logging

* change order

* Fix download
2018-07-20 23:45:36 +02:00
Paulus Schoutsen
4df42e054d Leverage access and refresh tokens if available (#575)
* Leverage access and refresh tokens if available

* Update homeassistant.py

* Update homeassistant.py

* Update proxy.py

* Migrate HomeAssistant to new exception layout

* Fix build for 3.7

* Cleanups

* Fix style

* fix log strings

* Fix new style

* Fix travis build

* python 3.7

* next try

* fix

* fix lint

* Fix lint p2

* Add logging

* Fix logging

* fix access

* Fix spell

* fix return

* Fix runtime

* Add to hass config
2018-07-20 16:55:48 +02:00
Pascal Vizeli
1151d7e17b
Bump version to 116 2018-07-06 13:10:16 +02:00
Pascal Vizeli
4fcb516c75
Bump version to 115 2018-07-06 01:38:18 +02:00
Pascal Vizeli
946cc3d618
Bump version to 114 2018-07-04 00:53:19 +02:00
Pascal Vizeli
0f72db45f9
Bump version to 113 2018-07-03 23:02:21 +02:00
Pascal Vizeli
60ba2db561
Bump version to 112 2018-07-03 20:44:06 +02:00
Pascal Vizeli
75d24ba534
Bump version to 111 2018-06-30 22:03:21 +02:00
Pascal Vizeli
5fe9d63c79
Add HassOS OTA support on Hass.io (#536)
* Add HassOS OTA support on Hass.io

* Update dt.py

* Update updater.py

* add rauc dbus / initial dbus signal handling

* Update gdbus.py

* Update hassos.py

* Update const.py

* Update hassos.py

* Update exceptions.py

* Update hassos.py

* Update rauc.py

* Update rauc.py

* Update rauc.py

* Update hassos.py

* Update hassos.py

* Update hassos.py

* Update hassos.py

* Update hassos.py

* Update hassos.py

* Update hassos.py

* Update __init__.py

* Update hassos.py

* Update hassos.py

* Update updater.py

* Update updater.py

* Update exceptions.py

* Update exceptions.py

* Update hassos.py

* Update dt.py

* fix lint

* Fix update

* fix property

* tmp disabled

* fix path

* fix rauc

* info

* More details

* cleanup signal hadnling

* fix

* Fix lint
2018-06-30 01:48:58 +02:00
Pascal Vizeli
33095f8792
Bump version to 110 2018-06-29 22:23:00 +02:00
Pascal Vizeli
a0c9e5ad26
HassOS support (#522)
* Add support for hassos

* Name command

* Update host.py

* Create hassos.py

* Update const.py

* Update host.py

* Update API.md

* Update const.py

* Update __init__.py

* Update hassos.py

* Update hassos.py

* Update hassos.py

* Update hassos.py

* Update const.py

* Update API.md

* Update hassos.py

* Update hassos.py

* Update API.md

* Update const.py

* Update hassos.py

* Update __init__.py

* fix lint

* Fix lint v2

* remove old function

* fix attribute error

* inittialize hassos

* Fix link

* fix error handling

* Fix handling
2018-06-22 22:54:03 +02:00
Pascal Vizeli
408d6eafcc
Bump version to 109 2018-06-21 12:21:59 +02:00
Pascal Vizeli
054e357483
Add support to map devicetree into add-on (#519)
* Add support to map devicetree into add-on

* Update const.py

* Update validate.py

* Update addon.py

* Update addons.py

* Update API.md
2018-06-21 12:19:14 +02:00
Pascal Vizeli
7769d6fff1
Cleanup and fixup Apparmor implementation (#509)
* Cleanup and fixup Apparmor implementation

* Update addon.py

* Update validate.py

* Create apparmor.py

* Update exceptions.py

* Update apparmor.py

* Create apparmor.py

* Update const.py

* Update bootstrap.py

* Update const.py

* Update config.py

* Update addons.py

* Update apparmor.py

* Add support for host AppArmor

* Update apparmor.py

* Update apparmor.py

* Update apparmor.py

* Update apparmor.py

* Update apparmor.py

* Update addon.py

* Update apparmor.py

* Update addon.py

* Update addon.py

* Update addon.py

* Update addon.py

* Update const.py

* Update supervisor.py

* Update supervisor.py

* Update supervisor.py

* Add snapshot support

* some cleanup

* Cleanup v2

* Update aiohttp

* fix lint

* fix bugs

* Add info logs
2018-06-20 00:09:18 +02:00
Pascal Vizeli
561e80c2be
Extend Systemd Support / Apparmor (#506)
* Update systemd.py

* Update control.py

* Update control.py

* Create service.py

* Update info.py

* Rename hassio/host/asound.tmpl to hassio/host/data/asound.tmpl

* Rename hassio/host/audiodb.json to hassio/host/data/audiodb.json

* Update alsa.py

* Update alsa.py

* Update control.py

* Fix

* Enable call

* fix

* fix args

* Fix gdbus

* parse service data

* Change handling

* Fix states

* Fix parser for tuples

* Fix parser v2

* Fix tuple handling

* Fix regex string handling

* Faster tuple finder

* fix empty detector

* wrong order

* Finish

* fix lint

* better filtering

* fix match

* Fix mode string
2018-06-17 02:07:12 +02:00
Pascal Vizeli
96f47a4c32
Bump version to 108 2018-06-16 01:20:10 +02:00
Pascal Vizeli
baa61c6aa0
Bump version to 107 2018-06-08 23:48:43 +02:00
Pascal Vizeli
46f2bf16a8
Bump version to 106 2018-06-08 21:51:08 +02:00
Pascal Vizeli
fe155a4ff0
Read version from AWS (#488)
* Read version from AWS

* Update const.py

* Update updater.py

* Update updater.py

* Update updater.py

* Update updater.py

* Update updater.py

* Update const.py

* Update updater.py
2018-05-29 19:14:09 +02:00
Pascal Vizeli
20afa1544b
Bump version to 105 2018-05-29 00:22:12 +02:00
Pascal Vizeli
bc0835963d
Bump version to 104 2018-05-28 21:28:19 +02:00
Pascal Vizeli
9d951280ef
Update const.py 2018-05-09 11:07:07 +02:00
Pascal Vizeli
7adb81b350
Update const.py 2018-05-06 09:45:46 +02:00
Pascal Vizeli
e383a11bb7
Pump version to fix 2018-05-05 23:19:56 +02:00