mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 01:52:15 +00:00
Fixes GitHub Capitalization (#14715)
This commit is contained in:
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
@@ -7,7 +7,7 @@ All commits whose authorship dates are not prior to `1420675200 +0000` are assum
|
||||
|
||||
All assets including icons and sound are under a [Creative Commons 3.0 BY-SA](https://creativecommons.org/licenses/by-sa/3.0/) license unless otherwise indicated.
|
||||
|
||||
# Github Standards
|
||||
# GitHub Standards
|
||||
|
||||
### Sub-licensing External Content
|
||||
**When does this section apply to me?** When you are integrating content that is **not** licensed under [AGPLv3](https://www.gnu.org/licenses/agpl-3.0.en.html) (code)
|
||||
|
||||
@@ -122,7 +122,7 @@ client/verb/showrevinfo()
|
||||
. += {"<tr><th>Author:</th><td>[html_encode(tm.author)]</td></tr>"}
|
||||
|
||||
if (config.githuburl)
|
||||
. += {"<tr><td colspan="2"><a href="?JSlink=github;pr=[tm.number]">Link to Github</a></td></tr>"}
|
||||
. += {"<tr><td colspan="2"><a href="?JSlink=github;pr=[tm.number]">Link to GitHub</a></td></tr>"}
|
||||
|
||||
. += {"<tr><th>Description:</th><td>[html_encode(tm.body)]</td></tr>"}
|
||||
if(tm.comment)
|
||||
|
||||
@@ -206,8 +206,8 @@ var/list/localhost_addresses = list(
|
||||
// Forum link from various panels.
|
||||
if ("github")
|
||||
if (!config.githuburl)
|
||||
to_chat(src, "<span class='danger'>Github URL not set in the config. Unable to open the site.</span>")
|
||||
else if (alert("This will open the Github page in your browser. Are you sure?",, "Yes", "No") == "Yes")
|
||||
to_chat(src, "<span class='danger'>GitHub URL not set in the config. Unable to open the site.</span>")
|
||||
else if (alert("This will open the GitHub page in your browser. Are you sure?",, "Yes", "No") == "Yes")
|
||||
if (href_list["pr"])
|
||||
var/pr_link = "[config.githuburl]pull/[href_list["pr"]]"
|
||||
send_link(src, pr_link)
|
||||
|
||||
@@ -393,7 +393,7 @@
|
||||
verbs -= /mob/living/carbon/proc/spawn_larvae
|
||||
|
||||
else
|
||||
to_chat(src, SPAN_DANGER("Something has gone terribly wrong, as your host's brain does not seem to contain you. Make a Github report and ahelp to get out."))
|
||||
to_chat(src, SPAN_DANGER("Something has gone terribly wrong, as your host's brain does not seem to contain you. Make a GitHub report and ahelp to get out."))
|
||||
|
||||
//Brain slug proc for tormenting the host.
|
||||
/mob/living/carbon/proc/punish_host()
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<h1>Welcome to Aurorastation!</h1>
|
||||
</center>
|
||||
<p>
|
||||
Aurorastation is a SS13 heavy roleplay server with antagonists enabled that has been running since 2013. We utilize a customized build of the Baystation12 codebase, which can be found <a href="?JSlink=github">here, on Github.</a>
|
||||
Aurorastation is a SS13 heavy roleplay server with antagonists enabled that has been running since 2013. We utilize a customized build of the Baystation12 codebase, which can be found <a href="?JSlink=github">here, on GitHub.</a>
|
||||
</p>
|
||||
<p>
|
||||
New players should take care to read <a href="?JSlink=rules">the rules,</a> especially if you're new to roleplay. Should any questions arise, you are expected to adminhelp (F1) them and ask!
|
||||
@@ -132,7 +132,7 @@
|
||||
}
|
||||
|
||||
if (loopIter > 10) {
|
||||
alert("The Greeting Window timed out. If this happens regularly, please submit a Github issue.");
|
||||
alert("The Greeting Window timed out. If this happens regularly, please submit a GitHub issue.");
|
||||
clearInterval(windowInterval);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Github webhook In-game PR Announcer and Changelog Generator for /tg/Station13
|
||||
* GitHub webhook In-game PR Announcer and Changelog Generator for /tg/Station13
|
||||
* Author: MrStonedOne
|
||||
* For documentation on the changelog generator see https://tgstation13.org/phpBB/viewtopic.php?f=5&t=5157
|
||||
* To hide prs from being announced in game, place a [s] in front of the title
|
||||
@@ -18,7 +18,7 @@
|
||||
//CONFIG START (all defaults are random examples, do change them)
|
||||
//Use single quotes for config options that are strings.
|
||||
|
||||
//Github lets you have it sign the message with a secret that you can validate. This prevents people from faking events.
|
||||
//GitHub lets you have it sign the message with a secret that you can validate. This prevents people from faking events.
|
||||
//This var should match the secret you configured for this webhook on github.
|
||||
//set to NULL (no quotes) to disable validation.
|
||||
$hookSecret = '08ajh0qj93209qj90jfq932j32r';
|
||||
@@ -75,7 +75,7 @@ if (!isset($_SERVER['HTTP_CONTENT_TYPE'])) {
|
||||
$contenttype = $_SERVER['HTTP_CONTENT_TYPE'];
|
||||
}
|
||||
if (!isset($_SERVER['HTTP_X_GITHUB_EVENT'])) {
|
||||
throw new \Exception("Missing HTTP 'X-Github-Event' header.");
|
||||
throw new \Exception("Missing HTTP 'X-GitHub-Event' header.");
|
||||
}
|
||||
switch ($contenttype) {
|
||||
case 'application/json':
|
||||
@@ -271,7 +271,7 @@ function checkchangelog($payload, $merge = false) {
|
||||
'Authorization: token ' . $apiKey,
|
||||
'content' => json_encode($content),
|
||||
'ignore_errors' => true,
|
||||
'user_agent' => 'tgstation13.org-Github-Automation-Tools'
|
||||
'user_agent' => 'tgstation13.org-GitHub-Automation-Tools'
|
||||
));
|
||||
$filename = '/html/changelogs/AutoChangeLog-pr-'.$payload['pull_request']['number'].'.yml';
|
||||
echo file_get_contents($payload['pull_request']['base']['repo']['url'].'/contents'.$filename, false, stream_context_create($scontext));
|
||||
|
||||
Reference in New Issue
Block a user