docs: roundtable rename sweep
Sweeps README, docs/, example configs, code docstrings, report and notification subject lines, plugin catalog URL default, and stray comments in Dockerfile/entrypoint.sh/.gitignore. Adds a legacy note to docs/core/configuration.md explaining the FABLEDSCRYER_* fallback. docker-compose DB credentials intentionally left as fabledscryer to preserve the existing pgdata volume.
This commit is contained in:
+1
-1
@@ -9,6 +9,6 @@ from .app import create_app
|
||||
@click.option("--port", default=5000, type=int)
|
||||
@click.option("--debug", is_flag=True, default=False)
|
||||
def main(config: str, host: str, port: int, debug: bool) -> None:
|
||||
"""Start the Fabled Scryer server."""
|
||||
"""Start the Roundtable server."""
|
||||
app = create_app(config_path=Path(config))
|
||||
app.run(host=host, port=port, debug=debug)
|
||||
|
||||
@@ -33,7 +33,7 @@ async def dispatch_notifications(
|
||||
async def _send_email(cfg: dict, alert: dict) -> dict:
|
||||
try:
|
||||
msg = EmailMessage()
|
||||
msg["Subject"] = f"[Fabled Scryer] {alert['state']} — {alert['rule_name']}"
|
||||
msg["Subject"] = f"[Roundtable] {alert['state']} — {alert['rule_name']}"
|
||||
msg["From"] = cfg.get("username", "roundtable@localhost")
|
||||
msg["To"] = ", ".join(cfg["recipients"])
|
||||
msg.set_content(
|
||||
|
||||
@@ -152,7 +152,7 @@ def _render_report_text(data: dict) -> str:
|
||||
now = data["generated_at"]
|
||||
lines: list[str] = []
|
||||
|
||||
lines.append("Fabled Scryer — Weekly Report")
|
||||
lines.append("Roundtable — Weekly Report")
|
||||
lines.append(f"Generated: {now.strftime('%Y-%m-%d %H:%M UTC')}")
|
||||
lines.append("")
|
||||
|
||||
@@ -204,7 +204,7 @@ def _render_report_text(data: dict) -> str:
|
||||
lines.append("")
|
||||
|
||||
lines.append("─" * 40)
|
||||
lines.append("Fabled Scryer — https://git.fabledsword.com/bvandeusen/FabledScryer")
|
||||
lines.append("Roundtable — https://git.fabledsword.com/bvandeusen/Roundtable")
|
||||
return "\n".join(lines)
|
||||
|
||||
|
||||
@@ -222,7 +222,7 @@ async def send_report(app) -> tuple[bool, str]:
|
||||
|
||||
body = _render_report_text(data)
|
||||
date_str = data["generated_at"].strftime("%Y-%m-%d")
|
||||
subject = f"[Fabled Scryer] Weekly Report — {date_str}"
|
||||
subject = f"[Roundtable] Weekly Report — {date_str}"
|
||||
|
||||
msg = EmailMessage()
|
||||
msg["Subject"] = subject
|
||||
|
||||
@@ -50,7 +50,7 @@ DEFAULTS: dict[str, Any] = {
|
||||
"ansible.sources": [],
|
||||
"ping.threshold.good_ms": 50,
|
||||
"ping.threshold.warn_ms": 200,
|
||||
"plugins.index_url": "https://git.fabledsword.com/bvandeusen/FabledScryer-plugins/raw/branch/main/index.yaml",
|
||||
"plugins.index_url": "https://git.fabledsword.com/bvandeusen/Roundtable-plugins/raw/branch/main/index.yaml",
|
||||
# OIDC single-sign-on
|
||||
"oidc.enabled": False,
|
||||
"oidc.discovery_url": "",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Called by entrypoint.sh before the NUT daemons start. Reads config either from
|
||||
environment variables (legacy NUT_MANAGED=1 path) or from a JSON file written
|
||||
by the FabledScryer settings page (/data/nut_managed.json).
|
||||
by the Roundtable settings page (/data/nut_managed.json).
|
||||
|
||||
Environment variables (used when no --from-file is given):
|
||||
NUT_DRIVER NUT driver (default: snmp-ups)
|
||||
|
||||
Reference in New Issue
Block a user