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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QLJfZQZeAKAwSqViTmLzki
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Generated
+4
-4
@@ -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",
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "fatihsmg4-web",
|
||||
"version": "1.1.0",
|
||||
"name": "nilsmg4-web",
|
||||
"version": "1.1.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
|
||||
@@ -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",
|
||||
};
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ export default async function LoginPage({
|
||||
return (
|
||||
<div className="login">
|
||||
<form className="login-card" action="/api/session" method="post">
|
||||
<h1 className="title">FatihsMG4</h1>
|
||||
<h1 className="title">Nils' MG4</h1>
|
||||
<p className="subtitle">Tüketim ve şarj geçmişi</p>
|
||||
{/*
|
||||
A hidden username so password managers will offer to save this.
|
||||
@@ -24,7 +24,7 @@ export default async function LoginPage({
|
||||
<input
|
||||
type="text"
|
||||
name="username"
|
||||
value="fatih"
|
||||
value="nils"
|
||||
autoComplete="username"
|
||||
readOnly
|
||||
hidden
|
||||
|
||||
@@ -11,7 +11,7 @@ import crypto from "node:crypto";
|
||||
* Reading the history needs the dashboard password, which never leaves the browser's
|
||||
* cookie jar and is never compiled into anything.
|
||||
*/
|
||||
export const SESSION_COOKIE = "fatihsmg4_session";
|
||||
export const SESSION_COOKIE = "nilsmg4_session";
|
||||
const SESSION_TTL_SECONDS = 60 * 60 * 24 * 30;
|
||||
|
||||
/** Constant-time compare that does not leak length through an early return. */
|
||||
|
||||
Reference in New Issue
Block a user