Robert Resch and GitHub
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 and GitHub
0dbbb00a15
Don't allow setting http config if HA is not running ( #177640 )
2026-07-30 15:08:33 +02:00
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 and GitHub
6dc43779f6
Undeprecate http server_host configuration ( #177536 )
2026-07-29 11:34:54 +02:00
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
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
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 and GitHub
5c4dfee42b
Persist active HTTP config slot and keep reverted pending config ( #176525 )
2026-07-23 18:00:17 +02:00
Robert Resch and GitHub
fe092acee4
Move http server code into it's own module ( #176968 )
2026-07-21 17:23:25 +02:00
Robert Resch and GitHub
6d387ad10d
Add port validation to ws http config command ( #176876 )
2026-07-21 08:26:52 +02:00
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 and GitHub
30ce9bfcf2
Restore lost trusted proxy network masks during HTTP YAML migration ( #176899 )
2026-07-20 15:43:06 +02:00
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
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
Robert Resch and GitHub
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 and Martin Hjelmare
08094cb8b8
Migrate http config to ui ( #171177 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2026-07-02 09:27:57 +00:00
epenet and GitHub
397c28b9b6
Use DOMAIN constant in test (async_setup_component h-n) ( #173015 )
2026-06-08 16:28:17 +02:00
epenet and GitHub
f459946e86
Rename domain variable in tests ( #172575 )
2026-06-01 06:37:40 +02:00
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
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
Franck Nijhof and GitHub
0f4852d8c2
Enable sockets for http integration tests ( #164404 )
2026-02-27 22:22:15 +01:00
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
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 and GitHub
967467664b
Disable automatic start of HTTP server in tests ( #155857 )
2025-11-06 08:37:04 +01:00
Erik Montnemery and GitHub
bccb646a07
Create issue to warn against using http.server_host in supervised installs ( #155837 )
2025-11-05 12:13:56 +01:00
Erik Montnemery and GitHub
52a751507a
Revert "Deprecate http.server_host option and raise issue if used" ( #155834 )
2025-11-05 11:26:14 +01:00
Erik Montnemery and GitHub
47c2c61626
Deprecate http.server_host option and raise issue if used ( #155828 )
2025-11-05 11:08:49 +01:00
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
G Johansson and GitHub
c602a0e279
Deprecated hass.http.register_static_path now raises error ( #147039 )
2025-06-19 13:14:42 +02:00
Marc Mueller and GitHub
5843e63878
Add contextmanager to reset logger after set_level call in tests ( #143295 )
2025-04-20 02:13:01 +02:00
Joost Lekkerkerker and GitHub
2fa7113787
Raise issue if SSL is set but no external URL configured ( #121768 )
...
* Raise issue if SSL is set but no external URL configured
* Add cloud
* Add cloud
* Fix strings
* Attempt
* Fix
* Fix
* Move strings
* Fixes
* fix
* Fix
* Fix
* Fix
* Break tests
* Fix tests
2024-09-24 15:35:10 +02:00
Max and GitHub
702d53ca30
Correct deprecation warning async_register_static_paths ( #120592 )
2024-06-26 20:55:25 +02:00
Robert Resch and GitHub
bae008b0e2
Remove legacy_api_password auth provider ( #119976 )
2024-06-19 22:46:30 +02:00
J. Nick Koston and GitHub
6a3778c48e
Deprecate register_static_path in favor of async_register_static_paths ( #119895 )
...
* Deprecate register_static_path in favor of async_register_static_path
`hass.http.register_static_path` is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_path([StaticPathConfig(url_path, path, cache_headers)])`
The arguments to `async_register_static_path` are the same as `register_static_path` except they are wrapped in the `StaticPathConfig` dataclass and an iterable of them is accepted to allow registering multiple paths at once to avoid multiple executor jobs.
* add date
* spacing
2024-06-18 21:51:24 -04:00
epenet and GitHub
a59621bf9e
Add more type hints to pylint plugin ( #118319 )
2024-05-28 18:37:38 +02:00
Robert Resch and GitHub
cb62f4242e
Remove strict connection ( #117933 )
2024-05-24 15:50:22 +02:00
Robert Resch and GitHub
630ddd6a8c
Revert "Remove strict connection" ( #116416 )
2024-04-29 21:26:40 +02:00
Robert Resch and GitHub
dfc198cae0
Remove strict connection ( #116396 )
2024-04-29 19:33:31 +02:00
Robert Resch and GitHub
bcc2dd99b2
Rename strict connection static page to guard page ( #116085 )
2024-04-24 10:29:59 +02:00
348e1df949
Add strict connection ( #112387 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2024-04-12 14:47:46 +02:00
Sid and GitHub
d5f883fbf0
Unignore Ruff PLR in tests ( #114470 )
...
* Unignore Ruff PLR in tests
* Address review comments
* review comments
* fix import
* Update test_api.py
* Update test_api.py
* Update test_api.py
2024-04-01 11:11:59 +02:00
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com >
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2024-03-26 00:02:16 +01:00
Jan-Philipp Benecke and GitHub
f96bb6754b
Remove deprecated hass.components from http test ( #113823 )
2024-03-19 22:32:27 +02:00
Marc Mueller and GitHub
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller and GitHub
531e25cbc6
Change KEY_HASS to be an aiohttp AppKey ( #111954 )
2024-03-07 13:37:48 +01:00
J. Nick Koston and GitHub
1b048ff388
Remove HomeAssistantAccessLogger ( #104173 )
2023-11-29 10:40:19 -07:00
Erik Montnemery and GitHub
c481fdb7d0
Rename safe mode to recovery mode ( #102580 )
2023-10-23 20:33:08 +02:00
Marc Mueller and GitHub
887e48c440
Replace deprecated aiohttp_unused_port fixture ( #97626 )
2023-08-02 20:30:13 +02:00