v1.3.7: the Android build builds again (a double dash inside an XML comment in styles.xml broke v1.3.6's APK), plus the iPhone timer-sound fix (#183)

This commit is contained in:
Duarte Santos committed 2026-09-12 23:31:21 +02:00
1 parent 5a8873b919
commit d7f0f0dbdb
12 files changed
+23 -20

No files matched your search

+4 -1
View File
@@ -1,7 +1,10 @@
# Changelog
## Unreleased
## v1.3.7 — 2026-09-12
The v1.3.6 tag's Android build failed on a double dash inside an XML comment, so the APK for everything in v1.3.6 is this one — plus the iPhone timer-sound fix that landed an hour later. Web bundle, APK and API image; v1.3.6 and v1.3.7 are the same code apart from the two items below.
- 📦 **The Android build builds again**: a comment in `styles.xml` (from the safe-area work in v1.3.6) contained `--`, which XML forbids inside comments.
- 🔊 **Timer sounds on iOS** (kurktchiev, #183, #152): every tone resumes the audio context first
(a lock or app switch leaves it suspended and silent), the context is unlocked from the taps that
lead to a timer, and Settings → Sounds gains **Play sounds when the phone is on silent** (off by
+2 -2
View File
@@ -215,9 +215,9 @@ host side of that volume, not the variable.
## Roadmap
The plan lives in [ROADMAP.md](ROADMAP.md) (the
[GitLab milestones](https://gitlab.com/DuarteSantos8/opengym/-/milestones) track the same items): v1.3.7 programmes and
[GitLab milestones](https://gitlab.com/DuarteSantos8/opengym/-/milestones) track the same items): v1.3.8 programmes and
progression (explicit warm-up/work phases, AMRAP driver selection, multi-week programmes, adaptive
1RM), v1.3.8 accounts and sync (password and OIDC login, personal-trainer role, remote MCP), v1.3.9
1RM), v1.3.9 accounts and sync (password and OIDC login, personal-trainer role, remote MCP), v1.3.10
mobile (timer in the notification bar, widgets, Withings). Ideas and pull requests welcome.
## Tech
+4 -4
View File
@@ -57,7 +57,7 @@ Left over from this block:
- A real pause for the workout timers (#29 asked for it)
- Discord announcement (owner)
## v1.3.6 — Sync, push and the phone (released 2026-09-12)
## v1.3.6 and v1.3.7 — Sync, push and the phone (released 2026-09-12)
Signed in, the server's profile is the truth: sign-in adopts it, two devices merge on a server
revision instead of overwriting each other, the app polls for changes and works offline with a
@@ -69,7 +69,7 @@ the phone, nginx resolver, custom-exercise equipment, per-side data, warm-up res
QA sweep of every screen. Left over: routine reordering (#142), the Smith-bar "no bar" option
(#138), two decimals (#139), delete user in the admin (#107).
## v1.3.7 — Programmes & progression (October 2026)
## v1.3.8 — Programmes & progression (October 2026)
**Theme: training structure beyond one weekly template.** Most of this is the Space-Hermes series.
It changes the training model (per-set roles, explicit phases, normalisation on every persist), so
@@ -93,7 +93,7 @@ it goes in one MR at a time, each rebased and tested on gym-test before the next
- Catalogue cleanup: exercises that should not carry weight, incline and interval fields for
cardio (#46); timers for planks and outdoor cardio are already there, document them (#45)
## v1.3.8 — Accounts & sync (November 2026)
## v1.3.9 — Accounts & sync (November 2026)
**Theme: who may sign in, and what else may read or write your data.**
@@ -111,7 +111,7 @@ it goes in one MR at a time, each rebased and tested on gym-test before the next
logged sessions lost after editing a routine (#25)
- Admin: per-user export, invite management, audit log filters
## v1.3.9 — Mobile (December 2026)
## v1.3.10 — Mobile (December 2026)
**Theme: the Android app catches up with the web app.**
+1 -1
View File
@@ -6,7 +6,7 @@ openapi: 3.1.0
info:
title: openGym API
version: 1.3.6
version: 1.3.7
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.3.6",
"version": "1.3.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "gym-api",
"version": "1.3.6",
"version": "1.3.7",
"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.3.6",
"version": "1.3.7",
"private": true,
"type": "module",
"main": "server.js",
+2 -2
View File
@@ -7,8 +7,8 @@ android {
applicationId "ch.duartesantos.opengym"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 20
versionName "1.3.6"
versionCode 21
versionName "1.3.7"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
@@ -14,7 +14,7 @@
<item name="windowNoTitle">true</item>
<item name="android:background">@null</item>
<!-- Draw into the camera cutout like iOS does under the notch: the WebView then reports a
real env(safe-area-inset-top) and the sheets keep clear of it (index.css --sat). -->
real env(safe-area-inset-top) and the sheets keep clear of it (the sat variable in index.css). -->
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
</style>
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "opengym-frontend",
"version": "1.3.6",
"version": "1.3.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "opengym-frontend",
"version": "1.3.6",
"version": "1.3.7",
"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.3.6",
"version": "1.3.7",
"type": "module",
"scripts": {
"dev": "vite",
+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.3.6).
Built by scripts/build-api-docs.mjs from api/openapi.yaml (openGym API v1.3.7).
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.3.6</span>
<span>openGym v1.3.7</span>
<span>30 endpoints</span>
<span>AGPL-3.0-or-later</span>
</p>
+1 -1
View File
@@ -404,7 +404,7 @@ try {
</ul>
<div class="push">
<a class="btn" href="openGym.apk" download>Download for Android</a>
<p class="meta">v1.3.6 · 27.7 MB · Android 6.0+ · signed APK. Your browser will ask
<p class="meta">v1.3.7 · 27.7 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://github.com/DuarteSantos8/openGym/releases" rel="noopener">GitHub