Skip to content

Commit

Permalink
eh, big stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
SandPoot committed Apr 7, 2022
1 parent 42e1e33 commit 80400f1
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 274 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/compile_changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,44 @@ jobs:
name: "Compile changelogs"
runs-on: ubuntu-20.04
steps:
- name: "Check for CHANGELOG_ENABLER secret and pass true to output if it exists to be checked by later steps"
- name: "Check for ACTION_ENABLER secret and pass true to output if it exists to be checked by later steps"
id: value_holder
env:
CHANGELOG_ENABLER: ${{ secrets.CHANGELOG_ENABLER }}
ENABLER_SECRET: ${{ secrets.ACTION_ENABLER }}
run: |
unset SECRET_EXISTS
if [ -n $CHANGELOG_ENABLER ]; then SECRET_EXISTS='true' ; fi
echo ::set-output name=CL_ENABLED::${SECRET_EXISTS}
if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi
echo "::set-output name=ACTIONS_ENABLED::$SECRET_EXISTS"
- name: "Setup python"
if: steps.value_holder.outputs.CL_ENABLED
if: steps.value_holder.outputs.ACTIONS_ENABLED
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: "Install deps"
if: steps.value_holder.outputs.CL_ENABLED
if: steps.value_holder.outputs.ACTIONS_ENABLED
run: |
python -m pip install --upgrade pip
python -m pip install pyyaml
sudo apt-get install dos2unix
- name: "Checkout"
if: steps.value_holder.outputs.CL_ENABLED
if: steps.value_holder.outputs.ACTIONS_ENABLED
uses: actions/checkout@v1
with:
fetch-depth: 25
- name: "Compile"
if: steps.value_holder.outputs.CL_ENABLED
if: steps.value_holder.outputs.ACTIONS_ENABLED
run: |
python tools/ss13_genchangelog.py html/changelogs
- name: Commit
if: steps.value_holder.outputs.CL_ENABLED
if: steps.value_holder.outputs.ACTIONS_ENABLED
run: |
git config --local user.email "[email protected]"
git config --local user.name "Sandstorm Bot"
git pull origin master
git add html/changelogs
git commit -m "Automatic changelog compile [ci skip]" -a || true
- name: "Push"
if: steps.value_holder.outputs.CL_ENABLED
if: steps.value_holder.outputs.ACTIONS_ENABLED
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
54 changes: 27 additions & 27 deletions html/changelogs/archive/2022-03.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
2022-03-03:
TripleShades:
- rscadd: [Omega] Windoors to Atmos flaps
- rscadd: [Omega] Windoor to Librarian desk
- rscadd: [Omega] Another belt switch to Cargo
- rscadd: [Omega] Superfluous decals
- rscadd: [Omega] Two space heaters
- rscadd: [Omega] Two empty medkits and health scanners to Robotics
- rscadd: [Omega] More painting mounts in the Library
- remove: [Omega] Superfluous decals
- bugfix: [Omega] Organ Fridge no longer invisibly takes up the tile it was shifted from
- tweak: [Omega] Maint garden is no longer spaced at the cost of losing a puddle
- tweak: [Omega] Moves around the blood crate in Medbay to swap with a vendor
- tweak: [Omega] Moved around Library book shelves"
- rscadd: '[Omega] Windoors to Atmos flaps'
- rscadd: '[Omega] Windoor to Librarian desk'
- rscadd: '[Omega] Another belt switch to Cargo'
- rscadd: '[Omega] Superfluous decals'
- rscadd: '[Omega] Two space heaters'
- rscadd: '[Omega] Two empty medkits and health scanners to Robotics'
- rscadd: '[Omega] More painting mounts in the Library'
- remove: '[Omega] Superfluous decals'
- bugfix: '[Omega] Organ Fridge no longer invisibly takes up the tile it was shifted from'
- tweak: '[Omega] Maint garden is no longer spaced at the cost of losing a puddle'
- tweak: '[Omega] Moves around the blood crate in Medbay to swap with a vendor'
- tweak: '[Omega] Moved around Library book shelves"'
2022-03-04:
BongaTheProto:
- bugfix: Fixes femcum hydratation
2022-03-07:
BongaTheProto:
- bugfix: Tops will now use the shirt slot
TripleShades:
- rscdel: [Omega] Hundreds of decals
- tweak: [Omega] Three airlock rooms to space dont have vents now to stop tiles ripping up
- rscdel: '[Omega] Hundreds of decals'
- tweak: '[Omega] Three airlock rooms to space dont have vents now to stop tiles ripping up'
2022-03-08:
Putnam3145:
- config: Made a config entry lowertext thing actually work right
Expand Down Expand Up @@ -48,10 +48,10 @@
- balance: Regenerative cores when used on Synthetics on lavaland now heal for 20 brute + burn instead of 5
- balance: Regenerative cores when used now on lavaland now only heal 5 brute + burn, regardless of whom they are used on. Additionally, their damage slowdown negation is reduced to ten seconds.
TripleShades:
- rscdel: [Omega] Engineering Supermatter shortcut airlock to Cooling Loop
- tweak: [Omega] Gravity Generator walkable area"
- bugfix: [Omega] Two Xenobiology pens now have chutes
- bugfix: [Omega] Makes a t-junction pipe in Atmospherics not visible above the floor
- rscdel: '[Omega] Engineering Supermatter shortcut airlock to Cooling Loop'
- tweak: '[Omega] Gravity Generator walkable area"'
- bugfix: '[Omega] Two Xenobiology pens now have chutes'
- bugfix: '[Omega] Makes a t-junction pipe in Atmospherics not visible above the floor'
2022-03-14:
Putnam3145:
- bugfix: atmos equalization config now works properly
Expand All @@ -65,8 +65,8 @@
- bugfix: Fixed LOG_VICTIM.
2022-03-18:
TripleShades:
- rscadd: [Omega] Aix Mixer pipe
- rscadd: [Omega] Wire to Turbine
- rscadd: '[Omega] Aix Mixer pipe'
- rscadd: '[Omega] Wire to Turbine'
2022-03-20:
Melbert:
- bugfix: Balloon alerts sourced on turfs work properly.
Expand All @@ -84,8 +84,8 @@
BlueWildrose:
- balance: Xenobiology's Advanced Mutation Toxin has another cure now, which is Mutadone. In addition, it no longer instantly transforms slime subspecies upon contraction.
TripleShades:
- rscadd: [Omega] Gravity Generator room scrubber
- tweak: [Omega] tcomms vents are now passive
- rscadd: '[Omega] Gravity Generator room scrubber'
- tweak: '[Omega] tcomms vents are now passive'
2022-03-24:
SandPoot:
- bugfix: Fixes any sort of crate related syndicate item fetching.
Expand All @@ -108,11 +108,11 @@
- rscadd: Added cameras to some areas in current rotation stations for parity
- rscadd: Added light switches to many areas in current rotation stations
- rscadd: Added atmos alarms to a few areas in current rotation stations for parity
- rscadd: [Box] Gives Morgue Maintenance an APC
- rscdel: [Omega] Removes Arrivals Lobby APC since it's now part of the hallway
- rscadd: '[Box] Gives Morgue Maintenance an APC'
- rscdel: '[Omega] Removes Arrivals Lobby APC since it''s now part of the hallway'
- bugfix: Fixes a few duplicate c_tags for current rotation ruins and stations
- bugfix: Fixes some incorrectly placed areas in current rotation stations
- bugfix: Fixes pipes that led to nowhere in current rotation stations
- bugfix: [Box] Kitchen Cold Room should now lose power via proper area connection
- bugfix: [Box] Chief Engineer's Office should no longer be announced as Command erroneously due to mapping error
- bugfix: [Omega] Law Office APC should no longer control the Restrooms
- bugfix: '[Box] Kitchen Cold Room should now lose power via proper area connection'
- bugfix: '[Box] Chief Engineer''s Office should no longer be announced as Command erroneously due to mapping error'
- bugfix: '[Omega] Law Office APC should no longer control the Restrooms'
14 changes: 10 additions & 4 deletions html/changelogs/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
# - (fixes bugs)
# wip
# - (work in progress)
# qol
# - (quality of life)
# tweak
# - (tweaks something)
# soundadd
# - (adds a sound)
# sounddel
# - (removes a sound)
# rscadd
# - (adds a feature)
# rscdel
# - (removes a feature)
# rscadd
# - (adds a feature)
# imageadd
# - (adds an image or sprite)
# imagedel
Expand All @@ -29,6 +29,8 @@
# - (fixes spelling or grammar)
# experiment
# - (experimental change)
# tgs
# - (messing around with tgs)
# balance
# - (balance changes)
# code_imp
Expand All @@ -41,6 +43,10 @@
# - (makes changes to administrator tools)
# server
# - (miscellaneous changes to server)
# expansion
# - (expands something)
# qol
# - (quality of life)
#################################

