mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-06-23 23:00:23 -07:00
Compare commits
18 Commits
b34c2d2ee4
...
7694a16521
Author | SHA1 | Date | |
---|---|---|---|
|
7694a16521 | ||
|
055695e014 | ||
|
18ca67df27 | ||
|
0f13750d7c | ||
|
4dcb72b27f | ||
|
d243a88b38 | ||
|
9d638b4284 | ||
|
c37f46b3dd | ||
|
5f79605a00 | ||
|
971ccf994d | ||
|
4cde20da93 | ||
|
0bd48993ee | ||
|
ff3e1c1cda | ||
|
08377f924e | ||
|
fa5e00d6ec | ||
|
74733e8d9e | ||
|
a4bd88dc0c | ||
|
e47589096d |
53
.github/workflows/bug-report-version.yml
vendored
Normal file
53
.github/workflows/bug-report-version.yml
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
name: Check Bug Report Version
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
check-version:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Get latest version
|
||||
id: read-version
|
||||
run: |
|
||||
version=$(grep -oPm1 "(?<=<Version>)[^<]+" Bloxstrap/Bloxstrap.csproj)
|
||||
echo "version=$version" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Check issue for Bloxstrap version
|
||||
uses: actions/github-script@v7
|
||||
id: check-issue
|
||||
with:
|
||||
script: |
|
||||
const issueBody = context.payload.issue.body;
|
||||
const versionHeader = issueBody.match(/### Bloxstrap Version/);
|
||||
const versionMatch = issueBody.match(/v?\d+[\.,]\d+[\.,]\d+/);
|
||||
const latestVersion = '${{ steps.read-version.outputs.version }}';
|
||||
|
||||
if (versionHeader && !versionMatch) {
|
||||
await github.rest.issues.createComment({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
body: 'Please specify the Bloxstrap version you are using. Use the format `vX.Y.Z`.'
|
||||
});
|
||||
} else if (versionMatch) {
|
||||
const issueVersion = versionMatch[0];
|
||||
if (issueVersion !== latestVersion) {
|
||||
await github.rest.issues.createComment({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
body: `You are using an outdated version of Bloxstrap (${issueVersion}). Please update to the [latest version of Bloxstrap](https://github.com/pizzaboxer/bloxstrap/releases/latest). If you are still experiencing the bug, please reopen this issue.`
|
||||
});
|
||||
return github.rest.issues.update({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
state: 'closed',
|
||||
state_reason: 'not_planned'
|
||||
});
|
||||
}
|
||||
}
|
@ -20,7 +20,7 @@ namespace Bloxstrap.Models.Persistable
|
||||
public bool UseFastFlagManager { get; set; } = true;
|
||||
public bool WPFSoftwareRender { get; set; } = false;
|
||||
public bool EnableAnalytics { get; set; } = true;
|
||||
public bool BackgroundUpdatesEnabled { get; set; } = true;
|
||||
public bool BackgroundUpdatesEnabled { get; set; } = false;
|
||||
public bool DebugDisableVersionPackageCleanup { get; set; } = false;
|
||||
public string? SelectedCustomTheme { get; set; } = null;
|
||||
public WebEnvironment WebEnvironment { get; set; } = WebEnvironment.Production;
|
||||
|
@ -5,5 +5,5 @@
|
||||
<Image Source="{Icon}" Height="100" Width="100" HorizontalAlignment="Center" Margin="0,15,0,0" />
|
||||
<TextBlock HorizontalAlignment="Center" Name="StatusText" FontSize="20" Margin="0,170,0,0" />
|
||||
<ProgressBar Width="450" Height="12" Name="PrimaryProgressBar" HorizontalAlignment="Center" Margin="0,200,0,0" />
|
||||
<Button Content="Cancel" Name="CancelButton" HorizontalAlignment="Center" Margin="0,225,0,0" Height="30" Width="100" />
|
||||
<Button Content="{Common.Cancel}" Name="CancelButton" HorizontalAlignment="Center" Margin="0,225,0,0" Height="30" Width="100" />
|
||||
</BloxstrapCustomBootstrapper>
|
@ -127,7 +127,7 @@
|
||||
<controls:MarkdownTextBlock MarkdownText="[nakoyasha](https://github.com/nakoyasha)" />
|
||||
<controls:MarkdownTextBlock MarkdownText="[exurd](https://github.com/exurd)" />
|
||||
<controls:MarkdownTextBlock MarkdownText="[0xFE0F](https://github.com/0xFE0F)" />
|
||||
<controls:MarkdownTextBlock MarkdownText="[Tezos](https://github.com/GoingCrazyDude)" />
|
||||
<controls:MarkdownTextBlock MarkdownText="[Alexa](https://github.com/GoingCrazyDude)" />
|
||||
<controls:MarkdownTextBlock MarkdownText="[CfwSky](https://www.roblox.com/users/129425241/profile)" />
|
||||
<controls:MarkdownTextBlock MarkdownText="[ruubloo](https://www.roblox.com/users/158082266/profile)" />
|
||||
<controls:MarkdownTextBlock MarkdownText="[toyoda165](https://www.roblox.com/users/923416649/profile)" />
|
||||
|
@ -33,7 +33,8 @@
|
||||
<controls:OptionControl
|
||||
Visibility="{Binding Path=WebEnvironmentVisibility, Mode=OneTime}"
|
||||
Header="Web environment"
|
||||
Description="Site to use for metrics">
|
||||
Description="Site to use for metrics"
|
||||
HelpLink="https://admin.bloxstraplabs.com/Wiki/Developers/Web-Environments">
|
||||
<ComboBox Width="200" Padding="10,5,10,5" ItemsSource="{Binding WebEnvironments, Mode=OneWay}" SelectedValue="{Binding WebEnvironment, Mode=TwoWay}" />
|
||||
</controls:OptionControl>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user