Merge branch 'develop'

This commit is contained in:
rene 2026-05-14 13:26:38 +02:00
commit c50e43201c
4 changed files with 7 additions and 10 deletions

View file

@ -406,7 +406,7 @@ async def serve_media(path: str, request: _Request):
raise _HE(404, "Nicht gefunden.") raise _HE(404, "Nicht gefunden.")
return _media_response(filepath) return _media_response(filepath)
APP_VER = "942" # muss mit APP_VER in app.js übereinstimmen APP_VER = "943" # muss mit APP_VER in app.js übereinstimmen
@app.get("/.well-known/assetlinks.json") @app.get("/.well-known/assetlinks.json")
async def assetlinks(): async def assetlinks():

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung. Router, State-Management, Navigation, Initialisierung.
============================================================ */ ============================================================ */
const APP_VER = '942'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VER = '943'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt
const IS_STAGING = location.hostname === 'staging.banyaro.app'; const IS_STAGING = location.hostname === 'staging.banyaro.app';
// Cache-Bust-Parameter nach Update-Reload sofort entfernen // Cache-Bust-Parameter nach Update-Reload sofort entfernen

View file

@ -3587,13 +3587,10 @@ window.Page_admin = (() => {
const { id, name, tier } = btn.dataset; const { id, name, tier } = btn.dataset;
const tierLabel = { pro: 'Pro', breeder: 'Züchter' }[tier] || tier; const tierLabel = { pro: 'Pro', breeder: 'Züchter' }[tier] || tier;
const ok = await UI.modal.confirm({ const ok = await UI.modal.confirm({
title: `${name} auf ${tierLabel} freischalten?`, title: `${name} auf ${tierLabel} freischalten?`,
body: `<p style="font-size:var(--text-sm)"> message: `Der Account wird auf ${tierLabel} gesetzt und eine Bestätigungsmail gesendet.`,
Der Account wird auf <strong>${tierLabel}</strong> gesetzt und confirmText: 'Freischalten',
eine Bestätigungsmail gesendet. danger: false,
</p>`,
confirmLabel: 'Freischalten',
danger: false,
}); });
if (!ok) return; if (!ok) return;
btn.disabled = true; btn.disabled = true;

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache Offline-Cache + Push Notifications + Tile-Cache
============================================================ */ ============================================================ */
const CACHE_VERSION = 'by-v942'; const CACHE_VERSION = 'by-v943';
const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache