NOC notifications: the last 10 minutes, readable, foldable and openable

The NOC's 'Recent events' (S.log) becomes the notification inbox instead of
a separate one. Entries now keep a wall-clock time, a title, a repeat count
and what they are about, and the NOC shows the last ten minutes right after
the incidents rather than at the bottom: title, short text, 'n min ago',
x N for repeats within a minute, and Open.

Open targets come from the notice itself (incidents via their ref, DDoS,
badges, goals, exchange ports and sessions, resolved incidents), then from
its own navigation button, then from the city or link its text names; 45 of
46 notices in a 60-day test game get one. A link or customer that is gone
says so. Unread counts show on the NOC chip and the phone NOC tab (not red:
red stays for incidents). Entries are validated in sanitize().
This commit is contained in:
Frederic Jung 2026-10-26 22:47:44 +01:00
parent 4643adb2ea
commit 37038e922d
No known key found for this signature in database
6 changed files with 158 additions and 24 deletions

View file

@ -1038,7 +1038,6 @@
"<b>The internet is back.</b><br>Half of it, anyway. Everything was patched in a hurry and nobody learned anything.":"<b>Internet è tornato.</b><br>Almeno metà. Tutto è stato patchato di corsa e nessuno ha imparato niente.",
"<b>{net} de-peered you at {ix} in {city}.</b><br>{why} Traffic falls back to your next best path.":"<b>{net} ti ha tolto il peering su {ix} a {city}.</b><br>{why} Il traffico ripiega sul miglior percorso rimasto.",
"<b>License granted!</b><br>Your joint venture can now build POPs in mainland China.":"<b>Licenza concessa!</b><br>La tua joint venture ora può costruire POP nella Cina continentale.",
"<b>Resolved:</b> {what} is fixed.":"<b>Risolto:</b> {what}, tutto sistemato.",
"<b>Customer level {lv}: {name}</b><br>New customers unlocked: {unlock}":"<b>Livello clienti {lv}: {name}</b><br>Nuovi clienti sbloccati: {unlock}",
"Your fiber is finished: {a}–{b}":"La tua fibra è pronta: {a}–{b}",
"Dark fiber handed over: {a}–{b}":"Dark fiber consegnata: {a}–{b}",
@ -1379,7 +1378,6 @@
"Auto-fix in {n} day":"Si risolve da solo tra {n} giorno",
"Auto-fix in {n} days":"Si risolve da solo tra {n} giorni",
"{g} lost":"{g} persi",
"Recent events":"Eventi recenti",
"Incidents so far":"Incidenti finora",
"Survived with no impact":"Superati senza danni",
"Transit":"Transit",
@ -2813,5 +2811,18 @@
"A cross-connect with a small network takes a few weeks. The big content networks, Tier 1s and big eyeball networks quote 6 to 12 months for a new PNI or an augment, and the content networks and Tier 1s start at 100G. Doitsche Telekomm still sells 1G.":"Un cross-connect con una rete piccola richiede qualche settimana. Le grandi reti di contenuti, i Tier 1 e i grandi operatori di accesso parlano di 6-12 mesi per una nuova PNI o un ampliamento, e le reti di contenuti e i Tier 1 partono da 100G. Doitsche Telekomm vende ancora 1G.",
"Every IX port brings peering requests and max-prefix alerts, in the Networks tab. A session that blows past its limit is down until you look: raise the limit for growth, keep it down for a leak. Ignore your mail and selective networks get pickier.":"Ogni porta IX porta richieste di peering e allarmi max-prefix, nella scheda Reti. Una sessione che supera il limite resta giù finché non ci guardi: alza il limite se è crescita, tienila giù se è un leak. Ignora la posta e le reti selettive diventano più esigenti.",
"No navigable sea route connects these landing stations.": "Nessuna rotta marittima navigabile collega queste stazioni di approdo.",
"Surveying a sea route\u2026":"Ricerca di una rotta marittima…"
"Surveying a sea route\u2026":"Ricerca di una rotta marittima…",
"<b>That link is gone.</b><br>It was removed or decommissioned since.":"<b>Quel link non c’è più.</b><br>Nel frattempo è stato rimosso o dismesso.",
"<b>That customer is gone.</b><br>The contract ended since.":"<b>Quel cliente non c’è più.</b><br>Nel frattempo il contratto è finito.",
"{n} new notification":"{n} nuova notifica",
"{n} new notifications":"{n} nuove notifiche",
"just now":"proprio ora",
"{n} min ago":"{n} min fa",
"Notifications":"Notifiche",
"last 10 minutes":"ultimi 10 minuti",
"Nothing in the last 10 minutes.":"Niente negli ultimi 10 minuti.",
"Show fewer":"Mostra meno",
"Show all {n}":"Mostra tutte e {n}",
"<b>Resolved: {what}</b><br>{where} is back to normal.":"<b>Risolto: {what}</b><br>{where} è tornato alla normalità.",
"<b>Resolved: {what}</b>":"<b>Risolto: {what}</b>",
};