# Your name.
Expand Down
11 changes: 5 additions & 6 deletions tgui/packages/tgui/interfaces/Changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,24 @@ import yaml from 'js-yaml';
const icons = {
bugfix: { icon: 'bug', color: 'green' },
wip: { icon: 'hammer', color: 'orange' },
qol: { icon: 'hand-holding-heart', color: 'green' },
tweak: { icon: 'wrench', color: 'green' },
soundadd: { icon: 'tg-sound-plus', color: 'green' },
sounddel: { icon: 'tg-sound-minus', color: 'red' },
add: { icon: 'check-circle', color: 'green' },
expansion: { icon: 'check-circle', color: 'green' },
rscadd: { icon: 'check-circle', color: 'green' },
rscdel: { icon: 'times-circle', color: 'red' },
rscadd: { icon: 'check-circle', color: 'green' },
imageadd: { icon: 'tg-image-plus', color: 'green' },
imagedel: { icon: 'tg-image-minus', color: 'red' },
spellcheck: { icon: 'spell-check', color: 'green' },
experiment: { icon: 'radiation', color: 'yellow' },
tgs: { icon: 'toolbox', color: 'purple' },
balance: { icon: 'balance-scale-right', color: 'yellow' },
code_imp: { icon: 'code', color: 'green' },
refactor: { icon: 'tools', color: 'green' },
config: { icon: 'cogs', color: 'purple' },
admin: { icon: 'user-shield', color: 'purple' },
server: { icon: 'server', color: 'purple' },
tgs: { icon: 'toolbox', color: 'purple' },
tweak: { icon: 'wrench', color: 'green' },
expansion: { icon: 'check-circle', color: 'green' },
qol: { icon: 'hand-holding-heart', color: 'green' },
unknown: { icon: 'info-circle', color: 'label' },
};

Expand Down
3 changes: 3 additions & 0 deletions tools/WebhookProcessor/github_webhook_processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,9 @@ function checkchangelog($payload, $compile = true) {
$currentchangelogblock[] = array('type' => 'balance', 'body' => $item);
}
break;
case 'tgs':
$currentchangelogblock[] = array('type' => 'tgs', 'body' => $item);
break;
case 'code_imp':
case 'code':
if($item != 'changed some code'){
Expand Down
4 changes: 0 additions & 4 deletions tools/changelog/makeChangelog.bat

This file was deleted.

4 changes: 0 additions & 4 deletions tools/changelog/requirements.txt

This file was deleted.

Loading

0 comments on commit 80400f1

Please sign in to comment.