9 Commits
Author SHA1 Message Date
James Elliott b3af55d156 docs: add license headers to remaining files (#13064) 2026-09-09 06:56:57 +00:00
Amir Zarrinkafsh 4455238630 ci(lefthook): exclude nested worktrees from tree wide scanners (#12813)
`typos`, `yamllint` and `trufflehog` are run against the whole tree
rather than the staged files, and `ignore-hidden = false` means `typos`
descends into dot directories. A worktree created under
`.claude/worktrees/` is a checkout of this repository nested inside it,
and every exclude these three configure is a path from the root, so none
of them match the same file one level down. The nested checkout is
therefore scanned as though it had no excludes at all: 22 findings from
`typos`, 4275 from `yamllint`, and a private key under
`internal/configuration/test_resources/` tripping `trufflehog`, none of
which are about the change being committed.

`typos` runs with `-w`, so this is not only noise. It rewrote seven
third-party files in a nested checkout, `LDAP_ORGANISATION` to
`LDAP_ORGANIZATION` among them, which would have broken the `LDAP` suite
in a tree nobody had edited.

Ignoring `.claude/worktrees/` keeps those checkouts out of `git status`,
and covers `typos` on its own because it honours the ignore file.
`yamllint` and `trufflehog` do not, so both keep an explicit exclude,
and `typos` keeps one as well so that all three say the same thing
rather than one of them depending on a default. Only the worktrees are
ignored, since anything else a project keeps under `.claude/` is worth
both committing and linting.

The Go linters need nothing: a nested checkout carries its own `go.mod`,
so `./...` never reaches it.
2026-08-21 08:57:35 +00:00
Brynn CrowleyandRicardo Rivera 24b1f29cec ci(build): use lf line endings for windows compatability (#12142)
Improves unofficial support for developing on windows.

Closes #12080, Closes #12081

---------

Signed-off-by: Brynn Crowley <littlehill723@gmail.com>
Co-authored-by: Ricardo Rivera <rrivera@solutionspr.net>
2026-05-23 03:46:52 +00:00
Amir Zarrinkafsh ab518c4294 docs(commands): add reference pages for external suites subcommand (#11906)
Regenerate the CLI reference under
`docs/content/reference/cli/authelia-scripts/` to cover the new
`authelia-scripts suites external` command and its `list` and `test`
children. The parent `authelia-scripts suites` page also gains a
SEE-ALSO entry for the new sibling.

---------

Signed-off-by: Amir Zarrinkafsh <3339418+nightah@users.noreply.github.com>
2026-04-30 23:55:53 +00:00
Amir Zarrinkafsh 80b5562904 docs: fix scss compilation for netlify prod builds (#11618) 2026-04-02 02:41:08 +00:00
Amir Zarrinkafsh a1f594da09 fix(web): dynamically set html lang tag (#10297)
This change dynamically sets the HTML `lang` tag based on the selected language of the Authelia portal.
This resolves issues relating to incorrect automatic translations if enabled within the browser, and should support screen readers as expected.

Fixes #8729.
Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
2025-09-13 17:52:18 -07:00
James Elliott ad03a8b5d8 ci: adjust code owners (#10194)
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
2025-09-01 23:36:17 +00:00
renovate[bot]andAmir Zarrinkafsh e07a269f29 build(deps): update dependency @fortawesome/react-fontawesome to v3 (#10140)
* build(deps): update dependency @fortawesome/react-fontawesome to v3

* fix(web): fontawesome updates and overrides

Signed-off-by: Amir Zarrinkafsh <nightah@me.com>

---------

Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2025-08-25 01:34:07 +00:00
Amir Zarrinkafsh eadff46eff ci(lefthook): replace husky with lefthook (#9963)
* ci(lefthook): replace husky with lefthook

This change removes husky in favour of [LeftHook](https://lefthook.dev/) along with the following:
* Remove unused pre-commit configuration
* Included trufflehog as a standard linter locally

* ci(lefthook): adjust gitleaks to use detect
* ci(lefthook): adjust lefthook for yamllint
* ci(lefthook): skip pnpm prepare for dockerfile.coverage
* ci(lefthook): add yamllint to lefthook
* ci(lefthook): posix compliant check tools job
* ci(lefthook): yamllint success feedback like golangci-lint
* ci(lefthook): remove gitleaks
* ci(lefthook): ignore lefthook-local
* ci(lefthook): add trufflehog
* ci(lefthook): eslint success feedback like golangci-lint

Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
2025-07-25 18:11:01 +10:00