Commit graph

16 commits

Author SHA1 Message Date
springstan
04722fdd63 Move imports to top for http () 2019-12-05 13:42:09 +01:00
Paulus Schoutsen
bb5da77f2c
Import shuffle ()
* Simplify persistent_notification ws command

* Move cors import inside setup

* Fix stream imports
2019-10-19 12:44:51 -07:00
Paulus Schoutsen
3231e22ddf
Remove direct authentication via trusted networks or API password ()
* Remove direct authentication via trusted networks and API password

* Fix tests
2019-10-14 14:56:45 -07:00
Quentame
ee8b72fb71 Move imports in http component () 2019-10-12 12:27:27 -07:00
Ville Skyttä
b738082dad Type check various base components ()
* Type check various component base classes, disabling bunch of checks for now

* Type hint fixes

* Help mypy out some

* Add more type hints
2019-08-11 20:38:18 -07:00
Paulus Schoutsen
57f84cbbaa Update HTTP defaults ()
* Update HTTP defaults

* Fix tests
2019-08-05 08:24:54 +02:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen
fae3546910 Allow cors for static files () 2019-07-25 13:52:27 +02:00
Paulus Schoutsen
6f903db8c4
Fix cors on the index view () 2019-06-03 11:43:13 -07:00
Paul Bottein
4d9cf15c45 Fix authorization header in cors ()
* Fix authorization headers in cors

* Use aiohttp authorization header instead of custom const
2019-03-09 10:00:10 -08:00
Fabian Affolter
3736120c6a
Update file header ()
* Update file header

* Fix lint issue

* Fix lint issue
2019-02-14 16:01:46 +01:00
Ville Skyttä
dbd0763f83 Grammar and spelling fixes () 2018-08-19 22:29:08 +02:00
Paulus Schoutsen
169c8d793a
Fix CORS duplicate registration () 2018-07-25 11:36:44 +02:00
Paulus Schoutsen
2a76a0852f
Allow CORS requests to token endpoint ()
* Allow CORS requests to token endpoint

* Tests

* Fuck emulated hue

* Clean up

* Only cors existing methods
2018-07-19 08:37:00 +02:00
Boyi C
321eb2ec6f Move HomeAssistantView to separate file. Convert http to async syntax. [skip ci] ()
* Move HomeAssistantView to separate file. Convert http to async syntax.

* pylint

* websocket api

* update emulated_hue for async/await

* Lint
2018-03-08 17:51:49 -08:00
Paulus Schoutsen
f32911d036 Cleanup http ()
* Clean up HTTP component

* Clean up HTTP mock

* Remove unused import

* Fix test

* Lint
2018-02-15 22:06:14 +01:00