Commit Graph

42 Commits

Author SHA1 Message Date
JJRcop
a79c5a722d Fixes stopsounds properly (#36341)
* Revert "Merge pull request #36340 from vuonojenmustaturska/beelogreen"

This reverts commit 259838f38c, reversing
changes made to 111cd316a9.

* Fixes stopsounds properly

Also I forgot to actually block admins from bad protocols
it just showed them a message that it was blocked but didn't
block it
2018-03-12 19:26:20 -04:00
JJRcop
05b320e63c Play Internet Sound sanity checks (#36080)
* Play Internet Sound sanity checks

Now checks if the content URL uses http(s) before playing

* HTML is not HTTP: renames regex

* Converted global regexes to procs that return them

* Revert "Converted global regexes to procs that return them"

This reverts commit 2eedbd6982b0c4de943a72c94f92f9d75001c06e.
2018-03-10 20:44:09 -06:00
Emmett Gaines
25080ff2c4 defines math (#33498) 2017-12-17 11:02:11 -05:00
Kyle Spier-Swenson
1cc04f73c1 Changes the goonchat failed to load message since updating byond isn't needed anymore (#33474)
It was a 511 beta that caused this issue, anybody still on 511 beta is not supported, They can move up to stable
2017-12-12 23:51:03 -05:00
Emmett Gaines
7c69cdcb8a Revert math (#33059)
* 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.
2017-11-23 20:59:52 -05:00
ninjanomnom
2817a1737b defines math 2017-11-22 17:36:58 -05:00
Qbopper
8b5ec1f6da adjusted default internet song volume to 25 2017-11-09 23:52:03 -05:00
Emmett Gaines
879b84da64 Makes isbanned have an arg for only checking real bans (#32248)
* makes isbanned have an arg for only checking real bans

* makes it return false if invalid data is passed in on a real bans check
2017-11-01 09:09:10 +13:00
JJRcop
3259ac4c49 Adds Internet admin midi (#30457)
* Adds Internet admin midi

* Moves global regex into proc (shell_url_scrub)

* Moves shelleo to world
Adds quotes around the command in shelleo, to encapsulate it

* Admins can stop playing web sounds

* Revised internet midi extension order
Moved m4a to least preferred,
as it can potentially carry non-aac or non-mpeg-3 audio

* Kills \n in web sound

* play_web_sound availability based on config

* play web sound and shelleo tweaks

istypeless for in play web sound & readability parenthesis around binary AND
add return index defines for shelleo proc

* Security fix for play web sound
2017-09-08 10:31:33 -04:00
Kyle Spier-Swenson
f2cf4c2f5c [ready]Makes bIcon better (#29690)
Goonchat will use the asset cache, you now have to specify who to send the icons too.

Goonchat will now load icons in the background, displaying them once they load. this prevents the message from being delayed while the icons are sent.

Icons that aren't preloaded using the asset cache system will not render on ie8 clients. This is because of a ie8 bug that prevents changes on runtime created images from rendering.
2017-08-14 10:40:50 +12:00
Jordan Brown
d1ae0a0c95 Adds helpers to avoid << use (#29611) 2017-08-09 00:27:54 -03:00
Kyle Spier-Swenson
3f4ac7496a Makes bIcon scale to 16x16 like byond chat output did (#29575)
* Makes bIcon scale to 16x16 like chat output did

There was lag and ddos issues because to_chat does certain find replace operations on the resulting string, so putting base64 encoded data of large images in these strings would be insanely and excessively costly.

This is basically banking on the assumption that md5 on a 480x480 image is less costly than 4 find/replaces and 2 html_encodes.

If this doesn't work or we need larger icon support for some reason, I'll just move bIcon over to the asset cache system.
2017-08-03 18:21:26 +12:00
AnturK
8cdd3a1e0a Fixes goonchat cookie false positives 2017-07-15 19:32:54 +02:00
Shadowlight213
6a5bb83d98 Makes cookie alert private (#29012) 2017-07-03 19:12:51 -03:00
Kyle Spier-Swenson
4307972412 Makes goonchat robust. (#28750)
* Temp fix for output control issue messing up goonchat

I'll need to do some more testing on this, but this should likely be a test mergeable fix. I might not be back at my home computer until sunday night/monday.

* Fix quote

* Adds verb to fix goonchat and log what was needed to fix it.

Makes shit robust, AND lets it know whats going on.

* Update ooc.dm

* Fix some stupidity in to_chat

* Simplify the winset

Disabling the controls seems to do nothing effective.

* y-you too, t-thanks

* Fix some short term memory issues in the code.

* Warns users to update byond if goonchat gets overridden by old chat
2017-06-26 01:03:40 -04:00
Leo
9d45a6db23 Merge pull request #28670 from MrStonedOne/fixcidrandomizer
Makes oldchat show while goonchat loads, sends preload messages there.
2017-06-22 21:49:41 -03:00
nicbn
77a2d3f5cd Replaces "istype"s with is_helpers macros (#28676) 2017-06-22 15:03:19 -03:00
MrStonedOne
7a13937fc7 Makes oldchat show while goonchat loads, sends preload messages there. 2017-06-21 00:51:28 -07:00
Jordan Brown
364e097335 Improve to_chat performance 2017-06-08 15:36:08 -04:00
Jordan Brown
b2ed7f3cb6 better tabs 2017-06-08 15:02:07 -04:00
Jordan Brown
5a6053db57 Fixes to_chat with lists 2017-06-07 11:11:01 -04:00
Jordan Brown
45aa3f8a3e Make it use asset cache 2017-06-07 11:00:16 -04:00
Jordan Brown
1fecdd2fe4 Make it use rsc html 2017-06-07 10:59:56 -04:00
Cyberboss
2d816ba454 Fix it harder 2017-05-28 12:40:32 -04:00
Cyberboss
dee794122d Fix client targets 2017-05-28 12:38:37 -04:00
Cyberboss
09e63f633c Another fix 2017-05-26 16:08:47 -04:00
Cyberboss
e3495fa034 Remove debug code fix bugs 2017-05-26 16:05:36 -04:00
Cyberboss
2addb941eb Cleans up to_chat 2017-05-26 15:53:14 -04:00
Cyberboss
705beac0da Make bicon_cache static 2017-05-26 15:46:31 -04:00
Cyberboss
71a72f8c96 Makes bicon param less stupidly named 2017-05-26 15:38:00 -04:00
Cyberboss
fd805a7f87 Wew 2017-05-06 11:35:01 -04:00
Cyberboss
0d59f922d6 So much spam! 2017-05-06 11:31:29 -04:00
Cyberboss
afad85f7d6 So much spam 2017-05-06 11:29:25 -04:00
Cyberboss
97676ce920 Stuff 2017-05-06 11:27:22 -04:00
Cyberboss
04a483d48b Ree 2017-05-06 11:26:08 -04:00
Cyberboss
d76eb9644c Even better 2017-05-06 11:25:42 -04:00
Cyberboss
ff273f3125 Even less spammy 2017-05-06 11:22:39 -04:00
Cyberboss
a1b5ce06b0 Less spam 2017-05-06 11:13:33 -04:00
Cyberboss
92ab7e1d81 Adds debugging procs 2017-05-05 19:15:12 -04:00
Lzimann
4c1ad2c91d Sweet javascript error handler 2017-05-03 13:50:15 -03:00
Lzimann
4ee094c93b A different approach for testing 2017-05-03 12:16:07 -03:00
Lzimann
5dc30c1984 Changes the directory to code/modules/goonchat 2017-05-01 14:19:22 -03:00