Skip to content

Commit

Permalink
Merge branch 'master' into bioscramblersbegone
Browse files Browse the repository at this point in the history
Signed-off-by: Ephemeralis <[email protected]>
  • Loading branch information
Ephemeralis authored Nov 14, 2024
2 parents 20ae789 + 6b212ba commit 2c5fc09
Show file tree
Hide file tree
Showing 7,510 changed files with 362,064 additions and 19,078 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
11 changes: 8 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@
/SQL/ @kannthus

# Maintainers
/modular_doppler/ @CliffracerX @Ephemeralis @honkpocket
/code/ @CliffracerX @Ephemeralis @honkpocket
/modular_doppler/ @Carpotoxin @Ephemeralis @Paxilmaniac
/code/ @Carpotoxin @Ephemeralis @Paxilmaniac
/sound/ @Paxilmaniac
/strings/ @Paxilmaniac

# Maptainers
/_maps/ @DawsonKeyes @SylvetteSylph
/_maps/ @Paxilmaniac

# Spritetainers (real)
/icons/ @Paxilmaniac

1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ balance: rebalanced something
fix: fixed a few things
sound: added/modified/removed audio or sound effects
image: added/modified/removed some icons or images
map: added/modified/removed map content
spellcheck: fixed a few typos
code: changed some code
refactor: refactored some code
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/discord_discussions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Discord Discussions

on:
pull_request_target:
types:
- opened
- reopened
- edited
- labeled
- closed
branches:
- master

concurrency:
group: "discord-discussions-${{ github.head_ref }}"
cancel-in-progress: true

jobs:
manage-discord-discussion:
name: Manage Discord Discussion
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'Discord Discussion')
steps:
- name: Fail if vars.DISCORD_DISCUSSIONS_CHANNEL_ID is unset
if: ${{ vars.DISCORD_DISCUSSIONS_CHANNEL_ID == '' }}
run: |
echo "vars.DISCORD_DISCUSSIONS_CHANNEL_ID (${{ vars.DISCORD_DISCUSSIONS_CHANNEL_ID }}) must be set to use this label!"
exit 1
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-quality: ga

- name: Checkout
uses: actions/checkout@v4

- name: Build Tgstation.DiscordDiscussions
run: dotnet publish -c Release -o discord_discussions_bins tools/Tgstation.DiscordDiscussions/Tgstation.DiscordDiscussions.csproj

