Commit Graph
656 Commits
Author SHA1 Message Date
Duarte Santos 9976b7a278 Merge remote-tracking branch 'pr/100' 2026-08-18 11:45:37 +02:00
Duarte Santos d4169690a6 Merge remote-tracking branch 'pr/85' 2026-08-18 11:44:58 +02:00
Duarte Santos 55de70ad23 i18n: neue Keys auf den Quote-Stil der Packs ziehen 2026-08-18 11:44:24 +02:00
Duarte Santos f860edd24a Merge remote-tracking branch 'pr/92' 2026-08-18 11:43:51 +02:00
Duarte Santos 329eed4ce0 CI: Images nur noch aus einem publizierten Release, nicht aus jedem Tag (#87) 2026-08-18 11:39:26 +02:00
Duarte Santos 5d7e13361c Website: Download-Zeile auf die v1.2.6-APK 2026-08-18 11:38:37 +02:00
Duarte Santos 274a0276e0 Release v1.2.6: Changelog-Datum auf den letzten Stand, Android zieht mit v1.2.6 2026-08-18 11:31:53 +02:00
Georgiy Sitnikov 1ba378b632 - Enable Templating feature as per https://hub.docker.com/_/nginx#using-environment-variables-in-nginx-configuration-new-in-119
- Set default Variables
Solution for https://github.com/DuarteSantos8/openGym/issues/99
2026-08-14 12:11:38 +02:00
Georgiy Sitnikov 0e00e1029c Add version metadata and update Dockerfile labels for API and web services 2026-08-14 11:29:23 +02:00
Georgiy Sitnikov 011a3f7790 Add healthcheck to Dockerfiles for API and web services 2026-08-14 11:28:09 +02:00
root 4e842b00e1 feat: resolve warm-up rows by phase 2026-08-12 20:20:34 +02:00
Space Hermes f3ba7de479 feat: add strength exercise view and history snapshots 2026-08-12 20:18:05 +02:00
root 57f04febbe feat(i18n): add strength-view strings to all locales 2026-08-12 20:13:35 +02:00
Space-Hermes 23a5b6c228 fix: smaller same-area items from the review - future-dated clamp, LB_TO_KG export, value-based bodyweight guard 2026-08-12 17:43:20 +02:00
root ed666df237 fix: fatigue round-4 (zero-load strength, history-stable reference, real Stats view tests + committed probe) 2026-08-12 17:25:57 +02:00
root a95104b675 fix: back-button history accounting (explicit pushed-entry counter, locked-sheet popstate) + mouse-drag slider opt-out 2026-08-12 17:25:27 +02:00
root edde72f9cb fix: superset flow round-3 (rest gate for ordinary exercises, high-water progress, top-weight owns advance, Workout coverage) 2026-08-12 17:20:50 +02:00
root 237d1c5cf2 fix: decrement cur when the removed entry sits below it (superset picker case) 2026-08-12 17:20:04 +02:00
root b42d2baa6e fix: make session exercise removal timer-safe 2026-08-11 23:18:45 +02:00
root f32c4d0b73 feat: remove exercise from a session (confirm; superset picker) 2026-08-11 23:01:20 +02:00
Duarte Santos 528cb70a79 Changelog v1.2.6: Session-Supersets, Muscle-Map-Overlay, Medien-Pfade und Import-Aliase 2026-08-11 22:37:31 +02:00
Duarte Santos a7d7f5c24b Fix media paths on routine detail, map the Hevy names that fell through
Two reported bugs, both small:

exercise media (#79): IMG_BASE/GIF_BASE were relative, so on /plan/r/:id --
the app's only two-segment route -- the browser resolved them against the
route and asked for /plan/r/img/..., which nginx's extension block 404s
instead of falling through to index.html. Blank images, nothing in the
console. Absolute defaults; the VITE_* overrides are absolute already, so
the Pages demo and the mobile build are unaffected.

import aliases (#74): Treadmill, Goblet Squat, Cycling and Cable Core
Pallof Press arrived as custom exercises because no word-overlap can reach
the catalogue's names for them. Added those plus the neighbours around
them, and a test file -- matchExercise had none.

Also documents that VITE_IMG_BASE/VITE_GIF_BASE are build-time, which is
why setting them next to docker compose does nothing on a prebuilt image.
2026-08-11 22:35:43 +02:00
Duarte Santos 96eed3660b Merge remote-tracking branch 'pr/59' 2026-08-11 22:30:51 +02:00
Duarte Santos fe585097c8 Merge remote-tracking branch 'pr/64' 2026-08-11 22:30:09 +02:00
Duarte Santos d8c734a2b6 muscle overlay: route the exercise detail tags through smOf too
#67 stopped mutating EXDB and moved the secondary-muscle additions into a
derived smOf() overlay, but ExerciseDetail still read the raw ex.sm. The
four curated row additions (0027, 0293, 0499, 0861) were silently dropped
from the detail sheet's tag row -- "rear deltoids" was the third visible
tag on all four, so the slice(0,3) did not hide it.

Caught on merge, before it shipped.
2026-08-11 22:30:04 +02:00
Duarte Santos 087ce34674 Merge remote-tracking branch 'pr/67' 2026-08-11 22:29:14 +02:00
Duarte Santos 157ca90f3b Merge remote-tracking branch 'pr/60' 2026-08-11 22:29:05 +02:00
root 15c29029c1 neutral superset header text (mirror live) 2026-08-08 10:46:43 +02:00
root 030a609427 translate superset action labels (11 locales) 2026-08-08 10:11:26 +02:00
root 8bbf59c001 remove accidentally committed node_modules symlink 2026-08-08 10:09:49 +02:00
Space_Hermes b29a3f6bb0 feat: create and remove session supersets 2026-08-08 02:24:22 +02:00
root bee9b64b78 progression: guard set growth against an all-warm-up entry (no work seed, no infinite loop) 2026-08-07 17:03:57 +02:00
AlexandClaude Opus 5 5d8332d11d Coach: the store field the whole UI reads, which was never ported
The entry point in the previous commit was necessary but not sufficient: every
Coach surface gates on coachAvailable(config, user), config comes from
useStore(s => s.config), and that field does not exist. 4/6 brought the views
across and left behind the one line of store they all depend on.

So `config` was undefined at all five call sites, the gate was false on every
instance, and the feature was invisible everywhere — no row on Plan, and
/#/coach redirecting straight back to /home. Enabled, credentialed, a real
round trip through the provider passing, and no way in. Indistinguishable from
"this instance has no Coach", which is exactly why it survived review: the
failure mode is silence.

Adds `config: null` and the boot-time fetch, ahead of /api/me because instance
capabilities are public and needed whether or not anyone is signed in.

Two tests pin it. One asserts the gate opens for the exact shape GET
/api/config returns, and stays shut for `undefined` — the bug itself. The other
asserts the store source still declares the field and still fetches it; that one
reads the file rather than the live store, because useStore touches `document`
at import time and cannot be instantiated in this environment. Crude, but it
fails on precisely the two edits that broke this.

frontend 406/406, build clean.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 15:27:02 +01:00
Duarte Santos 35181af2aa Merge remote-tracking branch 'pr/48' 2026-08-07 16:24:44 +02:00
root 01072ef5e3 warm-up round 3: applyPrescription/readSession never touch warm-up rows; per-phase set numbering; regression tests 2026-08-07 15:19:11 +02:00
root 86ac937d5d warm-up carve-outs (effort ratio, muscle map), cascade/warmup row helpers with tests, dead guard removed, total+work set counts 2026-08-07 15:16:19 +02:00
root 9cc645c755 fix warmup 1RM test equality 2026-08-07 15:15:51 +02:00
root cbb3630423 warm-up sets: excluded from 1RM and progression only (volume semantics kept); tests 2026-08-07 15:15:51 +02:00
root 0109857249 cascade: fixed-weight only, never overwrite done sets 2026-08-07 15:15:51 +02:00
root edb3e42c43 session UX: warm-up phase separation, add/remove warm-up sets, weight cascade to following sets 2026-08-07 15:15:51 +02:00
Duarte Santos ab1bfe31b6 coach: Plan-Einstieg nutzt die schon uebersetzten Coach-Strings 2026-08-07 14:48:02 +02:00
Duarte Santos a0ac473df7 Merge remote-tracking branch 'pr/54' into coach 2026-08-07 14:47:25 +02:00
root 577c86b487 derive secondary additions via smOf overlay - raw dataset never mutated 2026-08-07 13:12:42 +02:00
AlexandClaude Opus 5 4ee9a2abbf Coach: a way in, and instructions for getting there
Two gaps found by deploying the thing and then trying to use it.

The Coach had no entry point. Its three routes have existed since the UI
landed and nothing in the app linked to them — not the nav, not Home, not
Plan, not Settings. The hub's back button already pointed at /plan, so that is
where the link was always meant to be. On a configured instance the feature was
enabled, credentialed, running, and reachable only by typing the URL.

It sits behind the same coachAvailable() predicate every other Coach surface
uses, so an instance without the feature sees exactly the Plan screen it saw
before.

And there were no setup instructions anywhere. This document said the Coach is
"off until an admin turns it on" and then never said how to turn it on: ten
sections on what it does and why it is safe, nothing on the four steps that get
you from a running instance to a working Coach. .env.example has no Coach knobs
and SELF_HOSTING mentions it only in the backup caveat, so there was nowhere
else to look either.

The new section covers building the target that has a runtime in it, minting a
token with `claude setup-token`, connecting and testing it on the admin card,
and where a user starts. It also warns up front about the thing a multi-profile
instance discovers the hard way: in instance mode the credential binds to the
first profile that spends it and every other profile is refused by design, so
one person gets the Coach and the rest get a refusal.

api 72/72, frontend 404/404, build clean, 11 locales in sync.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 11:45:45 +01:00
Duarte Santos 13ed730a0c Changelog v1.2.6: Muscle-Map-Recovery, Rest-Notification, Rear-Delt-Sekundaers 2026-08-07 11:35:04 +02:00
Duarte Santos 7e60ac20f2 Merge remote-tracking branch 'pr/44' 2026-08-07 11:33:51 +02:00
Duarte Santos 06a1e0a709 Merge remote-tracking branch 'pr/49' 2026-08-07 11:33:37 +02:00
Duarte Santos d99f0ef2f1 Merge remote-tracking branch 'pr/51' 2026-08-07 11:33:17 +02:00
root d0075eeddf rest notification: service-worker path for Android, use existing string 2026-08-07 09:10:43 +02:00
root 86f3476f5f fatigue: saturating volume-based model, no window cliff, reachable level bands 2026-08-07 09:02:38 +02:00