github MarekWo/mc-webui v2.13.0
mc-webui 2.13.0

latest releases: v2.20.2, v2.20.1, v2.20.0...
3 months ago

Features

  • Neighbour lists can now be tidied up and refreshed on demand. A repeater's neighbour list under My Repeaters → Neighbors could only be read: nodes that had moved away or gone off the air stayed in it, and there was no way to ask the repeater to go looking for new ones — both are ordinary buttons in the standard MeshCore app, and both were missing here. A ⋮ menu next to Refresh now holds Discover neighbours, which has the repeater broadcast a zero-hop discovery request that nearby repeaters answer over the following minute, and Remove all neighbours, which empties the list after a confirmation. Single entries go through the list itself: selecting a neighbour — a row, or its marker on the map — opens a dialog with its pubkey prefix, SNR, last-heard time and position, with a Remove from list button under them. The dialog exists rather than a trash icon in each row because on a phone that row is already tight enough to truncate names, and a delete button at the edge of a scrolling list is the easiest thing on the panel to hit by accident. Everything here needs an admin login; a guest sees the same details, just no buttons. Worth knowing: the list belongs to the repeater, so a removed neighbour comes straight back the moment it is heard again — this tidies a stale list, it does not block anybody. While the panel was open, the neighbour table also stopped pushing the whole page sideways on a narrow phone when a node has a long name.

  • Notifications now say who wrote what, where — and tapping one takes you there. A new message used to produce the same line every time, New: 1 channel, with the app's own name on top and nothing else: not the sender, not the text, not even which channel it landed on. Tapping it did no more than bring the app forward, wherever it happened to have been left. Everything needed was already arriving with the message and simply was not being used. A channel message now shows the channel as the title and sender: message underneath, a direct message shows the sender's name and the message itself, and each conversation keeps its own notification instead of one shared line, so a busy channel cannot bury a DM. When several messages arrive in the same place while you are away they collapse into one notification carrying the newest text, with a count beside the name — #krakow (4) — rather than replacing each other silently. Tapping opens the conversation it is about: the channel, or the direct-message panel on that contact. That works whether the app was already running or started from cold, in the Android app and in the browser alike, and it reaches the right place without reloading the interface when the app was merely in the background.

Fixes

  • One corrupted advert no longer empties the contacts map. Switching Cache on over the contacts map could leave you looking at a blank map of the world with not one of your contacts on it, and the Path Analyzer could draw a route as a single line stretching across the globe. Nothing was wrong with the contacts you could not see. Adverts arrive over the radio unchecked, and a packet mangled in flight can carry a position that is not a position at all — a latitude of 1642 degrees, a longitude of -1768. One such entry is enough, because the map fits itself around everything it is given: it zooms out until that impossible point is on screen, and every real contact ends up several world-widths away, outside the window. The tester who reported this had exactly two of them among 2131 cached contacts. Positions outside the range the Earth actually has are now thrown away rather than stored, thrown away again on the way out to the browser so a cache that already holds some heals itself the moment you update, and refused once more by the map itself. The contact is still kept and still listed — it simply no longer claims to be anywhere. The same check now guards every map in the app: contacts, repeaters, a repeater's neighbours and the Path Analyzer, which had its own looser version of the rule and would place a node reporting a longitude of exactly zero off the coast of Africa.

  • Demo mode no longer locks the sidebar layout setting, which was only ever yours. On an instance running in demo mode the whole Settings → Interface tab was greyed out, and that swept up one control that had no business being there: the width at which the sidebar appears. That number is stored in your own browser, exactly like the theme and the quick-access bar, so changing it never touched anybody else's view of the instance — it was locked only because it happened to sit on the same tab as the toast settings, which genuinely are shared and stay locked. The rule the guard was meant to follow is that a preference living in your browser is yours to change: theme, desktop notifications, the quick-access bar and where its items go were all already allowed, and the layout breakpoint now joins them.

  • New messages on the channel you had open no longer arrive in silence, and old unread ones stop announcing themselves as new. Two separate faults made notifications look unreliable even while the app was awake and connected. The first: a message on whichever channel you last had on screen was quietly excluded from notifications, on the assumption that you were looking at it — which is exactly wrong once the app is in the background, and meant that anyone who left mc-webui on their busiest channel was told about every channel except that one. A channel now counts as open only while somebody is actually looking at it. The second: the first time the app compared its unread counts against the server it treated the entire backlog as having just arrived, so a page that loaded in the background could announce New: 492 channels about messages that were days old. That first comparison is now only a measurement, and anything already unread when the app starts is treated as history rather than news.

  • Still unresolved: notifications going quiet after a while on Android. The changes above fix what a notification says and where it takes you, but not the separate problem of the Android app falling silent some minutes after you switch away from it. That has a different cause — Android freezes apps that have nothing running in the foreground, which stops the connection the notifications depend on — and no setting on the phone can prevent it. Fixing it properly needs a background service in the app itself, which is planned for a later release.

Don't miss a new mc-webui release

NewReleases is sending notifications on new releases.