Commit Graph

1720 Commits

Author SHA1 Message Date
skoglol 47c3589d4f Adds a few more smites (#50689)
* Adds a few more smites

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-05-01 02:29:03 -03:00
actioninja b5dfd8880d id to component name 2020-04-19 19:36:35 +03:00
tralezab 7fad442f52 Secrets Panel button: Anonymous Names (and refactors a bit of admin code) (#50478)
* whew

* now accepts random names

* it compiles

* bobbah's review
2020-04-19 23:51:32 +08:00
Rob Bailey c20a04543b Port of Replays from Yogstation (#48579)
* demos (ported from yogstation)

rustg update + write with no format

use external hook for logging

use proper log vars

fix + clarifying comment

don't start the log

release build of rust-g

fix something caught by the lint

Update code/__DEFINES/subsystems.dm

Co-Authored-By: Jordan Brown <Cyberboss@users.noreply.github.com>

Update code/controllers/subsystem/demo.dm

Co-Authored-By: JJRcop <jrubcop@gmail.com>

Update code/controllers/subsystem/demo.dm

Co-Authored-By: JJRcop <jrubcop@gmail.com>

moves hooks out of a dedicated file

len = 0 to Cut(), remove semicolons

untyped loop

* updated rust_g

* 513 updates
2020-04-06 13:15:48 -04:00
Timberpoes bf6039215e tgui: DNA Console Overhaul Project (#50225)
* Initial work on tgui conversion for DNA Consoles

* Some initial button logic complete

TODO: Scanner Open button should disable while scanner is locked
TODO: Scramble DNA should disable while on cooldown

* Tabs for the tab God

* Dropdown changes, genetic sequencer modifications

* Mutation and genetic sequencer functionality

Almost complete. Need to implement Advanced Injectors still.

* Mostly done, converted most of genetic makeup code

* Tactical pocket linting

* More changes

* Everything except advanced injectors complete

* First complete alpha version

* Fixed debug/testing change

* Removal of more debugging code

* Fix pulse bug

* Bugbusters

* Fix for accidental changes

* Fix broken genetics disk changes, fix list of lists

* Squash tgui tab-key bugs and clean up attackby

* Code documenting, refactoring, bugfixing, spellcheck

* Documentation and misc bug squashes and runtime error fixes

* Fixes, features and tweaks

* Special check for those who have shuffled off this mortal coil

* New interface concept for console storage

* Mini code refactor

* Massive refactoring of DnaConsole interface (WIP)

- De-spaghettifying of LawyerCode
- Fixed the flex-basis bug, and removed ForcedBox since it's no
longer needed.
- Added a Divider component.

* Implemented requested changes.

Removed list() versions of strings.
Removed used TGUI-exclusive constants from data object. Currently unused ones still remain, can be removed if they're no longer necessary.
Fixed other DM data structures to serialise as JS Arrays instead of Objects.
Minor TGUI logic fixes for various edge cases.
Added some comments in DnaConsole.js outlining some minor notes and TODOs.

* Fixes "Save to X" being disabled.

* Included 2px outline CSS

* Additional minor logic patches

Don't want certain buttons active unless the mutation relation to them is also active

* Makes these transforms use a timer

* Fixed transformation race condition and stuff.

* Mutation source defined in DM. Conditional formatting improvements.

* Custom cache directory with BYOND_CACHE env var

* Fix gene cycler on index of -1

* Framework and TODO for next interface element. Cleared TODO list a bit.

* Fix 1px shift in gene cycle buttons

* Pass raw event with GeneCycler

* More robust combining logic

* Fix some cycler bugs, start working on enzymes

* Conditional highlighting for unsolved mutations and X'd genes.

* Lint for the Lint God

* Enzyme UI and more refactoring incoming

* Finish tgui refactoring, enzymes injectors done

* Whack-a-Bug

* Unlinted. Advanced injectors moved and improved. Implemented disk genetic data readout.

* Partial linting

* Assorted bug fixes

* Remove debugging code

* DNA Consoles are now more conversational. Initial state set.

* Final tweaks, implemented mutation combining, complete?

* Fixes tooltop, re-enables delayed enzyme transfer, cleans up some data params

* 10 Fix a bug, 20 make a bug, 30 goto 10

* The definition of irony

* Don't drink and derive, kids || How I learned to stop coding while drunk and rely on stylemistake to Flex on my formatting.

* uniqBy

* Add support for dropdowns with disabilities.

* Cleanup

* Remove current mutation from combinations

* Dividing

* Document BYOND_CACHE env var

* Outline cleanup

* Declare radiation constants since they were removed in DM

* Combine mutations only after checking for null

* Advanced Injectors actually work now.

* Comment cleanup, DMDOC, stard and end processing at appropriate times

* Pressing Ctrl-S occasionally helps things

* Fix enzyme mutator timeout bug, added injector timeout display.

* Rebuild tgui

* Rebuild tgui

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: spookydonut <github@spooksoftware.com>
2020-04-06 19:00:19 +03:00
spessbandit c3ac60abc8 Create Command Report dialog now tells you the current CentCom name. (#49831)
About The Pull Request

The admin Create Command Report verb now displays the current Central Command name in the dialog box, in case it has been previously changed.

also fixed one(1) typo
Why It's Good For The Game

because the other day I murdered everybody's immulsion by sending a "Central Command" report without realizing someone had hit Change Command Report previously

(pr title aside this is not just for manuel)
Changelog

cl bandit
admin: The Create Command Report dialog now tells you the current CentCom name.
/cl
2020-03-30 09:59:07 +13:00
Fikou df8b8f5d9b removes improper grammar in ert prompt 2020-03-18 00:54:57 +01:00
Kyle Spier-Swenson d1f0c01959 Fix relayed admin helps getting truncated 2020-03-05 23:48:57 -08:00
ShizCalev 7209ac3c93 Removes unnessacary math defines 2020-02-17 23:09:09 -05:00
AnturK 52120c7728 Drops 512 support. 2020-02-17 15:01:14 +01:00
MrPerson 75133d1bc7 Fixes an SQDL2 runtime error (#49327)
If you tried to call SQDL with " at the end, it would throw eg WHERE var="something"
2020-02-14 18:38:08 +01:00
skoglol 7abce6bfbe Multiline initial adminhelp (#49276)
* Multiline ahelps

* utf-8 compliant
2020-02-11 13:35:01 -05:00
AnturK e40e22da6b Another runtime fixes batch. (#49209)
* Slime gland runtime fix.

* Logout ahelp logging runtime.

* Crafting non-items runtime.

* Turret building runtime.

* spacevine runtime.

* forcesay runtime fix.

* One less var
2020-02-10 10:50:36 -05:00
peoplearestrange a9cfc9290c changes to category
changes Administration to Admin
2020-02-04 20:22:44 +00:00
peoplearestrange 19f7bd4cd1 Changes to category
changes Administration to Admin
2020-02-04 20:22:08 +00:00
peoplearestrange 2d89d54d55 changes to category
Changes Administration to Admin
2020-02-04 20:21:42 +00:00
peoplearestrange e0601aaa48 changes to category
changes Administration to Admin
2020-02-04 20:21:22 +00:00
peoplearestrange 1f70641f9d changes to category
Changes Administration to Admin
2020-02-04 20:20:56 +00:00
peoplearestrange 6f6ec8f4a8 changes to category
changes Administration to Admin
2020-02-04 20:20:30 +00:00
peoplearestrange 5930b888da Changed Category
Select Equipment = Admin - Events
2020-02-04 04:55:44 +00:00
peoplearestrange 880572dde8 Changes Category
Get server logs = Administration
Get current logs = Administration
2020-02-04 03:48:03 +00:00
peoplearestrange f6fbf2fe0d Changes Category
Admin - Game
2020-02-04 03:47:12 +00:00
peoplearestrange 86c9021bff Changes Category
Admin - Game
2020-02-04 03:45:49 +00:00
peoplearestrange 83c7dba009 Changes Category
admin pm = Administration
2020-02-04 03:43:07 +00:00
peoplearestrange 71252ee325 Changes Category
Jump to area = Admin - Game
Jump to turf = Admin - Game
Jump to Mob = Admin - Game
Jump to Coordinate = Admin - Game
Jump to key = Admin - Game
Get mob = Admin - Game
Get key = Admin - Game
Send mob = Admin - Game
2020-02-04 03:41:27 +00:00
peoplearestrange a7de4c8f51 Changes Category
Reload Admins = Administration
2020-02-04 03:35:15 +00:00
peoplearestrange f4bc8acaed Changes Category
Grant full access = Debug
Assume direct control = Admin - Game
Give direct control = Admin - Game
2020-02-04 03:33:39 +00:00
peoplearestrange 471410a9a0 Changes category
Admin - Events
2020-02-04 03:30:19 +00:00
peoplearestrange 8d5a41f9d8 Changes Category
Server
2020-02-04 03:29:20 +00:00
peoplearestrange 6fadc103cb Changes Category
Server
2020-02-04 03:27:54 +00:00
peoplearestrange 17dc6860b5 Changes Category
Subtle Message = Admin - Events
Headset message = Admin - Events
Modify Antagonist Reputation =  null
Global narrate = Admin - Events
Direct Narrate = Admin - Events
Local Narrate = Admin - Events
Godmode = Admin - Game
Respawn Character - Admin - Game
Add Custom AI law = Admin - Events
Rejuvenate = Debug
Create Command Report = Admin - Events
Delete - Debug
Manage Job Slots - Admin - Game
Explosion = Fun
EM Pulse = Fun
Gib = Fun
Gibself = Fun
Check contents = Debug
Change View Range = Admin - Game
Call Shuttle = Admin - Events
Cancel Shuttle = Admin - Events
Set Security Level = Admin - Events
Toggle Nuke = Admin - Events
Toggle Combo HUD = Admin - Game
Run Weather = Admin - Events
Show Tip = Administration
Player Playtime = Administration
2020-02-04 03:27:22 +00:00
peoplearestrange 9d0bc33c95 Changes Category
Admin - Game
2020-02-04 02:53:36 +00:00
peoplearestrange 8ab9f2782f Update beakerpanel.dm 2020-02-04 02:52:44 +00:00
peoplearestrange 17157457c4 Update one_click_antag.dm 2020-02-04 02:52:05 +00:00
peoplearestrange 905098d53f Changes category
Admin - Event
2020-02-04 02:40:26 +00:00
peoplearestrange c6cb1f93cb Changes Category
Administration
2020-02-04 02:38:15 +00:00
peoplearestrange 353c8fd0db Changes Category
Admin - Event
2020-02-04 02:36:47 +00:00
peoplearestrange ca2d9ddcd8 Changes Category
Admin - Event
2020-02-04 02:30:41 +00:00
peoplearestrange c705cc08c6 Changes category
Administration
2020-02-04 02:28:47 +00:00
peoplearestrange e5e920d277 Changes Category
Admin - Game
2020-02-04 02:26:28 +00:00
peoplearestrange 7813b6a99d Changes Category
Administration
2020-02-04 02:24:57 +00:00
Emmett Gaines 2cf7728494 Removes the bitflag helpers (#49106) 2020-02-03 16:26:00 -05:00
MrPerson 12eecfd181 Makes raw HTML and browser datum popups UTF-8 aware (#49066)
* Makes raw HTML and browser datum popups UTF-8 aware

Admin menus specifically really shouldn't break just because you named some guy "☺s the Clown"

* Fixed new_player.dm

* Fucking filing cabinets
2020-02-01 22:14:31 +01:00
vuonojenmustaturska 40657c9ccd removes a bunch of unused/bad helpers (#48969)
* a commit

* Update code/controllers/subsystem/persistence.dm

Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com>

* Update code/__HELPERS/text.dm

Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com>

* Update advance.dm

* Update security_officer.dm

* Update text.dm

* Update unsorted.dm

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
2020-01-28 16:22:20 +01:00
AnturK ac4f25e563 Cross server comms update. (#48850)
* Makes cross server config easier to manage and lets you send messages to specific stations.

* No need for fancy copy
2020-01-18 19:04:23 -05:00
MrPerson f7eb2c905b Unicode awareness Part 2 -- copytext() (#48512)
* Unicode support Part 2 -- copytext()

This is the transition of all copytext() calls to be unicode aware and also some nearby calls in the same functions. Most things are just replacing copytext() with copytext_char() as a terrible character limiter but a few others were slightly more involved.

I replaced a ton of
````
var/something = sanitize(input())
something = copytext(something, 1, MAX_MESSAGE_LEN)
````

with a single stripped_input() call. stripped_input() already calls html_encode(), trim(), and some other sanitization so there shouldn't be any major issues there.

This is still VERY rough btw; DNA is a mess, the status displays are complete ass, there's a copytext() in code\datums\shuttles.dm that I'm not sure what to do with, and I didn't touch anything in the tools folder. I haven't tested this much at all yet, I only got it to compile earlier this morning. There's also likely to be weird bugs until I get around to fixing length(), findtext(), and the rest of the string procs.

* Makes the code functional

* Assume color hex strings are always # followed by ascii.
Properly encodes and decodes the stuff in mob_helpers.dm which fixes some issues there.

* Removes ninjaspeak since it's unused
2020-01-18 13:07:22 +13:00
Nick e7a9bf4a6d Yet another db tickets bugfix #48854 2020-01-18 11:18:38 +13:00
Nick c758bdd51c [Ready] Database Tickets (#48727)
* DB ticket procs

* Schema changes for DB tickets

* Schema version update

* Fixes requested by Jordie

* SQL updates

Adds a recipient column

* Still one dangling issue where this DOESN'T WORK

* Alright, this should work

* Requested SQL fixes

* Rogue changes

* less bad defaults

* utf8 for the utf8 gods

* aaaaaa

* Update tgstation_schema_prefixed.sql

* Update tgstation_schema.sql

* Update database_changelog.txt

Co-authored-by: Jordie <4343468+Jordie0608@users.noreply.github.com>
2020-01-17 05:35:16 +11:00
spookydonut 3195ceaa22 Update SpacemanDMM suite to 1.2 (#48785)
* Update SpacemanDMM suite to 1.2

* Fix new lint errors
2020-01-16 11:49:39 -05:00
nemvar 828ebb20cf Allows calling procs in SDQL update queries without storing the return anywhere. (#48690)
* Adds everything that's needed for SDQL varedit macros

* Removes unused proc

* Allows calling procs in update queries without setting the return anywhere.

* Readds a line

* Removes file wrapper
2020-01-13 19:52:20 -05:00