From 763e9666bb2ef66b4840591c1a8f1e1ff09bae80 Mon Sep 17 00:00:00 2001 From: samerton Date: Sat, 25 Jun 2022 21:12:53 +0100 Subject: [PATCH] Release version 1.0.22 Add update files + release v1.0.22 --- LICENSE.md | 2 +- README.md | 16 +++++++++------- changelog.txt | 22 +++++++++++++++++++++- core/includes/updates/1021.php | 20 ++++++++++++++++++++ pages/install.php | 4 ++-- 5 files changed, 53 insertions(+), 11 deletions(-) create mode 100644 core/includes/updates/1021.php diff --git a/LICENSE.md b/LICENSE.md index 6dfd05d2c6..de81f77529 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2020 Samerton +Copyright (c) 2014-2022 Samerton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 66913f7bcd..dd642d2751 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,11 @@ 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. -## Version 1.0.21 +## Version 1.0.22 NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features. -Version 1.0.21 features: +Version 1.0.22 features: - Template and theme system - Languages @@ -121,17 +121,19 @@ Core modules: **NamelessMC Translations** * Chinese: @BirkhoffLee -* Czech: @SnooWiK, @Root3287, @godleydemon, @yshf9 -* Dutch: @Sander0542, @Azoraqua, @Headhunterzpw, @melerpe, @aycgit, @yshf9, @GodleyDemon, @Tim-NL, @Derkades, smessie, @DoraKlikOpDora, @TheSander562 +* Czech: @SnooWiK, @Root3287, @godleydemon, @yshf9, @Fjuro +* Dutch: @Sander0542, @Azoraqua, @Headhunterzpw, @melerpe, @aycgit, @yshf9, @GodleyDemon, @Tim-NL, @Derkades, smessie, @DoraKlikOpDora, @TheSander562, @PixelNotFound * EnglishUK: @Samerton, @Awtra * Finnish: -kakara-, @Root3287, @godleydemon, @yshf9 -* French: @Pandalyser, CreaModZ, Aviortheking, @Noiknez, @yshf9, @Root3287 +* French: @Pandalyser, CreaModZ, Aviortheking, @Noiknez, @yshf9, @Root3287, @x9nico * German: @LPkkjHD, @nerdtron123, @manuelgu, @BukkitTNT, philipp0002, @McLive, @Cl1608Ho, @monjo44, @Root3287, @godleydemon, @yshf9 +* Italian: @michelecursed * Japanese: SimplyRin -* Norsk: @partydragen, @Root3287, @godleydemon, @OscarWoHA, @tlystad24 +* Norsk: @partydragen, @Root3287, @godleydemon, @OscarWoHA, @tlystad24, Ludvik Sørensen * Portugues: @dgateles, @dasilvaj4, @Root3287, @godleydemon * Slovak: Marki35, @Root3287, @godleydemon, MrMiijoSK -* Spanish: @paloke, @mrlost, @Legomix13, Dexkum, @SrBas97, @Root3287, @Ariuw, @godleydemon, @iJosGCS +* Spanish: @paloke, @mrlost, @Legomix13, Dexkum, @SrBas97, @Root3287, @Ariuw, @godleydemon, @JosGCS, AllPlayed +* Turkish: KeremWho ## Discord [](https://discord.gg/HYVMgN2) diff --git a/changelog.txt b/changelog.txt index e853d92854..426ad94aef 100644 --- a/changelog.txt +++ b/changelog.txt @@ -545,4 +545,24 @@ The notes for each release - Remove MinecraftMarket integration - Ensure reputation user exists - Update DB class -- Update htmlspecialchars calls \ No newline at end of file +- Update htmlspecialchars calls + +1.0.22 +- Update update checker +- Auto remove - from UUIDs when editing user +- Fix donation sync not working +- Optimise images +- Translation updates +- Order donation store packages +- Fix incorrect table name +- Update column name in sort +- Update code tags in post editing +- FIx staff application token message +- Add topic labels to homepage news +- Add extra user related template variables +- Create sample email.php +- Update issue templates +- Changed Buycraft to its new name +- Remove MinecraftMarket + MCStock and add CraftingStore from donor group help popup +- Add Turkish language +- Prepare update page for v2 release diff --git a/core/includes/updates/1021.php b/core/includes/updates/1021.php new file mode 100644 index 0000000000..4525726fc1 --- /dev/null +++ b/core/includes/updates/1021.php @@ -0,0 +1,20 @@ + 1.0.22 updater +ini_set('display_startup_errors',1); +ini_set('display_errors',1); +error_reporting(-1); + +// 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.22' +)); + +$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' +)); diff --git a/pages/install.php b/pages/install.php index 527a19af82..f84fadd5f2 100644 --- a/pages/install.php +++ b/pages/install.php @@ -674,7 +674,7 @@ // Version update $version_id = $queries->getWhere('settings', array('name', '=', 'version')); $queries->update('settings', $version_id[0]->id, array( - 'value' => '1.0.21' + 'value' => '1.0.22' )); @@ -1055,7 +1055,7 @@ ), 28 => array( 'name' => 'version', - 'value' => '1.0.21' + 'value' => '1.0.22' ), 29 => array( 'name' => 'version_checked',