diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
index 9484585d1b..a8c48e130f 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -16,6 +16,9 @@ body:
description: From StaffCP -> Overview
options:
- Development version
+ - 2.0.3
+ - 2.0.2
+ - 2.0.1
- 2.0.0
- < 2.0.0
validations:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 44a589ff90..40dfe9eea4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,54 @@
## [Unreleased](https://github.com/NamelessMC/Nameless/compare/v2.0.0...v2)
> [Milestone](https://github.com/NamelessMC/Nameless/milestone/18)
+## [2.0.3](https://github.com/NamelessMC/Nameless/compare/v2.0.2...v2.0.3) - 2023-01-28
+### Added
+- Allow cancelling OAuth register flow [#3089](https://github.com/NamelessMC/Nameless/pull/3089)
+- Add ability to change password of users via StaffCP [#3097](https://github.com/NamelessMC/Nameless/pull/3097)
+- Apply rate limiting to forgot password [#3130](https://github.com/NamelessMC/Nameless/pull/3130)
+- Add rate limiting to user profile posts [#3145](https://github.com/NamelessMC/Nameless/pull/3145)
+- Add instructions on how to disable portal page to template [#3161](https://github.com/NamelessMC/Nameless/pull/3161)
+- Add warning for using 3rd party panel templates [#3189](https://github.com/NamelessMC/Nameless/pull/3189)
+- Add back discord invite instructions [#3195](https://github.com/NamelessMC/Nameless/pull/3195)
+- Allow selecting timezone during install [#3199](https://github.com/NamelessMC/Nameless/pull/3199)
+
+### Changed
+- Simplify missing vendor instructions [#3079](https://github.com/NamelessMC/Nameless/pull/3079)
+- Automatically detect installation path during installation [#3081](https://github.com/NamelessMC/Nameless/pull/3081)
+- Various performance improvements [#3119](https://github.com/NamelessMC/Nameless/pull/3119)
+- Remove user field from re-auth page [#3071](https://github.com/NamelessMC/Nameless/pull/3071)
+- Delete reported user on deletion [#3065](https://github.com/NamelessMC/Nameless/pull/3065)
+- Update forum + topic latest post when a user is marked as spam [#3124](https://github.com/NamelessMC/Nameless/pull/3124)
+- Delete replies to a spammer's topic [#3135](https://github.com/NamelessMC/Nameless/pull/3135)
+- Allow all tinymce valid_children when admin [#3144](https://github.com/NamelessMC/Nameless/pull/3144)
+- Move from yarn to npm [#3173](https://github.com/NamelessMC/Nameless/pull/3173)
+- Simplify forum post quoting system [#3184](https://github.com/NamelessMC/Nameless/pull/3184)
+- Ignore future dates in dashboard overview graph data [#3197](https://github.com/NamelessMC/Nameless/pull/3197)
+- Add X-API-Key fallback header if Authorization is missing [#3217](https://github.com/NamelessMC/Nameless/pull/3217)
+- Use X-Forwarded-Proto to determine port [#3229](https://github.com/NamelessMC/Nameless/pull/3229)
+- Properly encode content for javascript [#3227](https://github.com/NamelessMC/Nameless/pull/3227)
+- Allow browser scripts to bypass force_2fa redirects [#3076](https://github.com/NamelessMC/Nameless/pull/3076)
+
+### Fixed
+- Keep inaccessible labels in a topic when editing them as an unauthorised user [#3033](https://github.com/NamelessMC/Nameless/pull/3033)
+- Fix OAuth url [#3031](https://github.com/NamelessMC/Nameless/pull/3031)
+- Show correct server id when it is updated [#3075](https://github.com/NamelessMC/Nameless/pull/3075)
+- Fix widget error when user is deleted [#3078](https://github.com/NamelessMC/Nameless/pull/3078)
+- Fix tinymce image upload errors [#3095](https://github.com/NamelessMC/Nameless/pull/3095)
+- Return redirect when punishing users [#3101](https://github.com/NamelessMC/Nameless/pull/3101)
+- Fix oauth bypasses validation & banned checks [#3103](https://github.com/NamelessMC/Nameless/pull/3103)
+- Fix update available alerts on frontend
+- Fix TinyMCE spoiler plugin url [#3088](https://github.com/NamelessMC/Nameless/pull/3088)
+- Fix fallback to default template not working [#3153](https://github.com/NamelessMC/Nameless/pull/3153)
+- Fix sorting with thousands separators in value [#3162](https://github.com/NamelessMC/Nameless/pull/3162)
+- Fix checkbox aligning vertically [#3170](https://github.com/NamelessMC/Nameless/pull/3170)
+- Fix captcha validation [#3175](https://github.com/NamelessMC/Nameless/pull/3175)
+- Misc fixes [#3128](https://github.com/NamelessMC/Nameless/pull/3128)
+- Remove binding column name [#3187](https://github.com/NamelessMC/Nameless/pull/3187)
+- Fix post editing [#3176](https://github.com/NamelessMC/Nameless/pull/3176)
+- Fix LatestPostsWidget bugs [#3204](https://github.com/NamelessMC/Nameless/pull/3204)
+- Fix Util::setSetting cache not being updated [#3221](https://github.com/NamelessMC/Nameless/pull/3221)
+
## [2.0.2](https://github.com/NamelessMC/Nameless/compare/v2.0.1...v2.0.2) - 2022-08-13
### Added
diff --git a/core/classes/Database/DatabaseInitialiser.php b/core/classes/Database/DatabaseInitialiser.php
index e0f6c95f8f..4ed1971732 100644
--- a/core/classes/Database/DatabaseInitialiser.php
+++ b/core/classes/Database/DatabaseInitialiser.php
@@ -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.2');
+ Util::setSetting('nameless_version', '2.0.3');
Util::setSetting('version_checked', date('U'));
Util::setSetting('phpmailer', '0');
Util::setSetting('phpmailer_type', 'smtp');
diff --git a/core/installation/includes/upgrade_perform.php b/core/installation/includes/upgrade_perform.php
index 9a2c86dbec..26e9dfb0c3 100644
--- a/core/installation/includes/upgrade_perform.php
+++ b/core/installation/includes/upgrade_perform.php
@@ -739,13 +739,13 @@
if (count($version)) {
DB::getInstance()->update('settings', $version[0]->id, [
'name' => 'nameless_version',
- 'value' => '2.0.2'
+ 'value' => '2.0.3'
]);
DB::getInstance()->delete('settings', ['name', 'version']);
} else {
DB::getInstance()->insert('settings', [
'name' => 'nameless_version',
- 'value' => '2.0.2'
+ 'value' => '2.0.3'
]);
}
diff --git a/custom/panel_templates/Default/template.php b/custom/panel_templates/Default/template.php
index 4dd5d10576..d798681773 100644
--- a/custom/panel_templates/Default/template.php
+++ b/custom/panel_templates/Default/template.php
@@ -24,8 +24,8 @@ public function __construct(Smarty $smarty, Language $language) {
parent::__construct(
'Default', // Template name
- '2.0.2', // Template version
- '2.0.2', // Nameless version template is made for
+ '2.0.3', // Template version
+ '2.0.3', // Nameless version template is made for
'Coldfire' // Author, you can use HTML here
);
diff --git a/custom/templates/DefaultRevamp/template.php b/custom/templates/DefaultRevamp/template.php
index 3ae864f950..404d3089a3 100755
--- a/custom/templates/DefaultRevamp/template.php
+++ b/custom/templates/DefaultRevamp/template.php
@@ -25,8 +25,8 @@ class DefaultRevamp_Template extends TemplateBase {
public function __construct($cache, $smarty, $language, $user, $pages) {
$template = [
'name' => 'DefaultRevamp',
- 'version' => '2.0.2',
- 'nl_version' => '2.0.2',
+ 'version' => '2.0.3',
+ 'nl_version' => '2.0.3',
'author' => 'Xemah',
];
@@ -87,7 +87,7 @@ public function onPageLoad() {
define('PAGE_LOAD_TIME', $this->_language->get('general', 'page_loaded_in', ['time' => round($page_load, 3)]));
$this->addCSSFiles([
- $this->_template['path'] . 'css/custom.css?v=200' => []
+ $this->_template['path'] . 'css/custom.css?v=203' => []
]);
$route = (isset($_GET['route']) ? rtrim($_GET['route'], '/') : '/');
@@ -137,9 +137,9 @@ public function onPageLoad() {
$this->addJSScript($JSVars);
$this->addJSFiles([
- $this->_template['path'] . 'js/core/core.js?v=202' => [],
+ $this->_template['path'] . 'js/core/core.js?v=203' => [],
$this->_template['path'] . 'js/core/user.js' => [],
- $this->_template['path'] . 'js/core/pages.js?v=202' => [],
+ $this->_template['path'] . 'js/core/pages.js?v=203' => [],
$this->_template['path'] . 'js/scripts.js' => [],
]);
diff --git a/modules/Cookie Consent/module.php b/modules/Cookie Consent/module.php
index 196a55cd2a..67497a6913 100644
--- a/modules/Cookie Consent/module.php
+++ b/modules/Cookie Consent/module.php
@@ -20,8 +20,8 @@ public function __construct(Language $language, Language $cookie_language, Pages
$name = 'Cookie Consent';
$author = 'Samerton';
- $module_version = '2.0.2';
- $nameless_version = '2.0.2';
+ $module_version = '2.0.3';
+ $nameless_version = '2.0.3';
parent::__construct($this, $name, $author, $module_version, $nameless_version);
diff --git a/modules/Core/module.php b/modules/Core/module.php
index 81afb13a5a..0e61de0077 100644
--- a/modules/Core/module.php
+++ b/modules/Core/module.php
@@ -21,8 +21,8 @@ public function __construct(Language $language, Pages $pages, User $user, Naviga
$name = 'Core';
$author = 'Samerton';
- $module_version = '2.0.2';
- $nameless_version = '2.0.2';
+ $module_version = '2.0.3';
+ $nameless_version = '2.0.3';
parent::__construct($this, $name, $author, $module_version, $nameless_version);
diff --git a/modules/Discord Integration/module.php b/modules/Discord Integration/module.php
index e4f8c65070..7bed261111 100644
--- a/modules/Discord Integration/module.php
+++ b/modules/Discord Integration/module.php
@@ -9,8 +9,8 @@ public function __construct(Language $language, Pages $pages, Endpoints $endpoin
$name = 'Discord Integration';
$author = 'Aberdeener';
- $module_version = '2.0.2';
- $nameless_version = '2.0.2';
+ $module_version = '2.0.3';
+ $nameless_version = '2.0.3';
parent::__construct($this, $name, $author, $module_version, $nameless_version);
diff --git a/modules/Forum/module.php b/modules/Forum/module.php
index a58e8d2136..8edf532448 100644
--- a/modules/Forum/module.php
+++ b/modules/Forum/module.php
@@ -20,8 +20,8 @@ public function __construct(Language $language, Language $forum_language, Pages
$name = 'Forum';
$author = 'Samerton';
- $module_version = '2.0.2';
- $nameless_version = '2.0.2';
+ $module_version = '2.0.3';
+ $nameless_version = '2.0.3';
parent::__construct($this, $name, $author, $module_version, $nameless_version);
diff --git a/package.json b/package.json
index 9bb4523565..634f2842d4 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "nameless",
- "version": "2.0.2",
+ "version": "2.0.3",
"repository": "https://github.com/NamelessMC/Nameless",
"license": "MIT",
"private": true,