authelia/internal/middlewares
Amir Zarrinkafsh d7603f0177
fix: swagger-ui csp, strict csp static files and cleanup obselete files (#7966)
* fix: swagger-ui csp and cleanup unnecessary files

This change fixes CSP errors when browsing Swagger and cuts down the binary/image size 10%+ by keeping only required files from the swagger-ui package.

Signed-off-by: Amir Zarrinkafsh <nightah@me.com>

* fix(api): fix server url

Signed-off-by: Amir Zarrinkafsh <nightah@me.com>

* refactor: set strict csp on static served files

Signed-off-by: Amir Zarrinkafsh <nightah@me.com>

---------

Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
2024-10-03 19:36:02 +10:00
..
asset_override.go fix(server): i18n etags missing (#3973) 2022-09-16 11:19:16 +10:00
authelia_context.go fix(oidc): jwt assertions aud overly strict (#7798) 2024-09-02 05:51:15 +10:00
authelia_context_test.go feat(totp): reuse policy 2024-03-04 20:29:12 +11:00
bridge.go refactor(middlewares): convert the bridge to a builder (#3338) 2022-06-10 11:34:43 +10:00
const.go fix: swagger-ui csp, strict csp static files and cleanup obselete files (#7966) 2024-10-03 19:36:02 +10:00
cors.go fix(middlewares): cors responses without preflight (#7427) 2024-06-16 14:58:29 +10:00
cors_test.go fix(middlewares): cors responses without preflight (#7427) 2024-06-16 14:58:29 +10:00
delay.go feat(web): one-time codes for identity verification 2024-03-04 20:28:24 +11:00
delay_test.go refactor: apply suggestions from code review 2024-03-04 20:29:12 +11:00
errors.go feat(server): recover panics 2024-03-04 20:29:12 +11:00
headers.go fix: swagger-ui csp, strict csp static files and cleanup obselete files (#7966) 2024-10-03 19:36:02 +10:00
http_to_authelia_handler_adaptor.go ci: remove container read-only mounts (#6709) 2024-02-19 13:56:40 +11:00
identity_verification.go fix(templates): grammar and enhancements to emails (#7903) 2024-09-22 18:48:55 +10:00
identity_verification_test.go refactor: apply suggestions from code review 2024-03-04 20:29:12 +11:00
log_request.go feat(server): recover panics 2024-03-04 20:29:12 +11:00
log_request_test.go fix(server): missing modern security headers (#3288) 2022-05-03 12:19:30 +10:00
metrics.go feat(metrics): record openid connect histogram (#5769) 2023-08-04 10:30:33 +10:00
password_policy.go docs: jsonschema (#5493) 2023-09-03 16:01:46 +10:00
password_policy_test.go ci: remove container read-only mounts (#6709) 2024-02-19 13:56:40 +11:00
require_auth.go refactor: apply suggestions from code review 2024-03-04 20:29:12 +11:00
require_auth_test.go refactor: config naming (#6852) 2024-03-14 21:20:32 +11:00
strip_path.go fix(web): adjust router basename behaviour (#7130) 2024-04-15 13:12:52 +10:00
timing_attack_delay.go refactor(random): add random provider (#4712) 2023-01-07 11:19:41 +11:00
timing_attack_delay_test.go refactor(random): add random provider (#4712) 2023-01-07 11:19:41 +11:00
types.go refactor(storage): migrations simplification 2024-03-04 20:29:11 +11:00
util.go feat(oidc): server issuer identification (#5912) 2023-08-30 21:44:41 +10:00
wrap.go feat(server): recover panics 2024-03-04 20:29:12 +11:00