From 818442db08fda639e8b4d3cbed174478439adc9f Mon Sep 17 00:00:00 2001 From: Nils Stinnesbeck Date: Sat, 17 Oct 2026 14:34:16 +0200 Subject: [PATCH] Rename the web app from FatihsMG4 to Nils' MG4 Browser title, login heading, hidden password-manager username, session cookie (nilsmg4_session) and package name. The README keeps the credit to fatihdonmezdev/FatihsMG4. Server version 1.1.1; the manifests pin it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QLJfZQZeAKAwSqViTmLzki --- SPECS.md | 5 ++--- k8s/kustomization.yaml | 2 +- web/README.md | 2 +- web/package-lock.json | 8 ++++---- web/package.json | 4 ++-- web/src/app/layout.tsx | 2 +- web/src/app/login/page.tsx | 4 ++-- web/src/lib/session.ts | 2 +- 8 files changed, 14 insertions(+), 15 deletions(-) diff --git a/SPECS.md b/SPECS.md index 3991e21..5d8f158 100644 --- a/SPECS.md +++ b/SPECS.md @@ -74,7 +74,7 @@ car ──live telemetry───▶ car.stinnesbeck.com ──▶ ABRP api.ite - [x] Manifests in `k8s/`, validated offline. **Not applied** — that is Nils' step (`k8s/README.md`). - [x] Car app 2.3.0: Server tab with config import, live telemetry upload, cadence controls. Unit tests and lint pass; **not yet tried on the car**. -- [ ] Push the image to git.stinnesbeck.com (needs a registry login on the build machine). +- [ ] Push the image (`mg4-server:1.1.1`) to git.stinnesbeck.com (needs a registry login on the build machine). - [ ] Check the Traefik ingress class in `k8s/ingress.yaml` (placeholder `traefik-external`). - [ ] First drive with 2.3.0: telemetry arrives in InfluxDB and at ABRP. @@ -92,8 +92,7 @@ car ──live telemetry───▶ car.stinnesbeck.com ──▶ ABRP api.ite `NilsMG4-unstable-.apk` with a `.sha256` sidecar (`build-car` writes both). - [ ] **Charging currency.** Prices and costs are shown in Turkish lira (`₺/kWh`, `₺`) in `pane_charging.xml` and `MainActivity.java`. -- [ ] **Dashboard language and branding.** The `web/` pages are still Turkish, say "FatihsMG4" and - show prices in lira. +- [ ] **Dashboard language.** The `web/` pages are still Turkish and show prices in lira. - [ ] **Telemetry queue survives restarts.** Unsent live samples are kept in memory only. - [ ] **Translate the rest.** The docs (`CHANGELOG.md`, `OTA.md`'s message table, comments in `mise.toml`/`app/build.gradle`) are still Turkish or French. diff --git a/k8s/kustomization.yaml b/k8s/kustomization.yaml index 7a45bf6..c549b56 100644 --- a/k8s/kustomization.yaml +++ b/k8s/kustomization.yaml @@ -9,4 +9,4 @@ resources: - ingress.yaml images: - name: git.stinnesbeck.com/nils/mg4-server - newTag: "1.1.0" + newTag: "1.1.1" diff --git a/web/README.md b/web/README.md index 0b2d722..71ce266 100644 --- a/web/README.md +++ b/web/README.md @@ -2,7 +2,7 @@ Next.js app, self-hosted at car.stinnesbeck.com: the ingest API the car writes to, the ABRP forwarder, and a phone-shaped dashboard for reading the history back. Data lives in -InfluxDB 2. Based on upstream's Vercel/MongoDB app in FatihsMG4. +InfluxDB 2. Based on upstream's Vercel/MongoDB app in fatihdonmezdev/FatihsMG4. ``` car ──live telemetry───▶ server ──▶ ABRP api.iternio.com/1/tlm/send diff --git a/web/package-lock.json b/web/package-lock.json index 1dcb4ec..6f9ca13 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -1,12 +1,12 @@ { - "name": "fatihsmg4-web", - "version": "1.1.0", + "name": "nilsmg4-web", + "version": "1.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "fatihsmg4-web", - "version": "1.1.0", + "name": "nilsmg4-web", + "version": "1.1.1", "dependencies": { "@influxdata/influxdb-client": "^1.35.0", "next": "^15.5.4", diff --git a/web/package.json b/web/package.json index a061eb4..0c9abcf 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { - "name": "fatihsmg4-web", - "version": "1.1.0", + "name": "nilsmg4-web", + "version": "1.1.1", "private": true, "scripts": { "dev": "next dev", diff --git a/web/src/app/layout.tsx b/web/src/app/layout.tsx index a3a2aeb..a39b78a 100644 --- a/web/src/app/layout.tsx +++ b/web/src/app/layout.tsx @@ -2,7 +2,7 @@ import type { Metadata, Viewport } from "next"; import "./globals.css"; export const metadata: Metadata = { - title: "FatihsMG4", + title: "Nils' MG4", description: "MG4 tüketim ve şarj geçmişi", }; diff --git a/web/src/app/login/page.tsx b/web/src/app/login/page.tsx index 459543d..8c67603 100644 --- a/web/src/app/login/page.tsx +++ b/web/src/app/login/page.tsx @@ -13,7 +13,7 @@ export default async function LoginPage({ return (
-

FatihsMG4

+

Nils' MG4

Tüketim ve şarj geçmişi

{/* A hidden username so password managers will offer to save this. @@ -24,7 +24,7 @@ export default async function LoginPage({