34 Commits
Author SHA1 Message Date
Eduardo Silva 467bc48cce Warn about unexported App Gateway changes and restart Caddy when switching hosts to self-signed 2026-11-18 18:00:06 -03:00
Eduardo Silva 9d8fa77d7d Show served certificate status for App Gateway hosts 2026-11-18 17:46:49 -03:00
Eduardo Silva 77e046dc1f Add certificate retry, optional fallback and DNS propagation fix to App Gateway hosts 2026-11-18 17:33:44 -03:00
Eduardo Silva c5f215d9df Add per-host certificate type and DNS challenge support to App Gateway
Each application host now selects how its TLS certificate is issued:
self-signed, ACME HTTP challenge, or ACME DNS challenge using a stored
DNS credential. ACME modes fall back to the internal CA when issuance
fails, so hosts stay reachable with a browser warning instead of a TLS
error.

- Add DnsChallengeCredential model and provider registry (Cloudflare)
- Add certificate_type and dns_credential to ApplicationHost
- Sync WireGuard WebAdmin hosts from .env into the reserved application
- Export per-host TLS settings to tls.json, read only by Caddy
- Group hosts by certificate settings into separate Caddy site blocks
- Build Caddy with the Cloudflare DNS module using xcaddy
- Regenerate the Caddyfile without DNS challenge if validation fails
2026-11-17 15:59:40 -03:00
Eduardo Silva bdf9c8c868 Validate app gateway upstream TLS option and reserved hostnames 2026-11-16 21:13:23 -03:00
Eduardo Silva 3d15535f04 Add disable_webadmin_gateway_auth management command 2026-11-16 20:57:44 -03:00
Eduardo Silva bce47e82ba Fix app_gateway crash with multiple public or deny policies 2026-11-16 20:40:57 -03:00
Eduardo Silva 4e8ebce289 Generate auth-gateway test fixtures from the Django config exporter 2026-11-16 11:00:25 -03:00
Eduardo Silva 8435d5edcb add alert for disabled Caddy in App Gateway and Gatekeeper modules 2026-03-17 15:43:21 -03:00
Eduardo Silva cf4674b933 enhance validation in forms by checking hostname and path prefix for invalid characters and reserved prefixes 2026-03-16 20:48:44 -03:00
Eduardo Silva ebbffca21d validate path prefix in form cleaning process to ensure proper formatting and prevent invalid characters 2026-03-16 20:23:05 -03:00
Eduardo Silva 3a8d807665 remove exclusion of reserved application names from route data 2026-03-16 17:37:51 -03:00
Eduardo Silva 058086c943 add support for displaying Django hostnames in application details 2026-03-16 17:29:39 -03:00
Eduardo Silva 29d1621152 add reserved application checks to prevent modification and deletion 2026-03-16 17:24:20 -03:00
Eduardo Silva 9e4da484fe add default entries creation on post-migrate signal and refactor application model logic 2026-03-16 17:08:50 -03:00
Eduardo Silva a496ba2c63 add django admin views 2026-03-16 16:37:03 -03:00
Eduardo Silva 51a2535e87 add display_name field to models and update related forms and templates 2026-03-16 16:33:12 -03:00
Eduardo Silva c912e7bb5f remove TOTP selection rule requiring combination with Local Password or OIDC authentication 2026-03-16 15:59:19 -03:00
Eduardo Silva 5cadfba3b7 add allow_invalid_cert field to application model and update related forms and config processing 2026-03-16 14:27:03 -03:00
Eduardo Silva 491e78efdb move from authelia implementation to custom authentication gateway 2026-03-16 09:49:17 -03:00
Eduardo Silva 14bd4e8ccc add TOTP authentication method rules and display in user list 2026-03-15 17:20:18 -03:00
Eduardo Silva 218bd32e93 refactor session cookie handling for Authelia integration 2026-03-15 16:30:28 -03:00
Eduardo Silva 8d5e80758d improved debug export for caddy 2026-03-15 11:12:58 -03:00
Eduardo Silva 1a71dc4eb3 add conditional export of Caddy config for DEBUG mode 2026-03-15 11:08:09 -03:00
Eduardo Silva ac87874b8a add export configuration feature for Caddy 2026-03-14 11:54:49 -03:00
Eduardo Silva 15dda616d2 validate reserved names and upstream URLs in form cleaning 2026-03-14 10:14:30 -03:00
Eduardo Silva dfea91ba35 enhance authentication method validation in forms.py 2026-03-14 09:34:59 -03:00
Eduardo Silva a9baffe725 add policy type selection for access policies 2026-03-13 20:12:29 -03:00
Eduardo Silva e19033a28c update policy_type choices 2026-03-13 17:44:53 -03:00
Eduardo Silva 9e9dc6b4bd add app_gateway_policy_form template 2026-03-13 12:49:57 -03:00
Eduardo Silva 5f894c4e6e add application details view and update related forms; improve layout 2026-03-12 18:41:21 -03:00
Eduardo Silva 7e86bd7208 fix button spacing 2026-03-12 17:28:41 -03:00
Eduardo Silva 289abdada3 add app_gateway management views and templates 2026-03-12 14:15:14 -03:00
Eduardo Silva 1b51ced8bd gatekeeper and app_gateway first commit 2026-03-11 16:35:43 -03:00