forked from Nixius/authelia
1
0
Fork 0
Commit Graph

147 Commits

Author SHA1 Message Date
Leopere 084548fcd7
Fix dashboard stack state UI after Destroy
- Inverted condition was showing 'being provisioned' when stack not deployed
- Actions block was gated on StackDeployed so no Start button after destroy
- Start button now always shown when not running
- Destroy button only shown when stack is deployed
- 'Being provisioned' message replaced with accurate 'stopped' message

Made-with: Cursor
2026-03-03 16:56:48 -05:00
Leopere 6356cbb1da
Fix Destroy being immediately undone by dashboard auto-redeploy
Dashboard was auto-deploying any missing stack on every page load.
This stomped on the Destroy action. Stack creation only happens at
activation and via explicit Start — not on dashboard render.

Made-with: Cursor
2026-03-03 16:52:31 -05:00
Leopere e71831cf9d
Switch customer stack product to Uptime Kuma
Each customer now receives a dedicated Uptime Kuma monitoring instance
at their subdomain. Drops the unused Redis sidecar from the template.

Made-with: Cursor
2026-03-03 16:49:50 -05:00
Leopere a92cbe9b72
Add header to stack-template, force-update images on deploy
- stack-template.yml: prominent comment explaining this is the product
  being sold and how to swap in the real application image
- deploy-stack-dev.sh: force-update locally-built images after stack
  deploy so swarm always runs the freshly built container

Made-with: Cursor
2026-03-03 16:48:03 -05:00
Leopere 74a24ffe2a
Fix subscription status not showing Expiring for cancel_at_period_end subs
- Also check sub.CancelAt > 0 (handles explicit cancel_at date, not just period-end)
- Fall back to item CurrentPeriodEnd for the display date since current_period_end
  moved off the top-level Subscription object in stripe-go v84

Made-with: Cursor
2026-03-03 16:00:24 -05:00
Leopere 159a0b4455
Remove Rebuild button from dashboard UI
Made-with: Cursor
2026-03-03 15:55:21 -05:00
Leopere b66dfa053e
Force auth on all customer stacks, migrate to swarm stack.yml
- Remove public/private toggle — all customer stacks now always deploy
  behind authelia-auth middleware, no exceptions
- Remove ALLOW_CUSTOMER_STACK_AUTH_TOGGLE and CUSTOMER_STACK_REQUIRE_AUTH_DEFAULT
  config, env vars, routes, and UI
- Replace docker-compose.dev.yml + docker-compose.swarm-dev.yml with
  unified stack.yml for swarm deployment
- Various handler, ldap, stripe, swarm, and template additions from
  prior work sessions

Made-with: Cursor
2026-03-03 15:51:25 -05:00
Leopere 6fcdd1262d
Bake git commit into Go binary for version traceability
- Add internal/version package with ldflags-injected Commit/BuildTime
- Dockerfile accepts BUILD_COMMIT/BUILD_TIME args, passes via -ldflags
- Log version on startup, expose GET /version endpoint
- Show commit hash badge in bottom-right of landing + dashboard pages
- Deploy scripts gate on clean git tree and pass commit to build
- Remove staging files, misc config updates

