From 3467942e0c3dacd338e1e4f8f9446f8b2e394a65 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 8 Oct 2017 12:36:42 +0100 Subject: [PATCH] Add update files and update installer for v1.0.17 Add update files and update installer/changelog/readme for v1.0.17 --- README.md | 55 ++++++++++++++-------------------- changelog.txt | 35 +++++++++++++++++++++- core/includes/updates/1016.php | 33 ++++++++++++++++++++ pages/install.php | 4 +-- 4 files changed, 91 insertions(+), 36 deletions(-) create mode 100644 core/includes/updates/1016.php diff --git a/README.md b/README.md index 0e9fc3afe9..0f3b7b1a1a 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,14 @@ -# Finished products of Nameless can be found on -https://namelessmc.com/ +# NamelessMC ![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/NamelessMC/Nameless.svg) ![Percentage of issues still open](http://isitmaintained.com/badge/open/NamelessMC/Nameless.svg) -### Disclaimer - All downloads off the github are not 100% bug free and are in dev. +## Version 2.0.0 -![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/NamelessMC/Nameless.svg) +Nameless version 2.0.0 is currently in development and the source can be viewed on the v2 branch. Until it's ready for production use, any pre-releases can be found here: https://github.com/NamelessMC/Nameless/releases. -![Percentage of issues still open](http://isitmaintained.com/badge/open/NamelessMC/Nameless.svg) - -# Version 2.0 - -Nameless version 2.0 is currently in development and the source can be viewed on the v2 branch. Until its ready for production use, any pre-releases can be found here: https://github.com/NamelessMC/Nameless/releases. - -# Version 1.0.16 +## Version 1.0.17 NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features. -Version 1.0.16 features: +Version 1.0.17 features: - Template and theme system - Languages @@ -49,12 +42,7 @@ Core modules: - Registration - Voice server status -Upcoming addons (these will need to be downloaded separately): -- PermissionsEX control panel -- Stats -- Tickets - -# Downloads & Support +## Downloads & Support * [Changelog](https://github.com/NamelessMC/Nameless/blob/master/changelog.txt) * [Issue Tracker](https://github.com/NamelessMC/Nameless/issues) * [Support](http://www.spigotmc.org/threads/nameless-minecraft-website-software.34810/) @@ -114,11 +102,9 @@ Upcoming addons (these will need to be downloaded separately): * @Fiiily * @OscarWoHA -**[NamelessMC Website](http://namelessmc.github.io/)** +**[NamelessMC Website](https://namelessmc.com)** * @Samerton -* @Root3287 -* @SystemUpdate -* @nick-2017 +* @IsS127 **[NamelessMC Plugin](https://github.com/NamelessMC/Nameless-Plugin)** * @IsS127 @@ -130,20 +116,23 @@ Upcoming addons (these will need to be downloaded separately): * @rojo8399 **NamelessMC Translations** -* English: @Samerton, @Awtra -* German: @LPkkjHD, @manuelgu, @BukkitTNT, philipp0002, @McLive, @Cl1608Ho and @monjo44 -* Spanish: @paloke, @lockerecca, @talkahe, @mrlost, Dexkum and @Ariuw -* Czech: SnooWiK -* Norsk: @partydragen and @OscarWoHA -* Slovak: @Marki35 -* French: @CreaModZ -* Dutch: Sander Jochems, @Azoraqua, @Headhunterzpw, @melerpe, @aycgit, @Derkades, smessie and @TheSander562 -* Finnish: -kakara- -* Portuguese: @dgateles, @dasilvaj4 +* Chinese: @BirkhoffLee +* Czech: @SnooWiK, @Root3287, @godleydemon, @yshf9 +* Dutch: Sander Jochems, @Azoraqua, @Headhunterzpw, @melerpe, @aycgit, @yshf9, @GodleyDemon, @Tim-NL, @Derkades, smessie, @DoraKlikOpDora, @TheSander562 +* EnglishUK: @Samerton, @Awtra +* Finnish: -kakara-, @Root3287, @godleydemon, @yshf9 +* French: @Pandalyser, CreaModZ, Aviortheking, @Noiknez, @yshf9, @Root3287 +* German: @LPkkjHD, @nerdtron123, @manuelgu, @BukkitTNT, philipp0002, @McLive, @Cl1608Ho, @monjo44, @Root3287, @godleydemon, @yshf9 +* Japanese: SimplyRin +* Norsk: @partydragen, @Root3287, @godleydemon, @OscarWoHA, @tlystad24 +* Portugues: @dgateles, @dasilvaj4, @Root3287, @godleydemon +* Slovak: Marki35, @Root3287, @godleydemon, MrMiijoSK +* Spanish: @paloke, @mrlost, @Legomix13, Dexkum, @SrBas97, @Root3287, @Ariuw, @godleydemon ## Discord [](https://discord.gg/HYVMgN2) -The official [NamelessMC Discord bot](https://github.com/dannygtech/NamelessBOT) was made by **Jellz** and [**BrightSkyz**](https://brightskyz.xyz)! Huge thanks to them! + +The official [NamelessMC Discord bot](https://github.com/dannygtech/NamelessBOT) was made by **Jellz** and [**BrightSkyz**](https://brightskyz.xyz). diff --git a/changelog.txt b/changelog.txt index 2d3be0fa3f..43e11b98bc 100644 --- a/changelog.txt +++ b/changelog.txt @@ -464,4 +464,37 @@ The notes for each release - Update admin Infractions link in user dropdown - Update invalid token handling during topic submission - Forum index and topic deletion fixes -- Add notice when registration is disabled \ No newline at end of file +- Add notice when registration is disabled + +1.0.17 +- Add Japanese translation +- Update Chinese translation +- Update Czech translation +- Update Dutch translation +- Update French translation +- Update Norwegian translation +- Update Portuguese translation +- Update Slovak translation +- Move AdminCP container location +- More efficient way of using Options in .htaccess +- Delete unused 1920x1080 background image +- Fix AdvancedBan label issue +- Display website name on 404 page title +- Integrate Infractions tab into profile pages +- Update Infractions addon for profile pages +- Allow toggling name history on profile pages +- Fix loading invalid addons +- Add BugReport addon +- Update help page +- Update Superhero theme +- Add temp warning AdvancedBan integration to Infractions addon +- Update vote addon to allow for > 8 voting sites without visual glitches +- Fix broken API popover in AdminCP +- Add error messages to BanAppeal and BugReport addons +- Add error messages to staff application module +- Fix validate error on vote addon +- Update nginx example configs +- Update email headers +- Add CraftingStore support to Donate addon +- Fix incorrect UserCP follower count +- Add example Donate addon cron command \ No newline at end of file diff --git a/core/includes/updates/1016.php b/core/includes/updates/1016.php new file mode 100644 index 0000000000..dd2a72be08 --- /dev/null +++ b/core/includes/updates/1016.php @@ -0,0 +1,33 @@ + 1.0.17 updater +ini_set('display_startup_errors',1); +ini_set('display_errors',1); +error_reporting(-1); + +// Name History toggler +try { + $name_history_exists = $queries->getWhere('settings', array('name', '=', 'enable_name_history')); + if(!count($name_history_exists)){ + $queries->create('settings', array( + 'name' => 'enable_name_history', + 'value' => 1 + )); + } +} catch(Exception $e){ + // Error +} + +// Update version number +$version_number_id = $queries->getWhere('settings', array('name', '=', 'version')); +$version_number_id = $version_number_id[0]->id; + +$queries->update('settings', $version_number_id, array( + 'value' => '1.0.17' +)); + +$version_update_id = $queries->getWhere('settings', array('name', '=', 'version_update')); +$version_update_id = $version_update_id[0]->id; + +$queries->update('settings', $version_update_id, array( + 'value' => 'false' +)); \ No newline at end of file diff --git a/pages/install.php b/pages/install.php index 1efa0afdf6..cb9f716400 100644 --- a/pages/install.php +++ b/pages/install.php @@ -662,7 +662,7 @@ // Version update $version_id = $queries->getWhere('settings', array('name', '=', 'version')); $queries->update('settings', $version_id[0]->id, array( - 'value' => '1.0.16' + 'value' => '1.0.17' )); @@ -1043,7 +1043,7 @@ ), 28 => array( 'name' => 'version', - 'value' => '1.0.16' + 'value' => '1.0.17' ), 29 => array( 'name' => 'version_checked',