authelia/internal/configuration
Amir Zarrinkafsh 74721a9f41
feat: go:embed static assets (#1733)
* feat: go:embed static assets

Go 1.16 introduced the ability to embed files within a generated binary directly with the go tool chain. This simplifies our dependencies and the significantly improves the development workflow for future developers.

Key points to note:

Due to the inability to embed files that do not reside within the local package we need to duplicate our `config.template.yml` within `internal/configuration`.

To avoid issues with the development workflow empty mock files have been included within `internal/server/public_html`. These are substituted with the respective generated files during the CI/CD and build workflows.

* fix(suites): increase ldap suite test timeout

* fix(server): fix swagger asset CSP
2021-02-22 10:07:06 +11:00
..
schema [FEATURE] Add theme support (#1584) 2021-01-20 23:07:40 +11:00
test_resources [FEATURE] Validate ACLs and add network groups (#1568) 2021-01-04 21:55:23 +11:00
validator [FEATURE] Add theme support (#1584) 2021-01-20 23:07:40 +11:00
config.template.yml feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00
reader.go feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00
reader_test.go feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00