Skip to content

Commit f315747

Browse files
committed
merge master
1 parent 1b72956 commit f315747

4,901 files changed

Lines changed: 73134 additions & 354642 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ csharp_indent_braces = false
127127
#csharp_indent_case_contents_when_block = true
128128
#csharp_indent_labels = one_less_than_current
129129
csharp_indent_switch_labels = true
130-
xmldoc_indent_text = zeroindent
131130

132131
# Space preferences
133132
csharp_space_after_cast = false

.github/workflows/close-master-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: superbrothers/close-pull-request@v3
1414
with:
15-
comment: "Thank you for your contribution! It appears you created a PR from your master branch, this is [something you should avoid doing](https://jmeridth.com/posts/do-not-issue-pull-requests-from-your-master-branch/), and thus this PR has been automatically closed. \n \n We suggest you follow [our git usage documentation](https://docs.spacestation14.com/en/general-development/setup/git-for-the-ss14-developer.html). \n \n You can move your current work from the master branch to another branch by following [these commands](https://ohshitgit.com/#accidental-commit-master). And then you may recreate your PR using the new branch."
15+
comment: "Thank you for contributing to the Space Station 14 repository. Unfortunately, it looks like you submitted your pull request from the master branch. We suggest you follow [our git usage documentation](https://docs.spacestation14.com/en/general-development/setup/git-for-the-ss14-developer.html) \n\n You can move your current work from the master branch to another branch by doing `git branch <branch_name` and resetting the master branch."
1616

1717
# If you prefer to just comment on the pr and not close it, uncomment the bellow and comment the above
1818

.github/workflows/publish.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Publish
22

33
concurrency:
44
group: publish
5-
cancel-in-progress: true
65

76
on:
87
workflow_dispatch:
@@ -49,14 +48,12 @@ jobs:
4948
GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }}
5049

5150
- name: Publish changelog (Discord)
52-
continue-on-error: true
5351
run: Tools/actions_changelogs_since_last_run.py
5452
env:
5553
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5654
DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK }}
5755

5856
- name: Publish changelog (RSS)
59-
continue-on-error: true
6057
run: Tools/actions_changelog_rss.py
6158
env:
6259
CHANGELOG_RSS_KEY: ${{ secrets.CHANGELOG_RSS_KEY }}

.vscode/tasks.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -32,50 +32,6 @@
3232
"/consoleloggerparameters:'ForceNoAlign;NoSummary'"
3333
],
3434
"problemMatcher": "$msCompile"
35-
},
36-
{
37-
"label": "test",
38-
"command": "dotnet",
39-
"type": "shell",
40-
"args": [
41-
"test",
42-
"--no-build",
43-
"--configuration",
44-
"DebugOpt",
45-
"Content.Tests/Content.Tests.csproj",
46-
"--",
47-
"NUnit.ConsoleOut=0"
48-
],
49-
"group": {
50-
"kind": "test"
51-
},
52-
"presentation": {
53-
"reveal": "silent"
54-
},
55-
"problemMatcher": "$msCompile"
56-
},
57-
{
58-
"label": "integration-test",
59-
"command": "dotnet",
60-
"type": "shell",
61-
"args": [
62-
"test",
63-
"--no-build",
64-
"--configuration",
65-
"DebugOpt",
66-
"Content.IntegrationTests/Content.IntegrationTests.csproj",
67-
"--",
68-
"NUnit.ConsoleOut=0",
69-
"NUnit.MapWarningTo=Failed.ConsoleOut=0",
70-
"NUnit.MapWarningTo=Failed"
71-
],
72-
"group": {
73-
"kind": "test"
74-
},
75-
"presentation": {
76-
"reveal": "silent"
77-
},
78-
"problemMatcher": "$msCompile"
7935
}
8036
]
8137
}

