- Components tab replaces Updates: Dawnline, the AmneziaWG build for this firmware (Slava-Shchipunov 2.0 or 2Grey 3.1, Russian translation) and the system packages Dawnline adds, each checked, installed, reinstalled or rolled back in place, with What's new, versions and an activity log - Automatic updates: daily check, install at a set time or right away, per component; AmneziaWG is left out by default and an automatic run never switches its build or generation - Downloads verified against GitHub's sha256; mirrors are used only when GitHub is unreachable and the hash is known - New installer: checks firmware, clock, space and DNS, lets you pick a release, shows the plan and asks first; --dry-run - New uninstaller removes everything Dawnline added (cron, nft, firewall, routing, interfaces, packages it installed); --dry-run - Works without AmneziaWG on the router: Overview, the setup wizard, Health and Components say what is missing and offer to install it - Overview shows failed health checks as notices with their fix - People list no longer reads the config from the browser: private keys stay on the router; personal links are fetched on demand - Config changes are serialized under one lock, the nft table loads atomically and fails closed, and Dawnline never touches network sections it did not create - The portal never opens system ports, keeps disabled devices disabled, rate-limits per address and counts days by the router's clock - Settings and Diagnostics load their heavy parts in the background - Release notes are written from the commits since the previous release - Backend and admin UI split into small single-purpose modules
This commit is contained in:
1 parent
70a932b8ea
commit
34293fb8e5
158 files changed
+17418
-10022
No files matched your search
@@ -0,0 +1,53 @@
|
||||
// Dawnline admin styles, built on the Outline theme's design tokens
|
||||
// (luci-theme-outline: --panel-bg, --border, --muted, --accent, --success-a15,
|
||||
// …). Every token has a fallback so other themes still get a sane look.
|
||||
// Outline switches dark mode with html[data-darkmode], and its tokens follow
|
||||
// it automatically, so nothing here needs a dark variant.
|
||||
//
|
||||
// One file per feature, imported as text (tsup minifies them, see
|
||||
// tsup.config.ts) and joined in cascade order: later files override earlier ones.
|
||||
//
|
||||
// The <style> element is rendered inside each view (not <head>): Outline's
|
||||
// same-document router treats unknown head styles as a reason to reload.
|
||||
|
||||
import base from './base.css';
|
||||
import people from './people.css';
|
||||
import controls from './controls.css';
|
||||
import disguise from './disguise.css';
|
||||
import overview from './overview.css';
|
||||
import dialogs from './dialogs.css';
|
||||
import portalSettings from './portal-settings.css';
|
||||
import health from './health.css';
|
||||
import layout from './layout.css';
|
||||
import map from './map.css';
|
||||
import person from './person.css';
|
||||
import drawer from './drawer.css';
|
||||
import settings from './settings.css';
|
||||
import components from './components.css';
|
||||
import access from './access.css';
|
||||
|
||||
export const CSS = [
|
||||
base,
|
||||
people,
|
||||
controls,
|
||||
disguise,
|
||||
overview,
|
||||
dialogs,
|
||||
portalSettings,
|
||||
health,
|
||||
layout,
|
||||
map,
|
||||
person,
|
||||
drawer,
|
||||
settings,
|
||||
components,
|
||||
access,
|
||||
].join('\n');
|
||||
|
||||
/** A <style> element for the view root (see the note at the top). */
|
||||
export function styleNode(): HTMLStyleElement {
|
||||
const el = document.createElement('style');
|
||||
el.dataset.dawnline = '1';
|
||||
el.textContent = CSS;
|
||||
return el;
|
||||
}
|
||||
Reference in new issue
Block a user