Skip to content

Commit

Permalink
Release version 1.0.21
Browse files Browse the repository at this point in the history
Add update files + release v1.0.21
  • Loading branch information
samerton committed Jul 9, 2018
1 parent a34bd51 commit cba4e4b
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#### Example:
**What kind of issue is it (Question, Bug, etc.)?** Bug.
**In which version of NamelessMC did it occur (1.x.x)?** Release 1.0.19.
**In which version of NamelessMC did it occur (1.x.x)?** Release 1.0.21.
**How would you describe the issue?** The index does not load up at all.
**Do you have (relevant) resources about this issue (Logs, pictures, etc.)?** Yes, I have the a screenshot of it. [Click here](http://i.imgur.com/QqkXhVx.png)
**Do you have an idea how or where the issue occurs?** I think it has to do with the "index.php" file but not sure.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.20
## Version 1.0.21

NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features.

Version 1.0.20 features:
Version 1.0.21 features:

- Template and theme system
- Languages
Expand Down
11 changes: 10 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -536,4 +536,13 @@ The notes for each release
- Add default order value for CraftingStore integration
- Fix signin details being remembered if tfa is cancelled
- Update 404 and forum maintenance mode back buttons to work on Safari
- Automatically load addon languages
- Automatically load addon languages

1.0.21
- Update Italian translation
- Add basic user template variables
- Use v4 API for CraftingStore
- Remove MinecraftMarket integration
- Ensure reputation user exists
- Update DB class
- Update htmlspecialchars calls
20 changes: 20 additions & 0 deletions core/includes/updates/1020.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php
// 1.0.20 -> 1.0.21 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.21'
));

$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'
));
4 changes: 2 additions & 2 deletions pages/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.20'
'value' => '1.0.21'
));


Expand Down Expand Up @@ -1055,7 +1055,7 @@
),
28 => array(
'name' => 'version',
'value' => '1.0.20'
'value' => '1.0.21'
),
29 => array(
'name' => 'version_checked',
Expand Down

0 comments on commit cba4e4b

Please sign in to comment.