Chat history prototype (#17206)

* Chat history prototype

* changes

* static defines

* bunch of fixes (#17207)

* bunch of fixes

* multi round export

* allow to export 1 specific round

* prepare for databse load

* Update code/__defines/vchatlog.dm

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* fixed typo

* beginning of loading

* frontend

* data/chatlogs

* loading lines

* lint fix

* more fixes

* new define

* less spam

* timeout the loading (#17214)

* more frontend fixes

* ckey

* some comments and reverts (#17220)

* some comments and reverts

* we should fix that too

* .

* api

* cleanup (#17232)

* Button.Confirm

* API

* Up to date binaries

* Default set for chatlog backend

* Removed unused verbs

* fix that

* Update misc.dm

* .

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Selis
2025-03-02 15:04:33 +01:00
committed by GitHub
co-authored by Kashargul
parent 62e0a5a667
commit 52ce9232fc
33 changed files with 746 additions and 235 deletions
+3
View File
@@ -178,3 +178,6 @@
/// If this client has been fully initialized or not
var/fully_created = FALSE
/// Token used for the external chatlog api. Only valid for the current round.
var/chatlog_token
+3
View File
@@ -244,6 +244,9 @@
GLOB.clients += src
GLOB.directory[ckey] = src
if (CONFIG_GET(flag/chatlog_database_backend))
chatlog_token = vchatlog_generate_token(ckey)
// Instantiate stat panel
stat_panel = new(src, "statbrowser")
stat_panel.subscribe(src, .proc/on_stat_panel_message)