Dawnline 0.20.0
Build packages / CI (push) Blocked by required conditions
Build packages / Version (push) Waiting to run
CI / Web (format, types, tests, bundles) (push) Blocked by required conditions
CI / ShellCheck (push) Blocked by required conditions
CI / Backend (Go: vet, tests, a real ubusd and uhttpd) (push) Blocked by required conditions
CI / Package files (push) Blocked by required conditions
Build packages / CI (push) Blocked by required conditions
Build packages / Version (push) Waiting to run
CI / Web (format, types, tests, bundles) (push) Blocked by required conditions
CI / ShellCheck (push) Blocked by required conditions
CI / Backend (Go: vet, tests, a real ubusd and uhttpd) (push) Blocked by required conditions
CI / Package files (push) Blocked by required conditions
- **Backend rewritten in Go.** One daemon, `dawnlined`, replaces the whole ucode backend: the rpcd plugin, the agent, the CLI and the updater. The package no longer depends on ucode. - **Per-architecture builds.** The release carries the backend for arm64, ARMv7, mips, mipsle and amd64; the router fetches its own after the package is installed and checks its sha256. Dawnline does not run on other architectures (older ARM, 32-bit x86, RISC-V). - **Faster on the router.** A firewall sync takes 0.06 s instead of 0.9 s; a full apply takes about 300 ms. The portal is served by the daemon itself, without a CGI process per request. - **Live pages.** The admin and the portal follow a live stream from the router instead of re-fetching the whole state every 30 seconds. - **Admin redesigned in the portal's style.** Three sections (Overview · Log · Settings); a server is a page of its own with People, Places and Settings; a device opens as a dialog over its person. - **Changes wait for «Apply».** Every setting, and a person's access, is staged in one dock before it reaches the router. - **Configuration rollout.** After a change that makes devices fetch their configuration again, the admin shows how many have fetched it and who has not. Every setting shows beforehand (⟳N) how many devices it will touch. - **Waiting for a decision.** Overview and People put first the people who need one (access ended, limit reached, a device that does not connect), each with its one action a tap away. - **Bulk actions on people.** «Select» (or a long press on a card) picks several people to extend by a month, pause or resume at once. - **Undo.** An action done from a card or a request is undone from its toast. - **Update dialogs redesigned.** An update is one view from its question to its result; Dawnline's own update runs in it like every other, and the page reloads itself once the new version answers. Other versions are a list, each with its notes and Install on a page of its own. - **Site to site: networks behind a router.** A router connected as a device can have networks behind it (up to eight, /16 to /30): the server routes them and applies the router's access to them. A network that shares addresses with a tunnel, the router's own networks or another site is refused by name. - **Routers from the portal.** People can add a router and name its networks on their own page; the admin accepts or declines with a reason, or lets them through without asking. - **Check access and Health know the networks behind routers.** - **Usage limits reworked.** A monthly limit no longer follows the calendar. A person's month starts with their first traffic and ends a month later; the next one starts only when they connect again, so time away uses up none of it. Before, everyone's limit reset on the 1st. - Extra data lasts until that person's month ends; «Reset usage» starts the month anew. - A limit is for a month or for the whole term; the admin and the portal show when it resets. - Charts that said «this month» show the last 30 days. - After the update nobody loses what was counted: the month that was running becomes the person's first and ends on the 1st. - **Access by time of day removed.** The Hours limit is gone from the admin, the portal and the backend; saved hours are dropped. - **Expiry simplified.** An end date always stops access, with a heads-up three days before; the per-person choice is gone. - **No false disconnects from sleeping phones.** A phone or a tablet stays online through ten minutes of silence. - **Mobile Safari fixes.** Pressing a control no longer sends the page to its top; tab tracks that do not fit scroll; switches animate after a press.
This commit is contained in:
1 parent
f8130e39a8
commit
ac90575b0b
788 files changed
+139244
-41720
No files matched your search
@@ -0,0 +1,148 @@
|
||||
// The backend's messages that reach the portal's visitors, for the translations' extractor (web/i18n/extract.ts reads this file as it read
|
||||
// the ucode sources): what the Go backend says to people. _() a sentence in the reader's language, N_() one
|
||||
// with a plural, L_() a line of the service log (written in English, translated where it is shown).
|
||||
//
|
||||
// The Go code asks the catalog by these very words (i18n.Catalog.T, N). A sentence the backend says that is
|
||||
// not listed here has no translation: when you add or change one in backend/, add or change it here, then
|
||||
// run "npm run i18n" in web/ and translate it (rules/i18n.md). Nothing runs this file.
|
||||
function portalMessages() {
|
||||
L_("AmneziaWG is missing from the router");
|
||||
L_("AmneziaWG is running again · accepting connections on port %d");
|
||||
L_("AmneziaWG is running again");
|
||||
L_("AmneziaWG isn't accepting connections on port %d");
|
||||
L_("AmneziaWG isn't running");
|
||||
L_("Choose a disguise in Settings → Disguise: it replaces the values set by hand.");
|
||||
L_("Choose another interface name in the server settings.");
|
||||
L_("Install that AmneziaWG build in Settings → Updates, or switch the disguise in Settings → Disguise.");
|
||||
L_("Missing: %s.");
|
||||
L_("can't use the network interface %s: it exists and isn't Dawnline's");
|
||||
L_("couldn't load devices into the tunnel");
|
||||
L_("has an invalid interface name \"%s\"");
|
||||
L_("is kept down");
|
||||
L_("is kept down: its disguise has values AmneziaWG cannot take");
|
||||
L_("is kept down: its disguise needs AmneziaWG %s (installed: %s)");
|
||||
L_("is kept down: its disguise needs AmneziaWG %s (installed: none)");
|
||||
L_("is ready again");
|
||||
L_("isn't installed: no tunnel can run - install it in Dawnline → Components");
|
||||
L_("isn't known to the network service - restart the network or reboot");
|
||||
L_("kernel module isn't installed: no tunnel can run - install it in Dawnline → Components");
|
||||
L_("kernel module isn't loaded");
|
||||
L_("loading it");
|
||||
L_("netifd reads its protocol handlers when it starts; it was running before AmneziaWG was installed.");
|
||||
L_("restarting it");
|
||||
L_("setting it up again");
|
||||
N_(0, "%s already has %d device. Remove one first to lower the limit to %d.", "%s already has %d devices. Remove one first to lower the limit to %d.");
|
||||
_("%s and %s overlap: each packet type needs values of its own.");
|
||||
_("%s can't use the network interface %s: it exists and isn't Dawnline's.");
|
||||
_("%s cannot be changed for several people at once.");
|
||||
_("%s has a tag that is not closed with >.");
|
||||
_("%s has an invalid interface name \"%s\".");
|
||||
_("%s has no room for every device on %s.");
|
||||
_("%s is in the list twice.");
|
||||
_("%s is kept down.");
|
||||
_("%s is kept down: its disguise has values AmneziaWG cannot take. %s");
|
||||
_("%s is kept down: its disguise needs AmneziaWG %s (installed: %s).");
|
||||
_("%s is kept down: its disguise needs AmneziaWG %s (installed: none).");
|
||||
_("%s may not contain # or a line break.");
|
||||
_("%s must be a number or a range like 10-100, up to 65535.");
|
||||
_("%s must be a number or a range like 100-200, up to 4294967295.");
|
||||
_("%s must be a number or a range like 5-15, from 1 to 65535.");
|
||||
_("%s must be a value, not a list.");
|
||||
_("%s must be a whole number from 0 to 65535.");
|
||||
_("%s must be at least 12 with header protection.");
|
||||
_("%s must be from %d to %d.");
|
||||
_("%s must be on or off.");
|
||||
_("%s: <%s> is not a tag AmneziaWG apps accept: use <b 0x…> with an even number of hex digits, <r N>, <rc N> or <rd N> with N from 1 to 1000, or <t>.");
|
||||
_("Access must be lan, internet or both.");
|
||||
_("Adding devices isn't available right now: the VPN server isn't ready. Ask whoever sent you this link.");
|
||||
_("AmneziaWG is not installed (%s): install it in Dawnline → Components.");
|
||||
_("AmneziaWG is not installed: install it in Dawnline → Components.");
|
||||
_("At most %d people at once.");
|
||||
_("Circle %s: server %s does not exist.");
|
||||
_("Cross-site request refused.");
|
||||
_("Data limit must be a positive number of GB.");
|
||||
_("Device %s of %s: MTU %d is not between 1280 and 1500.");
|
||||
_("Device %s of %s: address %s is also used by device %s of %s.");
|
||||
_("Device %s of %s: address %s is not a plain IPv4 address.");
|
||||
_("Device %s of %s: address %s is outside %s's tunnel %s.");
|
||||
_("Device %s of %s: address %s is the router's own address on %s.");
|
||||
_("Device %s of %s: address (none) is not a plain IPv4 address.");
|
||||
_("Device %s of %s: keep-alive %d is not between 0 and 600 seconds.");
|
||||
_("Device %s of %s: the preshared key is not a key.");
|
||||
_("Device %s of %s: the private key is not a key.");
|
||||
_("Device %s of %s: the public key is not a key.");
|
||||
_("Device %s of %s: the public key is the server's own.");
|
||||
_("Device %s: person %s does not exist.");
|
||||
_("Device limit must be between 1 and 32.");
|
||||
_("Device limit reached (%d).");
|
||||
_("Device not found.");
|
||||
_("Each change needs the id of a person.");
|
||||
_("End date must be YYYY-MM-DD.");
|
||||
_("Endpoint must be a hostname or IP address.");
|
||||
_("Enter a device name: up to %d letters, digits, spaces and - _ .");
|
||||
_("Extra data must be a positive number of GB.");
|
||||
_("I1-I5 together must be at most 2000 characters, not %d.");
|
||||
_("Interface name: 1-12 lowercase letters, digits or _.");
|
||||
_("Invalid JSON.");
|
||||
_("Invalid public key.");
|
||||
_("Jmin must not be larger than Jmax.");
|
||||
_("Keep-alive must be 0-600 seconds.");
|
||||
_("Key generation failed (is amneziawg-tools installed?).");
|
||||
_("Key generation failed (no random data).");
|
||||
_("Key generation failed.");
|
||||
_("MTU must be 1280-1500.");
|
||||
_("Method not allowed.");
|
||||
_("Monthly data must be a positive number of GB.");
|
||||
_("No free address left on %s.");
|
||||
_("No free addresses left in the server subnet.");
|
||||
_("Not found.");
|
||||
_("Nothing to change for %s.");
|
||||
_("Nothing to change.");
|
||||
_("Only the admin can change how a device connects.");
|
||||
_("Only the admin can turn devices off.");
|
||||
_("Open this link over HTTPS to get the connection settings.");
|
||||
_("Paused must be true or false.");
|
||||
_("Person %s: circle %s does not exist.");
|
||||
_("Person %s: has the same personal link as %s.");
|
||||
_("Person %s: home service %s does not exist.");
|
||||
_("Person %s: server %s does not exist.");
|
||||
_("Port must be 1-65535.");
|
||||
_("RejectAfterTime must be at most 180 seconds.");
|
||||
_("Request too large.");
|
||||
_("S2 must not be S1 + 56: the handshake initiation and response would have the same size.");
|
||||
_("Set up a server first.");
|
||||
_("Something went wrong on the router. Try again; if it goes on, look at the Log.");
|
||||
_("Subnet must look like 10.77.0.0/24.");
|
||||
_("Subnet overlaps %s.");
|
||||
_("The admin has turned this device off.");
|
||||
_("The header protection key is not a key.");
|
||||
_("The id may use lowercase letters, digits and underscores.");
|
||||
_("The person has no server.");
|
||||
_("This key is already in use.");
|
||||
_("Too many changes in a short time. Try again in a few minutes.");
|
||||
_("Unknown DNS choice.");
|
||||
_("Unknown action.");
|
||||
_("Unknown circle.");
|
||||
_("Unknown device type.");
|
||||
_("Unknown device.");
|
||||
_("Unknown person.");
|
||||
_("Unknown server.");
|
||||
_("Unknown service %s.");
|
||||
_("Your access has ended.");
|
||||
_("Your access is paused.");
|
||||
_("\"%s\" already exists.");
|
||||
_("\"%s\" is already taken.");
|
||||
_("Networks %s and %s share addresses.");
|
||||
_("Network %s is not written like 192.168.2.0/24.");
|
||||
_("Network %s is not private (10.x, 172.16-31.x, 192.168.x).");
|
||||
_("Network %s is taken on this server. Ask the admin which addresses are free.");
|
||||
_("Network %s is taken: %s is behind your %s. Two sites need different addresses.");
|
||||
_("Network %s is taken: %s is the tunnel network of %s. The two ends of a tunnel need different addresses.");
|
||||
_("Network %s is taken: the router has %s itself. The two ends of a tunnel need different addresses.");
|
||||
_("Network %s is too wide: /%d at the most.");
|
||||
_("A router has %d networks behind it at the most.");
|
||||
_("Add the router as a new device: a device cannot be made one here.");
|
||||
_("Only a router has networks behind it.");
|
||||
_("The admin adds routers on this server. Ask them for one.");
|
||||
_("This router waits for an answer to its request: it has no configuration yet.");
|
||||
}
|
||||
Reference in new issue
Block a user