Commit Graph

837 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
Jordie0608
3f881722e8 adds query safety for getting ckeys not in player table 2018-08-26 01:45:25 +10:00
Tad Hardesty
f3130df9f8 Copy spritesheet files to the cache rather than persisting them (#39802) 2018-08-22 08:28:50 +02:00
Aranclanos
24d3207421 Fixes invalid name error showing up when cancelling the input (#39781)
The 'invalid name' message won't appear now if the user cancels it when
changing his name on the character setup window
2018-08-19 15:01:08 -07:00
Jordan Brown
4325bbff8d Merge pull request #39672 from zaracka/emote-and-suicide-restraint-checks
improves emote and suicide restraint checks
2018-08-18 12:03:48 -04:00
Jordan Brown
77c4f0078e Fix undeleted query (#39688) 2018-08-14 00:06:32 +03:00
zaracka
527034df51 improves suicide restraint checks
gives SOFT_CRIT stat check a to_chat message
grammatically corrects UNCONSCIOUS to_chat message
gives stun check a to_chat message
swaps canmove for IsStun and IsKnockdown
2018-08-12 16:36:22 -04: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
XDTM
b9445db807 Advanced surgeries are directly downloaded from the computers instead of using disks (#39451)
Removes needless back-and-forth with surgery disks, making advanced surgery a
bit less annoying to set up. Disks still work to install surgeries locally,
although the only disk currently obtainable is the traitor brainwashing disk.
2018-08-11 16:06:28 -07: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
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
AnturK
fbb5377ea8 Simple zombie for WJ (#39563) 2018-08-10 00:11:03 -07: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
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
ad374a1ce8 Fixes css appending forever. (#39352)
* Fixes css appending forever.

* Trimming useless stuff
2018-07-26 19:41:33 +12: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
AnturK
766ea4dcc8 Custom names refactor (#39111)
* Custom names refactor

* Forgot this.
2018-07-15 17:03:19 -04:00
AnturK
f19611ff77 Adds client byond version to feedback. (#39061)
* Adds client byond version to feedback.

* Duh

* i need more sleep
2018-07-12 17:27:25 +10:00
AnturK
5dff907e97 Adds logging minor client version. 2018-07-09 13:02:28 +02:00
Tad Hardesty
1196e7d087 Add a warning for bad design icons, fix existing instances (#38840)
* Add a warning for bad design icons, fix existing instances

* Use non-line-numbered warning
2018-07-02 23:18:41 +03:00
Tad Hardesty
c7dae93c1d Add and use rust_g API file 2018-06-30 15:27:23 -07:00
Jordan Brown
c26c36b184 Merge branch 'pr-38747'
Signed-off-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2018-06-28 14:22:00 -04:00
Kyle Spier-Swenson
93ac333cbf Fixes lobby music playing when you enable it via game preferences while not in the lobby (#38766) 2018-06-28 21:18:37 +03:00
AnturK
abfe09659c Fixes borg names. (#38733)
* Fixes borg names.

* Makes it call the db only once.

* Default cyborg naming scheme.

* Makes cyborgs default to default name instead of random ai one.
2018-06-28 20:32:14 +03:00
Dax Dupont
a89abd5ae8 Remove OOC metadata 2018-06-27 00:30:30 +02:00
Tad Hardesty
c4dbe0a619 Add DOM-based linkify to goonchat (no more URLs in IC) (#38693)
* Add DOM-based linkify to goonchat (no more URLs in IC)

* Add linkify spans to places where OOC messages appear

This includes:
- OOC
- Deadchat
- Admin chat
- Admin logs
- Admin PMs
- Prayers

* Limit fallback behavior to linkify spans
2018-06-26 14:44:34 +12:00
Jordan Brown
0f6ecbb92b Merge pull request #38672 from AutomaticFrenzy/patch/goonchat-motd
Fix the MOTD having too many newlines
2018-06-25 10:18:20 -04:00
Jordan Brown
00eb79eac4 Merge pull request #38692 from Jordie0608/blacklistedmakesitsoundlikethebuilddidsomethingbadwhichitdidbadbuildnaughtybuild
Blacklisted buggy build 1428
2018-06-24 10:16:36 -04:00
Jordie
21f96755b5 blacklisted buggy 1428 2018-06-24 15:28:18 +10:00
Tad Hardesty
657c2f70f1 Fix the MOTD having too many newlines 2018-06-22 18:19:40 -07:00
Jordan Brown
cf7e8aa9ec Qdels queries, adds sleep safety checks, DBcore checks for leaks (#38363)
* Qdels all queries, adds sleep handling

* DB Core messages admins about undeleted queries

* Compile fixes. Adds missing set waitfor

* Remove world/New shennanigans. Add DBQuery/BlockingExecute()

* Less spammy notifications to admins about undeleted queries

* Increase dbcore fire time to 1 minute

* Upgrade undeleted query warning

* Better place of death

* Fix build

* Remove BlockingExecute, see BSQL PR for why

* Yep, missed that one.

* Psyche, that's the WRONG QUERY!!
2018-06-18 22:48:35 +03:00
Tad Hardesty
2f8f166d88 Merge pull request #38287 from ninjanomnom/signal-define
Use a define to speed up sending signals to datums with no signals
2018-06-14 22:17:01 -07:00
Tad Hardesty
75aa8ec4b2 Add "Fit Viewport" verb to automatically size the map window (#38351)
* Add a verb to automatically size the map window

* Add a preference to auto-fit the viewport
2018-06-14 10:03:16 +02:00
ninjanomnom
d483ff3ef0 Regexes
`([^_\.])SendSignal\((.+?)\)` -> `\1SEND_SIGNAL(src, \2)`
`([\.\w]+?)\.SendSignal\((.+?)\)` -> `SEND_SIGNAL(\1, \2)`
2018-06-13 19:19:23 -04:00
oranges
df02e48ecb Individual Logs now follow the client around automatically (#37790)
The logging is now stored in the persistent client/player_details datum,
that will survive an entire round

The existing mob log is retained and a new admin verb is added to access
it. It will only show logs for the mob in question, across all players
who possibly spent time in that mob

A new log type is added that tracks the mobs the player changes across
into and the times they occured, to better help admins manage complex
situations, this also appears in the mob log as a record of the players
who entered/exited control of the mob
2018-06-06 11:09:59 +02:00
Ling
513a5f1bc9 Fixes pda style loading (#38238)
* Fixes pda style saving

* Make the input call use the global pda styles list
2018-06-03 00:33:10 -07:00
Jordie
6b84926599 Fixes datediff not returning (#38215) 2018-06-02 13:41:58 -07:00
ShizCalev
c41d6ac965 Standardizes and cleans up some admin messages & logging (#38128)
* Improved logging

* Fixes & emitter logging

* ded
2018-05-30 21:57:06 -07:00
Tad Hardesty
d0466f42bc Allow dynamically updating UI style, do so on mob login (#38089) 2018-05-30 12:52:50 +02:00
Citrus
99f7816608 Fixes "humans_need_surnames" applying to all races 2018-05-28 01:19:27 -04:00
Jordan Brown
3015b3bf6b Merge pull request #37963 from AutomaticFrenzy/patch/finally
Unredden the input bar when the viewport is clicked
2018-05-25 22:24:31 -04:00
Tad Hardesty
85ac15af9f Only adjust input bar color on hotkey mode 2018-05-25 15:12:17 -07:00
Jordan Brown
c737760a14 Adds OOC verb to show the last round end report you've viewed (#37900)
You can now view your last round end report window with the "Your last round" verb in the OOC tab

stores the HTML in a data dir
2018-05-22 09:47:49 +12:00
Jordan Brown
864808daa0 Merge pull request #37944 from AutomaticFrenzy/patch/irv-jquery
Remove second copy of jQuery used only by IRV polls
2018-05-21 17:33:32 -04:00
Tad Hardesty
c02f83ad27 Unredden the input bar when the viewport is clicked 2018-05-21 01:51:31 -07:00
Tad Hardesty
52e38e2214 Remove second copy of jQuery used only by IRV polls 2018-05-19 22:50:32 -07:00
Tad Hardesty
b5d0e1e256 Fix mindswap forcibly enabling ambient occlusion 2018-05-19 21:56:28 -07:00
ShizCalev
028231cb81 Updates BYOND links to use HTTPS (#37918)
* Updates BYOND links to use HTTPS

* revert

* if -> If
2018-05-19 19:50:05 -07:00