Commit Graph

33 Commits

Author SHA1 Message Date
admin 23b66875e4 sparkyfitness: bump to v0.16.8 + accept both 3- and 4-segment tags
codewithcj changed sparkyfitness versioning on 2026-06-01:
  - Old (through v0.16.6.3 / 2026-05-24): vMAJOR.MINOR.PATCH.BUILD
  - New (from v0.16.7 / 2026-06-01)      : vMAJOR.MINOR.PATCH

Our version-checker regex was `^v\d+\.\d+\.\d+\.\d+$` (4 segments
only), so the new v0.16.7 / v0.16.8 tags were invisible to it. The
"newest matching" became an arbitrarily-chosen old 4-segment tag
(v0.16.5.9 in the latest scan), which then showed up as an "upgrade
to an older version" -- nonsense, but predictable given the filter.

Two changes:
  1. Bump both `codewithcj/sparkyfitness` (frontend) and
     `codewithcj/sparkyfitness_server` (backend) from v0.16.6.3 to
     v0.16.8 (the actual upstream latest).
  2. Loosen the regex to `^v\d+\.\d+\.\d+(\.\d+)?$` so it matches
     both the legacy 4-segment form and the new 3-segment form.
     Once everything's on 3-segment we can tighten it again if we
     want, but the current form is harmless.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-06 15:24:39 +02:00
Renovate Bot 03b8af9b78 Update busybox Docker tag to v1.38
renovate/stability-days Updates have met minimum release age requirement
2026-06-06 00:04:43 +00:00
admin de593cfcc3 removed wger 2026-05-30 09:17:58 +02:00
admin 6d21576e00 workout-system: SparkyFitness OIDC-only auth (email login+signup off, OIDC signup on)
Admin bootstrapped via Authentik OIDC. Finalize the intended auth posture:
- Remove SPARKY_FITNESS_FORCE_EMAIL_LOGIN fail-safe (OIDC confirmed working).
- Add SPARKY_FITNESS_DISABLE_EMAIL_LOGIN=true -> email/password login + registration off.
- Keep SPARKY_FITNESS_DISABLE_SIGNUP=false so OIDC auto-register keeps working
  (the global signup gate would otherwise block OIDC self-registration too).
Net: Authentik OIDC is the only login + signup path; emergency recovery documented
inline (set FORCE_EMAIL_LOGIN=true to re-enable email login).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 16:00:27 +02:00
admin a1e73466a6 workout-system: temporarily enable signup to bootstrap SparkyFitness admin
DISABLE_SIGNUP=true blocks OIDC auto-register too (callback returns 'Signups are
currently disabled by the administrator'), so the first admin account can't be
created. Set DISABLE_SIGNUP=false just long enough for the admin to log in via
Authentik once (auto-registers + admin via SPARKY_FITNESS_ADMIN_EMAIL); will be
reverted to true right after.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 15:51:15 +02:00
admin f09e76a4b3 workout-system: fix SparkyFitness OIDC issuer slug (sparkyfitness -> sparky-fitness)
The Authentik application was created with slug 'sparky-fitness' (hyphen), so the
OIDC discovery document lives at /application/o/sparky-fitness/.well-known/...
The previous value (no hyphen) 404'd. Align the issuer URL with the actual slug.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 15:37:05 +02:00
admin 7f3c06f16c workout-system: deploy SparkyFitness v0.16.6.3, park wger, take over workout.dooplex.hu
SparkyFitness (https://github.com/CodeWithCJ/SparkyFitness) replaces wger on
workout.dooplex.hu / workout.home with native Authentik OIDC.

Components (sparkyfitness.yaml): dedicated postgres:15-alpine, server (3010,
/api/health), frontend nginx (root image, listens :80). PVCs sparkyfitness-postgres
+ sparkyfitness-uploads (Longhorn, backup labels). In-app OIDC, no forward-auth.

Deviations from the deploy spec, following upstream ground truth:
- In-container mount path for uploads is /app/SparkyFitnessServer/uploads (per the
  upstream Helm chart values.yaml), not /app/uploads.
- Frontend root image (codewithcj/sparkyfitness) has 'listen 80;' hardcoded ->
  NGINX_LISTEN_PORT=80, containerPort/Service 80.
- Image names use the docker-compose variants (codewithcj/sparkyfitness_server,
  codewithcj/sparkyfitness); the upstream Helm chart uses -server/-frontend.
- All wger Deployments scaled to 0 (incl. celery worker/beat), not just
  wger + wger-redis, so celery doesn't crashloop against the downed redis.

Secrets (outside git): sparky-oauth (client-id/client-secret, pre-existing) +
sparky-app (db + app-db creds, api-encryption-key, better-auth-secret).

wger is parked, not deleted: Deployments at 0, both Ingresses removed (ArgoCD
prune frees the hostnames); Services/ConfigMap/PVCs/CNPG DB kept for rollback.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 15:21:21 +02:00
admin 7cd0fa28a2 wger fix 3 2026-04-17 19:43:37 +02:00
admin 94e8a5dfda wger update 2 2026-04-17 19:40:14 +02:00
admin 5e6b519ac6 updated wger 2026-04-17 19:31:20 +02:00
admin a7f0dfc341 updated wger to 2.5 2026-04-17 19:23:04 +02:00
admin 3cdcf44641 added local access to nginx filter 2026-01-20 18:14:08 +01:00
admin 99548a235e fixed geoip tag 2026-01-20 18:01:32 +01:00
admin 7595cbe4ad added geoip filters to ingresses 2026-01-20 17:11:41 +01:00
admin f4117af8a7 fixed nginx header 2026-01-03 09:18:03 +01:00
admin 9861615394 capital True 2026-01-02 21:50:07 +01:00
admin 734fe34058 imagepullpolicy added 2026-01-02 21:45:43 +01:00
admin 6b94b9277a updated image 2026-01-02 21:18:59 +01:00
admin afb768b43e added more oidc 2026-01-02 20:38:02 +01:00
admin f0f5a5410a lowercase true 2026-01-02 20:36:47 +01:00
admin cc65f26d6a removed registration 2026-01-02 20:30:35 +01:00
admin 27d3d832ea test 2026-01-02 20:18:59 +01:00
admin be3231fe77 added env vars 2026-01-02 20:16:53 +01:00
admin d67d13b45b fixed ingress 2026-01-02 20:04:50 +01:00
admin 8ea164e013 changed to oidc 2026-01-02 19:57:05 +01:00
admin 8ad826441c removed securitycontext parts 2026-01-02 19:29:24 +01:00
admin 04a36fee7d fixed workout manifest 2026-01-02 19:25:23 +01:00
admin 8f2242d758 workout fix 2026-01-02 19:01:08 +01:00
admin f982a5e96e added initcontainer 2026-01-02 18:52:42 +01:00
admin 3d3fb794c8 added django cache client class 2026-01-02 17:00:10 +01:00
admin d37eacbf0a added django cache timeout 2026-01-02 16:57:45 +01:00
admin 3acfd3f0c4 image tag updated to latest 2026-01-02 16:49:31 +01:00
admin c48dc59727 added workout-system 2026-01-02 16:41:38 +01:00