Commit Graph

2820 Commits

Author SHA1 Message Date
Jordie0608
d5c42bc79c Merge branch 'master' of https://github.com/tgstation/tgstation into onedayillmakeeveryquerylongenoughtowrapontothenextline 2018-08-26 20:53:05 +10:00
CitrusGender
bb2c82375e Add Note severity and changes UI of administrative notes (#39808)
* Adds note_severity and updates dbconfig. New SQL stuff too.

* whoops please don't hack into my database >:^(

* UI change, changed how it's stored in the DB, removed some queries when it returns, changed stuff to key.

* Update sql_message_system.dm

* this was not defined

* random indent

* wait how did this get here

* okay enough web edits I promise

* just kidding I got u

* Update common.css

* Added buttons, changed UI again, standardized the inputs, added severity for appearance bans, fed the dog

* forgot about the banning panel

* added an asset cache

* corrects asset datum var name
2018-08-26 20:23:29 +10:00
vuonojenmustaturska
bc7006f266 Small refactor to to_chat to get rid of needless list-wrapping (#39899)
This is frequently called from inside a loop. Probably no measurable performance impact but I sleep easier knowing we don't do this. Also includes a helper define for getting a client from a clientful thing.

I also shuffled some things around for more nano-optimizations.
2018-08-26 12:49:26 +12:00
JJRcop
c73ecda2fe Asay logs have ASAY: again (#39896)
The log_adminsay proc was orphaned so I adopted it.
2018-08-25 14:31:48 -07:00
Jordie0608
3f881722e8 adds query safety for getting ckeys not in player table 2018-08-26 01:45:25 +10:00
Tad Hardesty
ac2d857da0 Fix Build Your Own Shuttle crashing the server (#39886) 2018-08-25 14:42:24 +03:00
Jordie
b54895f175 fix rankchange button in player panel (#39834) 2018-08-22 15:05:09 +03:00
XDTM
d9e691f393 [Ready] [Reviewed] Nanites 2 (#37922)
* Adds programmable nanites to robotics

* Oh yeah i might want to actually PR the files

* nanite injectors, nanite printer, nanite analyzer

* We're back

* remove some reagent stuff

* more removal

* those too

* cool icons!

* might pass travis now

* lotsa code

* tgui fixes/misc fixes

* WE'RE FUNCTIONAL BOYS

* some ui stuff

* Misc fixes, cloud update, access nanites

* activation check

* stuff

* preparing for new chamber sprite

* Physical backups, sensor nanite programs

* techweb sensor nanites

* fix

* include

* fix again

* revert

* blinding nanites

* minor change

* minor tweaks

* makes minor shocks interfere with nanites

* fix

* split trigger file into the others, for consistency

* cleanup, added mindshield nanites to techwebs

* include n all

* how'd that even happen

* Fixed HUD, readded missing remote icon, added nanite scanner, health analyzers can now detect nanites, added stealth program

* cost tweaks

* better term

* new icon! by MrDoomBringer

* icons/tweaks

* tgui build

* boards

* fix

* fixes implants not updating mindshield status

* move implant hud to living

* new remote sprite

* scanner sprite

* biotype checks

* some nerfs

* new open chamber sprite

* Fixes mindshield implants not updating the HUD, fixes uninstalling always removing the first program, adds 25% and 75% health sensors

* correction

* nerfs antistun nanites

* fixes scanners and minor tweaks

* fixes revs with mindshield

* oh yeah haha

* Fixes wonky techweb

* Moves pyro program to weapon node

* Adds defib program and some investigate logging

* mistype

* fix

* fix2

* save your files before committing

* emps can desync from cloud

* pretty outdated

* Cloud backups are now tied to the cloud consoles; you can no longer build a new console to access existing backups.

* UI fix

* more fix

* okay fix for real

* tested and working

* Extra Settings rework, sensor nanites vastly better

* non-unique glitches

* Public chamber, extra settings rework, new sensors, speech program

* Mute and mind control nanites

* mind control into hazard

* better description

* fixes

* fixes relay nanites

* fixes TK access

* mind control costs less

* UI update

* removed pointless code bit

* tgui build

* compiles

* dammit

* paralysis keeps victim upright

* Adds sounds to consoles

* some feedback for some subtle effects

* new chem lore

* Viral nanite customization

* fix

* tgui build

* Added mitosis nanites

* removes glitched nanites from techwebs

* Added flesh eating nanites, poison nanites, hallucination nanites

* ,

* #traviscoding

* Adds memory leak, renames nanite roam node to nanite smart

* Voice sensor + some techweb desc tweaks

* hallucination and Hear() fix

* changes signal registering to the new method

* 75% done, i think

* should be all

* more fix

* more changes

* okay should be fine now

* ninja

* inheritance

* i don't care about originality!

* line endings

* line endings 2

* maybe

* fixes program installation

* new review

* line endings?

* line endings??

* line endings???

* wait do i even use this

* fixes public nanite chamber cloud id

* maint overlay for chambers

* args doesn't work well here

* antiabuse checks

* compile tho

* fixes locked remotes

* disk renaming

* skull echo nanites

* self scan program

* Condenses a lot of sensors into a few generic but customizable versions

* fixes machinery runtimes. Hacky, but a proper fix would likely require a refactor of machinery typing.

* forgot to save

* empty

* metastation nanite lab

* Removes duplicate APC

* fix for nanite chamber

* Raise max programs

* UI Tweaks, aggr. replication rebalance, minor fixes

* let's not do that again

* Fixes nanites meta merge conflict

* Merge conflict v2

* fuck this HDD is slow

* What the fuck did you just fucking say about me, you little leaf? I'll have you know I graduated top of my class in the Lawyer School, and I've been involved in numerous secret DMCA raids. I am trained in law violations warfare and you are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on BYOND, mark my fucking words. You think you can get away with changing the code? Think again, fucker. As we speak I am contacting my secret network of attorneys in the Fox and your IP is being traced right now so you better prepare for an outstanding warrant, maggot. The storm that wipes out the pathetic little thing you call your leaked code. You're fucking done, kid. I can file for an injunction anywhere, anytime, and I can take legal actions in over seven hundred ways, and that's just with my bare hands. Not only am I extensively trained in unarmed combat, but I have access to the entire arsenal of the Florida Statute and I will use it to its full extent to wipe your miserable ass off the face of Canada, you little shit. If only you could have known what unholy retribution your little "clever" action was about to bring down upon you, maybe you would have held your fucking tongue. But you couldn't, you didn't, and now you're paying the price, you goddamn idiot. I will send you to spend time in a Florida State Penitentiary if you ever decide to travel from Canada to the U.S. You're fucking done, kiddo.

* Adds virus symptoms that interact with nanites

* Fixes spreading nanites being more infective the more protection the victims have

* Review plus public chamber tweak

* . = ..()

* ball

* cloud

* . = ..()

* always press save all before committing

* missed a couple
2018-08-20 14:46:04 +03:00
fluffe9911
1493d282fa Zombie Organ now does toxin damage! (#39553)
* Zombie Organ now does tox damage

* Adds some ominous dots

* Makes zombies not get the you feel sick message

* Makes the mass zombie infection button not be a kill everyone slowly button part 1

* Makes the mass zombie infection button not be a kill everyone slowly part 2

* Makes romerol use nodamage version
2018-08-18 14:05:53 -04:00
Jordie0608
46fecfdc99 fix missing ckey to key in edit_meesage_expiry 2018-08-16 20:43:02 +10:00
Tad Hardesty
b4ce7bc1f1 Validate map templates uploaded by admins (#39674)
* Move the preloader datum to its own file

* Prettify some of the map loader docs

* Use src rather than usr in map template verbs

* Cache parsed templates between upload and first use

* Validate map templates uploaded by admins before use

* Add href token to validation report links
2018-08-16 10:09:21 +02:00
Ling
73e300d8df Add some missing query qdels (#39726)
* qdel some more queires

* Another one
2018-08-16 03:16:57 +03:00
Tad Hardesty
2283ecb49c Minor VV interface improvements (#39631)
* Reset the dropdown after an item is chosen

* Immediately update the Marked Object and Var Edited statuses

* Show Deleted in VV and update it upon deletion

* Improve coordinate display when deleting atoms

* Show name of named datums, don't duplicate type otherwise

* Remove a nonsense HTML attribute

* Remove inneffectual href_list modifications

* Live-update dir display when the rotate buttons are used

* Add quick update for editing mob/atom name

* Add live update for ckey and real_name

* Add live update for damage numbers

* Add a missing dir fallback
2018-08-13 22:19:16 +02:00
Jordie
b675aa03db fix adding notes for ckeys without any (#39677) 2018-08-13 22:43:03 +03:00
Jordan Brown
9aaed104b7 Merge pull request #39668 from AnturK/asayfix
Restores admin private log type
2018-08-13 13:37:12 -04:00
Jordie
f8f1b6ca03 Some injection fixes (#39642)
Fixes a breaking error and possible injection exploit in
populate_key_2018-07-09.py caused by a key existing from when byond allowed now
blocked characters like ' in usernames e.g.
http://www.byond.com/members/immortaljrosh?format=text

Additionally fixes some unsanitized values in other queries.
2018-08-12 14:09:45 -07:00
AnturK
eb42466b6a Restores admin private log type 2018-08-12 22:01:38 +02:00
Patrick Chieppe
2c8248575a Logging system refactor and improvement (#39521)
* Refactor several log lines to use datum_info_line and atom_loc_line

* Add default return strings from datum_info_line and atom_loc_line

* Add parentheses around atom_loc_line data

* Change more logs to use atom_loc_line

* Add check in atom_loc_line for turfs to avoid calling get_turf on them

* Re-add removed 'at'

* Replace datum_info_line with key_name and atom_loc_line with loc_name

* Refactor logging functions

* Avoid double-logging self-interactions

* Fallback to simple stringification if all else fails in key_name()

* Rewrite muscle spasm logging to use log_message

* Standardize logging of martial arts

* Tweak individual logging panel look

* Fix individual logging panel source

* When I typed || I really meant &&

* Fix Telecomms logging always showing client logs in the panel

* Reverts addition of buggy ownership log to panel

* Remove colon

* Fix missing log_directed_talk tag

* Add warning for missing type in log_direted_talk

* Change warnings to stack_traces

* Add square brackets around fallthrough key_name() case to help parsing

* Allow atom arguments/src in log_*() functions

* Change log_combat call with null argument to log_message

* Change mecha types' log_message() arguments to match atom and mob version

* Add key_name() case for atoms

* Fix resist_grab() unsetting pulledby before log_combat gets a chance to use it

* Fix log_globally logic

* Add logging for hitting objects with items

* Move log_combat() to atoms.dm

* Use utility functions for object stringification in log_combat()

* Use utility functions for object stringification in log_combat()

* Add missing logs for interacting with display cases

* Rewrite log_combat() comment

* Add missing space in log_combat()

* Add logging for hitting grilles barehanded

* Add missing ..()
2018-08-12 21:41:09 +02:00
Nich
7c9414a940 Fix admins without +fun being able to use smite (#39638)
While admins with only +admin don't get the verb, they can still smite people
who pray, or who use communications consoles to contact CC. This fixes that, as
SMITE is locked behind R_FUN.
2018-08-12 00:51:14 -07:00
Jordie0608
17dc011101 fixes messages not having targetckey 2018-08-12 08:12:37 +10:00
Jordie
31f020f3cc Add expiration time for admin messages (#39502)
* add expiration time for messages

* typo

* fix

* src to usr

* allows removing expiry from existing messages

* cancel button
2018-08-12 06:31:14 +10:00
kevinz000
230e47c0ea Configuration entry refactor! (#39608)
* Config entry refactor

* Fixes

* Update configuration.dm
2018-08-10 15:44:14 -04:00
Jordie
0d7ef3ed65 Key instead of ckey for user facing logs and ui (#39009)
* converts to using key instead of ckey for user facing logs and ui

* more key_name for airlock wires

* futureproofing check for if key changes

* --onlyckeymatch script argument and fail/success counter

* fix
2018-08-11 02:15:50 +10:00
kevinz000
5f4b418eaa Movespeed Modification System (#39181)
In preparation of pixel movement, I want to refactor our slowdown system to something more modular, and something that doesn't require /quite/ as many proccalls/calculations a tick. The way this works is intended to only have things recalculate when it's necessary, rather than calling it every move.
However, I've left movement_delay() in, as without completely redoing a lot of code it's not /quite/ ready at this point to tear it out completely, but I'm hoping everything can be transitioned over to this system later.
2018-08-09 16:55:15 -04:00
kevinz000
48ece11504 Felinid/catpeople are now their own human subspecies (#39513)
* Catpeople are nyow a species

* Fixes a runtime

* Fixes the issues with being forced ears when you chose none

* Neko --> Felinid

* P2

* Update

* Working this time I promise
2018-08-08 20:56:46 +03:00
Tad Hardesty
723c8e5227 Fix even more weird syntax (#39594) 2018-08-08 12:47:24 -04:00
Jordan Brown
c1870bd4ec Merge pull request #39555 from JJRcop/sdql_strings
Fixes SDQL strings
2018-08-05 21:37:55 -04:00
John Ginnane
2b0038c76f Users can now see their own prayers in the chat log (#39509) 2018-08-04 15:19:05 -07:00
Jonathan (JJRcop)
1b57f50136 Fixes SDQL strings
This is done by partially reverting commit 503a8a3557
Also fixed explain not working well with goonchat
2018-08-04 05:03:21 -04:00
oranges
2fc303ecfb All adminsay now uses the adminobserver colour (#39511)
This makes it more distinguishable for admins
2018-08-03 13:40:09 -04:00
JJRcop
a80a2ae0a8 Deadchat can now use emoji (#39493) 2018-08-02 13:06:59 -07:00
kevinz000
5b5e1ee577 Third time's the charm - Photography update: 7x7 cameras, photo logging with full metadata, persistent albums and wall frames! (#38944)
* Photography Update

* Pictures logged in their own /data/picture_logs folder rather than normal logs

* Pictures logged in their own /data/picture_logs folder rather than normal logs

* Photos broke, retrying

* Persistence stuff

* I'm almost done I promise!

* Persistence mostly working, compile, etc etc

* Persistence mostly working, compile, etc etc

* Remove something really not needed from the PR

* Prevents duplication

* default to off

* removes check tick

* increase slots in albums to 21

* Allows for singular loading

* Update camera_image_capturing.dm

* Addresses review

* Anturk

* Update camera.dm

* Update misc.dm

* Update datum.dm

* Update camera.dm
2018-08-01 14:52:41 +02:00
AnturK
be7d1b8f88 Sliding puzzle improvements (#39471)
* Sets notransform on the mob and makes few more things respect it.
* Makes if location contains any indestructible walls. (I need to switch these
  to flag instead of path checking)
* Adds it to smite.
2018-07-31 14:28:25 -07:00
Tad Hardesty
0f3b00eb39 Add Spawn Ruin debug verb 2018-07-28 16:47:53 -07:00
Jordie
9dd566a586 Change +everything admin flag to not use ALL define (#39142)
* change +everything admin flag to not use ALL define

* add proc to handle max flag value changing update to db
2018-07-27 18:15:41 +12:00
AnturK
b1295ea02b Add client version display to player panel (#39310)
Getting questions about "Is my version good ? I don't know what it is." and
having to vv it is getting annoying.
2018-07-25 16:35:21 -07:00
Jordan Brown
2ddf0e656f Removes can_vv_get from some things (#39136)
* Removes can_vv_get from some things

* This too

* Remove extra vv_edit_var
2018-07-24 22:15:45 +12:00
McBawbaggings
6945432198 qdels rogue query (#39246)
AnturK asked me to fix this as i asked some questions about it while doing my
own stuff
2018-07-21 14:29:42 -07:00
Jordan Brown
b1fc23c4c0 Fix undeleted note edit query (#39238) 2018-07-20 19:44:02 -07:00
kevinz000
00f348c06f SDQL queries are now on statbus (#39141)
* Update SDQL_2.dm

* no need for manual escaping..
2018-07-19 21:17:10 -04:00
Jordan Brown
9633016e8e Move IsBanned query to async (#39178) 2018-07-18 22:53:17 +03:00
Kyle Spier-Swenson
07824d3a20 MassInsert now defaults to async. (#39180) 2018-07-18 22:53:05 +03:00
Jordan Brown
d41dd3b56e Prevents duplicate warning about missing admins backup file (#39068)
* Prevents duplicate warning about missing admins backup file

* Fix dbfail
2018-07-17 20:25:32 +12:00
Jordan Brown
1fc1148a5a Fixed round end notify chat command 2018-07-14 03:04:27 -04:00
AnturK
5a13417149 Fixes note deletion logging. (#39060)
* Fixes note deletion logging.

* Ok
2018-07-12 17:27:48 +10:00
ninjanomnom
059da44453 Converts collide back to bump and fixes double bumping in another way
This is in preparation for step_x support as the default behavior for these procs is necessary for proper functionality.

turf/Enter and atom/movable/Move default code got rewritten to replicate default byond functionality with minor changes.
2018-07-07 11:22:29 -04:00
MrDoomBringer
21beb6373f Fixes runtimes when using supplypod smite on ghosts and fixes supplypod-smite hotspot effects. (#38634)
* ez pz lemin squizi

* oooooooooh

* I DIDNT COMPILE MY CODE

* I DIDNT COMPILE MY CODE

* cyberboss i love u tho
2018-07-03 13:12:51 -04:00
oranges
472c15da3a SDQL where filter message is now correct
Previously when no where filter was used it would incorrectly use the
filtered count when reporting what objects were executed against, this
lead to admins erroneously assuming that the where clause was required
2018-07-02 02:28:59 +00:00
Jordan Brown
26b6fab1fe Merge branch 'pr-38604'
Signed-off-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2018-06-28 14:22:03 -04:00
Jordan Brown
0b5b187a6f Merge pull request #38744 from ThatLing/linkify
Fixes incorrect closing html tag
2018-06-27 15:10:10 -04:00