.wiki/_DV/Laws/AlertProcedure.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Elevated alert status. ''There is an ongoing, known, or suspected security threa
4141
| style="border: 1px solid #000000;" | Open carry of weaponry permitted for authorised entities. Body armour and helmets mandatory for Security personnel, permitted for distribution to authorised personnel.
4242
|-
4343
| style="border: 1px solid #000000;" | Discipline
44-
| style="border: 1px solid #000000;" | Report to supervisor for general orders. Searching individuals suspected of committing a crime is encouraged. Open carry disallowed for non-security personnel.
44+
| style="border: 1px solid #000000;" | Report to supervisor for general orders. Searches may be performed at the discretion of security personnel and without a warrant. Open carry disallowed for non-security personnel.
4545
|-
4646
| style="border: 1px solid #000000;" | Secure Areas
4747
| style="border: 1px solid #000000;" | Secure areas unlocked unless affected by known threats. Access to [[Standard_Operating_Procedure#High_Security_Areas|HSAs]] locked.
@@ -71,7 +71,7 @@ Emergency alert status. ''There are multiple major emergency situations ongoing,
7171
| style="border: 1px solid #000000;" | Issuing of lethal weapons heavily recommended. Body armour and helmets mandatory for Security personnel, permitted for distribution to authorised personnel.
7272
|-
7373
| style="border: 1px solid #000000;" | Discipline
74-
| style="border: 1px solid #000000;" | Report to supervisor for general orders. Protection of personnel prioritized over body and department searches. Open carry disallowed for non-security personnel.
74+
| style="border: 1px solid #000000;" | Report to supervisor for general orders. Searches and departmental raids may be performed at the discretion of security personnel and without a warrant. Open carry disallowed for non-security personnel.
7575
|-
7676
| style="border: 1px solid #000000;" | Secure Areas
7777
| style="border: 1px solid #000000;" | All HSAs should remain locked and under guard. Secure areas unlocked unless affected by known threats.

.wiki/_DV/Laws/StandardOperatingProcedure.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Captain’s Authority carries a responsibility, however; the CO must do everythi
158158

159159
Additionally, the legally appointed Captain of a vessel is afforded two additional rights over that of a CO:
160160

161-
* To, with public announcement to the crew, temporarily modify SOP in times of emergency, at the risk of criminal penalties if misused or abused, and
161+
* To temporarily modify SOP in times of emergency, at the risk of criminal penalties if misused or abused, and
162162
* To deputize members of the crew to carry out law enforcement activity. These deputies are bound by Security Regulations and Space Law, and the Captain may suffer criminal penalties for any crime committed by them.
163163

164164
==Line of Succession==
@@ -202,7 +202,7 @@ While actively enforcing the law, officers are held to the standard of Probable
202202
When judged, Probable Cause is to be interpreted within the context of the entirety of the station’s circumstances at the time of the incident. Probable Cause negates the need of a warrant for searches, and, once concluded, should be promptly reported to the Prosecutor, Warden, or Head of Security for review.
203203

204204
==Detainment and Arrest==
205-
Any sophont may be detained by a law enforcement officer with Probable Cause. In detainment, the officer will inform the Detainee of the crime they are suspected of committing. They may be held on-site or moved to a strategically sound location, restrained at the officer’s discretion, and detained while law enforcement officers determine if they can proceed with an arrest. Such a detention should last no longer than five (5) minutes. A Detainee may not be searched, unless consent is given or they are placed under arrest, and their detention should be concluded within five minutes of its start, by either Arresting them or releasing them.
205+
Any sophont may be detained by a law enforcement officer with Probable Cause. In detainment, the officer will inform the Detainee of the crime they are suspected of committing. They may be held on-site or moved to a strategically sound location, restrained at the officer’s discretion, and detained while law enforcement officers determine if they can proceed with an arrest. Such a detention should last no longer than five (5) minutes. A Detainee may not be searched, unless consent is given or Alert Procedure allows for warrantless search, and their detention should be concluded within five minutes of its start, by either Arresting them or releasing them.
206206

207207
Any sophont which may have committed a crime, assuming Probable Cause, or has been formally charged with the commission of a crime, may be arrested. In an arrest, the suspect will be restrained by a member of law enforcement, informed of their charges, and taken to the brig for search and processing under Brig Procedure. Any Controlled Items in possession of the Arrestee without licensure or dispensation must be confiscated, along with items used in commission of the crime(s), and will be held indefinitely by law enforcement as described in [[Standard Operating Procedure#Evidence Handling|Evidence Handling]]. Legal counsel may be requested by an Arrestee or Detainee, and must be provided if available.
208208

@@ -256,10 +256,7 @@ Prisoners have certain rights that must be upheld by law enforcement and Station
256256

257257
* Adequate medical care and moral, spiritual, or legal counseling if it is requested and available.
258258
* Access to the Common and Prison radio channels only while serving their sentence. This right may be revoked should it be abused.
259-
* Standard prisoner clothing must always be available for prisoners.
260-
* Confiscated clothing should be returned upon request, except in the case of Extended Confinement or if the clothing in question poses a clear risk to prisoner or crew safety.
261-
* Food and water for organic prisoners must be available and given on request.
262-
* Power for silicon prisoners such as IPCs and cyborgs, at minimum a cyborg recharging station must be provided.
259+
* Clothing, food, and water on request.
263260
* Should the holding cells or Permabrig become uninhabitable, prisoners must be securely and safely relocated to another area for confinement, until the holding cells or Permabrig are returned to a serviceable state.
264261
* Prisoners should be granted freedom of movement within their holding area unless there is an undue risk to life and limb.
265262

BuildChecker/git_helper.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import sys
66
import os
77
import shutil
8-
import time
98
from pathlib import Path
109
from typing import List
1110

@@ -109,21 +108,7 @@ def reset_solution():
109108
with SOLUTION_PATH.open("w") as f:
110109
f.write(content)
111110

112-
def check_for_zip_download():
113-
# Check if .git exists,
114-
cur_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
115-
if not os.path.isdir(os.path.join(cur_dir, ".git")):
116-
print("It appears that you downloaded this repository directly from GitHub. (Using the .zip download option) \n"
117-
"When downloading straight from GitHub, it leaves out important information that git needs to function. "
118-
"Such as information to download the engine or even the ability to even be able to create contributions. \n"
119-
"Please read and follow https://docs.spacestation14.com/en/general-development/setup/setting-up-a-development-environment.html \n"
120-
"If you just want a Sandbox Server, you are following the wrong guide! You can download a premade server following the instructions here:"
121-
"https://docs.spacestation14.com/en/general-development/setup/server-hosting-tutorial.html \n"
122-
"Closing automatically in 30 seconds.")
123-
time.sleep(30)
124-
exit(1)
125111

126112
if __name__ == '__main__':
127-
check_for_zip_download()
128113
install_hooks()
129114
update_submodules()

CONTRIBUTING.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -81,23 +81,7 @@ private EntityUid Slice(...)
8181

8282
If you want to make changes to a map, get in touch with its maintainer to make sure you don't both make changes at the same time.
8383

84-
Conflicts with maps make PRs mutually exclusive so either your work or the maintainer's work will be lost, communicate to avoid this!
85-
86-
Please make a detailed list of **all** changes(even minor changes) with locations when submitting a PR. This helps reviewers hone in on them without having to search an entire map for differences. Ex: [Map Edits](https://github.com/DeltaV-Station/Delta-v/pull/3165)
87-
88-
89-
**Submitting a map PR**
90-
91-
Please limit changelogs on map PRs to **significant** map alterations or additions. Minor map edits do not need changelogs.
92-
Format for map PRs looks like:
93-
```
94-
:cl: Yourname
95-
MAPS: Mapname
96-
- add: Added fun!
97-
- remove: Removed fun!
98-
- tweak: Changed fun!
99-
- fix: Fixed fun!
100-
```
84+
Conflicts with maps make PRs mutually exclusive so either your work on the maintainer's work will be lost, communicate to avoid this!
10185

10286
# Before you submit
10387

Content.Benchmarks/ComponentQueryBenchmark.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Content.Benchmarks;
2929
[CategoriesColumn]
3030
public class ComponentQueryBenchmark
3131
{
32-
public const string Map = "Maps/saltern.yml";
32+
public const string Map = "Maps/atlas.yml";
3333

3434
private TestPair _pair = default!;
3535
private IEntityManager _entMan = default!;

Content.Benchmarks/Program.cs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
using System;
2+
using System.Linq;
3+
using System.Threading.Tasks;
24
using BenchmarkDotNet.Running;
5+
using Content.IntegrationTests;
6+
using Content.Server.Maps;
7+
#if DEBUG
38
using BenchmarkDotNet.Configs;
9+
#else
410
using Robust.Benchmarks.Configs;
11+
#endif
12+
using Robust.Shared.Prototypes;
513

614
namespace Content.Benchmarks
715
{
@@ -14,15 +22,11 @@ public static void Main(string[] args)
1422
Console.ForegroundColor = ConsoleColor.Red;
1523
Console.WriteLine("\nWARNING: YOU ARE RUNNING A DEBUG BUILD, USE A RELEASE BUILD FOR AN ACCURATE BENCHMARK");
1624
Console.WriteLine("THE DEBUG BUILD IS ONLY GOOD FOR FIXING A CRASHING BENCHMARK\n");
17-
var baseConfig = new DebugInProcessConfig();
25+
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, new DebugInProcessConfig());
1826
#else
19-
var baseConfig = Environment.GetEnvironmentVariable("ROBUST_BENCHMARKS_ENABLE_SQL") != null
20-
? DefaultSQLConfig.Instance
21-
: DefaultConfig.Instance;
22-
#endif
23-
var config = ManualConfig.Create(baseConfig);
24-
config.BuildTimeout = TimeSpan.FromMinutes(5);
27+
var config = Environment.GetEnvironmentVariable("ROBUST_BENCHMARKS_ENABLE_SQL") != null ? DefaultSQLConfig.Instance : null;
2528
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, config);
29+
#endif
2630
}
2731
}
2832
}

0 commit comments

Comments
 (0)