J. Nick Koston
419dcbf9a1
Fix typo in KEY_ALLOW_CONFIGRED_CORS ( #119905 )
2024-06-18 12:44:27 -05:00
J. Nick Koston
a6a47c0b44
Make aiohttp_cors a top level import ( #115563 )
...
* Make aiohttp_cors a top level import
This was moved to a late import in #27935 but there is no
longer any need to import it late in the event loop as aiohttp_cors
is listed in pyproject.toml so it will always be available
* drop requirements as they are all top level now
* drop requirements as they are all top level now
* adjust
2024-04-15 21:06:59 +02:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] ( #112699 )
2024-03-08 08:52:48 -05:00
Marc Mueller
2d701d5a7d
Use aiohttp.AppKey for http cors keys ( #112658 )
2024-03-08 11:51:59 +01:00
Franck Nijhof
79b52a2b41
Stricter pylint message control ( #86154 )
2023-01-20 13:47:55 +01:00
Bram Kragten
28c07f5c43
Fix CORS ( #59360 )
...
* Fix CORS
* rename
* Update view.py
2021-11-09 18:30:51 +01:00
Ruslan Sayfutdinov
ce15f28642
Add missing type hints in http component ( #50411 )
2021-05-10 14:30:47 -07:00
springstan
04722fdd63
Move imports to top for http ( #29500 )
2019-12-05 13:42:09 +01:00
Paulus Schoutsen
bb5da77f2c
Import shuffle ( #27935 )
...
* 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 ( #27656 )
...
* 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 ( #27474 )
2019-10-12 12:27:27 -07:00
Ville Skyttä
b738082dad
Type check various base components ( #25878 )
...
* 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 ( #25702 )
...
* 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 ( #25468 )
2019-07-25 13:52:27 +02:00
Paulus Schoutsen
6f903db8c4
Fix cors on the index view ( #24283 )
2019-06-03 11:43:13 -07:00
Paul Bottein
4d9cf15c45
Fix authorization header in cors ( #21662 )
...
* 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 ( #21061 )
...
* Update file header
* Fix lint issue
* Fix lint issue
2019-02-14 16:01:46 +01:00
Ville Skyttä
dbd0763f83
Grammar and spelling fixes ( #16065 )
2018-08-19 22:29:08 +02:00
Paulus Schoutsen
169c8d793a
Fix CORS duplicate registration ( #15670 )
2018-07-25 11:36:44 +02:00
Paulus Schoutsen
2a76a0852f
Allow CORS requests to token endpoint ( #15519 )
...
* 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] ( #12982 )
...
* 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 ( #12424 )
...
* Clean up HTTP component
* Clean up HTTP mock
* Remove unused import
* Fix test
* Lint
2018-02-15 22:06:14 +01:00