Support multiple sysops and bulletin comments; complete UI translations
Allow native SYSOP accounts to sign in independently, with an optional sysopUsers allow-list and isolated browser sessions. Keep station services on the configured service account. Add public bulletin comments that preserve category and distribution, alongside private replies to the author. Complete APRS and dynamic status translations and handle decorated button labels correctly. Document configuration and reply behavior. Add authentication, installer, bulletin reply and translation regression coverage.
This commit is contained in:
1 parent
33f1294405
commit
2ef3c25eb3
16 files changed
+298
-23
No files matched your search
@@ -16,7 +16,7 @@
|
||||
function renderSelected(){const p=port();if(!p)return;const originalRadio=station.radio,originalControl=window.bpqRadioControl;station.radio={id:p.id,name:p.name,driver:p.driver};window.bpqRadioControl={txSuspended:data.global.txSuspended||p.control.txSuspended||!p.control.listening};
|
||||
try{legacyRender({current:p.current,history:p.history});$('#radio-status').textContent=!p.control.listening?'PORTA FERMA':window.bpqRadioControl.txSuspended?'TX SOSPESO':!p.current.available?'OFFLINE':p.current.ptt?'TX':p.current.active?'LINK ATTIVO':'IN ASCOLTO';$('#session-detail').textContent=p.name;$('#modem-traffic').textContent=p.current.sent!=null?'TX '+size(p.current.sent)+' / RX '+size(p.current.received||0):'TX '+rate(p.current.txFrames)+' / RX '+rate(p.current.rxFrames)+' frame';$('#bps-value').textContent=p.current.txBps==null&&p.current.rxBps==null?'—':rate((p.current.txBps||0)+(p.current.rxBps||0));$('#bps-caption').textContent=p.current.txBps==null?'Statistiche frame BPQ':'TX '+rate(p.current.txBps)+' / RX '+rate(p.current.rxBps)+' bit/s';$('#radio-scan').textContent=p.current.scan?'● Scansione attiva':p.control.listening?'● Frequenza fissa':'● Porta ferma';$('#radio-modem').textContent='PORT '+p.id+' · '+p.driver;}
|
||||
finally{station.radio=originalRadio;window.bpqRadioControl=originalControl;}
|
||||
document.querySelector('.modem-brand').textContent='PORTE RADIO';
|
||||
document.querySelector('.modem-brand').textContent=BPQI18n.t('PORTE RADIO');
|
||||
const packet=/KISS|AX25|AX\.25/i.test(p.driver),cards=document.querySelectorAll('.telemetry-grid article');cards[1].querySelector('header>span').textContent=packet?'FRAME AX.25':'SNR / BPQ';cards[2].querySelector('header>span').textContent=packet?'TIMEOUT L2':/VARA/i.test(p.driver)?'CPU VARA':'CPU MODEM';cards[2].querySelector('footer').textContent=packet?'Contatore BPQ':'Processo modem · ogni 5 s';
|
||||
if(packet){$('#snr-value').textContent=rate(p.current.txFrames)+' / '+rate(p.current.rxFrames);$('#snr-chart').innerHTML=graph(p.history,['txFrames','rxFrames'],'frame AX25',10);$('#snr-caption').textContent='TX / RX · contatori BPQ';$('#vara-cpu-value').textContent=rate(p.current.timeouts);$('#vara-cpu-chart').innerHTML=graph(p.history,['timeouts'],'timeout L2',5);}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user