Commit Graph

89 Commits

Author SHA1 Message Date
Christiaan Goossens
6f93a22c37 Fix 500 on redirect path (#201)
* Fix 500 on redirect path

Co-authored-by: anntnzrb <anntnzrb@proton.me>
2026-02-06 11:07:46 +01:00
Andrew Garrett
b2d07c28f0 Enable Jinja2 autoescaping (#200)
- Enable Jinja2 autoescape by default in the template environment.
- Use json.dumps to safely inject sso_name into JavaScript context.
- Fix linting issue (line too long) in injected_auth_page.py.
- Update tests to verify escaping and safe injection.

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: werdnum <271070+werdnum@users.noreply.github.com>
2026-02-06 09:07:54 +01:00
renovate[bot]
eaed91016a chore(deps): lock file maintenance (#198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-04 12:24:26 +01:00
renovate[bot]
307af07c0c chore(deps): update python docker tag to v3.14.2 (#197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-04 12:21:17 +01:00
Christiaan Goossens
1f95efd0aa fix(deps): update home assistant update (major) (#196)
* Major HA update to 2026.1

* Lock file maintenance npm
2026-02-04 12:18:08 +01:00
renovate[bot]
04a693ccfe fix(deps): update dependency joserfc to ~=1.6.0 (#176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 09:27:38 +01:00
renovate[bot]
d663d28ece chore(deps): update tailwindcss monorepo to v4.1.18 (#174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-13 07:43:23 +01:00
renovate[bot]
e2bcbf4aa7 chore(deps): lock file maintenance (#172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-08 11:44:02 +01:00
renovate[bot]
50e78a5189 chore(deps): lock file maintenance (#167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-02 09:27:44 +01:00
renovate[bot]
36d3255b0b fix(deps): update dependency joserfc to ~=1.5.0 (#166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-30 12:06:06 +01:00
renovate[bot]
bc5039b951 chore(deps): lock file maintenance (#163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 11:44:50 +01:00
renovate[bot]
d197ebade1 chore(deps): update actions/checkout action to v6 (#162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-22 05:02:20 +00:00
renovate[bot]
ff13b1db8f chore(deps): lock file maintenance (#161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 07:29:58 +01:00
renovate[bot]
6f45858909 chore(deps): lock file maintenance (#159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-10 20:29:40 +01:00
renovate[bot]
da39443d95 chore(deps): update tailwindcss monorepo to v4.1.17 (#156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-08 10:35:54 +01:00
renovate[bot]
8914dba95c chore(deps): lock file maintenance (#154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-03 18:28:05 +01:00
Christiaan Goossens
0133446975 Fix manifest json requirements (#152) 2025-10-31 10:28:14 +01:00
Christiaan Goossens
674c342a81 Migrate to joserfc, remove python-jose (#150) 2025-10-31 10:16:45 +01:00
renovate[bot]
a8e0162d25 chore(deps): lock file maintenance (#149)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-28 06:48:54 +01:00
renovate[bot]
2b224b3002 chore(deps): update tailwindcss monorepo to v4.1.16 (#148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-26 13:33:22 +01:00
renovate[bot]
6fc1cd2944 chore(deps): lock file maintenance (#147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 13:03:25 +02:00
renovate[bot]
dde2a70a39 chore(deps): lock file maintenance (#145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-18 13:53:26 +02:00
Tricked
4e898087d4 Use tailwind cli to compile css instead of tailwind cdn (#132)
* implement feature
* use npm instead of cli
2025-10-18 13:47:59 +02:00
renovate[bot]
75eb5378c8 chore(deps): update dependency pylint to v4 (#143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-13 08:25:25 +02:00
renovate[bot]
979a55dd12 chore(deps): lock file maintenance (#144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-13 08:03:06 +02:00
renovate[bot]
2aa083a88d fix(deps): update dependency aiofiles to v25 (#142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-11 13:40:29 +02:00
renovate[bot]
4bf1923b8b chore(deps): update astral-sh/setup-uv action to v7 (#141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-11 04:32:53 +00:00
renovate[bot]
92df670c3f chore(deps): lock file maintenance (#139)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-06 08:41:07 +02:00
Christiaan Goossens
744be2a4d8 Add info on testing scripts & remove roadmap from CONTRIBUTING.md (#138) 2025-10-05 21:34:07 +02:00
Christiaan Goossens
404d2451df Add unit tests (#133)
* Add initial test & add pipeline

* Add very basic YAML config tests

* Add coverage reporting

* Add some webserver & template loading tests

* Add test cases for the helpers

* Implement initial OIDC server tests

* Test codestore & discovery checker

* Test basics of the config flow

* Add test for the HA auth provider

* Cleaned up tests & test injection
2025-10-05 21:03:02 +02:00
Christiaan Goossens
5714e844a7 Pre-release 3 for v0.7.0 (#129)
* Bump to 0.7.0-alpha-rc3
* Small tweak to forgot password link
* Add version param for cache busting
2025-10-04 17:43:45 +02:00
Christiaan Goossens
d1da841e1f Move some code around and improve validation (#128) 2025-10-04 17:34:31 +02:00
David Baines
3b481cd282 45 - Implement config flow for UI configuration (#123) 2025-10-04 17:32:10 +02:00
renovate[bot]
9fb65084b1 chore(deps): lock file maintenance (#127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-29 12:40:23 +02:00
Christiaan Goossens
19cbc6e3ad Fix dependencies to the minor versions (#125)
* Fix dependencies to the minor versions

* Specify exact Python version requirement

* Updated lockfile

* Switch to dependency groups
2025-09-22 12:51:13 +02:00
renovate[bot]
daa13fa94f chore(deps): lock file maintenance (#122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 20:04:09 +02:00
renovate[bot]
db8a5575f8 chore(deps): lock file maintenance (#119)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-08 12:55:44 +02:00
renovate[bot]
513e8e33f7 chore(deps): update actions/setup-python action to v6 (#118)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-06 05:26:20 +00:00
Lake
b87dd35577 Removed mwc prefixes in favour for ha. (#117) 2025-09-02 18:48:45 +02:00
renovate[bot]
44794f7cfd chore(deps): update dependency homeassistant to v2025 (#115)
* chore(deps): update dependency homeassistant to v2025

* Fix python version req

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christiaan Goossens <contact@christiaangoossens.nl>
2025-08-30 13:02:00 +02:00
Christiaan Goossens
b0532ec2ec Fix renovate matcher (#116) 2025-08-30 12:56:53 +02:00
renovate[bot]
4fca5d8de4 chore(deps): update python docker tag to v3.13.7 (#111)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-30 12:51:28 +02:00
Christiaan Goossens
02a4937ce4 Switch to the newer uv package manager (#114) 2025-08-30 12:50:13 +02:00
renovate[bot]
86663dd5e4 chore(deps): update actions/checkout action to v5 (#112)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-17 10:24:21 +02:00
Evan Zhang
c13eb7c438 Persist OIDC logins on HTTP refresh (#105)
This relates to #70, where refreshing the webpage causes the user to
need to login again, due to homeassistant not storing the user's session
token `hassTokens`.
2025-07-30 17:35:38 +02:00
Rolf-M
764326a9e1 Update microsoft-entra.md (#96)
* Update microsoft-entra.md

Added configuration for role assignement with entra app-registration

* Update microsoft-entra.md

---------

Co-authored-by: Christiaan Goossens <9487666+christiaangoossens@users.noreply.github.com>
2025-07-30 17:32:48 +02:00
Christiaan Goossens
601127d6b3 Add docs on disabling registration (#93) 2025-07-16 12:49:48 +02:00
Christiaan Goossens
e22f960d69 Allow forcing HTTPS in URL generation (#92)
* Force HTTPS feature
* Add docs
2025-07-16 12:21:11 +02:00
Christiaan Goossens
054f0e4bca Add reference to searching in HACS (#90) 2025-07-15 13:44:02 +02:00
Christiaan Goossens
1e0310afc9 remove brands ignore (#87) 2025-07-14 18:25:17 +02:00