Compare commits

...

18 Commits

Author SHA1 Message Date
Ryan Luu
7694a16521
Merge d243a88b38 into 055695e014 2025-03-25 18:37:21 -04:00
bluepilledgreat
055695e014 update cancel button text in the simple template
Some checks failed
CI (Debug) / build (push) Has been cancelled
CI (Release) / build (push) Has been cancelled
CI (Release) / release (push) Has been cancelled
CI (Release) / release-test (push) Has been cancelled
2025-03-25 09:10:45 +00:00
bluepilledgreat
18ca67df27 update name (#4906) 2025-03-25 09:06:36 +00:00
bluepilledgreat
0f13750d7c make background updates opt-in 2025-03-25 09:05:17 +00:00
Matt
4dcb72b27f
Add help link to web environments (#4934) 2025-03-25 09:02:44 +00:00
Ryan Luu
d243a88b38
Allow commas 2025-01-02 00:47:36 -08:00
Ryan Luu
9d638b4284
Close as not planned 2024-11-03 20:40:19 +00:00
Ryan Luu
c37f46b3dd
Close issue on outdated version 2024-11-03 20:38:17 +00:00
Ryan Luu
5f79605a00
Add reopen issue statement 2024-11-03 20:34:12 +00:00
Ryan Luu
971ccf994d
Add notice on what format to use 2024-11-03 20:34:01 +00:00
Ryan Luu
4cde20da93
Update match pattern 2024-11-03 20:25:01 +00:00
Ryan Luu
0bd48993ee
Upgrade to using Environment Files 2024-11-03 20:24:38 +00:00
Ryan Luu
ff3e1c1cda
Fix error when evaluating 2024-11-03 20:18:27 +00:00
Ryan Luu
08377f924e
Add draft 2024-11-03 20:15:08 +00:00
Ryan Luu
fa5e00d6ec
Add test workflow 2024-11-01 19:52:06 +00:00
Ryan Luu
74733e8d9e
Fix version getting 2024-11-01 19:44:25 +00:00
Ryan Luu
a4bd88dc0c
Merge pull request #1 from RyanLua/autoresponder
Add a workflow for checking issue versions
2024-11-01 12:41:36 -07:00
Ryan Luu
e47589096d
Add a workflow for checking issue versions 2024-11-01 19:39:58 +00:00
5 changed files with 58 additions and 4 deletions

View 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'
});
}
}

View File

@ -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;

View File

@ -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>

View File

@ -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)" />

View File

@ -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>