Files
crystall-punk-14/Content.Shared
Javier Guardia Fernández 319aec109d Admin logs (#5419)
* Add admin logging, models, migrations

* Add logging damage changes

* Add Log admin flag, LogFilter, Logs admin menu tab, message
Refactor admin logging API

* Change admin log get method names

* Fix the name again

* Minute amount of reorganization

* Reset Postgres db snapshot

* Reset Sqlite db snapshot

* Make AdminLog have a composite primary key of round, id

* Minute cleanup

* Change admin system to do a type check instead of index check

* Make admin logs use C# 10 interpolated string handlers

* Implement UI on its own window
Custom controls
Searching
Add admin log converters

* Implement limits into the query

* Change logs to be put into an OutputPanel instead for text wrapping

* Add log <-> player m2m relationship back

* UI improvements, make text wrap, add separators

* Remove entity prefix from damaged log

* Add explicit m2m model, fix any players filter

* Add debug command to test bulk adding logs

* Admin logs now just kinda go

* Add histogram for database update time

* Make admin log system update run every 5 seconds

* Add a cap to the log queue and a metric for how many times it has been reached

* Add metric for logs sent in a round

* Make cvars out of admin logs queue send delay and cap

* Merge fixes

* Reset some changes

* Add test for adding and getting a single log

* Add tests for bulk adding logs

* Add test for querying logs

* Add CallerArgumentExpression to LogStringHandler methods and test

* Improve UI, fix SQLite, add searching by round

* Add entities to admin logs

* Move distinct after orderby

* Add migrations

* ef core eat my ass

* Add cvar for client logs batch size

* Sort logs from newest to oldest by default

* Merge fixes

* Reorganize tests and add one for date ordering

* Add note to log types to not change their numeric values

* Add impacts to logs, better UI filtering

* Make log add callable from shared for convenience

* Get current round id directly from game ticker

* Revert namespace change for DamageableSystem
2021-11-22 18:49:26 +01:00
..
2021-11-22 18:49:26 +01:00
2021-11-13 21:43:54 +01:00
2021-11-11 23:10:21 +01:00
2021-11-08 15:33:45 -07:00
2021-11-11 00:15:23 +11:00
2021-11-22 18:49:26 +01:00
2021-11-18 23:36:25 -07:00
2021-11-22 10:17:35 +01:00
2021-10-12 23:56:35 -07:00
2021-11-22 18:49:26 +01:00
2021-11-11 20:06:38 +11:00
2021-11-04 12:44:15 -07:00
2021-10-25 16:21:56 +02:00
2021-11-22 18:49:26 +01:00
2021-11-02 11:12:55 +11:00
2021-06-09 22:19:39 +02:00
2021-08-21 10:20:18 -07:00
2021-10-25 16:21:56 +02:00
2021-11-11 00:15:23 +11:00
2021-10-27 12:24:22 +11:00
2021-11-12 11:22:46 +01:00
2021-06-09 22:19:39 +02:00
2021-11-11 00:15:23 +11:00
2021-07-04 18:11:52 +02:00
2021-11-11 12:29:11 +11:00
2021-10-09 15:48:53 +02:00
2021-07-31 03:14:00 +02:00
2021-11-03 14:33:36 -07:00
2021-11-21 19:33:50 -07:00
2021-08-23 02:32:24 +10:00
2021-11-09 12:38:05 +01:00
2021-09-06 23:49:44 +10:00
2021-11-09 13:08:09 +01:00
2018-04-12 23:56:43 +02:00