feat: Warnmeldungen für Speichern und Verbindungstest aktualisiert und Versionsnummer auf 1.0.36 erhöht

This commit is contained in:
2026-05-09 13:18:53 +02:00
parent 013e2fc2f6
commit 632f9e348c
2 changed files with 3 additions and 3 deletions

4
app.py
View File

@@ -2351,10 +2351,10 @@ async function utSave(){
if(!share){flash('ut-form-flash','err','Bitte eine Freigabe wählen');return;}
const body={type:'smb',name,dest_path:dest,share,
host:_utConn.host, user:_utConn.user, pass:_utConn.pass};
flash('ut-form-flash','ok','Speichere...');
flash('ut-form-flash','warn','Speichere...');
const r=await api('/upload/targets','POST',body);
if(r.error){flash('ut-form-flash','err',r.error);return;}
flash('ut-form-flash','ok','Teste Verbindung...');
flash('ut-form-flash','warn','Teste Verbindung - Schreibzugriff wird geprüft...');
const t=await api('/upload/targets/'+r.id+'/test','POST');
if(t.ok){flash('ut-form-flash','ok','✓ Verbindung OK - Lesen & Schreiben erfolgreich');utToggleForm();await loadUTs();}
else flash('ut-form-flash','err',''+(t.error||'Test fehlgeschlagen'));

View File

@@ -1 +1 @@
1.0.35
1.0.36