- Add a Bots admin tab: list/search bots with a dedicated read query (users.is_bot, excluded from the accounts list), showing owner and system-vs-user type - Create system bots from the admin via a new bot.create command that reuses the existing bot provisioning flow; the token is shown once - Delete user-created bots via a new bot.delete command backed by a dedicated Postgres DeleteBotAccount (revokes sessions, purges private state, releases username, drops the bots row, tombstones the user); system service bots are rejected - Verified badge toggling reuses the existing set-verified command - All write paths go through the dry-run/confirm + audit command pipeline - Rebuild dist bundle
30 lines
1 KiB
HTML
30 lines
1 KiB
HTML
<!doctype html>
|
|
<html lang="en" translate="no">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>telesrv admin</title>
|
|
<script>
|
|
(function () {
|
|
try {
|
|
var stored = localStorage.getItem("telesrv.admin.theme");
|
|
var theme =
|
|
stored === "light" || stored === "dark"
|
|
? stored
|
|
: window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches
|
|
? "dark"
|
|
: "light";
|
|
document.documentElement.setAttribute("data-theme", theme);
|
|
document.documentElement.style.colorScheme = theme;
|
|
} catch (e) {
|
|
document.documentElement.setAttribute("data-theme", "light");
|
|
}
|
|
})();
|
|
</script>
|
|
<script type="module" crossorigin src="/assets/index-BB8hN3NX.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/index-BlWlOvtx.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
|
|
</body>
|
|
</html>
|