From 0a0bc1571f37c6d456b6c5997bbd2f7f1472cf2b Mon Sep 17 00:00:00 2001 From: samerton Date: Fri, 25 Dec 2020 19:40:05 +0000 Subject: [PATCH] Pre-release 8 --- README.md | 4 +- changelog.txt | 38 ++++++++++++++++++- .../views/includes/site_initialize.php | 2 +- .../views/includes/upgrade_perform.php | 4 +- custom/templates/DefaultRevamp/template.php | 2 +- modules/Core/pages/panel/upgrade.php | 1 - 6 files changed, 43 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5dede779dc..4399ea4326 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# NamelessMC - v2 pre-release 7 +# NamelessMC - v2 pre-release 8 NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features. NamelessMC version 2.0.0 is still a pre-release, and is not yet recommended for production use. Keep up to date with development in our [Spigot thread](https://www.spigotmc.org/threads/nameless-minecraft-website-software.34810) and our [Discord server](https://discord.gg/k8J97xf). @@ -6,7 +6,7 @@ NamelessMC version 2.0.0 is still a pre-release, and is not yet recommended for The official project website, providing support and additional downloads such as modules and templates, can be found at [https://namelessmc.com/](https://namelessmc.com/). ## Features -The following list is a brief summary of the features available in v2 pre-release 7. +The following list is a brief summary of the features available in v2 pre-release 8. - API - if used in conjunction with the [Nameless Plugin for v2](https://www.spigotmc.org/resources/nameless-plugin-for-v2.59032/), integration with your Minecraft server can be provided - Custom page system - create your own HTML pages and even restrict access to them depending on rank - Forum system diff --git a/changelog.txt b/changelog.txt index bcd4ff989c..65a06c490c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -504,4 +504,40 @@ NamelessMC version 2 Changelog - Add per-user template support - Prevent fatal error with insufficient forum permissions - Allow changing group username colour from text input -- Add login link to maintenance mode page \ No newline at end of file +- Add login link to maintenance mode page + +2.0.0 pr-8 +- Many bugfixes +- Add Discord rank sync +- Add Chinese (Simplified), French, Russian, Spanish (ES) and Turkish translations +- Update existing translations +- New user/group systems - mostly backend changes +- API rework - modules can now register custom endpoints +- New widget location - can choose between left + right hand side +- Remove legacy v1 API +- Add basic custom page feature - no navbar/footer +- Add ability to open custom page in new tab +- Remove old Default template +- Fix same-site redirect forums showing redirect warning +- Add "topics following" page +- Add email content editor +- Add mass emailing +- Add ability to receive emails for followed topic updates +- Add required custom profile fields to registration page +- Add announcement system +- New installer +- Update StaffCP users list table to be async +- Add ability to specify rel, as, onload attributes for CSS and defer, async attributes for JS +- Discord topic webhook improvements +- Remove dropdowns from DefaultRevamp template mobile sidebar +- Start PHP 8 compatibility - still a work in progress +- Fix MCAssoc integration +- Add server status widget +- Add latest profile post widget +- Add ability to change "More" dropdown message +- Add force 2FA option +- Multiple webhook support +- Add highlighting to profile post links +- Add ability to add CSS to group usernames +- Allow specifying "Can view other users' topics" forum permission for guests +- Add hCaptcha \ No newline at end of file diff --git a/core/installation/views/includes/site_initialize.php b/core/installation/views/includes/site_initialize.php index 2b45371340..42433c89ca 100644 --- a/core/installation/views/includes/site_initialize.php +++ b/core/installation/views/includes/site_initialize.php @@ -352,7 +352,7 @@ $queries->create('settings', array( 'name' => 'nameless_version', - 'value' => '2.0.0-pr7' + 'value' => '2.0.0-pr8' )); $queries->create('settings', array( diff --git a/core/installation/views/includes/upgrade_perform.php b/core/installation/views/includes/upgrade_perform.php index 2f89f633a1..b8697cb367 100644 --- a/core/installation/views/includes/upgrade_perform.php +++ b/core/installation/views/includes/upgrade_perform.php @@ -844,12 +844,12 @@ if (count($version)) { $queries->update('settings', $version[0]->id, array( 'name' => 'nameless_version', - 'value' => '2.0.0-pr7' + 'value' => '2.0.0-pr8' )); } else { $queries->create('settings', array( 'name' => 'nameless_version', - 'value' => '2.0.0-pr7' + 'value' => '2.0.0-pr8' )); } diff --git a/custom/templates/DefaultRevamp/template.php b/custom/templates/DefaultRevamp/template.php index 8e399d941a..ce5ddb0b44 100755 --- a/custom/templates/DefaultRevamp/template.php +++ b/custom/templates/DefaultRevamp/template.php @@ -2,7 +2,7 @@ /* * Made by Samerton | Revamped by Xemah * https://github.com/NamelessMC/Nameless/ - * NamelessMC version 2.0.0-pr7 + * NamelessMC version 2.0.0-pr8 * * License: MIT * diff --git a/modules/Core/pages/panel/upgrade.php b/modules/Core/pages/panel/upgrade.php index 5abbbbda11..e6a54655cf 100644 --- a/modules/Core/pages/panel/upgrade.php +++ b/modules/Core/pages/panel/upgrade.php @@ -20,7 +20,6 @@ die(); } -$queries = new Queries(); $cache = new Cache(array('name' => 'nameless', 'extension' => '.cache', 'path' => ROOT_PATH . '/cache/')); // Get the current version