Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Saltern 😄 😄 😄 #1

Closed
wants to merge 47 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
92d8bef
Fork it, Ship it
ZeroDayDaemon Jan 4, 2022
259905a
Merge remote-tracking branch 'upstream/master'
ZeroDayDaemon Jan 4, 2022
1151092
work on adminpanel & submodule update
PaulRitter Jan 4, 2022
45a1e57
Quick fixes (firefightercrate fill and rollerbed size) (#6029)
Peptide90 Jan 5, 2022
a153f76
Makes weh.ogg a little louder (#6028)
DogZeroX Jan 5, 2022
4571dca
Tiles Name->ID, DisplayName->Name (#5991)
wrexbe Jan 5, 2022
4eddefd
Update submodule
mirrorcult Jan 5, 2022
f8131cd
Merge remote-tracking branch 'upstream/master'
ZeroDayDaemon Jan 5, 2022
0aa4f9e
Power Cell Refactor (#5943)
ElectroJr Jan 5, 2022
03ad207
Automatic changelog update
PJBot Jan 5, 2022
adbc4ee
Partial hand ECS (#5634)
ElectroJr Jan 5, 2022
919053c
Light bulb brightness (and other settings) change clientside PointLig…
Matz05 Jan 5, 2022
b1978d1
Automatic changelog update
PJBot Jan 5, 2022
8f6192d
Added briefings to character menu & the traitor briefing (codewords) …
Elijahrane Jan 5, 2022
36d4de5
Automatic changelog update
PJBot Jan 5, 2022
5b1cd2d
ECSatize AlertsSystem (#5559)
Acruid Jan 5, 2022
793a544
Merge remote-tracking branch 'upstream/master'
ZeroDayDaemon Jan 5, 2022
d6f0e71
Fix use delay (#6031)
ElectroJr Jan 6, 2022
80753a7
Add small railing corner (#6036)
Delete69 Jan 6, 2022
de0c944
Add more chat filters (#6034)
ZeroDayDaemon Jan 6, 2022
4aaa85f
Xeno improvements (#6032)
metalgearsloth Jan 6, 2022
b378d44
Automatic changelog update
PJBot Jan 6, 2022
8b0ae40
Removed capsaicin oil from the chem dispenser (#6042)
Elijahrane Jan 6, 2022
71ce120
Automatic changelog update
PJBot Jan 6, 2022
7d0b06f
Add ability to resist out of welded lockers and locked closets (#5958)
JustinTether Jan 6, 2022
6af1bfa
Automatic changelog update
PJBot Jan 6, 2022
4921ea6
Make smoking cool again. (#6046)
ElectroJr Jan 6, 2022
f5b23f4
Automatic changelog update
PJBot Jan 6, 2022
596c7d2
Fixes minor issues with Reach and Dart. (#6035)
LittleBuilderJane Jan 6, 2022
4545bfe
Automatic changelog update
PJBot Jan 6, 2022
00ced5d
Merge remote-tracking branch 'upstream/master'
ZeroDayDaemon Jan 6, 2022
d84049f
Adds filled versions of coloured wardrobes (#6012)
Lamrr Jan 7, 2022
6d92a06
Automatic changelog update
PJBot Jan 7, 2022
0fc3c3d
Add content to radiation closets and medicine lockers (#6006)
Lamrr Jan 7, 2022
5d1c6a1
Automatic changelog update
PJBot Jan 7, 2022
106f176
Interrupt do-afters when the user gets incapacitated. (#6059)
ElectroJr Jan 7, 2022
c29489f
Fix foldable-pickup interactions. (#6057)
ElectroJr Jan 7, 2022
2f3b6fb
Fix some action-blocker bugs (#6050)
ElectroJr Jan 7, 2022
1471327
Automatic changelog update
PJBot Jan 7, 2022
db95ab5
Fix outer clothing (#6060)
ElectroJr Jan 7, 2022
4b732dd
Automatic changelog update
PJBot Jan 7, 2022
c30c802
Add a map renderer (#3613)
DrSmugleaf Jan 7, 2022
67eaa7b
Fix MapRenderer crash when checking if an entity has an ISpriteComponent
DrSmugleaf Jan 7, 2022
3bde692
Merge remote-tracking branch 'upstream/master'
ZeroDayDaemon Jan 7, 2022
a5839e5
Added toxin damage to ingesting welder fuel (#6061)
Peptide90 Jan 8, 2022
7ba092c
Automatic changelog update
PJBot Jan 8, 2022
1b05d62
Merge remote-tracking branch 'upstream/master'
ZeroDayDaemon Jan 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
# Last match in file takes precedence.

# I pretend to have authority over these things.
/Resources/ @SweptWasTaken

# Be they Fluent translations or Freemarker templates, I know them both!
*.ftl @RemieRichards

# Ping for all PRs
* @PJB3005 @Zumorica
* @ZeroDayDaemon
117 changes: 60 additions & 57 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,61 @@
name: Publish

concurrency:
group: publish

on:
push:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100

- name: Get Engine Tag
run: |
cd RobustToolbox
git fetch --depth=1

- name: Package client
run: |
Tools/package_server_build.py -p win-x64 linux-x64 osx-x64 linux-arm64
Tools/package_client_build.py

- name: Update Build Info
run: Tools/gen_build_info.py

- name: Shuffle files around
run: |
mkdir "release/${{ github.sha }}"
mv release/*.zip "release/${{ github.sha }}"

- name: Upload files to centcomm
uses: appleboy/scp-action@master
with:
host: centcomm.spacestation14.io
username: wizards-build-push
key: ${{ secrets.CENTCOMM_WIZARDS_BUILDS_PUSH_KEY }}
source: "release/${{ github.sha }}"
target: "/home/wizards-build-push/builds_dir/builds/"
strip_components: 1

- name: Update manifest JSON
uses: appleboy/ssh-action@master
with:
host: centcomm.spacestation14.io
username: wizards-build-push
key: ${{ secrets.CENTCOMM_WIZARDS_BUILDS_PUSH_KEY }}
script: /home/wizards-build-push/push.ps1 ${{ github.sha }}

# Not using a manifest update method, using git instead

#name: Publish

#concurrency:
# group: publish

#on:
# push:
# branches: [ master ]

#jobs:
# build:
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v2
# with:
# submodules: 'recursive'
# - name: Setup .NET Core
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: 6.0.100

# - name: Get Engine Tag
# run: |
# cd RobustToolbox
# git fetch --depth=1

# - name: Package all
# run: |
# Tools/package_server_build.py -p win-x64 linux-x64 osx-x64 linux-arm64
# Tools/package_client_build.py

# - name: Update Build Info
# run: Tools/gen_build_info.py

# - name: Shuffle files around
# run: |
# mkdir "release/${{ github.sha }}"
# mv release/*.zip "release/${{ github.sha }}"

# - name: Upload files to nowhere
# uses: appleboy/scp-action@master
# with:
# host: station14.space
# username: arcadia-build-push
# key: ${{ secrets.NOWHERE_ARCADIA_BUILDS_PUSH_KEY }}
# source: "release/${{ github.sha }}"
# target: "/home/arcadia-build-push/builds_dir/builds/"
# strip_components: 1

# - name: Update manifest JSON
# uses: appleboy/ssh-action@master
# with:
# host: centcomm.spacestation14.io
# username: arcadia-build-push
# key: ${{ secrets.NOWHERE_ARCADIA_BUILDS_PUSH_KEY }}
# script: /home/arcadia-build-push/push.ps1 ${{ github.sha }}

26 changes: 22 additions & 4 deletions Content.Client/Administration/BwoinkSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,29 @@ public BwoinkPanel EnsurePanel(NetUserId channelId)
return EnsurePlain(channelId);
}

public void EnsurePanelForLocalPlayer()
public void Open(NetUserId? channelId = null)
{
var localPlayer = _playerManager.LocalPlayer;
if (localPlayer != null)
EnsurePanel(localPlayer.UserId);
if (channelId == null)
{
var localPlayer = _playerManager.LocalPlayer;
if (localPlayer != null)
Open(localPlayer.UserId);
return;
}

if (_adminManager.HasFlag(AdminFlags.Adminhelp))
{
SelectChannel(channelId.Value);
return;
}

EnsurePlain(channelId.Value);
}

private void SelectChannel(NetUserId uid)
{
_adminWindow ??= new BwoinkWindow(this);
_adminWindow.SelectChannel(uid);
}

public void Send(NetUserId channelId, string text)
Expand Down
22 changes: 14 additions & 8 deletions Content.Client/Administration/UI/BwoinkWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,20 @@ public void OnBwoink(NetUserId channel)

if (!open)
{
var pi = ChannelSelector
.PlayerItemList
.FirstOrDefault(i => ((PlayerInfo) i.Metadata!).SessionId == channel);

if (pi is not null)
pi.Selected = true;
SelectChannel(channel);
}
}

public void SelectChannel(NetUserId channel)
{
var pi = ChannelSelector
.PlayerItemList
.FirstOrDefault(i => ((PlayerInfo) i.Metadata!).SessionId == channel);

if (pi is not null)
pi.Selected = true;
}

private void FixButtons()
{
Ban.Visible = _adminManager.HasFlag(AdminFlags.Ban);
Expand Down Expand Up @@ -157,11 +162,12 @@ private string FormatTabTitle(ItemList.Item li, PlayerInfo? pl = default)
return sb.ToString();
}

public void SwitchToChannel(NetUserId ch)
private void SwitchToChannel(NetUserId ch)
{
foreach (var bw in BwoinkArea.Children)
bw.Visible = false;
_bwoinkSystem.EnsurePanel(ch).Visible = true;
var panel = _bwoinkSystem.EnsurePanel(ch);
panel.Visible = true;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,13 @@ public PlayerListControl()
_adminSystem = EntitySystem.Get<AdminSystem>();
IoCManager.InjectDependencies(this);
RobustXamlLoader.Load(this);
}

protected override void EnteredTree()
{
// Fill the Option data
PopulateList();
PlayerItemList.OnItemSelected += PlayerItemListOnOnItemSelected;
PlayerItemList.OnItemDeselected += PlayerItemListOnOnItemDeselected;
FilterLineEdit.OnTextChanged += FilterLineEditOnOnTextEntered;
_adminSystem.PlayerListChanged += PopulateList;

}

private void FilterLineEditOnOnTextEntered(LineEdit.LineEditEventArgs obj)
Expand Down
Loading