* [ADMIN] Chganges auth backend to use the forums instead of the DB
* Remove dbranks flag
* I'm dumb
* re-promotes myself
* Re-use datums, rather than continually re-making them
* Delete the datum instead, easier to manage
* Moved to an inhertiance based system for permissions management
* Proccall protection and logging
* Linter
* Update config
* Fixes pp I hope
* Two letters made it do a bad, I am sad
* Clears forums admins when reloading
* Adds db support
* Update config
* Re-enables forum integration
* No editing the funny datum
* Allow me to do the funny during the test merge
* Didn't commit the changes
* Copying and pasting hard
* Sanitize ckey
* Var is unnecessary
* Small debug log to debug dono chat
* Fixes wrong proc call
* Move log, will be a bit much, but is fine because its temporary
* Made better log message
* Fixed reload admins, added debug log to json_decode that was erroring
* Expanded forums integration error handling
* Fully protects funny lists
* Makes the HEY LISTEN dialog a bit quieter
Now it only prints to admins. It's still logged and everything, for those who want to shave off the <100 ms it takes the server to usually handle this atmos equalization stuff.
TBH this is such a, weird debug line, I don't really know why it was kept in as a big dumb to_chat(world) for so long.
* Makes the subsystem init dialog look nicer
Now, instead of displaying performance times to the whole `world`, an approximate loading % is printed to everyone (with admins getting the old dialog in span_notice style).
EDIT: Fixes some stuff Gamer complained about
EDIT EDIT: I don't get how SHOULD_CALL_PARENT works
* Update yogstation/code/controllers/subsystem/yogs.dm
Co-authored-by: nmajask <nmajask@gmail.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
Co-authored-by: nmajask <nmajask@gmail.com>
* asset cache cdn
* Fix cdn rsc (#52886)
I was converting this to use length so it didn't have to care if the list existed or not, and forgot to remove the .len. this broke cdn .rsc files because length(num) returns 0.
* Add warning about https to the external rsc config (#53367)
today in hostchat we discovered that most of the servers who tried to
do cdn the .rsc, had unknown issues because they had used https://
urls. Byond can't into https.
like 5 servers had failed to get this to work because of that pitfall,
so im gonna add a warning to the config.
* tchat
* tgchat compile
* fixes
* Merge pull request #53011 from stylemistake/tgui-chat-fix-asay
tgchat: Fix asay
* chat color
* logging
* webstorage
* compile TGUI
* actually like compiles on the DM side
* Update chat-dark.scss
* Update chat-light.scss
* Update resources.txt
* Update tgui-panel.bundle.css
* Colors
* compile
* s
* s
* Ports Gamers TGChat so we can edit it. - NOT LIVE TGCHAT BRANCH (#10226)
* asset cache cdn
* Fix cdn rsc (#52886)
I was converting this to use length so it didn't have to care if the list existed or not, and forgot to remove the .len. this broke cdn .rsc files because length(num) returns 0.
* Add warning about https to the external rsc config (#53367)
today in hostchat we discovered that most of the servers who tried to
do cdn the .rsc, had unknown issues because they had used https://
urls. Byond can't into https.
like 5 servers had failed to get this to work because of that pitfall,
so im gonna add a warning to the config.
* tchat
* tgchat compile
* fixes
* Merge pull request #53011 from stylemistake/tgui-chat-fix-asay
tgchat: Fix asay
* chat color
* logging
* webstorage
* compile TGUI
* actually like compiles on the DM side
* Update chat-dark.scss
* Update chat-light.scss
* Update resources.txt
* Update tgui-panel.bundle.css
* Colors
* compile
* s
* s
Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
Co-authored-by: TheSmallBlue <ilanmori@hotmail.com>
* Fixes Replay Chat
* Update to_chat.dm
* Update chat.dm
* Update demo.dm
* yarn berry
* yarn berry compile
* Update resources.txt
* Update config/resources.txt
* Update resources.txt
* Attempt at fixing reconnect.
* Lets try fix it again
* oops
* THROW THE SINK AT IT
* ree
* Makes Travis work again thank you jamie
* Fixes snowflake images
* Update security.dm
* Updates TGChat Test Merge (#10307)
* asset cache cdn
* Fix cdn rsc (#52886)
I was converting this to use length so it didn't have to care if the list existed or not, and forgot to remove the .len. this broke cdn .rsc files because length(num) returns 0.
* Add warning about https to the external rsc config (#53367)
today in hostchat we discovered that most of the servers who tried to
do cdn the .rsc, had unknown issues because they had used https://
urls. Byond can't into https.
like 5 servers had failed to get this to work because of that pitfall,
so im gonna add a warning to the config.
* tchat
* tgchat compile
* fixes
* Merge pull request #53011 from stylemistake/tgui-chat-fix-asay
tgchat: Fix asay
* chat color
* logging
* webstorage
* compile TGUI
* actually like compiles on the DM side
* Update chat-dark.scss
* Update chat-light.scss
* Update resources.txt
* Update tgui-panel.bundle.css
* Colors
* compile
* s
* s
* Ports Gamers TGChat so we can edit it. - NOT LIVE TGCHAT BRANCH (#10226)
* asset cache cdn
* Fix cdn rsc (#52886)
I was converting this to use length so it didn't have to care if the list existed or not, and forgot to remove the .len. this broke cdn .rsc files because length(num) returns 0.
* Add warning about https to the external rsc config (#53367)
today in hostchat we discovered that most of the servers who tried to
do cdn the .rsc, had unknown issues because they had used https://
urls. Byond can't into https.
like 5 servers had failed to get this to work because of that pitfall,
so im gonna add a warning to the config.
* tchat
* tgchat compile
* fixes
* Merge pull request #53011 from stylemistake/tgui-chat-fix-asay
tgchat: Fix asay
* chat color
* logging
* webstorage
* compile TGUI
* actually like compiles on the DM side
* Update chat-dark.scss
* Update chat-light.scss
* Update resources.txt
* Update tgui-panel.bundle.css
* Colors
* compile
* s
* s
Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
Co-authored-by: TheSmallBlue <ilanmori@hotmail.com>
* Fixes Replay Chat
* Update to_chat.dm
* Update chat.dm
* Update demo.dm
* yarn berry
* yarn berry compile
* Update resources.txt
* Update config/resources.txt
* Update resources.txt
* Attempt at fixing reconnect.
* Lets try fix it again
* oops
* THROW THE SINK AT IT
* ree
* Makes Travis work again thank you jamie
* Fixes snowflake images
* Update security.dm
Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
Co-authored-by: TheSmallBlue <ilanmori@hotmail.com>
Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
* Fixes
* Undo Kitchen Sink
* Fucking 7 Hours.
* status panel
* stat panel fixes
* fixes
* stat panel stuff
* Stat panel finish
* Compile, oops
* Update server_maint.dm
* Update world.dm
* Update interface.dm
* tgui compile
* Update subsystems.dm
* fix statpanel deleting whole admin tab (#54211)
fix: adminhelping no longer removes entire admin tab
fix: end of round no longer removes entire admin tab
* Update skin.dmf
* verbs?
Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
Co-authored-by: TheSmallBlue <ilanmori@hotmail.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
Co-authored-by: Couls <coul422@gmail.com>
Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
* Document the world (#46495)
* Document drone verbs.dm
* Document the outfit datum with autodoc (#45415)
* Uncurse take_damage and document obj_defense.dm (#45146)
The original take_damage proc defined vars for no good reason had some
duplicate code and wasn't very readable.
If you are wondering why it calls obj_break every time it takes damage
while below integrity_failure, that's the way it used to be. Most (if
not all) stuff that takes advantage of this functionality already
accounts for this.
* Convert some code docs into the auto doc format (#45101)
* Commit Message
* Fixes
* e
* Documents browserOutput.dm (#51439)
* Add autodoc to the callback datum (#45463)
* Autodoc the vending machine (#45468)
* Autodoc the vending machine
* Update code/modules/vending/_vending.dm
Co-Authored-By: Tad Hardesty <tad@platymuus.com>
* autodoc organ helpers (#45464)
* timer proc autodocs (#46530)
* bunch of define autodocs
* ballistic guns autodoc (#45578)
* ballistic guns autodoc
* fixes
* client vars autodoc (#46446)
About The Pull Request
Autodocs client vars
* Autodoc for XB and Research
* shuttle docking autodoc (#48677)
* Add autodocs for reagents (#49478)
* Fix
Co-authored-by: oranges <email@oranges.net.nz>
Co-authored-by: Jonathan (JJRcop) Rubenstein <jrubcop@gmail.com>
Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com>
Co-authored-by: alexkar598 <>
Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: spookydonut <github@spooksoftware.com>
Co-authored-by: actioninja <actioninja@gmail.com>
* Moves TgsInitializationsComplete call to immediately after world/New()
* Subsystem PreInit data directory audit
* world/New data directory audit
* Needful here too
* Remove SS_NO_INIT from SStitle
* Don't create banlist.bdb for SQL banning
* Stop creating legacy notes file
* Moves iconCache from data to tmp
This is primarily a compatibility layer that enables both forward and backward compatibility for all past and future APIs based on the detected running TGS version. It also bundles all it's includes to make future upgrades not have to modify the dme, heck, could even use a submodule if it wanted (not happening). No other changes necessary.
There's an upcoming event system and new chat management functions. Check them out here: 303448457e/DMAPI/tgs.dm
Also added /datum/proc/CanProcCall()
* Adds test run
* Add OVERRIDE_LOG_DIRECTORY_PARAMETER
* Fails travis if a test run fails
* Fix travis looping
* Move the unit tests behind a define
* Fix various test run things
* Remove the DEBUG check because that's just you shooting yourself in the foot
* Adds readability spacing. Makes RunUnitTests a generic proc
* Remove unit tests
* Revert "all this wrapping and it's not even christmas (#33035)"
This reverts commit faaf151580.
* Revert "fuck me for forgetting to graph this one"
This reverts commit 45d7acea2f.
* Revert "defines math"
This reverts commit 2817a1737b.
Tick contention is when the mc, sleep()/spawns(), and byond internal processing fight each other for game tick time. Usually in an unproductive way that wastes cpu cycles and reduces the effective amount of game tick to go around.
Tweaked the anti-tick contention heuristics of the MC a touch.
Fixed an incorrect operator in the mc's anti-tick contention heuristics causing it to apply in times of no lag rather then times of lag.
The mc's anti-tick contention heuristics now plays better with the high pop processing mode.
We no longer reserve the tail end of a tick for the mc to have if the mc doesn't plan to run next tick because of high pop mode or anti-tick contention heuristics.
stoplag() can now be given an initial delay allowing it to act like a smarter sleep (in that it sleeps for longer if the server is overwhelmed.
All short sleeps that only existed for performance reason and had no game play, visual/audio, or balance reasons behind their timing were converted to stoplag().
The logic behind this is that at higher populations, byond ends up needing to do more at the end of the tick to update clients, that the mc and traditional sleep timers end up fighting for a very small amount of time left.
Increasing the MC's sleep time means its wakes up sooner in the tick. So it has more time to do things, even if they don't happen as often, and leaving every other tick free allows for sleeping CHECK_TICK task to wake up without finding the MC left them very little time to do things.
Admins have been regularly manually doing this by varediting the processing variable to 2, that i figured we should automate it.
for /tg/, i plan on raising the player count a bit, but they make decent defaults for the avg server.
* Configuration datum refactor
* More WIP
* New easier on the eyes format
* More WIP
* Finished config.txt
* Fucktons more WIP
* The end of conversion draws near...
* Add all this shit
* Done converting entries finally
* Hunting down compile errors
* More WIP
* MORE CONVERSIONS
* More WIP
* More WIP
* Oh shit only 90 errors this time!
* IT COMPILES!!!
* Fixes world start runtimes
* Cleanup world/New
* Moves some things from OnReboot SS Shutdowns
* Move mode handling procs to ticker
* Moves delayed reboot to ticker
Cleans up round end sound setting
Splits round end animation between SStitle and SSticker
* Moves PR announcement to where it can use the define
* Clean this bit up
* Move out datacore Initialization
* Fix some stuff
* Fix this for
* Different PR
* Gives admins reboot options
* Make it smaller
* Fixes a bug where shuttles would not function
Okay, so Cyberboss walked me through this, I've tested it, and it fixes
shuttles working, it sets the master controller runlevel to 3, like it's
supposed to?
I don't really know that much about how this actually works internally.
But it does fix the bug.
* Compiling
* RIP softreset
Because of how this is ends up being calculated, this will almost never actually kick in, but sometimes subsystems like garbage will overrun into mutiple ticks, so delaying their next fire is needed.