Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
240255b2ff |
No files matched your search
@@ -1,5 +1,14 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.45.2 - 2026-11-24 20:41:04 +0100
|
||||||
|
|
||||||
|
fix: the copy icons of the Manager are shown only on a page opened over HTTPS, where the browser
|
||||||
|
offers the clipboard.
|
||||||
|
|
||||||
|
- The copy icons of the Addresses panel, the Remote access page and the Web Sites page, and the Copy
|
||||||
|
button of a WireGuard configuration, are left out on a page opened over plain HTTP, where they
|
||||||
|
did nothing.
|
||||||
|
|
||||||
## 0.45.1 - 2026-11-24 19:57:53 +0100
|
## 0.45.1 - 2026-11-24 19:57:53 +0100
|
||||||
|
|
||||||
update: the development VM of lm-dev-vm.py keeps plain HTTP by name.
|
update: the development VM of lm-dev-vm.py keeps plain HTTP by name.
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ their password and, when enrolled, the code.
|
|||||||
- The eye opens the device's configuration; the download gives `<user>-<n>.conf`, with a
|
- The eye opens the device's configuration; the download gives `<user>-<n>.conf`, with a
|
||||||
placeholder for the device's private key, which the server never has.
|
placeholder for the device's private key, which the server never has.
|
||||||
- The remove button removes a peer after a confirmation.
|
- The remove button removes a peer after a confirmation.
|
||||||
- **Server:** the server's public key with a copy icon, the endpoint and the allowed IPs a device
|
- **Server:** the server's public key with a copy icon on a page opened over HTTPS, the endpoint
|
||||||
needs; **Show config** opens a device configuration with placeholders.
|
and the allowed IPs a device needs; **Show config** opens a device configuration with
|
||||||
|
placeholders, with a Copy button over HTTPS.
|
||||||
- In the configuration dialogs a switch leaves out the `[Interface]` and `PrivateKey` lines, which
|
- In the configuration dialogs a switch leaves out the `[Interface]` and `PrivateKey` lines, which
|
||||||
WireGuard for Windows fills in for a new empty tunnel.
|
WireGuard for Windows fills in for a new empty tunnel.
|
||||||
+5
-3
@@ -11,9 +11,11 @@ The Overview tab shows the state of the server, read every 10 seconds by default
|
|||||||
IKEv2, OpenVPN and WireGuard; and the status web service and its port.
|
IKEv2, OpenVPN and WireGuard; and the status web service and its port.
|
||||||
- **Services:** the state of each of the server's systemd services and of Caddy; the chip on the
|
- **Services:** the state of each of the server's systemd services and of Caddy; the chip on the
|
||||||
title bar tells whether the server's services are active.
|
title bar tells whether the server's services are active.
|
||||||
- **Addresses:** links to the status page over HTTPS and over plain HTTP, and to the
|
- **Addresses:** links to the status page and the Manager over HTTPS for the server's names (and
|
||||||
Manager over HTTPS, each opening in a new tab; and the issuer and the discovery URL of the
|
its addresses with `https.ip_sans`), and over plain HTTP: the status page by address, and both
|
||||||
server's OpenID Provider, each with a copy icon, or off while the provider is disabled (see
|
by name and the Manager by address too while the redirect to HTTPS is off; each opens in a new
|
||||||
|
tab. Then the issuer and the discovery URL of the server's OpenID Provider, each with a copy
|
||||||
|
icon over HTTPS, or off while the provider is disabled (see
|
||||||
[Service accounts](service-accounts.md#openid-provider)).
|
[Service accounts](service-accounts.md#openid-provider)).
|
||||||
- **Backup:** the result of the last run, the next run and Run now (see [Backup](backup.md)).
|
- **Backup:** the result of the last run, the next run and Run now (see [Backup](backup.md)).
|
||||||
- **PostgreSQL:** each cluster with its main settings and its databases with their sizes.
|
- **PostgreSQL:** each cluster with its main settings and its databases with their sizes.
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ Collector reading the server's metrics. They cannot sign in to the Manager.
|
|||||||
## OpenID Provider
|
## OpenID Provider
|
||||||
|
|
||||||
The server can sign its users in to other systems with OpenID Connect. Its issuer and discovery
|
The server can sign its users in to other systems with OpenID Connect. Its issuer and discovery
|
||||||
URL are on the Addresses panel of the [Overview](router.md), each with a copy icon, and while it is
|
URL are on the Addresses panel of the [Overview](router.md), each with a copy icon on a page
|
||||||
enabled the title of the list has the number of its clients. It is turned on on the server as
|
opened over HTTPS, and while it is enabled the title of the list has the number of its clients.
|
||||||
root:
|
It is turned on on the server as root:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
linux-manager-config-edit set --restart oidc.enabled true
|
linux-manager-config-edit set --restart oidc.enabled true
|
||||||
|
|||||||
+2
-2
@@ -8,8 +8,8 @@ and the name server of their domain on the [DNS](dns.md) page.
|
|||||||
|
|
||||||
- **State:** whether the sites are served.
|
- **State:** whether the sites are served.
|
||||||
- **Largest upload:** the largest file or zip archive the Files tab and the server's API take.
|
- **Largest upload:** the largest file or zip archive the Files tab and the server's API take.
|
||||||
- **WebDAV:** whether the folders are served over WebDAV, and its URL with a copy icon. WebDAV is
|
- **WebDAV:** whether the folders are served over WebDAV, and its URL with a copy icon over HTTPS.
|
||||||
switched on the [System](system.md) tab, which installs rclone.
|
WebDAV is switched on the [System](system.md) tab, which installs rclone.
|
||||||
|
|
||||||
**Settings** edits the state, the largest upload and the WebDAV port.
|
**Settings** edits the state, the largest upload and the WebDAV port.
|
||||||
|
|
||||||
|
|||||||
+11
-6
@@ -404,16 +404,21 @@ export function Pairs(props: { rows: [string, string | ReactNode][] }) {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
/** A value in monospace for Pairs with an action icon that puts it on the clipboard; label names it in the tooltip. */
|
/**
|
||||||
|
* A value in monospace for Pairs with an action icon that puts it on the clipboard, shown only on a page served over
|
||||||
|
* HTTPS, where the browser offers the clipboard; label names it in the tooltip.
|
||||||
|
*/
|
||||||
export function Copyable(props: { value: string; label: string }) {
|
export function Copyable(props: { value: string; label: string }) {
|
||||||
return (
|
return (
|
||||||
<Stack direction="row" sx={{ alignItems: 'center', gap: 1 }}>
|
<Stack direction="row" sx={{ alignItems: 'center', gap: 1 }}>
|
||||||
<Box component="span" sx={{ fontFamily: 'monospace', fontSize: 13, wordBreak: 'break-all' }}>{props.value}</Box>
|
<Box component="span" sx={{ fontFamily: 'monospace', fontSize: 13, wordBreak: 'break-all' }}>{props.value}</Box>
|
||||||
<Tooltip title={`Copy the ${props.label}`}>
|
{window.isSecureContext && (
|
||||||
<IconButton size="small" aria-label={`copy the ${props.label}`} onClick={() => void navigator.clipboard.writeText(props.value)}>
|
<Tooltip title={`Copy the ${props.label}`}>
|
||||||
<ContentCopy fontSize="small" />
|
<IconButton size="small" aria-label={`copy the ${props.label}`} onClick={() => void navigator.clipboard.writeText(props.value)}>
|
||||||
</IconButton>
|
<ContentCopy fontSize="small" />
|
||||||
</Tooltip>
|
</IconButton>
|
||||||
|
</Tooltip>
|
||||||
|
)}
|
||||||
</Stack>
|
</Stack>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,8 @@ const PREFILLED_LINES = 2
|
|||||||
* device's address, its peer's IPs, or a placeholder without them (ips null). The device's private key is a
|
* device's address, its peer's IPs, or a placeholder without them (ips null). The device's private key is a
|
||||||
* placeholder, which the server never has; a switch leaves out the [Interface] and PrivateKey lines, which a client such
|
* placeholder, which the server never has; a switch leaves out the [Interface] and PrivateKey lines, which a client such
|
||||||
* as WireGuard for Windows fills in for a new empty tunnel, and keeps its position in the browser's settings. Copy
|
* as WireGuard for Windows fills in for a new empty tunnel, and keeps its position in the browser's settings. Copy
|
||||||
* puts the configuration as shown on the clipboard.
|
* puts the configuration as shown on the clipboard; it is shown only on a page served over HTTPS, where the browser
|
||||||
|
* offers the clipboard.
|
||||||
*/
|
*/
|
||||||
export default function WireGuardConfigDialog(props: { title: string; server: WireGuardServer; ips: string[] | null; onClose: () => void }) {
|
export default function WireGuardConfigDialog(props: { title: string; server: WireGuardServer; ips: string[] | null; onClose: () => void }) {
|
||||||
const [copied, setCopied] = useState(false)
|
const [copied, setCopied] = useState(false)
|
||||||
@@ -43,9 +44,11 @@ export default function WireGuardConfigDialog(props: { title: string; server: Wi
|
|||||||
</Box>
|
</Box>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<Button startIcon={copied ? <Check /> : <ContentCopy />} onClick={() => void navigator.clipboard.writeText(text).then(() => setCopied(true))}>
|
{window.isSecureContext && (
|
||||||
{copied ? 'Copied' : 'Copy'}
|
<Button startIcon={copied ? <Check /> : <ContentCopy />} onClick={() => void navigator.clipboard.writeText(text).then(() => setCopied(true))}>
|
||||||
</Button>
|
{copied ? 'Copied' : 'Copy'}
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
<Button variant="contained" onClick={props.onClose}>Close</Button>
|
<Button variant="contained" onClick={props.onClose}>Close</Button>
|
||||||
</DialogActions>
|
</DialogActions>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|||||||
Reference in new issue
Block a user