Skip to content

Commit

Permalink
Release 2.0.3 (#3239)
Browse files Browse the repository at this point in the history
* Release 2.0.3

* Create links to PRs

* Add date

---------

Co-authored-by: Tadhg Boyle <tadhgsmboyle@gmail.com>
  • Loading branch information
samerton and tadhgboyle committed Jan 28, 2023
1 parent d084326 commit 5718df0
Show file tree
Hide file tree
Showing 11 changed files with 70 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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.2');
Util::setSetting('nameless_version', '2.0.3');
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 @@ -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'
]);
}

Expand Down
4 changes: 2 additions & 2 deletions custom/panel_templates/Default/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
'<a href="https://coldfiredzn.com" target="_blank">Coldfire</a>' // Author, you can use HTML here
);

Expand Down
10 changes: 5 additions & 5 deletions custom/templates/DefaultRevamp/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '<a href="https://xemah.com/" target="_blank">Xemah</a>',
];

Expand Down Expand Up @@ -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'], '/') : '/');
Expand Down Expand Up @@ -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' => [],
]);

Expand Down
4 changes: 2 additions & 2 deletions modules/Cookie Consent/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public function __construct(Language $language, Language $cookie_language, Pages

$name = 'Cookie Consent';
$author = '<a href="https://samerton.me" target="_blank" rel="nofollow noopener">Samerton</a>';
$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);

Expand Down
4 changes: 2 additions & 2 deletions modules/Core/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public function __construct(Language $language, Pages $pages, User $user, Naviga

$name = 'Core';
$author = '<a href="https://samerton.me" target="_blank" rel="nofollow noopener">Samerton</a>';
$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);

Expand Down
4 changes: 2 additions & 2 deletions modules/Discord Integration/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ public function __construct(Language $language, Pages $pages, Endpoints $endpoin

$name = 'Discord Integration';
$author = '<a href="https://tadhg.sh" target="_blank" rel="nofollow noopener">Aberdeener</a>';
$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);

Expand Down
4 changes: 2 additions & 2 deletions modules/Forum/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public function __construct(Language $language, Language $forum_language, Pages

$name = 'Forum';
$author = '<a href="https://samerton.me" target="_blank" rel="nofollow noopener">Samerton</a>';
$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);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nameless",
"version": "2.0.2",
"version": "2.0.3",
"repository": "https://github.com/NamelessMC/Nameless",
"license": "MIT",
"private": true,
Expand Down

0 comments on commit 5718df0

Please sign in to comment.