Skip to content

Commit

Permalink
Merge pull request #47 from bobbahbrown/v1.3.15
Browse files Browse the repository at this point in the history
Version 1.3.15 - Add AuStation, Resolve Issue with Null Ckey Bans & Standardized Ban Parsers
  • Loading branch information
bobbah authored Aug 24, 2021
2 parents b60cced + c819cfe commit c391b0a
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 114 deletions.
25 changes: 13 additions & 12 deletions .idea/.idea.CentCom/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CentCom.API/CentCom.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Version>1.3.14</Version>
<Version>1.3.15</Version>
<UserSecretsId>1f5f48fa-862f-4472-ba34-2c5a26035e88</UserSecretsId>
</PropertyGroup>

Expand Down
103 changes: 8 additions & 95 deletions CentCom.API/CentCom.API.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CentCom.Bot/CentCom.Bot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<Version>1.3.14</Version>
<Version>1.3.15</Version>
<TargetFramework>net5.0</TargetFramework>
<UserSecretsId>c8af1449-8cdf-4707-a66d-51e896551bfb</UserSecretsId>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion CentCom.Common/CentCom.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Version>1.3.14</Version>
<Version>1.3.15</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion CentCom.Exporter/CentCom.Exporter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Version>1.3.14</Version>
<Version>1.3.15</Version>
<UserSecretsId>a625260b-31a1-4f4b-84f4-96ccc7a335e7</UserSecretsId>
</PropertyGroup>

Expand Down
3 changes: 2 additions & 1 deletion CentCom.Exporter/Data/Providers/TgBanProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ b.unbanned_ckey AS UnbannedBy
FROM
ban b
WHERE
(@cursor IS NULL OR b.id < @cursor)
b.ckey IS NOT NULL
AND (@cursor IS NULL OR b.id < @cursor)
AND (@afterDate IS NULL OR b.bantime > @afterDate)
AND (@afterId IS NULL OR b.id > @afterId)
AND (@includeJobBans OR b.role = 'Server')
Expand Down
2 changes: 1 addition & 1 deletion CentCom.Server/CentCom.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<Version>1.3.14</Version>
<Version>1.3.15</Version>
<UserSecretsId>94572412-7eb8-4652-aff2-8afc154cf139</UserSecretsId>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion CentCom.Server/Services/StandardProviderService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private async Task<IEnumerable<Ban>> GetBansAsync(int? cursor = null)
BannedBy = x.BannedBy?.CanonicalKey,
BannedOn = x.BannedOn.DateTime,
BanType = x.BanType,
CKey = x.CKey.CanonicalKey,
CKey = x.CKey?.CanonicalKey,
Expires = x.Expires?.DateTime,
UnbannedBy = x.UnbannedBy?.CanonicalKey,
Reason = x.Reason,
Expand Down
6 changes: 6 additions & 0 deletions CentCom.Server/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
"display": "Shiptest 13",
"roleplayLevel": "Medium",
"url": "https://bans.shiptest.ga/"
},
{
"id": "austation",
"display": "AuStation",
"roleplayLevel": "Low",
"url": "https://api.austation.net/"
}
]
}

0 comments on commit c391b0a

Please sign in to comment.