feat: rebranded from vpn-router to linux-manager.

This commit is contained in:
slawek committed 2026-11-22 09:51:07 +01:00
1 parent 8efe21bfa6
commit 85a1ffa21f
238 files changed
+5010 -3761

No files matched your search

+8 -8
View File
@@ -19,7 +19,7 @@ import ConfirmDialog, { type ConfirmDialogProps } from './ConfirmDialog.tsx'
import OtpDialog from './OtpDialog.tsx'
import PersonDialog from './PersonDialog.tsx'
import ProfileDialog from './ProfileDialog.tsx'
import { Section } from './RouterPanel.tsx'
import { Section } from './ServerPanel.tsx'
import SearchField, { matches } from './SearchField.tsx'
import Toolbar from './Toolbar.tsx'
import UserDialog from './UserDialog.tsx'
@@ -32,7 +32,7 @@ import { saveFile } from './saveFile.ts'
type Kind = 'all' | 'vpn' | 'manager'
/** How console login is changed, which the Manager cannot do. */
const CONSOLE_HELP = 'Console login is switched on the router: vpn-router-user console <name> --posix | --account LOCAL | --off'
const CONSOLE_HELP = 'Console login is switched on the server: linux-manager-user console <name> --posix | --account LOCAL | --off'
/** The console login of a user as a cell: off, the user's own POSIX account with its uid, or the local account, refused without one-time passwords. */
function consoleText(login: Console | null, otp: boolean) {
@@ -44,10 +44,10 @@ function consoleText(login: Console | null, otp: boolean) {
}
/**
* The users of the router's directory, which /users answers without its service accounts (ServiceAccountsPanel): list with their names and
* The users of the server's directory, which /users answers without its service accounts (ServiceAccountsPanel): list with their names and
* e-mail addresses, filtered by kind and by a search in the user name, the names and the e-mail address, add, edit the details, set the password, enrol for one-time passwords and remove the enrolment,
* remove the passkeys, disable, enable, unlock after failed logins, remove, the OpenVPN profile, offered while the
* router's status shows OpenVPN, and the Apple VPN profile of IKEv2, offered while it shows IKEv2 access; console
* server's status shows OpenVPN, and the Apple VPN profile of IKEv2, offered while it shows IKEv2 access; console
* login is shown, not changed.
*/
export default function UsersPanel() {
@@ -68,7 +68,7 @@ export default function UsersPanel() {
const refresh = useCallback(async () => {
setBusy(true)
// The status has openvpn and p2s while the router runs OpenVPN and IKEv2, which the profiles need; null while it is
// The status has openvpn and p2s while the server runs OpenVPN and IKEv2, which the profiles need; null while it is
// not known.
request<RouterStatus>('GET', '/status/full', STATUS_SHAPE)
.then((status) => {
@@ -119,7 +119,7 @@ export default function UsersPanel() {
function removeOtp(name: string) {
setConfirm({
title: 'Remove the one-time passwords',
message: `Remove the TOTP secret of ${name}? The user's authenticator app no longer matches the router.`,
message: `Remove the TOTP secret of ${name}? The user's authenticator app no longer matches the server.`,
confirmLabel: 'Remove',
destructive: true,
onCancel: () => setConfirm(null),
@@ -268,12 +268,12 @@ export default function UsersPanel() {
</IconButton>
</span>
</Tooltip>
<Tooltip title={openvpn === false ? 'OpenVPN is not enabled on the router' : 'Download the OpenVPN profile'}>
<Tooltip title={openvpn === false ? 'OpenVPN is not enabled on the server' : 'Download the OpenVPN profile'}>
<span>
<IconButton size="small" disabled={busy || !user.certificate || openvpn === false} onClick={() => void download(user.name)}><Download fontSize="small" /></IconButton>
</span>
</Tooltip>
<Tooltip title={p2s === false ? 'IKEv2 is not enabled on the router' : 'Download the Apple VPN profile (IKEv2)'}>
<Tooltip title={p2s === false ? 'IKEv2 is not enabled on the server' : 'Download the Apple VPN profile (IKEv2)'}>
<span>
<IconButton size="small" disabled={busy || !user.certificate || p2s === false} onClick={() => setAppleProfile(user.name)}><Apple fontSize="small" /></IconButton>
</span>