Commit Graph

217 Commits

Author SHA1 Message Date
Robert Resch 5ecc8fabb1 Don't use the new default port (80) during yaml http config migration (#177638) 2026-07-30 17:13:04 +02:00
Robert Resch 0dbbb00a15 Don't allow setting http config if HA is not running (#177640) 2026-07-30 15:08:33 +02:00
Stefan Agner 3ba1abd4ec Do not stage a pending HTTP config when there is no YAML to migrate (#177622)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 10:19:12 +02:00
Robert Resch 6dc43779f6 Undeprecate http server_host configuration (#177536) 2026-07-29 11:34:54 +02:00
Stefan Agner c211d6c03e Fix legacy port redirect hanging Home Assistant shutdown (#177457)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-28 15:53:26 +02:00
Stefan Agner 5a5a77cdf6 Default to port 80 and redirect legacy port 8123 under Supervisor (#174278)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-28 09:34:23 +02:00
Stefan Agner 7191fd8497 Expose HTTP server config to Supervisor over the Unix socket (#176976)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-27 16:27:21 +02:00
Robert Resch 5c4dfee42b Persist active HTTP config slot and keep reverted pending config (#176525) 2026-07-23 18:00:17 +02:00
Robert Resch fe092acee4 Move http server code into it's own module (#176968) 2026-07-21 17:23:25 +02:00
Robert Resch 6d387ad10d Add port validation to ws http config command (#176876) 2026-07-21 08:26:52 +02:00
Stefan Agner ec24b750da Do not wait for HTTP clients to disconnect when stopping the server (#176897)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20 15:58:09 +02:00
Robert Resch 30ce9bfcf2 Restore lost trusted proxy network masks during HTTP YAML migration (#176899) 2026-07-20 15:43:06 +02:00
Stefan Agner a69a6893c0 Revert unusable pending HTTP config in place during setup (#176384)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Robert Resch <robert@resch.dev>
2026-07-16 10:09:37 +02:00
Stefan Agner c6939ae93d Fix trusted proxies type when HTTP config is loaded from storage (#176068)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-09 11:00:59 +02:00
Franck Nijhof 7b38da97b4 Merge Port 8123 feature branch to dev (#174270) 2026-07-07 11:55:51 +02:00
Paulus Schoutsen 7dc93c57e4 Check supervisor Unix socket once per request, cheapest condition first (#175568)
Co-authored-by: Claude <noreply@anthropic.com>
2026-07-04 17:33:07 -05:00
Robert Resch 4b90541e93 Implement auto-revert for pending HTTP config after a delay and update WebSocket API to include revert deadline (#174428) 2026-07-03 14:46:20 +02:00
Robert Resch 72a2a88fea Add env var SETUP_PORT to change the default port (#174263) 2026-07-02 09:31:04 +00:00
Robert Resch 1e8e23d70a Restart HA on saving new http conf and also return it on http/config (#173103) 2026-07-02 09:29:28 +00:00
Robert Resch 08094cb8b8 Migrate http config to ui (#171177)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2026-07-02 09:27:57 +00:00
Allen Porter 05553090b9 Strict port matching for network URL helpers (#173657)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-20 10:29:31 -04:00
Robert Resch c0b5dec23b Revert "Unify query token auth in http views" (#173466) 2026-06-11 10:30:54 +02:00
epenet 397c28b9b6 Use DOMAIN constant in test (async_setup_component h-n) (#173015) 2026-06-08 16:28:17 +02:00
Robert Resch 059bc8d676 Unify query token auth in http views (#173082) 2026-06-05 15:57:16 +02:00
epenet f459946e86 Rename domain variable in tests (#172575) 2026-06-01 06:37:40 +02:00
Allen Porter a6fcc9f3ff Prefer external URL in WWW-Authenticate header for RFC 9728 (#169658) 2026-05-27 12:57:02 +02:00
Franck Nijhof 95f3bd7c09 Fix line length violations in tests/components h (#170955)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-17 13:09:56 +02:00
Mike Degatano 6f28902a4f Refactor hassio coordinators to use typed dataclasses instead of dicts (#168847)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-05-04 20:24:33 +02:00
Robert Resch dd71d6cd50 Validate local_only user for signed requests (#169066) 2026-04-24 16:27:15 +02:00
Mike Degatano 15d0a01833 Replace calls to ingress panels API with aiohasupervisor (#166400) 2026-03-25 16:42:32 +01:00
Stefan Agner d5ff890a18 Use Unix socket for Supervisor communication (#163907)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-25 10:06:36 +01:00
Allen Porter 191f49a326 Add RFC9728 OAuth2 Protected Resource metadata endpoint (#166213)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-24 08:06:48 +01:00
Mike Degatano 39b44445ec Use aiohasupervisor for all calls from hassio/coordinator (#164413)
Co-authored-by: Stefan Agner <stefan@agner.ch>
2026-03-17 01:06:56 +01:00
Franck Nijhof 0f4852d8c2 Enable sockets for http integration tests (#164404) 2026-02-27 22:22:15 +01:00
Erik Montnemery 2b730069d7 Revert deprecation of server_host for container installations (#161443)
Co-authored-by: Robert Resch <robert@resch.dev>
2026-01-22 18:38:23 +01:00
Franck Nijhof c2219aadb1 Handle invalid IP addresses in ip_bans.yaml gracefully (#157232)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Robert Resch <robert@resch.dev>
2025-11-25 14:49:05 +01:00
Erik Montnemery 07c4c58ce4 Deprecate http.server_host option and raise issue if used (#155849)
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-11-07 14:51:07 +01:00
Erik Montnemery 967467664b Disable automatic start of HTTP server in tests (#155857) 2025-11-06 08:37:04 +01:00
Erik Montnemery bccb646a07 Create issue to warn against using http.server_host in supervised installs (#155837) 2025-11-05 12:13:56 +01:00
Erik Montnemery 52a751507a Revert "Deprecate http.server_host option and raise issue if used" (#155834) 2025-11-05 11:26:14 +01:00
Erik Montnemery 47c2c61626 Deprecate http.server_host option and raise issue if used (#155828) 2025-11-05 11:08:49 +01:00
Sebastian Faul 6edafd8965 Fix incorrect forward header handling (#154793) 2025-10-19 21:26:12 +02:00
Marc Mueller 1e5f5f4ad3 Enable pylint consider-math-not-float check (#154338) 2025-10-13 21:14:57 +02:00
Manu c296e1f818 Remove deprecated register_static_path method (#148303)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-07-07 14:27:19 +01:00
Fabio Natanael Kepler 1a92d4530e Fix playing TTS and local media source over DLNA (#134903)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-06-26 17:12:15 +02:00
G Johansson c602a0e279 Deprecated hass.http.register_static_path now raises error (#147039) 2025-06-19 13:14:42 +02:00
Marc Mueller 5e377b89fc Update pytest-asyncio to 1.0.0 (#145988)
* Update pytest-asyncio to 1.0.0

* Remove event_loop fixture uses
2025-06-02 06:12:22 +02:00
Marc Mueller 5843e63878 Add contextmanager to reset logger after set_level call in tests (#143295) 2025-04-20 02:13:01 +02:00
Erik Montnemery dfd86d56ec Convert test fixtures to async (#142052) 2025-04-02 14:05:07 +02:00
Erik Montnemery 86622cd29d Remove unnecessary imports of http integration (#141899)
* Remove unnecessary imports of http integration

* Check reason for test failures

* Revert "Check reason for test failures"

This reverts commit 5ccf356ab0.

* Update tests
2025-03-31 11:30:20 +01:00