v0.321.0: FileBrowser's stale password and its own banners; one backup section on the Data tab; install address of an installed app
gates / gates (push) Successful in 43s
gates / gates (push) Successful in 43s
R-1101: the change-it line is gone for FileBrowser; in the generated state the page asks FileBrowser whether
the stored password still logs in (only its own 401/403 counts) and, refused, says so and offers the
new-password press. The rendered FileBrowser config switches off its update notice and its Install-app
prompt. The Data tab's backup part is one section in plain words (no off-drive, no PBS); the export
password eye is a text button. R-1095: /apps/{slug}/install of an installed app 302s to its settings tab.
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -293,50 +293,30 @@ function appMigrate(btn,app,label){
|
||||
|
||||
|
||||
|
||||
<div class="app-section">
|
||||
<h3>Biztonsági mentés</h3>
|
||||
|
||||
<div class="cross-drive-nightly">
|
||||
<span class="form-hint" style="display:block;margin-top:.25rem">
|
||||
Az alkalmazás adatbázisa és Docker kötetei automatikusan bekerülnek az éjszakai biztonsági mentésbe.
|
||||
<a href="/backups" style="color:var(--blue)">Mentési állapot →</a> · <a href="/stacks/privatebin/backup" style="color:var(--blue)">Mentési beállítások →</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="app-section" id="app-backup-section" data-backup-section="1">
|
||||
<h3>Biztonsági mentés</h3>
|
||||
<div class="app-field-row" data-backup-row="nightly">
|
||||
<div class="app-field-label">Éjszakai mentés</div>
|
||||
<div class="app-field-value">Az alkalmazás adatbázisa és belső tárolói minden éjjel bekerülnek a mentésbe. <a href="/backups" class="app-info-link">Mentési állapot →</a></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="app-section">
|
||||
<h3>2. mentés</h3>
|
||||
|
||||
<p style="color:var(--text-3);font-size:.9rem;margin-top:0">
|
||||
A 2. mentés egy <strong>másik fizikai meghajtóra</strong> készít másolatot az alkalmazás
|
||||
helyreállítási csomagjáról és adatairól. Ez az egyetlen off-drive védelem a böngészhető
|
||||
felhasználói fájlokhoz (a teljes rendszermentés/PBS nem éri el ezeket).
|
||||
</p>
|
||||
<div class="app-field-row" data-backup-row="second">
|
||||
<div class="app-field-label">2. mentés</div>
|
||||
<div class="app-field-value">Bekapcsolva</div>
|
||||
</div>
|
||||
<div class="app-field-row" data-backup-row="target">
|
||||
<div class="app-field-label">Cél meghajtó</div>
|
||||
<div class="app-field-value">HDD kettő</div>
|
||||
</div>
|
||||
<div class="app-field-row">
|
||||
<div class="app-field-label">Kiválasztás módja</div>
|
||||
<div class="app-field-value">automatikus — a legnagyobb szabad hely</div>
|
||||
</div>
|
||||
<p class="app-field-hint" style="margin-top:12px">A 2. mentés egy <strong>másik meghajtóra</strong> másolja az alkalmazás helyreállítási csomagját és adatait. A böngészhető fájljaidat csak ez védi meg egy meghajtóhiba ellen — a teljes rendszermentés ezeket nem tartalmazza.</p>
|
||||
|
||||
|
||||
<h3 style="margin-top:1.5rem">Jelenlegi állapot</h3>
|
||||
<div class="sysinfo-grid">
|
||||
<div class="sysinfo-row">
|
||||
<span class="sysinfo-label">2. mentés</span>
|
||||
<span class="sysinfo-value">Bekapcsolva</span>
|
||||
</div>
|
||||
|
||||
<div class="sysinfo-row">
|
||||
<span class="sysinfo-label">Cél meghajtó</span>
|
||||
<span class="sysinfo-value">HDD kettő</span>
|
||||
</div>
|
||||
<div class="sysinfo-row">
|
||||
<span class="sysinfo-label">Kiválasztás módja</span>
|
||||
<span class="sysinfo-value" style="color:var(--text-3)">automatikus — a legnagyobb szabad hely</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<form method="POST" action="/stacks/privatebin/backup" style="margin-top:1.5rem">
|
||||
<form method="POST" action="/stacks/privatebin/backup" style="margin-top:1.5rem" data-second-backup-form="1">
|
||||
|
||||
<div class="form-group">
|
||||
<label style="display:flex;align-items:center;gap:.5rem">
|
||||
@@ -352,8 +332,7 @@ function appMigrate(btn,app,label){
|
||||
</select>
|
||||
|
||||
<div style="font-size:.8rem;color:var(--text-3);margin-top:.4rem">
|
||||
Nincs másik adatmeghajtó — automatikus cél a belső SSD (csak DB/konfiguráció). Egy 2.
|
||||
adatmeghajtó hozzáadásával a teljes adat is off-drive menthető.
|
||||
Nincs másik adatmeghajtó — automatikusan a belső SSD-re kerül (csak az adatbázis és a beállítások). Egy 2. adatmeghajtóval a teljes adat is másik meghajtóra menthető.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -364,7 +343,6 @@ function appMigrate(btn,app,label){
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="app-section">
|
||||
<h3>Exportálás</h3>
|
||||
<h4 style="font-size:14px;font-weight:600;margin:12px 0 6px">Mentés helye</h4>
|
||||
@@ -415,7 +393,7 @@ function appMigrate(btn,app,label){
|
||||
<h3>Jelszó (opcionális)</h3>
|
||||
<div style="display:flex;gap:.5rem;margin-bottom:1rem">
|
||||
<input type="password" id="exportPassword" class="form-control" placeholder="Titkosítási jelszó" style="flex:1">
|
||||
<button class="btn btn-sm btn-outline" onclick="togglePw()" type="button" title="Jelszó mutatása">👁</button>
|
||||
<button class="btn btn-sm btn-outline" onclick="togglePw(this)" type="button" id="exportPwToggle" aria-label="Jelszó mutatása">Megjelenítés</button>
|
||||
</div>
|
||||
|
||||
<label style="display:flex;align-items:flex-start;gap:.5rem;margin-bottom:.5rem;cursor:pointer">
|
||||
@@ -456,9 +434,11 @@ function csrfH() {
|
||||
return el ? {'X-CSRF-Token': el.content, 'Content-Type': 'application/json'} : {'Content-Type': 'application/json'};
|
||||
}
|
||||
|
||||
function togglePw() {
|
||||
function togglePw(btn) {
|
||||
var inp = document.getElementById('exportPassword');
|
||||
inp.type = inp.type === 'password' ? 'text' : 'password';
|
||||
var show = inp.type === 'password';
|
||||
inp.type = show ? 'text' : 'password';
|
||||
if (btn) { btn.textContent = show ? 'Elrejtés' : 'Megjelenítés'; }
|
||||
}
|
||||
|
||||
async function loadEstimate() {
|
||||
|
||||
Reference in New Issue
Block a user