Commit Graph

153 Commits

Author SHA1 Message Date
AffectedArc07
8d7e066471 Adds OpenDream as a CI lint (#21099)
* Initial Commit

* Makes the CI work (maybe)

* Of course CI has a hissy fit

* Actually fixes the codebase

* Oops 1

* Tweaks

* oops
2023-07-18 20:50:31 -05:00
AffectedArc07
48d10afb07 Makes myself codeowner of build dependencies (#21623) 2023-07-16 11:56:58 -05:00
warriorstar-orion
edcaaf4241 Port check_grep.sh from an increasingly complicated shell script to Python. (#19875)
* Port check_grep.sh from an increasingly complicated shell script to Python.

* Exclude dmdoc-formatted multi-line comments from whitespace check

* Add comment exception for both WS rules

* Fixed mixed tab/space regex.

* hate hate hate hate

* Add doctests to preserve my sanity

* Remove checks involving newlines.

* Add back newline-involved tests. Cry.

* Several large-scale changes.

- Remove all the map-related changes for now, in order to get the
  code formatting changes in sooner and prevent more issues from leaking
  in while the PR issues are burned down.

- Flip the method for processing files. Instead of trying to sort errors
  by type, running over each file for each error, I'm simply breaking
  from the original output format and returning a lint-like set of
  errors. In this design, each file is opened, the checks are run, and
  the file handle is reused for each check.

- Standardize failures so that the filename, line number, and message
  can all be retrieved and formatted nicely for stdout.

- Compile regexes. The consensus seeeeeeeems to be that there's a
  negligible difference in performance when compiling regexes but
  there's a possibility that running them a lot of times may be faster,
  and I could actually time it, but ugggggggh.
2023-07-07 17:31:05 +01:00
S34N
1a62646684 oops (#21526) 2023-06-30 22:29:41 -05:00
Aziz Chynaliev
9dcbc2605d Fix(CI): mysqladmin symlink is gone in latest mariadb docker container (#21301) 2023-06-10 13:49:00 -05:00
Tobias Berger
10f6187ffc Fix render_nanomaps action (#21151)
* Fix render_nanomaps action

Use up-to-date VM and updated SpacemanDMM with modified source

* Revert changes to SpacemanDMM/nanomap-renderer

Note that during map generation this will cause errors in the form of:
```
error: #error Your version of BYOND is too out-of-date to compile this project. Go to https://secure.byond.com/download and update.
error: #error You need version 514.1554 or higher
```
2023-05-23 09:23:52 +01:00
SteelSlayer
170c704cd1 dev team list update (#21097) 2023-05-15 07:52:12 +02:00
dependabot[bot]
ed275dbd9e Bump supercharge/redis-github-action from 1.4.0 to 1.5.0 (#20463)
Bumps [supercharge/redis-github-action](https://github.com/supercharge/redis-github-action) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/supercharge/redis-github-action/releases)
- [Changelog](https://github.com/supercharge/redis-github-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supercharge/redis-github-action/compare/1.4.0...1.5.0)

---
updated-dependencies:
- dependency-name: supercharge/redis-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-26 10:06:44 +01:00
AffectedArc07
b34e8fa301 [READY] CI now bans files with the same name (#20195)
* CI now bans files with the same name

* Part 1

* Warriorstar python tweaks

* Part Deux

* Fix unticked

* fix
2023-02-04 16:33:41 -06:00
Vi3trice
caee0ec975 [TM] Verb Queue - Port of TG SSverb subsystem (#19863)
* Some verbs queue up now

* Damn you 515

* Screw you Topic

* Update client_procs.dm

* Fixes for unit testing

* Update MC.dm

* verb

* Update callback.dm

* Tweaks

* Linters might not have liked that,

* More tweaks, and fix

* Update verb_manager.dm
2023-01-29 15:05:38 +01:00
S34N
802408a923 Cere-station [100% free lag edition] (#19951)
* change da world

* compile, thanks

* Update cere.dmm

* Update cere.dmm

* ready for test

* use the proper name please

its CERE not ceres.

* stops shuttle from forcibly docking with podbay

* things are now different

Landmark update for job spawns.
More hardsuits in EVA, engi, and atmos.
Disaster counters properly added.
Vault is now more spooky.
Gamma armoury moved to below gulag shuttle.
Sleeping rooms replaced with arcade and swimming pool.
Captains ERP nest deleted.
Tcomms now looks like it was designed by a functional human being.
Mining doesn't need a weird glass box.
Shuffled docking ports at arrivals.
Windows are now reinforced windows.
Mr changs has arrived.

* disposals functions now

* now with 50% more air

* gamma armoury doesn't attempt to become one with gulag shuttle

* disposals net is airless, vault is enclosed in some rock

* standard number of escape pods

* slight fixes

* more bugfixes

* lighting fixes

* divided hallways, added psych office, more cams

* fire alarms, shutters, and fixes

* temporary DME edit to set cere as default map

* fixed shuttle runtime

* this compiles and runs locally, please CI

* fixes hidden double pipe

* more double pipes

* more vents and scrubbers, morgue body delivery

* tweaks to secbot pathing

* various QoL changes

* Medbay expansion, med+arrival maints expansion.

* the definitive air alarm update, and more!

* Departmental emergency EVA suits, signage, tweaks.

* 2 Cryodorms added (oops). Asteroid sound updates.

* Borg cryo, shutters correctly rotated.

* Supply shuttle edit. I like joining the map queue.

* minor fixes, grav gen isolation.

* minor fixes

* Disposal fixes, lighting adjustment

* SabreML feedback changes

* More minor fixes

* More fixes

* NSS Farragus

* (most) floors turn into asteroid sand, not spess

* reverted random file edit, fixed mr teeny

* minor fixes

* big bombs can breach asteroid areas

* Asteroid plating exists, did you know? I do now!

* camera network pass

* walls become sand too on destruction

* lighting pass

* implements feedback, dramatically reduces ores

* yeets ores entirely, sci break room added

* roundstart pads, more solars, bigger departures

* runtimes

* mining resistant rock

* variable names are important

* AoE KA doesnt affect rocks

* actually fix AoE stuff

* now with 1000% more bats

* no sandy cables, a brig exit chute, more head ssu

* mech drills are not pickaxes

* proc rename, perma window, faster sapce bridges

* Brig rework

* robotics changes

* More sci edits

* Rotayshun changes

* dme edit

* Delete cerestation.dm

begone, thot

* temp edit so it loads cere as default

* merge conflicts begone

* decal purge

* map repipe

* removes under-wall pipe adapters

* shuffled maint areas

* dirt purge

* longest bridge rework

* fixes

* PPI feedback

* kitchen does, in fact, need air

* permabrig tweaks

* restores cc changes

* merge part 2

* tag purge

* secret clown HQ got me shook

* SQUASHENING

* solar shuffle

* directional consoles

* remove TM edits due to rotation

* merge conflict part 2

* pod pilot deletion

* cold rock, window tint fixes, etc.

* further red rocks

* further tweaks

* more standardising

* robotics redo

* carpet time

* CI update for cere

* Apply suggestions from code review

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

* more squash, corridor cam removal, etc.

* light switches

* minor fixes

* temp cere default

* FOODCART!

* fixes

* no airless no more

* space_hall

* compat pass 1

* make it work

* more changes

* slimmening

* air alarm tweak

* TM commit

* ci tests

* final CI changes?

* squash. squeeze, optimise

* wall vent

* disposals fix, more squeezing

* bugfixes

* false walls

* bedroom culling

* edits and fixes

* tweaks

* changes

* det window

* further tweaks

* Revert "TM commit"

This reverts commit 9e8814937f.

* More TM only changes reverted

* fixes smoothing with falsewalls

* denth changes

* the airlockenning

* cicicici

* CICICICI

* further tweaks

* further tweaks

* reverts weird sand behaviour code from ages ago

* oops

* universal adapter my beloathed

* nanomap moment

* webmap

* cere nanomap

* feedback updates

* updates

* airlock tweaks

* vents and tweaks

* solars moment

* triple APC fix

* south of where?

* airlock helpers

* disposal flap purge

* outpost monitor with actual real networks?

* tweakeroni

* fixes

* fixes

* tweaks

* fixes

* medbay improvements

* power and flaps

* changes

* aa changes

* fixes

* more fixeronies

* fixes!

* reversed

* chemicals

* chem tweaks

* fixes

* shuttle fixes

* holopad pass

* editseditsedits

* lightslightslights

* door

* /obj/machinery/computer/security/telescreen/entertainment

* sonic underground

* actual sonic reference

* Apply suggestions from code review

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>

* Tsrc

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
2023-01-17 22:23:09 +00:00
warriorstar-orion
19ee7d9c00 Encourage Fixes syntax in PR template. (#19743) 2022-11-23 16:56:14 -05:00
Farie82
ed3c63df8e Adds S34N to the review team. Long overdo this change (#19753) 2022-11-22 12:27:33 -05:00
Farie82
0e2f601e4e Promotes Sirryan to commit access (#19752)
now you're stuck with me forever
2022-11-22 10:36:18 -05:00
AffectedArc07
7300560177 Fixes multibuild - It appears I cant do CI properly (#19637)
* It appears I cant do CI properly

* AAAAAAA

* ugh

* Its clear I am out of fucks to give
2022-11-08 22:41:48 +00:00
AffectedArc07
da3814cba1 End of an era redux (#19624) 2022-11-06 14:27:31 +01:00
warriorstar-orion
eb54090eeb Add untick file check to CI. (#19618)
* Add untick file check to CI.

* Time for some caveman debugging

* Software's real neat
2022-11-06 12:24:47 +00:00
warriorstar-orion
4ace2d6c2b Implement map tests for catching common errors. (#19204)
* Implement map tests for catching common errors.

- Adds test runner:
	- to make it easier to track things across test types
	- for example to ensure a fully specified log can be emitted

- Adds map tile test type:
	- when writing a test, coders implement CheckTile, which is
	  handed a single turf
	- when the test runner runs these tests, it iterates over
	  all turfs in the specified z-level, and runs each test's
	  CheckTile on each turf in turn.

- Adds two sample map tile tests:
	- check to see if a pipe exists on the same tile as a scrubber
	  or vent
	- check to see if a tile contains two cables, each with a center
	  node

* Review #1:

- Replace nested loops over map tiles with `block`
- Remove check for valid turf in individual tests, I think it's safe to
  assume `block` will always return legit turfs
- Added proper duration tracking for old tests
- Gave log file an appropriate extension
- Actually use `Fail` for tests

* whoops

* add more tests suggested by @Vi3trice

* Add some more tests courtesy @Bm0n and @Vi3trice

* windows are okay in space as long as it's nearspace

* Add failure threshold to prevent excessive logging.

Once this threshold is reached, a test will stop being processed for
every tile.

Note that this applies to `log_world` and `text2file` equally when
logging large amounts of failures.

* Document each test.

* Remove unnecessary reboot

* Let all map tests run to completion in CI matrix.

* I know what alphabetical means
2022-11-05 15:32:17 +00:00
AffectedArc07
23c3a6c252 Attempt to multibuild on CI (#19571)
* Attempt to multibuild on CI

* I cant space in bash

* AAAAAAAAAAAAAAAAAAAAAA

* Im gonna bash my head in

* ..
2022-11-03 18:04:09 +00:00
AffectedArc07
8351bec352 Abolishes GBP + Code of Conduct tweaks (#19565)
* Abolishes GBP + Code of Conduct tweaks

* Discussions
2022-10-31 22:05:35 +00:00
AffectedArc07
c3528cd080 Bump DreamAnnotate in CI (#19379) 2022-10-13 22:11:09 +02:00
AffectedArc07
12725d9e03 Tweaks guidelines to prevent my own slip ups (#18981) 2022-09-07 13:40:09 +01:00
AffectedArc07
8a10336780 The headcoder shuffle (#18923) 2022-08-29 16:45:49 +01:00
AffectedArc07
3e81e584a0 Contributing cleanup + Gitignore tweak (#18690)
* Contributing cleanup + Gitignore tweak

* Oops v1
2022-08-06 15:29:10 +01:00
moxian
53c4aad491 Update PULL_REQUEST_TEMPLATE.md (#18609) 2022-07-27 21:02:22 +01:00
AffectedArc07
afe179ebba Update bug report template for security issues (#18473) 2022-07-20 16:09:58 +01:00
S34N
4f5c3376e3 Updates tools to include mapmerge hooks and merge drivers, plus more (#18034)
* bumps tools to modern versions, adds DMM merge driver hooks for automatic map merging

* mapping guidelines update

* Update .github/CONTRIBUTING.md

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

* aa review

* these somehow got ignored? force adding

* Apply suggestions from code review

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
2022-06-21 23:53:19 +01:00
AffectedArc07
e5dac22f25 A new era (#18000)
* Holding commit

* Revert "Holding commit"

This reverts commit cb38dc08f8.

* Actually rewrites stuff
2022-06-20 17:27:15 -05:00
dependabot[bot]
b35dcc6383 Bump actions/cache from 2 to 3 (#17978)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 14:42:33 +01:00
dependabot[bot]
3d66dbefee Bump actions/checkout from 2 to 3 (#17977)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 14:10:49 +01:00
dependabot[bot]
df431bd391 Bump crazy-max/ghaction-github-pages from 2 to 3 (#17979)
Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 2 to 3.
- [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases)
- [Changelog](https://github.com/crazy-max/ghaction-github-pages/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v2...v3)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 14:04:47 +01:00
dependabot[bot]
3e99174e4e Bump actions/setup-python from 2 to 4 (#17976)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 14:03:09 +01:00
Naveen
b120d4025a chore: Included githubactions in the dependabot config (#17973)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-16 13:56:00 +01:00
Naveen
c46136016a chore: Set permissions for GitHub actions (#17964)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-15 14:20:47 +01:00
moxian
3cb55b2adb Update link to dmdoc (#17932) 2022-06-08 15:37:07 +01:00
AffectedArc07
7f22eb8611 GitHub action to check for DMI5 (#17881)
* GitHub action to check for DMI5

* Maybe?

* bump

* checkout first

* Bumps some icons
2022-05-28 07:58:15 -06:00
moxian
b000bd2a88 Add eslint settings to vscode config (#17680)
* Add eslint settings to vscode config

* Lint vscode settings as json5

* A tiny bit better argument parsing, oops
2022-04-29 13:07:46 +01:00
variableundefined
6b47aebf80 The last PR till the next T-shirt season, probably (#17522)
Retiring for real now
2022-03-26 00:12:31 +00:00
AffectedArc07
674fbff20e The return (#17439) 2022-02-24 12:38:10 +01:00
AffectedArc07
0e24c24f52 [READY] Redis PubSub integration + RUSTG Updates (#17266) 2022-01-11 16:56:41 +01:00
S34N
2797b60bc1 Adds support for more "[dir] bump" mapping (#16908) 2021-12-03 08:10:11 +01:00
AffectedArc07
192fa1815e Fixed CI (#17181) 2021-12-01 20:46:39 +01:00
AffectedArc07
d784880b9e Fixes bad documentation (#17144) 2021-11-19 22:38:27 +01:00
AffectedArc07
0cb1f63df6 Tweaks GBP values 2021-11-06 19:30:37 +00:00
variableundefined
9be92cc1e2 Merge pull request #17045 from AffectedArc07/gbp
GitHub Balance Points
2021-11-06 14:06:06 -05:00
AffectedArc07
68a40eb1f3 GitHub Balance Points 2021-11-06 16:35:21 +00:00
AffectedArc07
aa8a63b060 The dawn of a new era (#17044) 2021-11-06 17:34:02 +01:00
Paulo Elienay II
0de8f5a81e docs: adds faster downloads to push too (#17024) 2021-11-05 13:30:38 +01:00
AffectedArc07
4f29cb441f Hands TGUI ownership over to mochi (#17033) 2021-11-04 18:36:02 +01:00
variableundefined
1c2e065a90 Merge pull request #17006 from paulo-e/docs/clone_faster
Shows how to clone faster in the docs
2021-11-01 08:42:32 -05:00