Simplify approving hosts

The list of waiting hosts opens the approval dialog instead of having its
own name input and buttons, so hosts are approved in one place. Removes
the limit on requests per minute, the limits on pending requests already
cap what an address can do.

Also updates text that still said the installer makes the requests.
This commit is contained in:
Danielv123 committed 2026-10-30 22:59:32 +01:00
1 parent 95422e6d21
commit a4894aae9d
8 files changed
+37 -168

No files matched your search

+5 -5
View File
@@ -1,20 +1,20 @@
import { Type, Static } from "@sinclair/typebox";
/**
* A pending request from a host installer to join the cluster
* A pending request from a host to join the cluster
*
* Requests are kept in memory on the controller only while the installer
* Requests are kept in memory on the controller only while the host
* waits for them to be approved or rejected.
*/
export default class HostPairingDetails {
constructor(
/** Code shown by the installer, used to identify the request. */
/** Code shown by the host, used to identify the request. */
public code: string,
/** Name the installer asked for the host to have. */
/** Name the host asked to have. */
public name: string,
/** Address the request was made from. */
public remoteAddress: string,
/** Version of the installer that made the request. */
/** Version of the host that made the request. */
public version = "",
/** Millisecond Unix timestamp the request was made at. */
public createdAtMs = 0,