Commit Graph
254 Commits
Author SHA1 Message Date
epenetandGitHub 7169d52010 Remove import annotations from core (#169547) 2026-04-30 20:34:43 +02:00
57d9e8ea6f Filter history API responses by per-entity read permissions (#169236)
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
2026-04-29 12:16:49 +02:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>Robert Resch
0f0ceaace2 Update PyJWT to 2.12.1 (#168239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Resch <[email protected]>
2026-04-16 10:44:41 +02:00
Robert ReschandGitHub 4a464f601c Remove users refresh tokens when the user get's deactivated (#159443) 2025-12-19 15:50:47 +01:00
b8829b645a Add labs_updated event to subscription allowlist (#157552)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: balloob <[email protected]>
2025-12-02 07:35:29 +01:00
Abílio CostaandGitHub 88b6754c73 Fix MFA Notify setup flow schema (#156158) 2025-11-09 09:13:13 +01:00
Marc MuellerandGitHub 67156d159f Truncate password before sending it to bcrypt (#155950) 2025-11-07 21:26:32 +01:00
Jan BouwhuisandGitHub b6108001e4 Move URLs out of strings.json for auth (#154769) 2025-10-18 21:54:54 +03:00
ManuandGitHub b875af9667 Bump pyotp to v2.9.0 (#151721) 2025-09-05 00:09:23 +02:00
Paulus SchoutsenandGitHub 08ea640629 Do not allow overriding users when uuid is duplicate (#149408) 2025-08-05 11:13:32 +02:00
Erik MontnemeryandGitHub 42101dd432 Remove result from FlowResult (#149202) 2025-07-31 10:58:36 +02:00
Marc MuellerandGitHub 2c13c70e12 Update ruff to 0.12.0 (#147106) 2025-06-19 20:39:09 +02:00
epenetandGitHub b7a344fd65 Standardize homeassistant imports in core and base platforms (#136730)
Standardize homeassistant imports in core
2025-01-28 13:11:48 -05:00
Ville SkyttäandGitHub 40eb8b91cc Adjust to recommended propcache.api import paths (#136150) 2025-01-21 10:58:22 +01:00
Marc MuellerandGitHub 46b17b539c Use new syntax for TypeVar defaults (#135780) 2025-01-17 09:12:52 +01:00
Joost LekkerkerkerandGitHub 9f7a38f189 Enable RUF022 (#135767) 2025-01-16 13:48:24 +01:00
Joost LekkerkerkerandGitHub 8a35261fd8 Remove unused noqas (#135583) 2025-01-15 10:02:18 +01:00
Franck NijhofandGitHub 60bdc13c94 Drop Python 3.12 support (#135589) 2025-01-14 16:23:15 +01:00
Marc MuellerandGitHub 32c1b519ad Improve auth generic typing (#133061) 2024-12-12 20:14:56 +01:00
J. Nick KostonandGitHub 8b4983087b Bump PyJWT to 2.10.0 (#130907)
* Bump PyJWT to 2.10.0

changelog: https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0

* handle new keys

* add test to verify all default options are checked for merge
2024-11-19 19:55:55 +01:00
epenetandGitHub b6d981fe9e Improve type hints in Time-based One Time Password auth module (#130420) 2024-11-15 12:48:11 +01:00
Erik MontnemeryandGitHub d6ee10a543 Make FlowHandler.context a typed dict (#126291)
* Make FlowHandler.context a typed dict

* Adjust typing

* Adjust typing

* Avoid calling ConfigFlowContext constructor in hot path
2024-10-08 12:18:45 +02:00
J. Nick KostonandGitHub 0f29fd3e10 Switch to using fast cached_property implementation in propcache (#127339) 2024-10-03 13:11:02 -05:00
Erik MontnemeryandGitHub 252ce2c95b Improve FlowManager.async_finish_flow docstring (#126178)
* Improve FlowManager.async_finish_flow docstring

* Fix typos
2024-09-18 18:19:13 +02:00
J. Nick KostonandGitHub 185b6e5908 Allow non-admins to subscribe to newer registry update events (#123267) 2024-08-07 09:13:23 +02:00
Robert ReschandGitHub a0b604f98c Improve add user error messages (#120909) 2024-07-01 18:27:40 +02:00
Joost LekkerkerkerandGitHub 1fdd056c0e Fix ruff manual-dict-comprehension PERF403 (#120723)
* Fix PERF403

* Fix

* Fix
2024-06-28 14:17:47 +02:00
Robert ReschandGitHub 9f4bf6f11a Create repair when HA auth provider is running in legacy mode (#119975) 2024-06-26 09:00:33 +02:00
Robert ReschandGitHub 641507a45a Add change username endpoint (#109057) 2024-06-24 18:51:19 +02:00
Robert ReschandGitHub bae008b0e2 Remove legacy_api_password auth provider (#119976) 2024-06-19 22:46:30 +02:00
Erik MontnemeryandGitHub 27fe00125d Fix typo in auth (#119388) 2024-06-11 14:01:23 +02:00
e087abe802 Add ws endpoint to remove expiration date from refresh tokens (#117546)
Co-authored-by: Erik Montnemery <[email protected]>
2024-05-29 09:09:59 +02:00
Robert ReschandGitHub cb62f4242e Remove strict connection (#117933) 2024-05-24 15:50:22 +02:00
Marc MuellerandGitHub 87bb7ced79 Use PEP 695 for simple type aliases (#117633) 2024-05-17 14:42:21 +02:00
Marc MuellerandGitHub 8f614fb06d Use HassKey for helpers (2) (#117013) 2024-05-07 11:24:13 -05:00
J. Nick KostonandGitHub a57f4b8f42 Index auth token ids to avoid linear search (#116583)
* Index auth token ids to avoid linear search

* async_remove_refresh_token

* coverage
2024-05-05 16:47:26 -04:00
J. Nick KostonandGitHub 76cd498c44 Replace utcnow().timestamp() with time.time() in auth_store (#116879)
utcnow().timestamp() is a slower way to get time.time()
2024-05-05 16:25:27 -04:00
348e1df949 Add strict connection (#112387)
Co-authored-by: Martin Hjelmare <[email protected]>
2024-04-12 14:47:46 +02:00
SidandGitHub 9cbed10372 Enable Ruff PYI041 (#115229) 2024-04-08 09:29:05 -10:00
a0e6fd6ec5 Add improved typing for event fire and listen methods (#114906)
* Add EventType implementation

* Update integrations for EventType

* Change state_changed to EventType

* Fix tests

* Remove runtime impact

* Add tests

* Move to stub file

* Apply pre-commit to stub files

* Fix ruff PYI checks

---------

Co-authored-by: J. Nick Koston <[email protected]>
2024-04-07 13:28:24 -10:00
8e98ba7312 Add first batch of Ruff PYI rules (#115100)
Co-authored-by: Jan Bouwhuis <[email protected]>
2024-04-07 11:30:50 -10:00
J. Nick KostonandGitHub 32004973c8 Simplify invalidating the User cache (#115074) 2024-04-07 12:17:18 +02:00
Marc MuellerandGitHub 816ce116bf Remove unnecessary functools.cached_property backport (#114239) 2024-04-04 11:24:26 +02:00
J. Nick KostonandGitHub 4341b21a61 Migrate auth to use async_import_module to avoid blocking I/O in the event loop (#113387) 2024-03-14 10:44:36 +01:00
Joost LekkerkerkerandGitHub 05172d8e4d Improve loops and lists (#113269)
* Enable PERF

* Enable PERF rule

* Enable PERF rule

* Don't enable flag yet
2024-03-14 10:22:20 +01:00
J. Nick KostonandGitHub 4882fed939 Avoid saving auth right after we load it during startup (#112008) 2024-03-09 11:03:22 -10:00
Marc MuellerandGitHub aa16a9d707 Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Marc MuellerandGitHub 19ab3d6daf Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
Erik MontnemeryandGitHub 82efb3d35b Make FlowResult a generic type (#111952) 2024-03-07 12:41:14 +01:00
3d3e9900c3 Add TypeVar default for FlowResult (#112345)
Co-authored-by: Marc Mueller <[email protected]>
2024-03-05 22:52:11 +01:00