Skip to content

Commit

Permalink
Further prep for 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
samerton committed Aug 5, 2022
1 parent 010c603 commit 6e9faa3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
6 changes: 2 additions & 4 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ body:
description: From StaffCP -> Overview
options:
- Development version
- 2.0.0-pr13
- <= 2.0.0-pr12
- 1.0.21
- <= 1.0.20
- 2.0.0
- < 2.0.0
validations:
required: true

Expand Down
9 changes: 4 additions & 5 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ We endeavour to respond to and patch high-severity security vulnerabilities as s
The following NamelessMC releases are supported by the development team

| Version | Supported |
|---------------| ------------------ |
| 2.0.0-pr13 | :white_check_mark: |
| <= 2.0.0-pr12 | :x: |
| 1.0.22 | :white_check_mark: |
| <= 1.0.21 | :x: |
|---------------|--------------------|
| 2.0.0 | :white_check_mark: |
| <= 2.0.0-pr13 | :x: |
| <= 1.0.22 | :x: |

## Reporting a Vulnerability

Expand Down
2 changes: 1 addition & 1 deletion core/classes/Database/DatabaseInitialiser.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private function initialiseSettings(): void {
Util::setSetting('recaptcha_type', 'Recaptcha3');
Util::setSetting('recaptcha_login', '0');
Util::setSetting('email_verification', '1');
Util::setSetting('nameless_version', '2.0.0-pr13');
Util::setSetting('nameless_version', '2.0.0');
Util::setSetting('version_checked', date('U'));
Util::setSetting('phpmailer', '0');
Util::setSetting('phpmailer_type', 'smtp');
Expand Down
4 changes: 2 additions & 2 deletions core/installation/includes/upgrade_perform.php
Original file line number Diff line number Diff line change
Expand Up @@ -776,13 +776,13 @@
if (count($version)) {
DB::getInstance()->update('settings', $version[0]->id, [
'name' => 'nameless_version',
'value' => '2.0.0-pr13'
'value' => '2.0.0'
]);
DB::getInstance()->delete('settings', ['name', 'version']);
} else {
DB::getInstance()->insert('settings', [
'name' => 'nameless_version',
'value' => '2.0.0-pr13'
'value' => '2.0.0'
]);
}

Expand Down

0 comments on commit 6e9faa3

Please sign in to comment.