Moves various things to the new DBCore (#21544)

```
- server: "Changed the synthsprites to use the new DBCore"
- server: "Changed the MalfAI to use the new DBCore"
- server: "Changed the Alien Whitelists to use the new DBCore"
- server: "Changed the Requests Console to use the new DBCore"
- server: "Changed the Contracts Uplink to use the new DBCore"
- server: "Changed the Admin Ranks to use the new DBCore"
- server: "Changed the Job Bans to use the new DBCore"
- server: "Changed the Tickets to use the new DBCore"
- server: "Changed the Create Command Report to use the new DBCore"
- server: "Changed the WebInterface interconnect to use the new DBCore"
- server: "Changed the CCIA Recorder to use the new DBCore"
- server: "Changed the IPCTags to use the new DBCore"
- server: "Changed the Main Menu Poll-Check to use the new DBCore"
- server: "Changed the Client-Procs to use the new DBCore"
```

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
This commit is contained in:
Arrow768
2026-04-13 22:45:29 +02:00
committed by GitHub
co-authored by Werner
parent 17721ddae4
commit 03f313a19d
33 changed files with 717 additions and 384 deletions
+22
View File
@@ -65,5 +65,27 @@
if (!ckey)
return
// Convert assoc-list connections to positional format for apply_ban_mirror,
// which reads extra_info[i][1] to extract ckeys for DB storage.
var/list/extra_info = list()
for(var/list/conn in telemetry_connections)
extra_info += list(list(conn["ckey"], conn["address"], conn["computer_id"]))
var/ban_id = 0
for(var/list/conn in telemetry_connections)
var/list/bdata = world.IsBanned(conn["ckey"], conn["address"], conn["computer_id"], 1, real_bans_only = TRUE, log_connection = FALSE)
if(bdata && bdata.len && !isnull(bdata["id"]))
ban_id = bdata["id"]
break
if(ban_id)
if(!client.holder)
log_and_message_admins("[ckey] from [client.address]-[client.computer_id] was caught bandodging. Mirror applied for ban #[ban_id], kicking shortly.")
apply_ban_mirror(ckey, client.address, client.computer_id, ban_id, 2, extra_info)
spawn(20)
del(client)
else
log_and_message_admins("[ckey] is a staff but was caught bandodging! Ban ID: #[ban_id].")
#undef TGUI_TELEMETRY_MAX_CONNECTIONS
#undef TGUI_TELEMETRY_RESPONSE_WINDOW
+3
View File
@@ -89,6 +89,9 @@
if(type == "audio/setAdminMusicVolume")
client.admin_music_volume = payload["volume"]
return TRUE
if(type == "telemetry")
analyze_telemetry(payload)
return TRUE
/**
* public
*