authelia/internal
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
..
authentication feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00
authorization fix(handlers): refresh user details on all domains (#1642) 2021-02-02 12:01:46 +11:00
commands [MISC] Address errors from linter updates (#1308) 2020-09-04 13:20:17 +10:00
configuration feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00
duo [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
handlers fix(handlers): refresh user details on all domains (#1642) 2021-02-02 12:01:46 +11:00
logging [BUGFIX] Disable colored logging outputs when file is specified (#1603) 2021-01-15 22:16:41 +11:00
middlewares [FEATURE] Plain Text Email Notifications (#1238) 2020-08-21 12:16:23 +10:00
mocks [FEATURE] Plain Text Email Notifications (#1238) 2020-08-21 12:16:23 +10:00
models [MISC] Implement golint recommendations (#885) 2020-04-20 23:03:38 +02:00
notification [MISC] Add missing CLI suite test (#1607) 2021-01-17 10:23:35 +11:00
regulation [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
server feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00
session [BUGFIX] Static Session Expiration Key (#1564) 2020-12-29 12:44:47 +11:00
storage [CI] Update QEMU to v5.1.0-2 (#1321) 2020-09-18 22:05:43 +10:00
suites feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00
templates fix(web): improve 2fa enrollment process (#1706) 2021-02-12 16:59:42 +11:00
utils fix(handlers): refresh user details on all domains (#1642) 2021-02-02 12:01:46 +11:00