Dawnline 0.4.2
Build packages / Version (push) Canceled after 0s
Build packages / Build apk (push) Canceled after 0s
Build packages / Build ipk (push) Canceled after 0s
Build packages / Release (push) Canceled after 0s

- Connections show up at once: the agent looks at the tunnels every
  second and, the moment a device connects or roams, writes it to the
  activity log, updates traffic and the map, and locates the new address
- A device counts as gone when its WireGuard session expires (1-3 min
  after it leaves), so a phone asleep no longer flaps between
  disconnect and connect
- The admin pages follow along within seconds: Overview, People, the
  person page and the device panel refresh when something happens, with
  a light check every 2 s instead of reloading everything every 10 s
- The personal portal no longer refreshes itself in the background:
  every request costs the router a CGI process, so it loads once and
  after the visitor's own changes
- Agent guidance and code standards (backend, frontend, shell, UI) now
  live in the repository: AGENTS.md and rules/
This commit is contained in:
Aemeath committed 2026-10-16 03:52:21 +03:00
1 parent 6444722d14
commit 29b1d7dfd7
26 files changed
+419 -104

No files matched your search

+4 -2
View File
@@ -91,12 +91,14 @@ export class PersonPage {
if (dev) setTimeout(() => openDevice(this.p, dev, this.deviceOpts()), 50);
else if (q.get('add')) setTimeout(() => addDevice(this.p, this.deviceOpts()), 50);
this.poller = createPoller({
fetch: () => {
const full = this.fullNext || ++this.ticks % 4 === 0;
// The activity log comes with every fourth tick, and whenever something just happened.
fetch: (live) => {
const full = live || this.fullNext || ++this.ticks % 4 === 0;
this.fullNext = false;
return this.fetch(full);
},
every: 15,
live: true,
active: () => root.isConnected,
apply: (data, quiet) => this.apply(data, quiet),
});