Rebrand to KuentaGYM, and start a new profile in pounds and Spanish

The app is now KuentaGYM everywhere a user can see it, and a fresh profile no
longer starts on upstream's English/kg defaults. Both are this fork's decisions,
so both are pinned by tests rather than left to a find-and-replace.

Rename (1,270 references, 149 files)

- Visible surfaces: the Login/Home/mobile-onboarding wordmark, the Settings
  version line, the printed plan, the PWA title + manifest, and the 17 branded
  strings across all 14 locale packs.
- Infrastructure: repo links, the container images and the release endpoints now
  name git.dploy.lol/dsantillan/kuentagym; .gitea/workflows/docker-publish.yml
  publishes to this forge's registry instead of gitea.com.
- The Android/iOS application id stays ch.duartesantos.opengym on purpose:
  changing it would make the mobile app a different app that could never update
  an installed copy.

Three things the mechanical pass would have broken, fixed here

- The update check asked gitlab.com for upstream's releases and would have
  installed upstream's APK, putting the old name back on the phone. It now reads
  this fork's Gitea releases API (the assets shape differs), with the tests
  rewritten to the payload Gitea actually returns.
- Renaming the mobile state/pairing files (opengym-state.json,
  opengym-remote.json) would lose the on-device copy of a history whose WebView
  storage may have been evicted, and silently unpair the device. Both are read
  under their old names and written forward under the new ones.
- Renaming the exported plan-file marker (openGym_plan) rejected every plan
  shared before the rename as "not a plan file". Both markers are accepted.

Defaults: pounds and Spanish

- DEF.unit = 'lb', DEF.lang = 'es', plus every fallback that independently
  assumed en/kg (the <html lang> attribute, the Settings pickers, the Store, the
  MCP, the Coach payload).
- Server-generated push copy existed only in English and pt-BR, so a Spanish
  profile would have been notified in English; Spanish added.
- The demo seed states unit: 'kg' — its seeded numbers are kilograms, and
  inheriting the new default would have introduced an 82.4 lb lifter benching 60.
- The module-level language in i18n-core stays English: it is the only language
  whose strings need no pack, so `t()`, dates, numbers and lists agree before a
  pack loads. Starting there on 'es' formats a Spanish-shaped UI with English
  strings.

Also
- api/package.json's test glob missed push-messages.test.js and
  verify-error.test.js, which sat beside the modules they cover and never ran.
- README, docs/, website/ and the issue templates no longer describe upstream's
  GitLab/GitHub pipeline, Discord, sponsorship or public demo as if they were
  this fork's; upstream history and attribution are preserved (NOTICE.md).
This commit is contained in:
dsantillan committed 2026-09-21 14:29:54 -04:00
1 parent f91cde15a1
commit 87bfd6d4c4
152 files changed
+1784 -1604

No files matched your search

