Commit Graph

68897 Commits

Author SHA1 Message Date
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
tgstation-server
eed10dd21b Automatic changelog generation for PR #48809 [ci skip] 2020-01-17 07:59:27 -08:00
JJRcop
e1d3148c6f Intercom examine tells you about :i (#48809)
* Intercom examine tells you about :i

If you're close enough to them

* Intercom exmaine message different depending on proximity

* Intercom examine isn't dynamic
2020-01-17 10:59:23 -05:00
tgstation-server
528d3b8a47 Automatic changelog generation for PR #48795 [ci skip] 2020-01-17 07:59:02 -08:00
Arkatos1
38a26ec867 tgui-next: Teleporter (#48795)
* Basic routes and interface declaration, modified teleporter backend

* Interface, size tweaks, polish

* Linter fix
2020-01-17 10:58:57 -05:00
tgstation-server
a9c8c61127 Automatic changelog generation for PR #48768 [ci skip] 2020-01-17 07:57:13 -08:00
Rob Bailey
ecb86470e3 fixes a cable loop on kilo (#48768) 2020-01-17 08:57:02 -07:00
tgstation-server
8bc2c9be6c Automatic changelog generation for PR #48813 [ci skip] 2020-01-17 07:24:29 -08:00
skoglol
cb67b134ef Reverts meta hydroponics entrance (#48813) 2020-01-17 08:24:24 -07:00
tgstation-server
8021ba9311 Automatic changelog generation for PR #48616 [ci skip] 2020-01-17 01:58:31 -08:00
skoglol
feecf28fa5 Merge pull request #48616 from cacogen/wayfindingpinpointers
Fixes wayfinder dispenser sprite/lowers amount of pinpointers from it/adds pinpointer recycling
2020-01-17 10:58:27 +01:00
tgstation-server
8c5dc9690f Automatic changelog generation for PR #48833 [ci skip] 2020-01-16 22:36:33 -08:00
Dangerous dingidy doo
57126bd994 casd (#48833)
casd
2020-01-16 23:36:29 -07:00
Nick
fa941a4410 Update blackbox.dm (#48844) 2020-01-16 23:54:28 -05:00
tgstation-server
7922075c81 Automatic changelog generation for PR #48720 [ci skip] 2020-01-16 17:45:57 -08:00
skoglol
f8e507676f Fixes fugitives deadchat feedback (#48720) 2020-01-16 20:45:53 -05:00
AnturK
424fc64c10 Fixes moruge trays mistaking radios for cloneable bodies. (#48794) 2020-01-16 20:43:27 -05:00
tgstation-server
b831d88a39 Automatic changelog generation for PR #48791 [ci skip] 2020-01-16 17:42:55 -08:00
cacogen
9c0e629a54 Fixes misleading info on brain damaged head examine (#48791)
Also punches up some of the other head descriptions
2020-01-16 20:42:51 -05:00
AnturK
a630c7a94b Fixes observer alerts (#48793)
* Makes alerts work for observers.

* Basic click sanity.

* lint
2020-01-16 20:40:44 -05:00
tgstation-server
c7c89f4aac Automatic changelog generation for PR #48679 [ci skip] 2020-01-16 17:36:08 -08:00
Fikou
725cb979d9 adds organs to the limbgrower (#48679) 2020-01-16 20:36:04 -05:00
tgstation-server
f20f737a88 Automatic changelog generation for PR #48817 [ci skip] 2020-01-16 17:21:22 -08:00
OnlineGirlfriend
cce4c31c00 sausage can be sliced into salami (#48817) 2020-01-16 20:21:18 -05:00
cacogen
90fe68763d Less wayfinder pinpointers from dispenser 2020-01-17 12:28:01 +13:00
tgstation-server
f43a4a6a4b Automatic changelog generation for PR #48569 [ci skip] 2020-01-16 11:30:28 -08:00
nightred
8738287f11 FIXED: Better species environment handlers, and custom race body temperature (#48569)
* species can handle enviroment differently

* forgot slimes, removed environment check was a dupe

* slimes are now fixed, cleanup

* base living getting better math also

* ethereal lowered bodytemp, raised heat damage

* plasmamen were to cold

* old language thing in my fork

* min max to base proc that is better

* added item back, better docs

* better docs, moved a vars

* moved above vars in ethereals

* natural stabilization is fixed

* resist is better

* ashlizards needed more heat

* Comment updates

* fixed a comment

* better doc comment
2020-01-16 14:30:24 -05:00
tgstation-server
131c833612 Automatic changelog generation for PR #48727 [ci skip] 2020-01-16 10:35:20 -08: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
AnturK
bca492823a Runtime fixes: Episode 113 (#48814)
* Fixes mood nanite settings

* Fixes yet another quirk runtime.

* Ugly paperplane fix

* Abductor armor runtime.

* cablecutting runtime

* Nukeop death runtime (were those spec deaths meant to fire on gibbing too ? )

* headpike runtime fix

* ERT outfit runtime

* bonfire oxygen runtime

* Rest of nanite updates
2020-01-16 11:16:37 -05:00
81Denton
d8068d5d06 hey, if you type in your pw, it will show as stars (#48797)
* *********

* *******************

* genius

* replaces if/else with var
2020-01-15 20:52:34 -05:00
James
4288509ff9 Changelog Compile GitHub Action (#48494)
* adds changelog compile action

Signed-off-by: Terra <terra@mcterra.id.au>

* I forgot to add the fix

Signed-off-by: Terra <terra@mcterra.id.au>

* use master key

Signed-off-by: Terra <terra@mcterra.id.au>
2020-01-15 20:47:10 -05:00
tgstation-server
57456d799f Automatic changelog generation for PR #48728 [ci skip] 2020-01-15 13:53:48 -08:00
ArcaneMusic
87aac02fcd Adds a new surgery, "Stomach Pump" (#48728)
* Fuck it, still not working but the work is at least started

* ALRIGHT we got this shit working off of existing procs now, no bloat :arm:

* Alright take 2, it's still not removing 2/3 instead of 1/10

* Alright this still isn't working fully. Thoughts?

* Attempted calling purge alone.

* Where I got before calling it tonight

* Re-adds bools.

* Alright cool, now 2/3 of the body's chemicals are being purged at a time, if this is too high, let me know.

* Renames the surgery to "stomach pump" to better match it's effects.

* Fixes leftover sprites from the organ PR, forgot to rename fully.

* FINE COBBERT
2020-01-15 16:53:44 -05:00
tgstation-server
76418194ba Automatic changelog generation for PR #48786 [ci skip] 2020-01-15 13:43:56 -08:00
EOBGames
44dc559e82 🦀 Gas Miners are gone! 🦀 (#48786)
Removed gas miners from Donut and Kilo.
2020-01-15 16:43:53 -05:00
Rohesie
675a358b1b Moves mob stat var changes to a proc (#48760)
* set_stat

* Adds a signal.

* Signal comes before
2020-01-15 16:43:10 -05:00
tgstation-server
565b94b72f Automatic changelog generation for PR #48754 [ci skip] 2020-01-15 13:35:46 -08:00
TheChosenEvilOne
46f5743499 Changes supermatter to use the new beam icon. (#48754)
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2020-01-15 16:35:42 -05:00
tgstation-server
ba112cb816 Automatic changelog generation for PR #48816 [ci skip] 2020-01-15 13:06:53 -08:00
81Denton
3cb2c72035 Re-adds Paramedic spawn landmarks to Boxstation (#48816)
Some walnut removed the paramedic spawn landmarks on Box, which according to a Reddit user causes them to spawn in random station areas (like the AI chamber).
This also indicates that SendToLateJoin(living_mob) might be broken, but I haven't tested that so far.

This should be merged quickly as it can fuck up rounds for Paramedics on Box.
Changelog

cl Denton
fix: Boxstation: Roundstart Paramedics now properly start in medbay.
/cl
2020-01-16 10:06:49 +13:00
tgstation-server
c5657d54fe Automatic changelog generation for PR #48789 [ci skip] 2020-01-15 08:36:13 -08:00
JJRcop
8ea14994ef Fix pinpointer icons (#48789) 2020-01-15 11:36:08 -05:00
r4d6
409f90c119 RCD & RPD resprite (#48592)
This change the RCD & RPD Sprites for something way more beautiful than what it was.
Basically port : Citadel-Station-13/Citadel-Station-13#8953
Why It's Good For The Game

It look better than what we currently have.
https://imgur.com/a/gnfD6gs

Also, some idiot will complain that they will take the RPD for the RCD, they are just blind, while they have the same color scheme, they are different enough to know what is what.

And Citadel may be a ERP server, you have to admit they sometimes do some good stuff
Changelog

cl
change: Changed RCD & RPD Sprite
/cl
2020-01-15 15:01:13 +13:00
tgstation-server
28771b1a54 Automatic changelog generation for PR #48744 [ci skip] 2020-01-14 17:52:04 -08:00
Rob Bailey
747546c565 SEVERAL mask sprite fixes (#48744)
* society moment

god im so funny

* do you apes not know what consistency means?

seriously who the fuck made these sprites
2020-01-14 17:52:01 -08:00
tgstation-server
d79ff2ceaa Automatic changelog generation for PR #48780 [ci skip] 2020-01-14 17:51:38 -08:00
nemvar
58ec03d9a9 Fixes mining vendor edge case (#48780)
* Fixes mining vendor edge case

* I swear, everyone starts acting like an idiot if they have to write a Topic proc.
2020-01-14 20:51:34 -05:00