Commit Graph

3800 Commits (b815521384ef366954b94d0e71314978059654d9)

Author SHA1 Message Date
James Elliott a691131288
fix(notification): missing use of timeout (#4652) 2022-12-27 08:32:00 +11:00
renovate[bot] ee8e4d50ad
build(deps): update dependency @types/node to v18.11.18 (#4650)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-26 21:16:12 +00:00
renovate[bot] d9a74b56b4
build(deps): update material-ui monorepo to v5.11.2 (#4648)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 07:34:56 +11:00
renovate[bot] d483ed7c5e
build(deps): update module github.com/wneessen/go-mail to v0.3.6 (#4649)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 06:58:48 +11:00
renovate[bot] fbd0c9d234
build(deps): update dependency react18-input-otp to v1.1.2 (#4645)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-26 13:38:34 +00:00
James Elliott 7b8ed46537
fix(notification): smtp auth not configured (#4647)
This fixes an issue introduced by the pending migration to the new SMTP library in 0bb657e where the auth mechanism is never defined. This only affects commits that are yet to be versioned.
2022-12-26 21:39:19 +11:00
James Elliott 3ecb9f1d44
docs: fix hash func usage in the compose setup (#4643) 2022-12-26 08:06:56 +11:00
Eng Zer Jun 54afe925b8
test: use test machinery to set env vars in tests (#4640)
This commit replaces `os.Setenv` with `t.Setenv` in tests. The environment variable is automatically restored to its original value when the test and all its subtests complete. Reference: https://pkg.go.dev/testing#T.Setenv

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-12-26 07:16:05 +11:00
James Elliott 3b699b8604
build(deps): bump docs deps (#4636) 2022-12-24 18:10:48 +11:00
renovate[bot] bb1ded3c36
build(deps): update dependency react-router-dom to v6.6.1 (#4639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-23 20:05:35 +00:00
renovate[bot] 2449507b23
build(deps): update dependency @types/react-dom to v18.0.10 (#4637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-23 14:51:41 +00:00
James Elliott 55a6794370
feat(templates): templating functions (#4635)
This adds several functions which are available in most areas that use templates.
2022-12-23 21:58:54 +11:00
renovate[bot] a916b65357
build(deps): update module golang.org/x/net to v0.4.0 (#4634)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-23 16:35:16 +11:00
James Elliott 0bb657e11c
refactor(notifier): utilize smtp lib (#4403)
This drops a whole heap of code we were maintaining in favor of a SMTP library.

Closes #2678
2022-12-23 16:06:49 +11:00
James Elliott 38ca5f06d4
docs: update privacy and versioning policy (#4632) 2022-12-23 15:37:42 +11:00
James Elliott d7ab3bb633
feat(commands): storage import/export commands (#4545)
This adds commands to export and import TOTP configurations and Webauthn devices as YAML.
2022-12-23 15:00:23 +11:00
James Elliott 0130edb870
feat(configuration): env config file discovery (#4618)
This allows Authelia to discover config files and config options via environment variables.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2022-12-23 11:03:50 +11:00
allcontributors[bot] 18032dd05d
docs: add ohelig as a contributor for doc (#4631)
* update README.md

* update .all-contributorsrc

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-12-23 07:51:56 +11:00
Ohelig 7663a68a2b
docs: add password regulation fail2ban docs (#4630)
Adds lines to fail2ban regex to catch password reset attempts and email spam.
2022-12-23 07:39:41 +11:00
James Elliott 9400b1c54d
docs: add gdpr relevant information (#4624)
* docs: add gdpr relevant information

* docs: add gdpr relevant information
2022-12-22 21:20:36 +11:00
James Elliott cc1e58e004
feat(configuration): load config from directory (#4616)
This allows specifying paths to a combination of files and directories with the --config option provided none of the specified file paths reside directly inside one of the specified directory paths. The directory paths are not recursive, and load .yml and .yaml files at this time.
2022-12-22 17:34:20 +11:00
renovate[bot] 2eb820026b
build(deps): update haproxy docker tag to v2.7.1 (#4615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-22 05:40:53 +00:00
renovate[bot] c1279fddc0
build(deps): update module github.com/deckarep/golang-set to v2 (#4602)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2022-12-22 13:44:08 +11:00
James Elliott 1a849a37bd
docs: fix misc mistakes and adjust placeholders (#4614) 2022-12-22 11:39:59 +11:00
James Elliott e3e31e3cbc
refactor(commands): command context (#4539)
This moves a lot of machinery for commands into a context.Context with other struct values. This allows for PreRunE's to reliably load the configuration and avoids use of global vars.
2022-12-22 11:21:29 +11:00
renovate[bot] 0732e60e16
build(deps): update dependency esbuild to v0.16.10 (#4583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-22 10:48:44 +11:00
renovate[bot] 1c4c9f0090
build(deps): update dependency react-router-dom to v6.6.0 (#4613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 23:19:08 +00:00
renovate[bot] 265ac4a12d
build(deps): update dependency vite to v4.0.3 (#4612)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:19:56 +00:00
James Elliott d3d87ffe30
feat(configuration): glauth ldap implementation (#4499)
This adds a GLAuth LDAP implementation which purely adds sane defaults for GLAuth. There are no functional differences just when the implementation option is set to 'glauth' sane defaults which should be sufficient for most use cases are set. See the documentation at https://www.authelia.com/r/ldap#defaults for more details.
2022-12-21 22:14:22 +11:00
James Elliott 5b8b3145ad
feat(configuration): lldap implementation (#4498)
This adds a lldap LDAP implementation which purely adds sane defaults for lldap. There are no functional differences just when the implementation option is set to 'lldap' sane defaults which should be sufficient for most use cases are set. See the documentation at https://www.authelia.com/r/ldap#defaults for more details.
2022-12-21 21:51:25 +11:00
James Elliott d67554ab88
feat(authentication): ldap time replacements (#4483)
This adds and utilizes several time replacements for both specialized LDAP implementations.

Closes #1964, Closes #1284
2022-12-21 21:31:21 +11:00
James Elliott d0d80b4f66
feat(configuration): freeipa ldap implementation (#4482)
This adds a FreeIPA LDAP implementation which purely adds sane defaults for FreeIPA. There are no functional differences just when the implementation option is set to 'freeipa' sane defaults which should be sufficient for most use cases are set. See the documentation at https://www.authelia.com/r/ldap#defaults for more details.

Closes #2177, Closes #2161
2022-12-21 21:07:00 +11:00
James Elliott c7f4d5999d
feat(configuration): file filters (#4515)
This adds experimental file filters which are not guaranteed under our stability policies. These filters take effect after reading the files and before parsing their content.
2022-12-21 20:48:14 +11:00
James Elliott 566a0d7fc7
release: v4.37.5 (#4608) 2022-12-21 19:24:30 +11:00
James Elliott 3ba2eae20e
fix(server): verify endpoint 405ing non-get/head reqs (#4607)
Fixes an issue specific to envoy that prevents the verify endpoint working with requests not using the GET or HEAD methods.
2022-12-21 18:47:20 +11:00
renovate[bot] 45ea9efaa4
build(deps): update material-ui monorepo to v5.11.1 (#4604)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 22:49:23 +00:00
renovate[bot] d7ca6a93ec
build(deps): update module github.com/ory/x to v0.0.523 (#4605)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 19:22:29 +00:00
renovate[bot] 9624d15fd9
build(deps): update dependency i18next-http-backend to v2.1.1 (#4601)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 06:41:10 +00:00
renovate[bot] 6188c3074f
build(deps): update dependency i18next to v22.4.6 (#4599)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 03:05:57 +00:00
renovate[bot] ae6d1adfde
build(deps): update typescript-eslint monorepo to v5.47.0 (#4600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-19 23:17:01 +00:00
James Elliott 6a2dff7d6a
docs: fix link style (#4598) 2022-12-19 15:19:46 +11:00
James Elliott 859b403146
docs: update docs (#4597) 2022-12-19 15:04:02 +11:00
renovate[bot] f2b06e180a
build(deps): update dependency vite to v4.0.2 (#4595)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-18 14:17:35 +00:00
renovate[bot] 404cf58730
build(deps): update dependency @types/node to v18.11.17 (#4592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-18 00:46:28 +00:00
James Elliott 728902335b
refactor: const int type stringers (#4588) 2022-12-17 23:39:24 +11:00
renovate[bot] de5f42ae4d
build(deps): update dependency @types/node to v18.11.16 (#4582)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-17 03:51:09 +00:00
renovate[bot] c98e948c75
build(deps): update dependency eslint to v8.30.0 (#4584)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-17 03:30:58 +00:00
James Elliott 434c5af2bc
release: v4.37.4 (#4585) 2022-12-17 12:04:36 +11:00
James Elliott d13247ce43
refactor(server): simplify templating and url derivation (#4547)
This refactors a few areas of the server templating and related functions.
2022-12-17 11:49:05 +11:00
renovate[bot] 3de693623e
build(deps): update dependency react-router-dom to v6.5.0 (#4580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 20:13:46 +00:00