* Scope creep my ass
* why was this shit not pushed????
* gone...
* fix that
* review plus buildd
* asfsafsafsafsafas
* grug
* burber
* I'll fix this later
* shrimply die
* also this
* it's snerf or snuthin
* assaads
* round snend
* aaaa
* fix this shit for real
* actually, don't start GameRules until MapInit now that I think aboot it.
* forgot u
* don't actually need this part nullable
* Deffer comp removal
* one liner
* do that too
* chungus
* Honestly makes more sense here, plus WHY are we doing all that shit on "GameRuleAdded" rather than GameRuleStarted(?)
* deferred removal :V
* aaaaaaaaaaaaaaa
* whhop
* Whoop
* better
* landmine that I placed for myself then forgot about lmao
* cleanup
* FUCKING `!`
* gotovo
* amogus
* please don't check by metadata I beg
* waawsasfdfsasfa
* sfafsasfafsas
* fdsaasffsasfa
* code
* fix
* fasasffasfasfsad
* chungaas
* I may be stupid
* gra
* graaaaaaaaaaaaaaaaa
* comment
* gra
* clearing is not predicted and would require major refactors, so don't cache on client.
* lame shit :P
* last holes
* nukeopsfsafsasafsfafsa
* why was that shit public bruh
* bubrbgwahrghfaka
* dynamic
* revert change that did nothing lmao
* Make every EntitySystem partial
* Oobs thats for a diff PR
* Also oops on that one
* Test systems
* git are we fr
* Update file templates
* cleanup empty classes while we are here
* forgor
---------
Co-authored-by: AJCM-git <ajcm_mail@disroot.org>
* button to new ui
* text box and button
* change size
* get the current round
* turn into a command
* fix round id not updating
* button to send log send message to server
* send message to discord
* use another cvar
* general fixes
* update event webhook
* use a place holder
* fix placeholder
* update button name
Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
* move to a separate folder
* turn into a fancy window
* add margin
* center text in the button
* move reset button to the left
* update the window
* move send button to the left
* update color
* remove indentation
* set sawmill inside PostInject
* remove random newline
* move PostInject to start of the class
* use darkViolet
* summary
* remove whitespace
* comment
---------
Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
* add user id to adminlogs command, allow opening logs for specific player
* replace ban list with opening player logs in ahelp window
* add entity logs verb
* make it less obvious I blatantly copied stuff from admin notes
* player log verb now actually working as intended
* use logic, not call command
* implement TryGetLastMind and TryGetLastMindOwner
* replace double condition with TryGetLastMind
* oops
* Apply suggestion from @AJCM-git
---------
Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
* Create new SetChatCommand.cs class
* Obsoleted the old "setchat" classes.
* Removed the obsolete classes
* Small fixes
* Small fixes reprise
* Fixed issues in PR
* Fixed issues in PR
* Renamed command and properly localized it.
* Renamed command and properly localized it.
* Updated Admin UI
* Store last player whose mind was in container
* Send last player who controlled the entity's session ID along with other quick info
* No more spam
* Display last player info if there is no active player on entity
* Better looking separator
* Better looking separator but I didnt forget to ctrl s this time
* newline
* Address reviews
* cleaning
* Tiny tweaks
---------
Co-authored-by: ScarKy0 <scarky0@onet.eu>
Co-authored-by: Connor Huffine <chuffine@gmail.com>
* Remove all IPrototypeManager instances
* Remove redundant IComponentFactory instances too
* Found some stragglers
* DestructibleSystem.PrototypeManager: no dependency
* not based
* add new cvar
* add command to change the cvar
* send chat alert when the cvar is changed
* add new button to server tab to toggle that cvar
* block deadchat
* make it partial
* empty commit
* add completion
* use the helper
* new line in the end
* remove white line
* fix for sending server announcmente while the server is still loading
* just use ?
* remove changes to chat manager
* make messages dull /j
---------
Co-authored-by: Beck Thompson <beck-thompson-kde@outlook.com>
* Add AFK kicks back in
Fixes the previous issues and also makes it a big window so users can close it / manually mark themselves as not being AFK now.
* review
* scar but im too lazy to apply suggestions and mess with commits
* sane minimums
* asd
* review
* augh
* Fix afk minimum + requested admin bump
* airhorn
* Track account creation date and trust score in ContentPlayerData
* Fix local connection check
I feel like I'm overlooking an obvious way to more easily determine this but whatever
* Add trust score & creation date to the player panel
* Adress reviews
* Use IsLocal instead of magic string
Requires engige update
* Change trust thing to be not silly
Maybe a bit more complicated though? I dunno, I personally think this is more sane
* Revert "Track account creation date and trust score in ContentPlayerData"
This reverts commit 26b8df56
I am incredibly stupid and apparently did not look hard enough
This implements the SS13 feature where ahelps display a link to get quick info when a character name is mentioned.
Also just some cleanup of bwoink code cuz it sucks.
Ban database refactor (#42495)
* Ban DB refactor seems to work at a basic level for PostgreSQL
* New ban creation API
Supports all the new functionality (multiple players/addresses/hwids/roles/rounds per ban).
* Make the migration irreversible
* Re-implement ban notifications
The server ID check is no longer done as admins may want to place bans spanning multiple rounds irrelevant of the source server.
* Fix some split query warnings
* Implement migration on SQLite
* More comments
* Remove required from ban reason
SS14.Admin changes would like this
* More missing AsSplitQuery() calls
* Fix missing ban type filter
* Fix old CreateServerBan API with permanent time
* Fix department and role ban commands with permanent time
* Re-add banhits navigation property
Dropped this on accident, SS14.Admin needs it.
* More ban API fixes.
* Don't fetch ban exemption info for role bans
Not relevant, reduces query performance
* Regenerate migrations
* Fix adminnotes command for players that never connected
Would blow up handling null player records. Not a new bug introduced by the refactor, but I ran into it.
* Great shame... I accidentally committed submodule update...
* Update GDPR scripts
* Fix sandbox violation
* Fix bans with duplicate info causing DB exceptions
Most notably happened with role bans, as multiple departments may include the same role.