- name: Generate App Token
id: app-token-generation
uses: getsentry/action-github-app-token@d4b5da6c5e37703f8c3b3e43abb5705b46e159cc
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Run Tgstation.DiscordDiscussions
run: dotnet discord_discussions_bins/Tgstation.DiscordDiscussions.dll ${{ steps.app-token-generation.outputs.token }} ${{ github.repository_owner }} ${{ github.event.repository.name }} ${{ github.event.pull_request.number }} ${{ github.event.pull_request.merged && 'merged' || github.event.pull_request.state }} ${{ secrets.DISCORD_DISCUSSIONS_TOKEN }} ${{ vars.DISCORD_DISCUSSIONS_CHANNEL_ID }} ${{ github.event.action == 'reopened' && 'true' || 'false' }} ${{ vars.DISCORD_JOIN_LINK }}
env:
GITHUB_PULL_REQUEST_TITLE: ${{ github.event.pull_request.title }}
2 changes: 1 addition & 1 deletion .github/workflows/generate_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
touch dmdoc/.nojekyll
echo codedocs.tgstation13.org > dmdoc/CNAME
- name: Deploy
uses: JamesIves/[email protected].4
uses: JamesIves/[email protected].8
with:
branch: gh-pages
clean: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tgs_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- 'code/__DEFINES/tgs.dm'
- 'code/game/world.dm'
- 'code/modules/tgs/**'
- 'tools/bootstrap/**'
- 'tools/tgs_scripts/**'
- 'tools/tgs_test/**'
pull_request:
Expand All @@ -28,6 +29,7 @@ on:
- 'code/__DEFINES/tgs.dm'
- 'code/game/world.dm'
- 'code/modules/tgs/**'
- 'tools/bootstrap/**'
- 'tools/tgs_scripts/**'
- 'tools/tgs_test/**'
merge_group:
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ Temporary Items
/tools/MapAtmosFixer/MapAtmosFixer/bin/*
/tools/CreditsTool/bin/*
/tools/CreditsTool/obj/*
/tools/Tgstation.DiscordDiscussions/.vs/*
/tools/Tgstation.DiscordDiscussions/bin/*
/tools/Tgstation.DiscordDiscussions/obj/*
/tools/Tgstation.DiscordDiscussions/Properties/launchSettings.json

#GitHub Atom
.atom-build.json
Expand Down Expand Up @@ -244,3 +248,4 @@ define_sanity_output.txt

# Running OpenDream locally
tgstation.json
rust_g64.dll
7 changes: 7 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@
"-trusted"
],
"preLaunchTask": "Build All (low memory mode)"
},
{
"type": "opendream",
"request": "launch",
"name": "Launch OpenDream (requires extension, 64 bit rustg, and an SS14 account)",
"preLaunchTask": "OpenDream: compile ${command:CurrentDME}",
"json_path": "${workspaceFolder}/${command:CurrentJson}"
}
]
}
19 changes: 15 additions & 4 deletions SQL/database_changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,30 @@ Any time you make a change to the schema files, remember to increment the databa

Make sure to also update `DB_MAJOR_VERSION` and `DB_MINOR_VERSION`, which can be found in `code/__DEFINES/subsystem.dm`.

The latest database version is 5.27; The query to update the schema revision table is:
The latest database version is 5.28; The query to update the schema revision table is:

```sql
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 27);
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 28);
```
or

```sql
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 27);
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 28);
```

In any query remember to add a prefix to the table names if you use one.
-----------------------------------------------------
Version 5.28, 1 November 2024, by Ghommie
Added `fish_progress` as the first 'progress' subtype of 'datum/award/scores'

```sql
CREATE TABLE `fish_progress` (
`ckey` VARCHAR(32) NOT NULL,
`progress_entry` VARCHAR(32) NOT NULL,
`datetime` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`ckey`,`progress_entry`)
) ENGINE=InnoDB;
```
-----------------------------------------------------
Version 5.27, 26 April 2024, by zephyrtfa
Add the ip intel whitelist table
```sql
Expand Down
10 changes: 10 additions & 0 deletions SQL/tgstation_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,16 @@ CREATE TABLE `achievement_metadata` (
PRIMARY KEY (`achievement_key`)
) ENGINE=InnoDB;

-- Table structure for table 'x_progress'

DROP TABLE IF EXISTS `fish_progress`;
CREATE TABLE `fish_progress` (
`ckey` VARCHAR(32) NOT NULL,
`progress_entry` VARCHAR(32) NOT NULL,
`datetime` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`ckey`,`progress_entry`)
) ENGINE=InnoDB;

--
-- Table structure for table `ticket`
--
Expand Down
10 changes: 10 additions & 0 deletions SQL/tgstation_schema_prefixed.sql
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,16 @@ CREATE TABLE `SS13_achievement_metadata` (
PRIMARY KEY (`achievement_key`)
) ENGINE=InnoDB;

-- Table structure for table 'SS13_x_progress'

DROP TABLE IF EXISTS `SS13_fish_progress`;
CREATE TABLE `fish_progress` (
`ckey` VARCHAR(32) NOT NULL,
`progress_entry` VARCHAR(32) NOT NULL,
`datetime` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`ckey`,`progress_entry`)
) ENGINE=InnoDB;

--
-- Table structure for table `SS13_ticket`
--
Expand Down
Loading

0 comments on commit 2c5fc09

Please sign in to comment.