Commit Graph

442 Commits

Author SHA1 Message Date
Kyle Spier-Swenson c07394cf66 Update precompile.sh with the one I had to use to get everything to work (#55304)
Some notes:
* failures are hard to deal with if so many installs are behind narrowly scoped checks. This should be improved. for instance rustup failing meant it never ran again. even if you fixed the cause.
* you have to install the 64 bit version of openssl too or pkg-config can't find it.
* rustup was not in path
* setting a target changes the path the .so is dumped out to.

I don't care how ugly and bad this is, this is likely what will get used in production unless somebody hands me a better working version. 

side-note: move to debian based docker images when?
2020-12-09 19:58:44 -05:00
TiviPlus 311b9da86b grep for pixelx/y = 0 varedits (#54845)
Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2020-11-30 13:12:44 -08:00
TiviPlus 0eaab0bc54 Grep for space indentation (#54850)
#54604 atomizing
Since a lot of the space indents are in lists ill atomize those later
2020-11-30 12:48:40 -05:00
Jared-Fogle c96c82df9a Working on unit test related issues grants 6 GBP, automatically add tag (#55199)
Unit tests (a label I recently added) will now give 6 GBP. This label should be added to anything that adds a new unit test, even on features.
2020-11-28 07:37:27 -03:00
Jordan Brown 4e66e88ae8 Nerfs GBP gain (#55038)
Basically no one ever hits the lower limit and people have fucking bank at this point.
2020-11-25 19:12:56 +02:00
Jordan Brown c9a257bebf Update TGS4 PreCompile.sh (#54794)
* Update TGS4 PreCompile.sh

- Fix bad brackets
- Update rust-g build command
- Remove `--default-host`

* Add i686-unknown-linux-gnu target
2020-11-11 11:45:30 +13:00
TiviPlus 81266ea0a0 Grep for stacked cables on maps (#54847) 2020-11-09 08:46:13 -03:00
TiviPlus 9fb0c73f63 Grep for proc(var/bad) (#54848) 2020-11-09 08:44:35 -03:00
TiviPlus a64f286c3e Grep for spelling nanotrasen as nanotransen (#54849) 2020-11-09 02:03:05 -08:00
TiviPlus 5cf6f96524 p2 (#54846)
Grep for cable varedits
2020-11-07 20:02:43 -08:00
Jordan Brown d03506e908 Delete TGUICompiler.php (#54834)
Delete TGUICompiler.php
2020-11-07 20:01:56 -08:00
Jared-Fogle aa67078153 Completely replace Travis and AppVeyor with GitHub Actions (#54668)
* Completely replace Travis and AppVeyor with GitHub Actions

* Use CLEAN and SINGLE_COMMIT
2020-10-30 09:44:11 +08:00
Jordan Brown 38cbbbf2df Better script for docker (#54501)
The linux one shot script is not a drop-in for the docker script. Let's separate the two.
2020-10-21 16:14:30 -03:00
Ralph b25ca28322 Add hook events to header documentation 2020-09-30 23:50:46 -04:00
Fikou 4937ab14f5 removes astplate flooring, adds it to turfs2decals script (#53868) 2020-09-24 07:36:00 -03:00
Tad Hardesty 6dd0df8dd1 Add SpacemanDMM binaries to Travis cache 2020-09-17 18:37:03 -07:00
Tad Hardesty 016d8e77fa Skip app execution aliases when searching for Python (#53569) 2020-09-16 18:45:12 -07:00
Tad Hardesty f6a066e279 Fix quote handling in dmi.py script and add it to CI (#53669)
* Handle escape sequences in .dmi metadata

* Improve dmi.py self-test functionality

* Add dmi self-test to CI

* Install requirements for CI
2020-09-14 16:57:20 +08:00
TiviPlus 8b4e1df45c Removes junk files and sets gitignore for CreditsTool (#53319) 2020-09-04 14:35:19 -03:00
Rohesie eda7c6ca55 Overlay lighting component (#52413)
Sparks no longer lag, projectile beams move super smoothly, same with mobs and whatnot. This also allows for easy expansion into directional lights, field-of-view, wee-woo rotating lights or whatever.

It does have a downside: things right-clicked or checked through the alt+click tab will show the light overlay:


This is a BYOND limitation, very well worth it IMO.

🆑
add: Smooth movable lighting system implemented. Projectiles, sparks, thrown flashlights or moving mobs with lights should be much smoother and less laggy.
balance: Light sources no longer stack in range, though they still do in intensity.
/🆑
2020-08-22 14:56:38 +12:00
spookydonut 1f3f6ab39a Pillow update 2020-08-16 13:43:42 +08:00
nemvar f22fbd24ba Updates hitbox expander tool to python3 (#52876)
* Updates hitbox expander tool to python 3
2020-08-15 19:55:20 -07:00
Kyle Spier-Swenson 8df93ba39e [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
2020-08-12 13:51:43 +12:00
Timberpoes 19c3bbde31 Cleanup up all instances of using var/ definitions in proc parameters. (#52728)
* var/list cleanup

* The rest of the owl

* plushvar bad

* Can't follow my own advice.
2020-08-07 12:23:42 -03:00
Ryll Ryll 3064105bec Running unit tests no longer requires a launch parameter (#52529)
* for once i actually AM pushing _compile_options.dm

* cool, i get to touch travis
2020-08-01 13:13:19 -04:00
Tad Hardesty 1d0695610b Upgrade pip Pillow dependency to v7.1.0 (#52550) 2020-07-27 23:47:30 -03:00
AnturK ba1a9c6289 Removes unused tool. (#52520) 2020-07-26 22:03:41 -04:00
Daniel Hultgren 55af31a211 Removes MapAtmosFixer tool (#52293)
This tool was useful for the transition period to the new colorable piping atmos system in 2014. It has served its purpose and is no longer relevant.
2020-07-22 05:20:31 -03:00
ShizCalev daee56e486 Update Discord URL to the new one (#52299)
Replace `discordapp.com` with `discord.com`.
2020-07-19 10:10:36 -07: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
ShizCalev ac7a4aff33 Removes a pixel_w var from a window spawner on icebox (#52230)
* Removes a pixel_w var from a window spawner on icebox

* grep check

* more
2020-07-15 22:23:46 +08:00
AnturK 6a39fa36c4 I welcome less janky solution to this. 2020-06-24 10:52:59 +02:00
AnturK d136f428be Fixes checking map filenames for multiz maps 2020-06-24 10:23:01 +02:00
Jordan Brown c89d7b188d Fix Docker Build (#51781)
* Change BYOND version to 513.1526

* Remove BSQL from docker image

* Add a docker publish action

* Add a docker test action

* Cleanup runtime icons

* Cleanup runtime sounds

* Correct docker workflow names

* Add Dockerfile as an appveyor cache dependency

* Fix build issues

* Copy all dlls

* No need for .dlls in docker

* Minor cleanups
2020-06-22 16:49:07 +02:00
Jordan Brown 0c9869d69b Remove BSQL from LinuxOneShot TGS setup script (#51530) 2020-06-09 21:38:36 -07:00
Tad Hardesty 829e95896e Replace BSQL with rust-g, paramaterize all queries (#51255)
cl
refactor: BSQL has been replaced with rust-g, improving SQL reliability and safety.
/cl

Queries were parameterized as much as possible. Careful code read by someone else also versed in SQL would be a good idea. Things seemed fine spot-testing roundstart, library, bans, and polls, but more stress-testing may be useful.

Also updates rust-g to v0.4.5:

    Improved Linux .so detection
    Perlin noise functions

Also updates Travis script to bionic.
2020-06-08 16:00:07 +12:00
Tad Hardesty 17348c3f99 Update precommit hooks to work in GitHub Desktop (#51404)
Turns out GitHub Desktop actually does bundle a sh.exe, just not a bash.

Also tries to look for the py launcher to help people who didn't check 
the "Add Python to PATH" option.
2020-06-03 10:17:38 -07:00
Jordan Brown 586bc81b4a Rage hack for starting an auto updating /tg/ tgs4 docker instance with the db preconfigured (#51108)
* Rage code

* Hrrm

* Fix windows newlines

* Utter insanity

* This won't work as a post compile step

* Why didn't I do this before?

* Shouldn't be necessary

* This could be it

* Just move it here

* Fixes

* Readme updates

* Readme

* REAAAAD

* Use envars

* More env vars

* typo

* Fixes

* REAAAD

* Fix script

* The missing link
2020-05-25 02:14:34 +08:00
spessman-007 5ae305ec9f Resolve issues with incorrect usage of a/an (#51095)
Co-authored-by: NewSta <spessman-007@users.noreply.github.com>
2020-05-25 01:34:34 +08:00
Jordan Brown c81cc29e1d Add a missing sudo call to TGS PostCompile.sh (#51105) 2020-05-15 00:50:31 -07:00
spessman-007 b8ed692dcf Remove unused files (#50770) 2020-05-08 19:02:59 -07:00
spookydonut b939dbf349 removes this 2020-05-04 16:22:18 +08:00
spookydonut fd6672205b Fix these up 2020-05-04 15:48:19 +08:00
MrDoomBringer 1a986f154f toy toy toy (#50657)
shave a thou off the price


why not


update


hurng
2020-04-27 02:23:13 -03:00
spookydonut 6a9d4c926f Fix dmdoc generation and revert to SpacemanDMM 1.3 (#49858)
* f

* disable building from source
2020-03-11 20:28:43 -04:00
Jordan Brown c0c6b211f0 Merge pull request #49729 from tgstation/pillow7
Update pillow to 7.0.0
2020-03-07 01:19:01 -05:00
Emmett Gaines 718074ce55 Build SpacemanDMM from source (#49712)
* Build SpacemanDMM from source

* oops

* Fix new unreachables/dumb code

* ooops cache conflict

* bugfix

* oops

* lint

* ninjanomnom held me down and forced me to delete this
2020-03-05 11:54:04 -05:00
spookydonut 6ab79efdf8 Update pillow to 7.0.0 2020-03-05 14:17:56 +08:00
AffectedArc07 0315245729 Adds in discord auto-roling (#49374)
About The Pull Request

When a user successfully links their BYOND accounts and discord accounts, they will now be automatically roled, based on config settings.

NOTE: This does not update pre-linked accounts, but I can write an external bot to do that if needed

RUST-G has also been updated in this PR, to be inline with this PR over at RUST-G tgstation/rust-g#23

Why It's Good For The Game

People with linked accounts can now be given a specific role in the discord, which is good for verification.
Changelog

🆑 AffectedArc07
add: Linking your discord and BYOND accounts will now give you a role in the discord
/🆑
2020-02-20 22:37:14 +13:00
Aleksej Komarov baf9bd2f95 REMOVES TGUI (#49330)
* Removes tgui

* Make tgui script executable again

* Set version of packages to 2.0.0

* Update copypasta docs to match the current best practice

* Rebuild tgui

* Update .github/CONTRIBUTING.md

Co-Authored-By: BadSS13Player <58376109+BadSS13Player@users.noreply.github.com>

* Remove holy bible by Arcane

* rebuild

Co-authored-by: BadSS13Player <58376109+BadSS13Player@users.noreply.github.com>
Co-authored-by: Rob Bailey <actioninja@gmail.com>
2020-02-17 04:51:56 -08:00