Commit Graph

63 Commits

Author SHA1 Message Date
SkyratBot
7d1d0e1fad [MIRROR] Refactors most spans into span procs (#6315)
* Refactors most spans into span procs

* AA

* a

* AAAAAAAAAAAAAAAAAAAAAA

* Update species.dm

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-16 00:24:49 +01:00
SkyratBot
ea9aed5554 [MIRROR] Replace alert usage with tgui_alert (#5815)
* Replace alert usage with tgui_alert

* a

* Update observer.dm

Co-authored-by: Celotajs <81999976+celotajstg@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-21 00:06:09 +01:00
SkyratBot
fc0e3c407d [MIRROR] Fix Changelog runtime (#5316)
* Fix Changelog runtime (#58787)

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Fix Changelog runtime

Co-authored-by: Funce <funce.973@gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2021-04-29 13:54:01 +01:00
Gandalf
c437a34fe0 TGUI hardset (#5252)
* FFFF

* AAA

* FUCK WE MISSED THIS PR

* Update interface.dm
2021-04-27 17:13:22 +01:00
SkyratBot
89a21458b5 [MIRROR] Replace tgalert with tgui_alert, a new TGUI-based alert system (#1833)
* Replace tgalert with tgui_alert, a new TGUI-based alert system

* a

* a

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2020-11-26 08:05:45 +00:00
SkyratBot
f377bc404e [MIRROR] Fixes template use for 'Report Issue' button in-game + show [s] testmerged prs (#1834)
* Fixes template use for 'Report Issue' button in-game + show [s] testmerged prs (#55135)

Fixed and improved the bug report template use when the 'Report Issue' button is used in-game. It now uses the correct template location, as well as automatically filling in the round ID and testmerges.

We also now show [s] PRs that are testmerged, as ok-d by oranges, as this is an unofficial label that anyone can apply and doesn't necessitate hiding. It also makes debugging rounds where this was present but not reported more difficult.

* Fixes template use for 'Report Issue' button in-game + show [s] testmerged prs

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
2020-11-26 00:18:50 +00:00
SkyratBot
496811ef6c [MIRROR] Optimize stat panel and fix guardian verbs (#804)
* Optimize stat panel and fix guardian verbs (#53463)

Optimizes stat panel code for better performance, including icon caching and removing some unnecessary processing
Also fixes #53432
fix #53381
fix #53724
Changelog

add: icons are back on alt clicks
fix: horrible performance from alt clicking turfs with multiple objects
tweak:browser should notify the SS when it's ready to receive data

* Update statbrowser.html

* Apply suggestions from code review

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>

* hidden = TRUE

* almost ready

* Browser should notify when ready to receive data

* Apply MSO's suggestions

* reset cache if something in it gets deleted

* Fix runtime

* fix my stupid code

* send href_token when adding admin tabs

* fix an issue with cyborg suit topic

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>

* Optimize stat panel and fix guardian verbs

Co-authored-by: Couls <coul422@gmail.com>
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>
2020-09-15 09:17:31 +02:00
SkyratBot
e8bfe6eb68 [MIRROR] [Ready] CDN browser assets! (#312)
* [Ready] CDN browser assets! (#52681)

Rewrites the asset_cache system to handle sending assets to a CDN via a webroot.

see https://github.com/MrStonedOne/tgstation/blob/asset-cdn/code/modules/asset_cache/readme.md

Fixed a lot of bugs with assets, removed some dead code.

Changes:
    Moved asset cache code to transport datums, the currently loaded one is located at SSassets.transport, asset cache calls made before the config is loaded use the simple browse_rsc transport.
    Added subsystem call for when the config loads or reloads.
    Added a webroot CDN asset transport. assets are saved to a file in a format based on the file's hash (currently md5).
    Assets that don't use get_asset_url or get_url_mappings (such as browser assets referred to by static html files like changelog.html or static css files) can be saved to browse_rsc even when in cdn asset mode by setting legacy to TRUE on the datum returned by register_assets
    Added a system for saving assets on a cdn in a hash based namespace (folder), assets within the same namespace will always be able to refer to each other by relative names. (used to allow cdn'ing font awesome without having to make something that regenerates it's css files.).
    The simple/namespaced asset cache datum helper will handle generating a namespace composed of the combined md5 of everything in the same datum, as well as registering them properly.
    Moved external resource from a snowflake loaded file to a config entry, added it to resources.txt
    To ensure the system breaks in local testing in any situation that wouldn't work in cdn mode, the simple transport will mutate the filenames of non-legacy and non-namespaced assets and return this with get_asset_url.
    Simple transport's passive send of all roundstart assets to all clients is now a config that defaults to off. this is to break race conditions during local testings from devs accidentally relying on this instead of using send() properly.

cl
refactor: Interface assets (js/css/images) can now be managed using an external webserver instead of byond's one at a time file transfer queue.
admin: Adds admin verb toggle-cdn that allows admins to disable the external webserver asset transport and revert to the old system. Useful if the webserver backing this goes down (thanks cloudflare).
config: New config file, resources.txt, (must be loaded by an $include statement from the main config)
server: The external_rsc_urls.txt config has been moved to the main config system.
/cl
Porting notes:

Interface webpages must refer to their assets (css/js/image/etc) by a generated url, or the asset must register itself as a legacy asset. The system is designed to break in localtest (on simple/legacy mode) in most situations that would break in cdn mode.

Requires latest tgui.

The webserver must set the proper CORS headers for font files or font awesome (and other fonts) won't load.

/tg/'s webserver config: https://gist.github.com/MrStonedOne/523388b2f161af832292d98a8aad0eae

* [Ready] CDN browser assets!

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2020-08-12 11:32:37 +01:00
jdawg1290
62676e72a8 Force LF line endings with gitattributes and convert repo (#52266)
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-07-16 03:02:40 +03:00
Couls
26a61a489c ports TGMCs click hack for non-hotkey players ports classic keybinds from TGMC (#47670)
About The Pull Request

Ports tgstation/TerraGov-Marine-Corps#2977, overrides click proc to return focus back to chat bar using winsets also ports tgstation/TerraGov-Marine-Corps#1904 which has two sets of defaults for hotkey and classic mode
fixes #47672 fixes #47659

much credit to @Rohesie and the TGMC team for a bunch of these improvements
Why It's Good For The Game

lets the non-hotkey players walk and talk again
Changelog

cl
add: Custom keybinds will now check what style (classic / hotkey) you prefer when resetting if you use classic mode make sure to reset your keybinds to default!
add: multiple keybind support
tweak: non-hotkey mode keeps focus on chat
fix: pressing 4 as cyborg now properly cycles
fix: AI location hotkeys now work again
/cl
2019-11-14 09:22:33 +13:00
Tad Hardesty
fc2cf38b4d Include BYOND build when using Report Issue button (#43545) 2019-04-15 12:39:43 +02:00
Garen Crownguard
dda81b7764 shift E & B keybinding stuff (#41386) 2018-11-11 11:53:02 -05:00
vuonojenmustaturska
4786ff1e76 Update interface.dm 2018-03-28 13:37:35 -05:00
AnturK
619b273ed3 html_interface removal and crew monitoring console refactor. (#35431)
Quick changes list:

    html_interface gone
    unused card interface gone
    minimap gone from crew console(subsystem not disabled in case something else wants to use it)
    ui_host() now takes user parameter
    Some assets moved around.

Fixes #22124
2018-02-16 09:31:21 +13:00
Jordan Brown
17673e639c Adds client version to ingame reporting 2018-01-29 09:50:41 -05:00
Jordan Brown
e25f34da76 Makes report issue handle null round IDs and server names (#34124)
* Makes report issue handle null round IDs and server names

* What Leo said

* Add missing bracket

* Parenthesis intensify
2018-01-17 09:28:00 +13:00
tortellinitony
2fcdcafced Makes a hotkey for asay 2018-01-08 17:55:18 -05:00
Emmett Gaines
278d25fdfd Quick access hotkeys for backpack and belt (#33501)
* quick access hotkeys for backpack and belt

* fix for mousetrap bombs

* adds help text
2017-12-16 23:17:39 -05:00
AnturK
cd3643fe60 Fixes canceling on rule/report/forum buttons (#33509)
* Fixes report issue cancel

* Other buttons to while i'm at it.
2017-12-14 04:41:28 -05:00
deathride58
4589e9c2bd Lets you press Ctrl+H (or just H in hotkey mode) to stop pulling (#31848) 2017-10-19 07:40:30 -02:00
Jordan Brown
d55bd40f91 Issues created with the report issue button will contain the round ID (#30998)
* Issues created with the report issue button will contain the round ID

* Update interface.dm

* More url encoding

* URL ENCODE THE PLANET!

* Server name

* Fix trevis

* Too many god damn fucking brackets here
2017-10-04 12:27:57 +13:00
Jordan Brown
4178c209f1 Configuration datum refactor (#30763)
* Configuration datum refactor

* More WIP

* New easier on the eyes format

* More WIP

* Finished config.txt

* Fucktons more WIP

* The end of conversion draws near...

* Add all this shit

* Done converting entries finally

* Hunting down compile errors

* More WIP

* MORE CONVERSIONS

* More WIP

* More WIP

* Oh shit only 90 errors this time!

* IT COMPILES!!!

* Fixes world start runtimes
2017-09-29 15:36:51 +13:00
Pirmais
6ac3ac4376 Fixes the wiki button 2017-08-15 12:20:21 +03:00
MoreRobustThanYou
95e19b85a5 Update interface.dm 2017-08-10 11:35:03 -04:00
MoreRobustThanYou
57c7d7a579 The wiki button now asks what page you want to be taken to
ported from paradise
2017-08-09 13:47:13 -04:00
Leo
e803369fd9 Merge pull request #26634 from Core0verload/tochat_master_race
Changes some << to to_chat
2017-04-28 08:14:09 -03:00
c0
ee049b38de Changes some << to to_chat 2017-04-27 04:20:26 +03:00
MrStonedOne
ca9bbaa333 Fixes changelog assets
It now uses the asset cache, so opening the changelog more then once does not re-send the assets.
Added the scales.png asset
2017-04-26 13:35:36 -07:00
ExcessiveUseOfCobblestone
c33e9dd63e talk-wheel does not exist please stop trying (#26120)
* Update skin.dmf

* NO
2017-04-12 18:45:57 -06:00
Cyberboss
9e1ef0ffe2 Global variable wrappers (#25325)
* Add the system for managed global variables

* Travis ban old globals

* So you CAN inline proccall, that's neat

* Fix that

* master.dm

* Remove the hack procs

* Move InitGlobals to the proper spot

* configuration.dm

* Fix the missing pre-slash

* clockcult.dm

* This is probably for the best

* Doy

* Fix shit

* Rest of the DEFINES tree

* Fix

* Use global. for access

* Update find_references_in_globals

Always hated that proc

Whoever made it must've bee a r e a l idiot...

* __HELPERS tree

* Move global initialization to master.

Fix the declaration

* database.dm

* Dat newline

* I said DECLARATIVE order!

* Here's something you can chew on @Iamgoofball

* game_modes.dm

* Fix this

* genetics.dm

* flavor_misc.dm

* More stuff

* Do it mso's way. Keep the controllers as global

* Make master actually see it

* Fix

* Finish _globalvars/lists

* Finish the rest of the _globalvars tree

* This is weird

* Migrate the controllers

* SLOTH -> GLOB

* Lighting globals

* round_start_time -> ticker

* PAI card list -> pai SS

* record_id_num -> static

* Diseases list -> SSdisease

* More disease globals to the SS

* More disease stuff

* Emote list

* Better and better

* Bluh

* So much stuff

* Ahh

* Wires

* dview

* station_areas

* Teleportlocs

* blood_splatter_icons

* Stuff and such

* More stuff

* RAD IO

* More stuff and such

* Blob shit

* Changeling stuff

* Add "Balance" to changelogs

* Balance for changelog compiler + Auto Tagging

* Update the PR template

* hivemind_bank

* Bip

* sacrificed

* Good shit

* Better define

* More cult shit

* Devil shit

* Gang shit

* > borers

Fix shit

* Rename the define

* Nuke

* Objectives

* Sandbox

* Multiverse sword

* Announce systems

* Stuff and such

* TC con

* Airlock

* doppllllerrrrrr

* holopads

* Shut up byond you inconsistent fuck

* Sneaky fuck

* Burp

* Bip

* Fixnshit

* Port without regard

* askdlfjs;

* asdfjasoidojfi

* Protected globals and more

* SO MANY

* ajsimkvahsaoisd

* akfdsiaopwimfeoiwafaw

* gsdfigjosidjfgiosdg

* AHHHHHHHHHHHHHHHHHHHHHHH!!!!!

* facerolll

* ASDFASDFASDF

* Removes the unused parts of dmm_suite

* WIP

* Fix quote

* asdfjauwfnkjs

* afwlunhskjfda

* asfjlaiwuefhaf

* SO CLOSE

* wwwweeeeeewwwww

* agdgmoewranwg

* HOLY MOTHER OF FUCK AND THATS JUST HALF THE JOB?!?

* Fix syntax errors

* 100 errors

* Another 100

* So many...

* Ugh

* More shit

* kilme

* Stuuuuuufffff

* ajrgmrlshio;djfa;sdkl

* jkbhkhjbmjvjmh

* soi soi soi

* butt

* TODAY WE LEARNED THAT GLOBAL AND STATIC ARE THE EXACT SAME FUCKING THING

* lllllllllllllllllllllllllllllllllllllllllll

* afsdijfiawhnflnjhnwsdfs

* yugykihlugk,kj

* time to go

* STUFFF!!!

* AAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!

* ngoaijdjlfkamsdlkf

* Break time

* aufjsdklfalsjfi

* CONTROL KAY AND PRAY

* IT COMPILEELEELELAKLJFKLDAFJLKFDJLADKJHFLJKAJGAHIEJALDFJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* Goteem

* Fix testing mode

* This does not belong in this PR

* Convert it to a controller

* Eh, fuck this option

* Revert controllerization Ill do it some other time

* Fix

* Working controllerization

* FOR THE LOVE OF CHRIST PROTECT THE LOGS

* Protect admins and deadmins

* Use the inbuilt proc
2017-04-06 23:26:13 -06:00
Lzimann
5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
Cyberboss
550964e152 Improves the report issue button 2017-02-21 10:48:18 -05:00
Cyberboss
f5c373d1c0 Update hotkey ingame docs (#23471)
* Update hotkey ingame docs for walk modifier and ghost view range changes
2017-01-30 10:40:38 +13:00
Cyberboss
cd89a79437 Add a note about active testmerges to report issue (#22581)
* Add a note about active testmerges to report issue

* To the threads not the tracker

* tgalert

* Message reformatting
2017-01-02 02:13:14 +13:00
spudboy555
c5fd1457ce Added hotkeys for me and talk-wheel commands to cyborg hotkey set. (#22297)
Updated hotkey help text.
2016-12-23 09:29:27 +13:00
Cyberboss
bd4e380b0d Life is busying me 2016-11-06 16:48:10 -05:00
Cyberboss
e67133b606 Hotkeys for target selection and run/walk (#21039)
* About time someone did this

* also this

* One almost got away

* From '`' to 'B'

* Mercy kill this PR pls

* Help message

* You could've told me how that took forever

* Update help
2016-10-26 18:57:38 +13:00
Bjorn Neergaard
4639cd22fc Remove old changelog junk 2016-02-14 23:38:53 -06:00
Bjorn Neergaard
7b1fdad8bc Move changelog verb 2016-01-28 23:18:48 -06:00
Supermichael777
c62a203a4e Signed-off-by: Supermichael777 <supermichael777@gmail.com> 2015-08-12 08:42:47 -04:00
Jim Boonie
8b7a6499b9 Fixes Ctrl+C copying by moving resist to Ctrl+B 2015-07-24 22:31:21 +12:00
Jim Boonie
0eecfb239a Removes End resist for cyborgs 2015-07-20 17:47:06 +12:00
Jim Boonie
d2f591432f Adds resist hotkeys for borgs and humans. 2015-07-20 15:22:52 +12:00
NullQuery
3e8182eecb Fix for .swinset 2015-06-27 12:14:35 +02:00
Jordie0608
2f5fd8c7d4 renames player panel in hotkey help 2015-03-26 19:23:01 +11:00
paprka
c29ff39ea5 hotkeys for /me and ooc 2015-02-20 01:55:14 -08:00
Jordie0608
c9e21033ae Rework of show-server-revision 2014-07-22 23:05:10 +10:00
Jordie0608
6843a9b166 Replaced red with span 2014-07-06 16:29:21 +10:00
Jordie0608
5759e436af Changed rules UI button to URL link, other URL touchup in config 2014-07-06 16:14:58 +10:00
MrStonedOne
80c4dabb55 Cleans up hotkey-help.
Made hotkey-help use overriden mob procs to avoid a future mess of if than else nestings if anyone gets the bright idea to add more hotkeys
2014-03-31 18:16:50 -07:00