Skip to content

Commit

Permalink
Release version 1.0.5
Browse files Browse the repository at this point in the history
Release update files and update installer for version 1.0.5
  • Loading branch information
samerton committed Mar 8, 2016
1 parent d5eb47a commit a1c9b13
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# NamelessMC - version 1.0.4
# NamelessMC - version 1.0.5

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

Version 1.0.4 features:
Version 1.0.5 features:

- Template and theme system
- Languages
Expand Down
12 changes: 11 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,14 @@
- Fix Spanish translation (thanks to @lockerecca)
- Fix incorrect PM author
- Allow changing font colour in custom pages
- Fix punishments
- Fix punishments

1.0.5
- Allow disabling Play and Forums
- Add Slovak language
- Add Norsk language
- Add update notice to installer
- Don't escape navbar item text
- Prevent requiring pages outside the Nameless directory
- Change input type submit to buttons
- Display staff applications in wells
23 changes: 23 additions & 0 deletions core/includes/updates/104.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
// 1.0.4 -> 1.0.5 updater

// Database change: allow disabling play page
$queries->create('settings', array(
'name' => 'play_page_enabled',
'value' => '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.5'
));

$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 @@ -618,7 +618,7 @@
// Version update
$version_id = $queries->getWhere('settings', array('name', '=', 'version'));
$queries->update('settings', $version_id[0]->id, array(
'value' => '1.0.4'
'value' => '1.0.5'
));


Expand Down Expand Up @@ -987,7 +987,7 @@
),
28 => array(
'name' => 'version',
'value' => '1.0.4'
'value' => '1.0.5'
),
29 => array(
'name' => 'version_checked',
Expand Down

0 comments on commit a1c9b13

Please sign in to comment.