Made-with: Cursor
2026-03-03 12:51:12 -05:00
Leopere c3097bd8fe
Deploy: prune old images after deploy, document full rebuild/redeploy
Made-with: Cursor
2026-03-03 11:35:07 -05:00
Leopere ac24f6d1dc
Add ss-atlas service, config updates, ignore IDE cruft
Made-with: Cursor
2026-03-03 11:21:03 -05:00
colin 9bbec9a8d2 Clean up WebAuthn config: remove duplicate user_verification setting
- Removed duplicate user_verification from top-level webauthn config
- user_verification is now properly configured only under selection_criteria
- Passkey authentication remains enabled and properly configured
2025-06-20 15:57:20 -04:00
colin 32e966e2f5 Remove OIDC config files from Authelia startup command - Prevents template engine from processing commented OIDC configurations - Should fix startup issues with missing OIDC secrets - Authelia will run with basic auth only 2025-06-11 16:30:12 -04:00
colin a01930a6a6 Fix CI deployment script to remove OIDC secrets from required variables - Remove IDENTITY_PROVIDERS_OIDC_* and CLIENT_SECRET_* from required env vars - Remove them from secrets management list - This fixes deployment script failure when OIDC is disabled 2025-06-11 16:18:23 -04:00
colin 4ae5e0a956 fixup 2025-06-11 16:14:22 -04:00
colin b3e748477d Completely disable OIDC provider temporarily - Comment out all OIDC configuration in identity providers and clients - Remove OIDC secrets from stack to eliminate template processing issues - This should get Authelia running with basic auth only 2025-06-11 16:13:51 -04:00
colin f062eeb40d Completely remove Gitea OAuth client configuration - Template engine was processing commented CLIENT_SECRET_GITEA references - Complete removal should fix Authelia startup issue 2025-06-11 16:10:58 -04:00
colin 426bb996ac Remove OAuth client secrets from CI build process - CLIENT_SECRET_PORTAINER/HEADSCALE/HEADADMIN not needed during build - These secrets are handled by Docker Swarm at runtime - Fixes Authelia container startup issues 2025-06-11 15:53:55 -04:00
colin 56d258d992 Add CLIENT_SECRET_PORTAINER to CI environment variables - Fixes build process that was missing Portainer OAuth secret - Required for Authelia container to start properly 2025-06-11 15:49:30 -04:00
colin 5ff5cb783a Temporarily disable Gitea OAuth client to fix Authelia startup - Comment out Gitea OIDC client and remove CLIENT_SECRET_GITEA from stack.production.yml 2025-06-11 15:43:08 -04:00
colin faecff6de3 fixup 2025-06-11 15:29:56 -04:00
colin fdb8ee6ae8 fixup 2025-06-11 15:26:00 -04:00
colin fac504117c fixup 2025-06-11 14:34:40 -04:00
Your Name 507378655a Add two-factor authentication for sensitive admin services 2025-06-06 11:44:10 -04:00
Your Name e70fed6ad8 Enable passkey login and improve WebAuthn configuration 2025-06-06 10:15:12 -04:00
Your Name 78cea66d39 fixing deploy step 2025-06-05 12:28:29 -04:00
Your Name fc81495f2d fixing deploy step 2025-06-05 12:20:49 -04:00
Your Name bb890c17d4 fixing deploy step 2025-06-05 12:12:49 -04:00
Your Name ff3d077282 fixing deploy step 2025-06-05 11:58:43 -04:00
Your Name 40fe535bdd fixing deploy step 2025-06-05 11:46:01 -04:00
Your Name 42ff73a18d fixing deploy step 2025-06-05 11:36:59 -04:00
Your Name 1f207cb0d2 fixing deploy step 2025-06-05 11:26:05 -04:00
Your Name 03b209140d fixing deploy step 2025-06-05 09:36:23 -04:00
Your Name 4e1e5f21cf fixing deploy step 2025-06-05 09:27:46 -04:00
Your Name 7b19860ccc fixing deploy step 2025-06-05 09:20:23 -04:00
Your Name 2cb6159eea fix: explicitly use bash to run deployment script - CI environment was using /bin/sh instead of /bin/bash - Our script uses bash-specific features like arrays - This ensures proper execution in CI environment 2025-06-05 09:17:14 -04:00
Your Name 993b32af46 optimize: speed up deployment while ensuring latest images and better diagnostics - Force pull latest images with hash verification before deployment - Reduce timeouts: deployment 3min, health check 90s, stack removal 60s - Check every 2s instead of 5s for faster feedback - Exit early on clear failures to avoid waiting - Comprehensive container-level diagnostics on failure - Show task status, container logs, and service inspection - Verify deployed image matches pulled image hash - Minimal 10s initialization wait instead of 30s - Better error messages with image hash tracking 2025-06-05 09:15:00 -04:00
Your Name bf09520c1d enhance: add comprehensive resilience to CI deployment script - Concurrent execution prevention with lock files - Retry logic for transient failures (3 attempts) - Extensive pre-flight checks (disk space, env vars, Docker health) - Configurable timeouts (5min deployment, 2min health checks) - Enhanced health checking with multiple validation methods - Automatic cleanup on script exit - Detailed debugging information on failure - Environment variable validation for all 10 secrets - Rollback preparation and improved logging 2025-06-05 09:11:37 -04:00
Your Name 9645631496 fixing deploy step 2025-06-05 09:06:59 -04:00
Your Name 7645c32156 enhance: improve production deployment with better verification - Add verification loop to ensure stack removal completed - Increase wait times for service initialization - Add 60-second health check loop for authelia service - Show deployment status and logs on failure - More robust deployment process with proper timing 2025-06-05 09:01:05 -04:00
Your Name 1a04d35590 fix: create assets directory in Dockerfile to resolve configuration error - Add mkdir -p /config/assets to satisfy Authelia's expectation - Prevents 'directory does not exist' error without unnecessary config 2025-06-05 08:53:36 -04:00
Your Name fc9be0d7c7 feat: add Docker secrets recreation to production deployment - Remove old stack and secrets before deployment - Recreate all secrets with current CI environment values - Ensures immutable secrets are always up-to-date 2025-06-05 08:33:54 -04:00
Your Name 767b996c29 fixup 2025-06-05 08:25:33 -04:00
Your Name bad88a00e9 fixup 2025-06-04 18:21:21 -04:00
Your Name 330d1ac7b3 fixup 2025-06-04 18:06:48 -04:00
Your Name 7a6cfde6e9 fixup 2025-06-04 17:49:06 -04:00
Your Name be51fa1829 fixup 2025-06-04 17:42:17 -04:00
Your Name ca7b7df76a fixup 2025-06-04 17:16:24 -04:00
Your Name 603f5e3d03 Add all Authelia secrets to Woodpecker CI pipeline 2025-06-04 16:34:09 -04:00
Your Name 566d11154d Bump build number to 2 2025-06-04 16:28:49 -04:00
Your Name 73e9856e61 fixup 2025-06-04 16:20:48 -04:00