+3 -3
View File
@@ -1,5 +1,5 @@
name: Bug report
description: Something in openGym is broken or not working as expected
description: Something in KuentaGYM is broken or not working as expected
labels: ["bug"]
body:
- type: textarea
@@ -32,7 +32,7 @@ body:
- type: dropdown
id: setup
attributes:
label: How are you running openGym?
label: How are you running KuentaGYM?
options:
- Self-hosted (docker compose)
- Frontend dev server (npm run dev)
@@ -54,7 +54,7 @@ body:
label: Is this about login / passkeys?
description: >
Most login issues are an `RP_ID`/`ORIGIN` mismatch — check your `.env` against the
domain you're accessing openGym from before reporting. See the
domain you're accessing KuentaGYM from before reporting. See the
[self-hosting guide](../../docs/SELF_HOSTING.md).
options:
- label: Yes, this is a login/passkey issue and I've already checked RP_ID/ORIGIN
+5 -5
View File
@@ -1,14 +1,14 @@
# gitea.com has no Discussions, so questions and ideas are issues here — labelled, so they
# are not mistaken for agreed-on work. Blank issues stay off: the forms ask for the two
# This fork's tracker has no Discussions, so questions and ideas are issues here — labelled, so
# they are not mistaken for agreed-on work. Blank issues stay off: the forms ask for the two
# things that otherwise cost a round-trip every time (how it is running, and RP_ID/ORIGIN).
blank_issues_enabled: false
contact_links:
- name: Self-hosting guide
url: https://gitea.com/DuarteSantos/openGym/src/branch/main/docs/SELF_HOSTING.md
url: https://git.dploy.lol/dsantillan/kuentagym/src/branch/main/docs/SELF_HOSTING.md
about: Passkey login failing, reverse proxies, HTTPS, Docker — most login trouble is an RP_ID/ORIGIN mismatch and is answered here.
- name: Contributing guide
url: https://gitea.com/DuarteSantos/openGym/src/branch/main/CONTRIBUTING.md
url: https://git.dploy.lol/dsantillan/kuentagym/src/branch/main/CONTRIBUTING.md
about: Project layout, dev setup and guidelines before you open a PR.
- name: Changelog
url: https://gitea.com/DuarteSantos/openGym/src/branch/main/CHANGELOG.md
url: https://git.dploy.lol/dsantillan/kuentagym/src/branch/main/CHANGELOG.md
about: What changed in each release, newest first.
+3 -3
View File
@@ -1,12 +1,12 @@
name: Feature request
description: Suggest an idea or improvement for openGym
description: Suggest an idea or improvement for KuentaGYM
labels: ["enhancement"]
body:
- type: textarea
id: problem
attributes:
label: What problem does this solve?
description: What are you trying to do that openGym doesn't support today?
description: What are you trying to do that KuentaGYM doesn't support today?
validations:
required: true
@@ -23,7 +23,7 @@ body:
attributes:
label: Dependencies
description: >
openGym is intentionally dependency-light — new packages (front or back) are a hard
KuentaGYM is intentionally dependency-light — new packages (front or back) are a hard
sell. See [CONTRIBUTING.md](../../CONTRIBUTING.md).
options:
- label: This doesn't require adding a new dependency
+14 -14
View File
@@ -1,16 +1,16 @@
# Publishes the two images to the gitea.com container registry, replacing GHCR.
# Publishes the two images to this forge's own container registry — git.dploy.lol — which is
# what `docker compose pull` fetches on the deployment host.
#
# Images land at gitea.com/duartesantos/opengym-{api,web} and are what
# `docker compose pull` fetches.
# Images land at git.dploy.lol/dsantillan/kuentagym-{api,web}. The owner in the path comes from
# `github.repository_owner`, so a fork under another account publishes under that account with
# no edit here.
#
# As on GitHub, a *published release* is the trigger, never a bare tag push: the
# versioning rule consolidates unreleased tags, and a deleted tag does not delete
# the image tags it already pushed — dependency bots then read the orphan as a
# newer series (that was issue #87 on the old repo).
# A *published release* is the trigger as well as a push to main, never a bare tag push: the
# versioning rule consolidates unreleased tags, and a deleted tag does not delete the image
# tags it already pushed — dependency bots then read the orphan as a newer series.
#
# Needs one repository secret: PACKAGES_TOKEN — a gitea.com token with
# write:package scope (Settings → Applications → Generate New Token). The built-in
# token cannot write packages.
# Needs one repository secret: PACKAGES_TOKEN — a git.dploy.lol token with write:package scope
# (Settings → Applications → Generate New Token). The built-in token cannot write packages.
name: Publish Docker images
on:
@@ -57,21 +57,21 @@ jobs:
- uses: docker/login-action@v3
with:
registry: gitea.com
registry: git.dploy.lol
username: ${{ github.repository_owner }}
password: ${{ secrets.PACKAGES_TOKEN }}
- uses: docker/metadata-action@v5
id: meta
with:
images: gitea.com/${{ steps.repo.outputs.owner }}/opengym-${{ matrix.image }}
images: git.dploy.lol/${{ steps.repo.outputs.owner }}/kuentagym-${{ matrix.image }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
# No cache-from/to: the GHCR copy used type=gha, which is a GitHub-hosted
# service and is not there on gitea.com's runners.
# No cache-from/to: the original GHCR job used type=gha, a GitHub-hosted service that
# does not exist on a self-hosted runner. The build is fast enough without it.
- uses: docker/build-push-action@v6
with:
context: ${{ matrix.context }}
+2 -3
View File
@@ -1,6 +1,5 @@
# Same suite as .github/workflows/test.yml, run by gitea.com's Actions runners.
# The GitHub copy is kept for the day that account comes back; this one is what
# actually gates contributions today.
# Runs on this fork's own Gitea. The GitHub and GitLab copies of the same suite are dormant:
# no host runs them for this fork (see CONTRIBUTING.md).
name: Tests
on: