File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11repos :
22 # Versioning: Commit messages & changelog
33 - repo : https://github.com/commitizen-tools/commitizen
4- rev : v4.13.9
4+ rev : v4.13.10
55 hooks :
66 - id : commitizen
77 stages : [commit-msg]
88
99 # Lint / autoformat: Python code
1010 - repo : https://github.com/astral-sh/ruff-pre-commit
11- rev : " v0.15.4 "
11+ rev : " v0.15.11 "
1212 hooks :
1313 - id : ruff
1414 files : ^(?:backend|auth-libs/python)/.*\.py$
1818
1919 # Deps: ensure Python uv lockfile is up to date
2020 - repo : https://github.com/astral-sh/uv-pre-commit
21- rev : 0.10 .7
21+ rev : 0.11 .7
2222 hooks :
2323 - id : uv-lock
2424 files : ^backend/pyproject\.toml$
4444
4545 # Spelling: Checks for common misspellings in text files.
4646 - repo : https://github.com/crate-ci/typos
47- rev : v1.44.0
47+ rev : v1
4848 hooks :
4949 - id : typos
5050 pass_filenames : false
@@ -77,14 +77,14 @@ repos:
7777
7878 # Lint: GH Workflows
7979 - repo : https://github.com/rhysd/actionlint
80- rev : v1.7.11
80+ rev : v1.7.12
8181 hooks :
8282 - id : actionlint
8383 args : [-ignore, SC]
8484
8585 # Lint: Markdown
8686 - repo : https://github.com/igorshubovych/markdownlint-cli
87- rev : v0.47 .0
87+ rev : v0.48 .0
8888 hooks :
8989 - id : markdownlint
9090 args :
Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ auth.addEventListener('logout', () => {
145145### Header Mode (` show-profile=false ` )
146146
147147Default mode. Shows:
148+
148149- ** Logged out** : "Log in" button → redirects to login.hotosm.org
149150- ** Logged in** : Avatar dropdown with:
150151 - Profile link
@@ -163,6 +164,7 @@ Default mode. Shows:
163164### Profile Mode (` show-profile=true ` )
164165
165166Shows full Hanko auth form (for login page):
167+
166168- ** Logged out** : Hanko passkey/email form
167169- ** Logged in** : Profile card + OSM status + logout button
168170
@@ -182,6 +184,7 @@ Shows full Hanko auth form (for login page):
182184## Hanko URL Detection
183185
184186Priority order:
187+
1851881 . ` hanko-url ` attribute
1861892 . ` <meta name="hanko-url" content="..."> ` tag
1871903 . ` window.HANKO_URL ` global
@@ -274,6 +277,7 @@ document.addEventListener('visibilitychange', () => {
274277## Debug Mode
275278
276279Enable with:
280+
277281- URL param: ` ?debug=true `
278282- LocalStorage: ` localStorage.setItem('hanko-auth-debug', 'true') `
279283
You can’t perform that action at this time.
0 commit comments