mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 14:45:24 +00:00
feat: remove legacy alert rules, superseded by automations
Alert rules already auto-migrate into automations on boot and the old engine stands down after. Deletes the rule/firing tables, routes, UI, and AI tools; keeps notification channels since automations still use them. Also fixes automations' notify step, which still called the deleted repository.
This commit is contained in:
1 parent
e0f14f2ecf
commit
e372b0eda7
101 files changed
+29118
-5539
No files matched your search
@@ -57,7 +57,7 @@ import {
|
||||
} from "../terminal-auth-helpers.js";
|
||||
import { isWindowsSftpPath, sftpPathToLocalPath } from "../transfer-paths.js";
|
||||
import { preparePrivateKeyForSSH2 } from "../../utils/ssh-key-utils.js";
|
||||
import { triggerLoginAlert } from "../../utils/alert-trigger.js";
|
||||
import { dispatchLoginEvent } from "../../utils/login-event-dispatch.js";
|
||||
import { getClientIp } from "../../utils/request-origin.js";
|
||||
import { isRetriableDnsError, resolveHostForSshConnect } from "../ssh-dns.js";
|
||||
import { resolveSshKeepalive } from "../ssh-keepalive.js";
|
||||
@@ -2483,7 +2483,7 @@ wss.on("connection", async (ws: WebSocket, req) => {
|
||||
);
|
||||
|
||||
if (id && hostConfig.userId) {
|
||||
triggerLoginAlert(
|
||||
dispatchLoginEvent(
|
||||
id,
|
||||
hostConfig.userId,
|
||||
username,
|
||||
|
||||
Reference in new issue
Block a user