docs: add license headers to remaining files (#13064)

This commit is contained in:
James Elliott authored and GitHub committed 2026-09-09 06:56:57 +00:00
1 parent f073df174e
commit b3af55d156
162 files changed
+686

No files matched your search

+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
artifact_links() {
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
# Emits an annotation body embedding each failure screenshot captured by the suite. The artifact://
+4
View File
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set +u
if [[ "${BUILDKITE_LABEL}" == ":docker: Build Image [coverage]" && "${BUILDKITE_AGENT_NAME}" =~ ^tabris[0-9]+$ ]]; then
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set +u
if [[ "$(git rev-parse --is-shallow-repository)" == "true" ]]; then
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set +eu
cleanup_tags() {
+4
View File
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set +u
DOCKER_IMAGE=authelia:dist
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set +u
# shellcheck source=/dev/null
+4
View File
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set +u
PROJECT="${COMPOSE_PROJECT_NAME:-authelia}"
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set -u
# shellcheck source=/dev/null
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# .buildkite/libs/common.sh
#
# Shared helpers for the pipeline generator and the pre-command hook.
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# shellcheck source=/dev/null
source "$(dirname "${BASH_SOURCE[0]}")/libs/common.sh"
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
# This represents the hardcoded pipeline set in Buildkite interface which executes the repo provided dynamic pipeline.
# It is used to ensure that insecure code from external PR cannot be executed before a maintainers approval, to avoid
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
APT_CONF_ROOT="./apt/conf"
+4
View File
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
GITTAG=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')
echo "--- :linux: Deploy AUR package: ${PACKAGE}"
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set -eu
for AUR_PACKAGE in authelia authelia-bin authelia-git; do
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set -eu
for SUITE_NAME in $(authelia-scripts suites external list); do
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set -eu
declare -A SUITE_AGENTS=(
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set -eu
readonly REPO="authelia/authelia"
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
set -e
# shellcheck source=/dev/null
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
# yaml-language-server: $schema=https://json.schemastore.org/codecov.json
codecov:
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# Ignore All
*
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
root = true
[*]
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
* text=auto
*.go text
+4
View File
@@ -1,2 +1,6 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# The maintainers team is a code owner for the whole repository.
* @authelia/review-general
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
# These are supported funding model platforms
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
name: 'Bug Report'
description: 'Report a bug'
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
blank_issues_enabled: false
contact_links:
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
name: 'Feature Request'
description: 'Submit a Feature Request'
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
const excludedBranchPrefixes =
/^(docs|all-contributors\/)/;
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# yamllint disable rule:line-length
---
header:
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
name: PR Labels
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
name: 'Scorecard'
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
name: SLSA Provenance
on:
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# IDE user configuration
.idea/
.vscode/
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
---
version: 2
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
ignore:
- vulnerability: CVE-2026-38753
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# Default Template
X_AUTHELIA_HEALTHCHECK_SCHEME=http
X_AUTHELIA_HEALTHCHECK_HOST=localhost
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# .mailmap - Consolidate git author identities
# See: https://git-scm.com/docs/gitmailmap
#
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# ShellCheck configuration for Authelia.
# Default checks are enabled; require-variable-braces is opted in to
# enforce the ${VAR} style repo-wide alongside them.
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
^authelia$
^.git\/
^.claude\/
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
[default]
locale = "en-us"
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
extends: default
+6
View File
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2026 Authelia
SPDX-License-Identifier: Apache-2.0
-->
# Contributor Covenant Code of Conduct
## Our Pledge
+6
View File
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2026 Authelia
SPDX-License-Identifier: Apache-2.0
-->
# Contributing
Anybody willing to contribute to the project either with code, documentation, security reviews or whatever, are very
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# ===================================
# ===== Authelia official image =====
# ===================================
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# ========================================
# ===== Build image for the frontend =====
# ========================================
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# CI/Git Directories
coverage.txt
Dockerfile*
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# ========================================
# ===== Build image for the frontend =====
# ========================================
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# CI/Git Directories
coverage.txt
Dockerfile*
+6
View File
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2026 Authelia
SPDX-License-Identifier: Apache-2.0
-->
<p align="center">
<img src="https://www.authelia.com/images/authelia-title.png" width="350" title="Authelia">
</p>
+6
View File
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2026 Authelia
SPDX-License-Identifier: Apache-2.0
-->
# Security Policy
## Prologue
+6
View File
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2026 Authelia
SPDX-License-Identifier: Apache-2.0
-->
<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
openapi: 3.2.0
info:
+4
View File
@@ -1,5 +1,9 @@
#!/bin/sh
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
# PROVIDE: authelia
# REQUIRE: DAEMON NETWORKING
# KEYWORD: shutdown
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
[Unit]
Description=Authelia authentication and authorization server
Documentation=https://www.authelia.com
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
#Type Name ID GECOS Home directory Shell
u! authelia - "Authelia Daemon User" /nonexistent
m authelia redis
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
#Type Path Mode User Group Age Argument
Z /etc/authelia/* 0640 authelia authelia - -
e /etc/authelia 0755 authelia authelia - -
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
#Type Path Mode User Group Age Argument
f /etc/authelia/configuration.yml 0440 authelia authelia - -
Z /etc/authelia/configuration.*.yml 0440 authelia authelia - -
+4
View File
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
[Unit]
Description=Authelia authentication and authorization server
Documentation=https://www.authelia.com
+4
View File
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
export PATH=${PATH}:${PWD}/cmd/dev/:${PWD}/.buildkite/steps/:${GOPATH}/bin:${PWD}/web/node_modules/.bin:/tmp \
DOCKER_BUILDKIT=1
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
const (
+4
View File
@@ -1,2 +1,6 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
// Command authelia-gen performs the code and documentation generation for the Authelia repository.
package main
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
func main() {
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
// Code generated by go generate. DO NOT EDIT.
//
// Run the following command to generate this file:
@@ -1,4 +1,8 @@
---
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
title: "ADR{{ .ADR }}: {{ .Title }}"
description: "An official Architecture Decision Record"
date: {{ .Date }}
@@ -1,4 +1,8 @@
---
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
title: "Commit Message"
description: "Authelia Development Commit Message Guidelines"
lead: "This section covers the git commit message guidelines we use for development."
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
name: 'Bug Report'
description: 'Report a bug'
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Authelia
#
# SPDX-License-Identifier: Apache-2.0
---
name: 'Feature Request'
description: 'Submit a Feature Request'
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
// Code generated by go generate. DO NOT EDIT.
//
// Run the following command to generate this file:
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
// Code generated by go generate. DO NOT EDIT.
//
// Run the following command to generate this file:
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
// Code generated by go generate. DO NOT EDIT.
//
// To edit the template for this file open:
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package main
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package cmd
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package cmd
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package cmd
import (
+4
View File
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2026 Authelia
//
// SPDX-License-Identifier: Apache-2.0
package cmd
import (
Loaded 100 of 162 files, more files were not shown because too many files have changed in this diff. Show more