authelia/internal/authentication
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
..
const.go [FEATURE] LDAP StartTLS (#1500) 2020-12-03 16:23:52 +11:00
file_user_provider_test.go feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00
file_user_provider.go feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00
ldap_connection_factory_mock.go [FEATURE] Enhance LDAP/SMTP TLS Configuration and Unify Them (#1557) 2021-01-04 21:28:55 +11:00
ldap_connection_factory.go [FEATURE] Enhance LDAP/SMTP TLS Configuration and Unify Them (#1557) 2021-01-04 21:28:55 +11:00
ldap_user_provider_test.go [FEATURE] Enhance LDAP/SMTP TLS Configuration and Unify Them (#1557) 2021-01-04 21:28:55 +11:00
ldap_user_provider.go [MISC] Add missing CLI suite test (#1607) 2021-01-17 10:23:35 +11:00
password_hash_test.go [FIX] Hash Password Cmd Not Encoding Provided Salt (#999) 2020-05-14 15:55:03 +10:00
password_hash.go [FIX] Hash Password Cmd Not Encoding Provided Salt (#999) 2020-05-14 15:55:03 +10:00
types.go [FEATURE] Add configurable display name to frontend (#1124) 2020-06-19 20:50:21 +10:00
user_provider.go Move source code into internal directory to follow standard project layout. 2019-11-17 16:30:33 +01:00
users_database.template.yml feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00