Commit Graph
100 Commits
Author SHA1 Message Date
DrSmugleafandGitHub cd803a82bd Update projects to C# 11 (#13111) 2022-12-20 22:33:57 +11:00
DrSmugleafandGitHub 407a907a2f Fix error when spawning nuke ops (#12961) 2022-12-10 21:58:25 +01:00
DrSmugleafandGitHub 4a17d2cb33 Remove redundant resolve in NukeopsRuleSystem (#12948) 2022-12-10 01:16:33 +01:00
DrSmugleafandGitHub 5c80153665 Add ban id to ban list, make ids label a button (#12700) 2022-11-21 20:04:24 +01:00
DrSmugleafandGitHub 5aeb2ac4a0 ECS strap component (#12627) 2022-11-18 22:08:28 +01:00
DrSmugleafandGitHub a410d19d21 Fix body root being null on the client after init (#12638) 2022-11-16 18:58:55 -06:00
DrSmugleafandGitHub a52c0bce90 Update submodule to 0.65.1.0 (#12633) 2022-11-16 20:22:37 +01:00
DrSmugleafandGitHub 7fbc2608e8 Remove redundant read-only VV from datafields (#12626) 2022-11-16 20:22:11 +01:00
DrSmugleafandGitHub dffcd38345 Add GetBodyPartAdjacentParts and GetBodyPartOrganComponents (#12628) 2022-11-16 11:24:03 +01:00
DrSmugleafandGitHub f92f288047 Remove byte[] allocations for GasTileOverlaySystem.UpdateChunkTile (#12617) 2022-11-16 08:27:49 +01:00
DrSmugleafandGitHub c9563e6c38 Remove NetSerializable from DamageTypePrototype (#12594) 2022-11-15 10:58:55 +11:00
DrSmugleafandGitHub d5ae5658a1 ECS buckle (#12586) 2022-11-14 20:30:30 +01:00
DrSmugleafandGitHub da29a01846 Add ban list window (#12574) 2022-11-14 20:06:55 +01:00
DrSmugleafandGitHub 889ed089c0 Replace IBodyPartAdded and IBodyPartRemoved with ref events (#12572) 2022-11-13 15:34:26 -06:00
DrSmugleafandGitHub df8973593f Run YAML schema validators on pull requests (#12156) 2022-10-22 20:05:05 -07:00
DrSmugleafandGitHub 186cf6f495 Add missing source field in Textures/Tiles/attributions.yml (#12155) 2022-10-23 04:47:30 +02:00
DrSmugleafandGitHub 21266d0f54 Fix missing comma in Textures/Tiles/attributions.yml (#12154) 2022-10-23 04:38:01 +02:00
f323fb7644 ECS and cleanup body system, merge body templates and presets into body prototypes (#11991)
Co-authored-by: Jezithyr <Jezithyr@gmail.com>
2022-10-22 15:46:28 -07:00
DrSmugleafandGitHub 754960df2e Fix actions bar and window not updating (#11899) 2022-10-14 05:10:47 +11:00
DrSmugleafandGitHub 69bee529c5 Fix actions not showing the provider and not showing anything when dragging actions without icons (#11897) 2022-10-13 19:14:53 +02:00
DrSmugleafandGitHub ad9999211e Fix inventory button hover indicators not appearing anymore (#11880) 2022-10-13 07:07:27 +02:00
DrSmugleafandGitHub 83acc605a3 Fix ghost roles button text not showing when latejoining as an observer (#11873) 2022-10-12 19:36:44 +02:00
DrSmugleafandGitHub 981366ecdf Fix prediction and popups for actions (#11871) 2022-10-12 18:35:36 +02:00
DrSmugleafandGitHub df94f6b4a4 Fix examining and right clicking entities in backpacks (#11867) 2022-10-12 18:35:25 +02:00
DrSmugleafandGitHub fb76bc8032 Fix right clicking entries in the admin objects tab (#11866) 2022-10-12 15:07:23 +02:00
DrSmugleafandGitHub bc36d81586 Fix not releasing chat focus after sending a message (#11865) 2022-10-12 14:53:15 +02:00
DrSmugleafandGitHub 131a3de4a5 Add changelog for hud refactor (#11863) 2022-10-12 10:31:38 +02:00
DrSmugleafandGitHub b62ee2b1b4 Add selecting maps to render when running MapRenderer, fix rendering multiple maps (#11783) 2022-10-09 16:36:18 +11:00
DrSmugleafandGitHub d67669ad34 Add XAML control file template (#10737) 2022-08-20 15:11:22 -05:00
DrSmugleafandGitHub 24ce4b9939 Make classes generated in Rider sealed by default (#10696) 2022-08-19 01:44:16 -05:00
DrSmugleafandGitHub 2a59e1b7fd Disable admin logs next button when there are no more logs (#9277) 2022-06-29 10:38:24 +02:00
DrSmugleafandGitHub f1bc15b6fb Add shown/visible counter to admin logs control (#9276) 2022-06-29 10:24:13 +02:00
DrSmugleafandGitHub 000e7f6a64 Fix duplicate logs when skipping before filtering (#9275) 2022-06-29 10:17:45 +02:00
DrSmugleafandGitHub fedd63118c Include text search in admin logs db query (#9274) 2022-06-29 09:53:58 +02:00
DrSmugleafandGitHub f98ac77179 More github action tests (#7301) 2022-05-30 19:52:27 -07:00
DrSmugleafandGitHub 0502d3dec4 Make Profile.Markings db column jsonb (#7947) 2022-05-05 11:23:48 +02:00
5227d1a023 Admin notes (#7259)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-04-16 20:57:50 +02:00
DrSmugleafandGitHub e0c63483c2 Revert "pvsrange vec2 + eyezoom" (#7487)
* Revert "pvsrange vec2 + eyezoom"

* Merge fixes

* Update RobustToolbox
2022-04-09 13:07:40 -05:00
DrSmugleafandGitHub a6198ff83a Remove remaining usages of MapManager Grid/Tile changed and NextMapId (#7302) 2022-03-28 17:23:33 +11:00
DrSmugleafandGitHub ca0fb3c6a2 Track rule reading in database, don't show popup locally (#7278) 2022-03-26 20:16:57 +01:00
DrSmugleafandGitHub 19d8824951 Add myself to CODEOWNERS 2022-03-26 15:45:35 +01:00
DrSmugleafandGitHub e8025a6e17 Make InteractionActivate check for hands like UserInteraction (#7277) 2022-03-25 14:10:50 -07:00
DrSmugleafandGitHub e563b0b7e1 Add admin logs for anchoring/unanchoring (#7274) 2022-03-25 14:10:43 -07:00
DrSmugleafandGitHub 648ffbf673 Fix resolve error when FollowedComponent is not found in StopFollowingEntity (#7276) 2022-03-25 14:10:37 -07:00
DrSmugleafandGitHub c19e268748 Fix popups moving with the viewer (#7275) 2022-03-26 05:16:30 +11:00
DrSmugleafandGitHub 63e1bfdace Add confirmation to AHelp kick and respawn buttons (#7260) 2022-03-25 19:00:20 +01:00
DrSmugleafandGitHub 3c15de5f55 Make the admin player panel overlay button a toggle (#7153) 2022-03-24 17:08:08 +01:00
DrSmugleaf 16b80e6f85 Update RobustToolbox to v0.8.73 2022-03-19 19:49:47 +01:00
DrSmugleafandGitHub 3b54fe1092 Add myself to CODEOWNERS 2022-03-19 11:27:05 +01:00
Javier Guardia FernándezandGitHub 8ee1503861 Make the admin set OOC and LOOC buttons a toggle (#7152) 2022-03-16 22:58:35 +01:00
Javier Guardia FernándezandGitHub 995c02169e Add sorting the admin player panel by clicking the headers (#7150) 2022-03-16 22:58:15 +01:00
DrSmugleaf 67eaa7bfe6 Fix MapRenderer crash when checking if an entity has an ISpriteComponent 2022-01-07 19:10:39 +01:00
c30c8020e8 Add a map renderer (#3613)
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2022-01-07 18:54:06 +01:00
DrSmugleaf 0b8233909c Ignore EFCore SensitiveDataLoggingEnabledWarning 2022-01-02 00:33:29 +01:00
DrSmugleaf fdf7aae744 Enable sensitive data logging on debug for SQLite
Postgres already has it enabled
2021-12-26 00:50:50 +01:00
DrSmugleaf 0ca8c705ab Use dictionary and hashset for admin log entities and players respectively
Add test for duplicate player ids in an admin log not throwing
2021-12-26 00:50:10 +01:00
DrSmugleaf 82d9c38c96 Fix adding multiple interpolated expressions with the same format to admin logs
Add test case
2021-12-26 00:38:04 +01:00
DrSmugleaf 1e42bafea4 Make admin logs (reliably) refresh when opening 2021-12-25 19:18:04 +01:00
DrSmugleaf 1f8152cb02 Cache the last 3 rounds of admin logs in memory
Reduces send logs time from 2/10/45 seconds to 2 milliseconds
Not thread safe
Removes LogRecord
2021-12-25 02:07:12 +01:00
DrSmugleaf 2f75b282b9 Change admin log filter types and impacts to use hashsets 2021-12-24 20:48:21 +01:00
DrSmugleaf 47733b0b22 Fix adding duplicate player entries upon relogging
Fixes https://github.com/space-wizards/space-station-14/issues/5882
2021-12-23 22:13:15 +01:00
DrSmugleaf b5a78073ef Fix fetching the entire database when adding a round or admin log on SQLite
EF Core was a mistake
2021-12-20 17:54:50 +01:00
DrSmugleaf f23ca09d09 Add more debug logging to admin logs 2021-12-20 01:23:11 +01:00
DrSmugleaf ceca68236c Add player list to the ban window
the peptide special
2021-12-09 19:30:31 +01:00
DrSmugleaf 81c0b1e174 Add admin logs window pop out button, default to docked
Default to unmaximized
2021-12-09 00:05:42 +01:00
DrSmugleaf 7929600def Move admin logs into their own separate window 2021-12-08 23:03:08 +01:00
DrSmugleaf af4eb3c7cd Fix more errors, client and server now build 2021-12-06 14:00:39 +01:00
DrSmugleaf 215cae5655 Fix more errors 2021-12-06 00:52:58 +01:00
DrSmugleaf 2b1fecbe02 Merge remote-tracking branch 'Zumorica/2021-12-03-remove-IEntity-komm-süsser-todd' into 2021-12-03-remove-IEntity-komm-süsser-todd
# Conflicts:
#	Content.Server/DeviceNetwork/Systems/WiredNetworkSystem.cs
#	Content.Server/Hands/Systems/HandsSystem.cs
#	Content.Server/Radio/Components/IRadio.cs
#	Content.Server/UserInterface/ActivatableUISystem.cs
2021-12-05 22:10:07 +01:00
DrSmugleaf ab9d0cc6d8 Fix errors 2021-12-05 21:02:04 +01:00
DrSmugleaf 2a3b7d809d Fix 3000 errors 2021-12-05 18:09:01 +01:00
DrSmugleaf 9f3549c3c2 Wish the FilterTests thread good night 2021-12-01 00:15:39 +01:00
DrSmugleaf b807250021 Autorequest admin logs on window open 2021-11-28 14:29:46 +01:00
DrSmugleaf a5e6ce87e7 Add a select all players button to the logs UI 2021-11-28 14:19:44 +01:00
DrSmugleaf 7ecd08b8ca Move resetting accumulatedFrameTime in AdminLogSystem to the start of the method 2021-11-26 23:43:40 +01:00
DrSmugleaf 1638498273 Add CCVar to enable and disable admin logs 2021-11-26 00:11:25 +01:00
DrSmugleaf e06dc89c34 Remove setting AdminLogPlayer.RoundId explicitly 2021-11-25 23:53:59 +01:00
DrSmugleaf 078f3a7738 Fix ContentIntegrationTest.WaitUntil with a func not passing tickStep 2021-11-24 23:01:35 +01:00
DrSmugleaf dc9ae49126 Fix error when getting players from a log
Also potentially fix FilterTests.Date
2021-11-24 22:07:54 +01:00
DrSmugleaf 1342451243 Downgrade atmos to plosiveDepressurizati
Clip text of admin log types on buttons
Add a few TODOs for the future coder
2021-11-24 19:01:26 +01:00
DrSmugleaf 25ed516eb0 Fix admin log crash in the lobby
Add test
Fixes https://github.com/space-wizards/space-station-14/issues/5504
2021-11-24 18:53:55 +01:00
DrSmugleaf cc79053825 Fix round starting and db round spam
Fixes https://github.com/space-wizards/space-station-14/issues/5467
RunLevel was being set after waiting for the DB, causing GameTicker.Update to fire during the wait
2021-11-23 18:12:24 +01:00
DrSmugleaf 781a083fcf Fix not waiting for logs to be sent to Azkaban 2021-11-23 17:50:06 +01:00
DrSmugleaf 7b5878b846 Support player sessions in admin logs and add test
Fix EventRan log type id
Make slipping low impact
2021-11-22 23:15:22 +01:00
DrSmugleaf ce94c28e8a Add unit test to check for duplicate log types 2021-11-22 22:04:45 +01:00
DrSmugleaf af6353da46 Add admin logs for shuttle call/recall 2021-11-22 21:31:50 +01:00
DrSmugleaf 37e7da0e42 The technology for round time just isn't there yet
Add clock date to displayed logs
I'm sorry moony
2021-11-22 21:19:07 +01:00
DrSmugleaf 7de23c935b Expose round duration as a method on GameTicker 2021-11-22 21:12:47 +01:00
DrSmugleaf 3ba58e2d9c Merge branch 'master' of https://github.com/space-wizards/space-station-14 2021-11-22 20:59:30 +01:00
DrSmugleaf ff81f819e6 Fix filtering mismatch when using the None players button 2021-11-22 20:57:56 +01:00
DrSmugleaf 13692b5433 Make starting and running station events high priority 2021-11-22 20:55:47 +01:00
DrSmugleaf 612c62c569 Add admin logging to system events 2021-11-22 20:49:47 +01:00
DrSmugleaf 56d475df4f Fix not showing any playerless logs when no players are selected 2021-11-22 20:49:36 +01:00
DrSmugleaf 57b6efa3fd Add log for slipping 2021-11-22 20:36:50 +01:00
DrSmugleaf 86ce2aeb22 Add EntityUid AdminLogConverter 2021-11-22 20:36:03 +01:00
DrSmugleaf d12fa22ce1 Make damage logs distinguish between damage and healing 2021-11-22 19:45:08 +01:00
DrSmugleaf c3fe5909ad THE RETURN OF THE KING
This reverts commit c18d07538a.
2021-11-22 19:08:27 +01:00
DrSmugleaf 14e342663e Update RobustToolbox
vera did this
2021-11-22 19:04:01 +01:00
DrSmugleaf c18d07538a Revert "Admin logs (#5419)"
This reverts commit 319aec109d.
2021-11-22 18:55:17 +01:00
Javier Guardia FernándezandGitHub 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