Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Leonardo Merza
29ad3961e5
Use voluptuous error string for websocket validation error ( #21883 )
...
* use voluptuous error string to websocket validation error
* added exception logging to websocket error
* add detailed message to websocket validation error
* add error message to websocket validation error
* Add humanize error for websocket invalid vol error
* Add humanize error for websocket invalid vol error
* Add humanize error for websocket invalid vol error
2019-03-27 10:40:39 -07:00
Penny Wood
1ddc65a0ce
Fixing the api_streams sensor ( #22200 )
...
* Fire events with websocket messages.
* Added tests to validate
* Fixed api_streams sensor to use new sensor
* Delete from coverageac as now works.
* Removed websocket request event.
* Use dispatcher instead of events.
* Moved sensor to under websocket_api
* Changes as per code review
* Fixed tests.
* Modified test
* Patch
2019-03-22 11:59:10 -07:00
Paulus Schoutsen
29131a655d
Allow non-admins to listen to certain events ( #22137 )
2019-03-17 19:13:06 -07:00
Paulus Schoutsen
429bbc05dc
Add WS subscription command for MQTT ( #21696 )
...
* Add WS subscription command for MQTT
* Add test
* Add check for connected
* Rename event_listeners to subscriptions
2019-03-10 20:07:09 -07:00
Jason Hu
fe1840f901
Deprecate http.api_password ( #21884 )
...
* Deprecated http.api_password
* Deprecated ApiConfig.api_password
GitHub Drafted PR would trigger CI after changed it to normal PR.
I have to commit a comment change to trigger it
* Trigger CI
* Adjust if- elif chain in auth middleware
2019-03-10 19:55:36 -07:00
Paulus Schoutsen
fc1ee9be43
Use new style for built-in ws commmands ( #21694 )
...
* Use new style for built-in ws commmands
* Lint
2019-03-05 19:31:26 -08:00
Jason Hu
ee6f09dd29
Log exception occurred in WS service call command ( #21584 )
2019-03-03 21:22:22 -08:00
Jason Hu
f1b867dccb
Re-thrown exception occurred in the blocking service call ( #21573 )
...
* Rethrown exception occurred in the actual service call
* Fix lint and test
2019-03-01 23:09:31 -08:00
Daniel Høyer Iversen
519315f9c8
pylint 2.3.0 ( #21485 )
...
* pylint 2.3.0
* remove const
* disable=syntax-error
2019-02-27 16:10:40 -05:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Paulus Schoutsen
987b5cd905
Person component: add storage and WS commands ( #20852 )
...
* Forbid duplicate IDs
* Allow loading persons from storage
* Convert to PersonManager
* Add storage support and WS commands to Person component
* Convert list command to differentiate types
* Allow loading person component without defining persons
* Fix cleanups after update/delete
* Address comments
* Start tracking when HA started
2019-02-09 10:41:40 -08:00
Paulus Schoutsen
cb07ea0d60
RFC: Add system health component ( #20436 )
...
* Add system health component
* Remove stale comment
* Fix confusing syntax
* Update test_init.py
* Address comments
* Lint
* Move distro check to updater
* Convert to websocket
* Lint
* Make info callback async
* Fix tests
* Fix tests
* Lint
* Catch exceptions
2019-01-30 10:57:53 -08:00
Florian Ludwig
23382ab199
assign user to websocket connection when using legacy_api_password ( #19797 )
2019-01-08 20:45:24 -08:00
Paulus Schoutsen
4f98818258
Rename is_owner decorator to is_admin ( #19266 )
...
* Rename is_owner decorator to is_admin
* Update test_auth.py
2018-12-14 10:19:27 +01:00
Paulus Schoutsen
d1a621601d
No more opt-out auth ( #18854 )
...
* No more opt-out auth
* Fix var
2018-12-02 16:32:53 +01:00
Paulus Schoutsen
df21dd21f2
RFC: Call services directly ( #18720 )
...
* Call services directly
* Simplify
* Type
* Lint
* Update name
* Fix tests
* Catch exceptions in HTTP view
* Lint
* Handle ServiceNotFound in API endpoints that call services
* Type
* Don't crash recorder on non-JSON serializable objects
2018-11-30 21:28:35 +01:00
Paulus Schoutsen
a2386f871d
Forbid float NaN in JSON ( #18757 )
2018-11-28 13:25:23 +01:00
Paulus Schoutsen
9d7b1fc3a7
Enforce permissions for Websocket API ( #18719 )
...
* Handle unauth exceptions in websocket
* Enforce permissions in websocket API
2018-11-27 10:12:31 +01:00
Ville Skyttä
4d9ef9e795
Import homeassistant domain instead of hardcoding it ( #17985 )
2018-10-30 17:38:09 +02:00
Paulus Schoutsen
e985f30247
Fix websocket API ( #17471 )
2018-10-15 11:48:36 +02:00
Paulus Schoutsen
4210835dcd
Async response all the things ( #17073 )
...
* Use async_response
* Update device_registry.py
2018-10-03 07:53:54 +02:00
Paulus Schoutsen
2e6346ca43
Break up websocket 2 ( #17028 )
...
* Break up websocket 2
* Lint+Test
* Lintttt
* Rename
2018-10-01 16:09:31 +02:00
Paulus Schoutsen
22a80cf733
Break up websocket component ( #17003 )
...
* Break up websocket component
* Lint
2018-10-01 11:21:00 +02:00