Wendelin
cbfa3bb56d
Hassio logs boots ( #129151 )
...
* Add hassio logs/boots proxy settings
* Add hassio http tests
2024-10-28 16:41:14 +01:00
Wendelin
2453e1284f
Add Hassio HTTP logs/follow to allowed paths ( #126606 )
...
* Add logs/follow to admin paths in hassio.http
* Add tests for logs/follow admin paths in hassio.http
* Add tests for logs/follow admin paths in hassio.http
* Add compress and timeout exclusions for hassio http api
* Fix should_compress usage in hassio/ingress
* Add missing follow exceptions for hassio/http
* Add hassio range header forward for logs endpoints
* Fix test syntax hassio/http
2024-10-23 09:57:14 +02:00
epenet
b054c037fe
Improve type hints in hassio tests ( #121221 )
2024-07-05 09:05:21 +02:00
epenet
092cdcfe91
Improve type hints in tests (a-h) ( #118379 )
2024-05-30 08:46:18 +02:00
Marc Mueller
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +01:00
Marc Mueller
7a89e58873
Use builtin TimeoutError [e-i] ( #109679 )
2024-02-05 12:00:37 +01:00
J. Nick Koston
36e1c740fd
Fix ingress sending an empty body for GET requests ( #101917 )
2023-10-15 23:38:20 +02:00
Joakim Sørensen
e5ce8e920d
Add paths for add-on changelog and documentation ( #89411 )
2023-03-08 20:23:33 -05:00
Franck Nijhof
feb3f543be
Improve Supervisor API handling ( #89379 )
2023-03-08 15:21:11 +01:00
epenet
89e4ee5320
Add type hints to integration tests (part 8) ( #87982 )
2023-02-13 11:13:48 +01:00
epenet
59ca7780fa
Add typing to tests with single hass argument ( #87631 )
2023-02-07 15:01:16 +01:00
Ville Skyttä
b52c5c82b1
Use http.HTTPStatus in components/[gh]* ( #58246 )
2021-10-23 20:34:53 +02:00
Joakim Sørensen
3e38dc0fd9
Add cache-control headers to supervisor entrypoint ( #55493 )
2021-08-31 14:45:28 +02:00
Joakim Sørensen
56360feb9a
Stream API requests to the supervisor ( #53909 )
2021-08-03 16:48:22 +02:00
Joakim Sørensen
da3419945c
Rename snapshot -> backup ( #53851 )
2021-08-02 11:07:21 +02:00
Joakim Sørensen
a9722c90e9
Revert "Rename snapshot -> backup" ( #53751 )
...
This reverts commit 9806bda272
.
2021-07-30 12:44:10 -07:00
Paulus Schoutsen
6b7a4d2d3c
Revert "Allow uploading large snapshots ( #53528 )" ( #53729 )
...
This reverts commit cdce14d63d
.
2021-07-29 14:26:05 -07:00
Stephen Beechen
cdce14d63d
Allow uploading large snapshots ( #53528 )
...
Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2021-07-28 22:12:59 -07:00
Joakim Sørensen
9806bda272
Rename snapshot -> backup ( #51629 )
2021-07-27 22:43:05 +02:00
Franck Nijhof
08870690a6
Fix a collection of tests with missing asserts ( #48127 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-20 17:23:55 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Joakim Sørensen
1f07a4eba0
Forward client headers for proxied stream responses ( #41663 )
2020-10-15 11:01:37 +02:00
Joakim Sørensen
953f6bad46
Allow non-authenticated calls to supervisor logs during onboarding ( #40617 )
2020-09-28 10:10:10 +02:00
Joakim Sørensen
a42736e437
Allow non-authenticated calls to snapshots during onboarding ( #40582 )
2020-09-26 09:26:02 +02:00
Joakim Sørensen
2d429ea678
Add modifications for snapshot uploads ( #40503 )
...
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-09-25 10:02:26 +02:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Franck Nijhof
d7e9959442
String formatting improvements for tests (2) ( #33666 )
2020-04-05 00:33:07 +02:00
Joakim Sørensen
a5a69bdf71
Adds icon endpoint to NO_AUTH ( #30910 )
...
* Adds icon endpoint to NO_AUTH
* Add test for no_auth icon get
* Blackout
2020-01-17 13:54:28 -08:00
Franck Nijhof
0fb5fbd85c
Migrate hassio tests from coroutine to async/await ( #30363 )
2020-01-01 17:13:43 -06: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
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Pascal Vizeli
6829ecad9d
Hass.io ingress ( #22505 )
...
* Fix API stream of snapshot / Add ingress
* fix lint
* Fix stream handling
* Cleanup api handling
* fix typing
* Set proxy header
* Use header constant
* Enable the ingress setup
* fix lint
* Fix name
* Fix tests
* fix lint
* forward params
* Add tests for ingress
* Cleanup cookie handling with aiohttp 3.5
* Add more tests
* Fix tests
* Fix lint
* Fix header handling for steam
* forward header too
* fix lint
* fix flake
2019-04-01 14:16:16 +02:00
Paulus Schoutsen
7be197b845
Update test_http.py
2019-01-11 10:00:38 -08:00
Paulus Schoutsen
fd21d6cc9d
Add Hass.io user headers to supervisor proxy
2019-01-11 10:00:38 -08:00
Otto Winter
eec4564c71
Show ANSI color codes in logs in Hass.io ( #18834 )
...
* Hass.io: Show ANSI color codes in logs
* Lint
* Fix test
* Lint
2018-12-02 15:46:14 +01:00
Pascal Vizeli
d376049a3f
Use one regex for Hass.io URL check ( #16710 )
2018-09-19 12:57:55 +02:00
Pascal Vizeli
40c8f5f70e
Fix panel URL authentication for Hass.io ( #15024 )
...
* Update http.py
* Update http.py
* fix tests
* Update test_http.py
2018-06-17 20:34:47 +02:00
Paulus Schoutsen
b6e4a7771a
Allow Hass.io panel dir ( #14655 )
2018-05-27 17:17:19 -04:00
Pascal Vizeli
4f96eeb06e
Cleanup hass.io component ( #12556 )
...
* Cleanup hass.io component
* fix lint
* Fix all tests
* Fix lint
* fix lint
* fix doc lint
2018-02-20 15:24:31 -08:00