v0.308.0: controller batch 2026-10-12 — clear-address warning (R-922), secret sweep over every page (R-255), read_failed (R-266), no NVMe heat band (R-333), share globe (R-577), Hungarian dates and numbers (R-562), lost-drive option pinned (R-521)
Operator rulings 2026-10-12, 09 §3 decisions 196, 204-207, 223, 227. MinAgent 0.131.0 unchanged. R-255's sweep found one leak, fixed here: an optional-config secret_input was rendered into its settings page; it is now revealed on demand. Hungarian parity fixtures re-captured once for R-562. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -15,6 +15,11 @@
|
||||
|
||||
document.documentElement.className=document.documentElement.className.replace('no-js','js');
|
||||
function csrfHeaders(){var el=document.querySelector('meta[name="csrf-token"]');return el?{'X-CSRF-Token':el.content}:{};}
|
||||
var fhEN=document.documentElement.lang==='en';
|
||||
function fhNum(v,prec){var s=Number(v).toFixed(prec);return fhEN?s:s.replace('.',',');}
|
||||
function fhIsoDate(iso){return fhEN?iso:iso.replace(/^(\d{4})-(\d{2})-(\d{2})/,'$1. $2. $3.');}
|
||||
function fhDateTime(d){return fhIsoDate(d.toLocaleString('sv-SE',{timeZone:'Europe/Budapest',year:'numeric',month:'2-digit',day:'2-digit',hour:'2-digit',minute:'2-digit'}));}
|
||||
function fhMonthDay(d){var s=d.toLocaleDateString('sv-SE',{timeZone:'Europe/Budapest',month:'2-digit',day:'2-digit'});return fhEN?s:s.replace(/^(\d{2})-(\d{2})$/,'$1. $2.');}
|
||||
|
||||
|
||||
|
||||
@@ -476,19 +481,23 @@
|
||||
<label for="opt-API_KEY">API kulcs mező</label>
|
||||
<p class="config-field-help">Ide jön a kulcs</p>
|
||||
<p class="config-field-help"><a href="https://example.org/reg" target="_blank">Regisztrációs útmutató ↗</a></p>
|
||||
<input type="password"
|
||||
id="opt-API_KEY"
|
||||
name="API_KEY"
|
||||
class="config-input"
|
||||
value="abc123"
|
||||
placeholder="API kulcs mező"
|
||||
autocomplete="off">
|
||||
|
||||
|
||||
|
||||
<div class="input-with-button">
|
||||
<input type="password" id="opt-API_KEY" name="API_KEY" class="config-input"
|
||||
value="" placeholder="••••••••••••"
|
||||
data-secret-set="1" autocomplete="off">
|
||||
<button type="button" class="btn btn-sm btn-outline" onclick="revealAutoField('privatebin','API_KEY', this, 'opt-API_KEY')">Megjelenítés</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="config-field">
|
||||
<label for="opt-OTHER">Másik mező itt</label>
|
||||
|
||||
|
||||
|
||||
<input type="text"
|
||||
id="opt-OTHER"
|
||||
name="OTHER"
|
||||
@@ -496,6 +505,7 @@
|
||||
value=""
|
||||
placeholder="Másik mező itt"
|
||||
autocomplete="off">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -518,6 +528,8 @@
|
||||
|
||||
var values = {};
|
||||
inputs.forEach(function(input) {
|
||||
|
||||
if (input.dataset.secretSet === '1' && input.dataset.revealed !== '1' && input.value === '') return;
|
||||
values[input.name] = input.value;
|
||||
});
|
||||
|
||||
@@ -989,15 +1001,17 @@ function revealPasswordField(stackName, envVar, btn) {
|
||||
if (!j.ok) { showAlert(j.error || 'A lekérés nem sikerült.'); return; }
|
||||
el.value = j.data.value;
|
||||
el.type = 'text';
|
||||
el.dataset.revealed = '1';
|
||||
btn.dataset.shown = '1';
|
||||
}).catch(function () { btn.disabled = false; showAlert('A lekérés nem sikerült.'); });
|
||||
}
|
||||
function revealAutoField(stackName, envVar, btn) {
|
||||
var el = document.getElementById('auto-field-' + envVar);
|
||||
function revealAutoField(stackName, envVar, btn, elId) {
|
||||
var el = document.getElementById(elId || ('auto-field-' + envVar));
|
||||
if (!el) return;
|
||||
if (btn.dataset.shown === '1') {
|
||||
el.value = '';
|
||||
el.type = 'password';
|
||||
el.dataset.revealed = '';
|
||||
btn.dataset.shown = '';
|
||||
btn.textContent = 'Megjelenítés';
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user