Compare commits

..
4 Commits
Author SHA1 Message Date
Duarte Santos 6b3c7d0ed7 v1.3.0 2026-09-03 23:08:45 +02:00
Duarte Santos eead4afd88 assets: Brand-Dateien wieder raus, die 11d5632 versehentlich mitgenommen hat
BMC-Cover, Logo-Varianten und Merch-Vorlagen lagen unversioniert im Arbeitsverzeichnis und
sind mit einem git add -A in den Stats-Commit gerutscht. Sie gehoeren nicht ins oeffentliche
Repo; ab hier sind sie wieder unversioniert (in der Historie bleiben sie, main ist gegen
Force-Push geschuetzt).
2026-09-03 23:05:05 +02:00
Duarte Santos 11d5632156 Stats: die Strength-Liste sagt, wie lange ein Muskel nicht trainiert wurde
Die Zeilen unter der Strength-Karte zeigten die Saetze der letzten 90 Tage — fuer Muskeln,
die genau deshalb in der Liste stehen, weil sie lange nicht trainiert wurden, also fast immer
0, und sonst als ungerundeter Float (1.2000000000000002). Jetzt: Wochen seit dem letzten
Training bzw. 'not trained', gerundete 90-Tage-Saetze nur darueber, wenn es welche gibt.
Balance-Zeilen runden ueber fmtNum.
2026-09-03 23:01:34 +02:00
Duarte Santos 12309f394b Website: APK-Zeile v1.2.16 · 4.8 MB 2026-09-03 22:55:28 +02:00
9 changed files with 40 additions and 16 deletions

No files matched your search

+14
View File
@@ -1,5 +1,19 @@
# Changelog
## v1.3.0 — 2026-09-03
The AI Coach gets the version number it deserves. v1.2.16, earlier today, was the release that
got it out of the door; v1.3.0 is the same app with one more fix, and the number that says
"something new is in here" to everyone who reads a changelog. If you are on v1.2.16, this is
a small update. If you are on anything older, read the v1.2.15/v1.2.16 notes below — the Coach,
bar weights, the rest-day line and the rewritten admin dashboard are all new to you.
- 🗺️ **The Strength map's list makes sense again.** Below the map, every detrained muscle
showed its set count of the last 90 days — which, for a muscle that is on that list precisely
because it has not been trained lately, was a column of "0 sets", and where it was not zero it
printed as `1.2000000000000002`. Each row now says how many weeks ago the muscle was last
trained (or "not trained"), with the rounded 90-day sets on top only when there are any.
## v1.2.16 — 2026-09-03
- 🐳 **The web image builds again.** v1.2.15's tag pipeline published the API image and the APK
+1 -1
View File
@@ -6,7 +6,7 @@ openapi: 3.1.0
info:
title: openGym API
version: 1.2.16
version: 1.3.0
summary: Passkey (WebAuthn) auth + per-user state storage for openGym
description: |
The backend of [openGym](https://opengym.duarte-santos.ch) — a free, open-source
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "gym-api",
"version": "1.2.16",
"version": "1.3.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "gym-api",
"version": "1.2.16",
"version": "1.3.0",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@simplewebauthn/server": "^13.1.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "gym-api",
"version": "1.2.16",
"version": "1.3.0",
"private": true,
"type": "module",
"main": "server.js",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "opengym-frontend",
"version": "1.2.16",
"version": "1.3.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "opengym-frontend",
"version": "1.2.16",
"version": "1.3.0",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@aparajita/capacitor-secure-storage": "^7.1.6",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "opengym-frontend",
"private": true,
"version": "1.2.16",
"version": "1.3.0",
"type": "module",
"scripts": {
"dev": "vite",
+16 -6
View File
@@ -138,7 +138,7 @@ function MuscleBalance({ S }) {
const detrained = strengthOrder.filter(slug => strength[slug] < 1)
const top = worked.slice(0, 4)
const max = worked.length ? load[worked[0]] : 0
const sets = m => Math.round((load[m] || 0) * 10) / 10
const sets = m => fmtNum(Math.round((load[m] || 0) * 10) / 10)
return <div className="card">
<Segmented className="seg-range" value={view} onChange={setView}
@@ -206,11 +206,21 @@ function MuscleBalance({ S }) {
)) : <div className="muted small">{t('No exercises with an estimated 1RM yet.')}</div>}
</>}
{!sel && <div className="muted small" style={{ marginTop: 10 }}>{t('Tap a muscle to see its exercises.')}</div>}
{detrained.map(slug => <div key={slug} className="mrow">
<span className="nm">{t(MUSCLE_NAME[slug])}</span>
<span className="bar"><i style={{ width: Math.round(strength[slug] * 100) + '%' }} /></span>
<span className="v">{t('{0} sets', vol90[slug] || 0)}</span>
</div>)}
{/* Detrained muscles: the bar is retained strength, the value says how long ago the
muscle was last trained. Sets in the last 90 days ride along only when there are
any — a muscle is on this list precisely because it has not been trained lately, so
that number alone read as "0 sets" all the way down and told nobody anything. */}
{detrained.map(slug => {
const sets90 = Math.round((vol90[slug] || 0) * 10) / 10
return <div key={slug} className="mrow">
<span className="nm">{t(MUSCLE_NAME[slug])}</span>
<span className="bar"><i style={{ width: Math.round(strength[slug] * 100) + '%' }} /></span>
<span className="v" style={{ textAlign: 'right' }}>
{sets90 ? t('{0} sets', fmtNum(sets90)) : strengthHint(slug)}
{sets90 ? <span className="dim small" style={{ display: 'block', fontWeight: 400 }}>{strengthHint(slug)}</span> : null}
</span>
</div>
})}
</>}
</div>
}
+2 -2
View File
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!-- GENERATED FILE - do not edit by hand.
Built by scripts/build-api-docs.mjs from api/openapi.yaml (openGym API v1.2.16).
Built by scripts/build-api-docs.mjs from api/openapi.yaml (openGym API v1.3.0).
Regenerate with: node scripts/build-api-docs.mjs -->
<html lang="en">
<head>
@@ -232,7 +232,7 @@ main.api-main .lead { color: var(--fg-2); max-width: 58ch; margin: 14px 0 0; fon
</div>
<p class="api-facts">
<span>OpenAPI 3.1.0</span>
<span>openGym v1.2.16</span>
<span>openGym v1.3.0</span>
<span>28 endpoints</span>
<span>AGPL-3.0-or-later</span>
</p>
+1 -1
View File
@@ -390,7 +390,7 @@ try {
</ul>
<div class="push">
<a class="btn" href="openGym.apk" download>Download for Android</a>
<p class="meta">v1.2.16 · 4.6 MB · Android 6.0+ · signed APK. Your browser will ask
<p class="meta">v1.3.0 · 4.8 MB · Android 6.0+ · signed APK. Your browser will ask
before installing; that is normal outside the Play Store.</p>
<p class="meta">Every release is also built and signed by CI and attached to the
<a href="https://gitlab.com/DuarteSantos8/opengym/-/releases" rel="noopener">GitLab