Skip to content

Commit

Permalink
Release version 1.0.9
Browse files Browse the repository at this point in the history
Release update files and update installer version to 1.0.9
  • Loading branch information
samerton committed May 19, 2016
1 parent a3aac76 commit fa4bfff
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# NamelessMC - version 1.0.8
# NamelessMC - version 1.0.9

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

Version 1.0.8 features:
Version 1.0.9 features:

- Template and theme system
- Languages
Expand All @@ -21,6 +21,7 @@ Version 1.0.8 features:
- Minecraft status
- reCAPTCHA option
- Voice server viewer
- Two factor authentication

Included addons:
- Donate
Expand Down
2 changes: 1 addition & 1 deletion addons/Infractions/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<h3>Addon: Infractions</h3>
Author: Samerton<br />
Version: 1.0.0<br />
Version: 1.0.1<br />
Description: Integrate your server infractions with your website<br />

<h3>Infractions Settings</h3>
Expand Down
24 changes: 23 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -248,4 +248,26 @@
- Separate user likes on profile pages
- Prevent modifying root user
- Add support for Discord widget
- Fix infinite loop on profile pages
- Fix infinite loop on profile pages

1.0.9
- Fix $p undefined error when pointing to a specific post
- Display Infractions config permissions error
- Fix Infractions usernames not displaying
- Move page title to header
- Check if Members addon is enabled before displaying the member list
- Add XenForo converter
- Remove PHP short tags from pagination rendering
- Fix oversized friend avatars
- Add continuous private message system
- Fix Infractions pagination issue
- Automatically mark alerts as read
- Fix Donate sync issue
- Update Norsk language
- Add Portuguese translation
- Fix Infractions undefined offset error
- Fix potential directory separator issues
- Add two factor authentication
- Add custom infraction database prefixes
- Fix private messaging date issues
- Fix QR cURL error
35 changes: 35 additions & 0 deletions core/includes/updates/108.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php
// 1.0.8 -> 1.0.9 updater

// Database changes:
// Private messages
$pm_update = $queries->tableExists('private_messages_replies');
if(empty($pm_update)){
// Make the changes
$data = $queries->createTable("private_messages_replies", " `id` int(11) NOT NULL AUTO_INCREMENT, `pm_id` int(11) NOT NULL, `content` mediumtext NOT NULL, `user_id` int(11) NOT NULL, `created` int(11) NOT NULL, PRIMARY KEY (`id`)", "ENGINE=InnoDB DEFAULT CHARSET=latin1");
echo '<strong>Private Messages Replies</strong> table successfully initialised<br />';

$queries->alterTable('private_messages', 'updated', "int(11) NOT NULL");
echo '<strong>Private Messages</strong> table successfully updated<br />';
}

// Two Factor Authentication
$queries->alterTable('users', 'tfa_enabled', "tinyint(1) NOT NULL DEFAULT '0'");
$queries->alterTable('users', 'tfa_type', "int(11) NOT NULL DEFAULT '0'");
$queries->alterTable('users', 'tfa_secret', "varchar(256) DEFAULT NULL");
$queries->alterTable('users', 'tfa_complete', "tinyint(1) NOT NULL DEFAULT '0'");

// 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.9'
));

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


Expand Down Expand Up @@ -997,7 +997,7 @@
),
28 => array(
'name' => 'version',
'value' => '1.0.8'
'value' => '1.0.9'
),
29 => array(
'name' => 'version_checked',
Expand Down

0 comments on commit fa4bfff

Please sign in to comment.