authelia/internal/handlers
James Elliott df016be29e
fix(notification): incorrect date header format (#3684)
* fix(notification): incorrect date header format

The date header in the email envelopes was incorrectly formatted missing a space between the `Date:` header and the value of this header. This also refactors the notification templates system allowing people to manually override the envelope itself.

* test: fix tests and linting issues

* fix: misc issues

* refactor: misc refactoring

* docs: add example for envelope with message id

* refactor: organize smtp notifier

* refactor: move subject interpolation

* refactor: include additional placeholders

* docs: fix missing link

* docs: gravity

* fix: rcpt to command

* refactor: remove mid

* refactor: apply suggestions

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>

* refactor: include pid

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2022-07-18 10:56:09 +10:00
..
const.go fix(web): offline_access consent description (#3679) 2022-07-11 16:24:09 +10:00
duo.go feat(duo): multi device selection (#2137) 2021-12-01 14:32:58 +11:00
handler_checks_safe_redirection_test.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_checks_safe_redirection.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_configuration_password_policy.go feat(metrics): implement prometheus metrics (#3234) 2022-06-14 17:20:13 +10:00
handler_configuration_test.go refactor(configuration): remove ptr for duoapi and notifier (#3200) 2022-04-16 09:34:26 +10:00
handler_configuration.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_firstfactor_test.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_firstfactor.go feat(metrics): implement prometheus metrics (#3234) 2022-06-14 17:20:13 +10:00
handler_health.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_jwks.go feat(oidc): provide cors config including options handlers (#3005) 2022-04-07 10:58:51 +10:00
handler_logout_test.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_logout.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_oauth_introspection.go fix(oidc): subject generated for anonymous users (#3238) 2022-04-25 10:31:05 +10:00
handler_oauth_revocation.go fix(oidc): subject generated for anonymous users (#3238) 2022-04-25 10:31:05 +10:00
handler_oidc_authorization_consent.go fix(handler): oidc two factor handling (#3512) 2022-06-14 15:17:11 +10:00
handler_oidc_authorization.go fix(oidc): pre-conf consent skipped entirely for anon users (#3250) 2022-05-03 15:28:58 +10:00
handler_oidc_consent.go feat(oidc): pre-configured consent (#3118) 2022-04-08 15:35:21 +10:00
handler_oidc_token.go fix(model): potential panic (#3538) 2022-06-17 22:25:14 +10:00
handler_oidc_userinfo.go feat(oidc): persistent storage (#2965) 2022-04-07 15:33:53 +10:00
handler_oidc_wellknown.go refactor(middlewares): factorize responses (#3628) 2022-07-08 22:18:52 +10:00
handler_register_duo_device_test.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_register_duo_device.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_register_totp.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_register_webauthn.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_reset_password_step1.go feat(metrics): implement prometheus metrics (#3234) 2022-06-14 17:20:13 +10:00
handler_reset_password_step2.go fix(notification): incorrect date header format (#3684) 2022-07-18 10:56:09 +10:00
handler_sign_duo_test.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_sign_duo.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_sign_totp_test.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_sign_totp.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_sign_webauthn.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_state_test.go refactor(middlewares): factorize responses (#3628) 2022-07-08 22:18:52 +10:00
handler_state.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_status.go feat(metrics): implement prometheus metrics (#3234) 2022-06-14 17:20:13 +10:00
handler_user_info_test.go refactor(configuration): remove ptr for duoapi and notifier (#3200) 2022-04-16 09:34:26 +10:00
handler_user_info.go feat(configuration): configurable default second factor method (#3081) 2022-04-18 09:58:24 +10:00
handler_user_totp.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_verify_test.go refactor(middlewares): factorize responses (#3628) 2022-07-08 22:18:52 +10:00
handler_verify.go refactor: factorize verify handler (#3662) 2022-07-08 12:32:43 +10:00
oidc_test.go feat(oidc): persistent storage (#2965) 2022-04-07 15:33:53 +10:00
oidc.go feat(oidc): persistent storage (#2965) 2022-04-07 15:33:53 +10:00
response.go fix(web): offline_access consent description (#3679) 2022-07-11 16:24:09 +10:00
types.go feat(metrics): implement prometheus metrics (#3234) 2022-06-14 17:20:13 +10:00
webauthn_test.go refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00
webauthn.go refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00