Skip to content

Commit

Permalink
Release 1.0.7
Browse files Browse the repository at this point in the history
Add update files and update installer for 1.0.7
  • Loading branch information
samerton committed Apr 6, 2016
1 parent c7304a5 commit 2d2ad3f
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 5 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.6
# NamelessMC - version 1.0.7

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

Version 1.0.6 features:
Version 1.0.7 features:

- Template and theme system
- Languages
Expand Down Expand Up @@ -74,3 +74,4 @@ Upcoming addons (these will need to be downloaded separately):
* Slovak: @Marki35
* French: @CreaModZ
* Dutch: Sander Jochems
* Finnish: -kakara-
35 changes: 34 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,37 @@
- Fix quoting posts containing apostrophes
- Add missing translations
- Allow custom icons in navbar
- Add code insertion to editor
- Add code insertion to editor

1.0.7
- Fix null Group HTML error
- Don't check if admin account is valid MC account
- Allow cancelling reporting posts
- Remove Minecraft username check in Admin Users tab
- Fix editing posts not having any labels selected
- Fix undefined Smarty variable
- Fix ampersand not displaying correctly
- Change config double quotes to single quotes
- Fix undefined language variable in password reset
- Fix extra pagination page being displayed
- Fix 0th page displaying in pagination
- Fix display issues with floating content
- Set email charset as UTF-8
- Add Finnish language
- Allow users to update their Minecraft usernames
- Update Norsk language
- Fix Admin core page redirect
- Fix tagging alert issue
- Fix footer navigation array for addons
- Enable "More" dropdown in navbar
- Fix avatars not uploading
- Change profile image size to 300x300
- Display custom avatars in navbar
- Update base directory setting
- Display group HTML in memberlist
- Display message if installer couldn't delete itself
- Modify friend system
- Display custom avatars in Members list
- Allow functionality if cache is not present
- Fix Paper theme Jumbotron font colour
- Update profile system
36 changes: 36 additions & 0 deletions core/includes/updates/106.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
// 1.0.6 -> 1.0.7 updater

// Database changes:
// Changes to User table
$queries->alterTable('users', 'last_username_update', "int(11) DEFAULT '0'");
$queries->alterTable('users', 'user_title', "varchar(64) DEFAULT NULL");
$queries->alterTable('users', 'birthday', "date DEFAULT NULL");
$queries->alterTable('users', 'location', "varchar(128) DEFAULT NULL");
$queries->alterTable('users', 'display_age', "tinyint(1) NOT NULL DEFAULT '1'");

// New user wall tables
$queries->createTable("user_profile_wall_posts", " `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `author_id` int(11) NOT NULL, `time` int(11) NOT NULL, `content` mediumtext NOT NULL, PRIMARY KEY (`id`)", "ENGINE=InnoDB DEFAULT CHARSET=latin1");
$queries->createTable("user_profile_wall_posts_likes", " `id` int(11) NOT NULL AUTO_INCREMENT, `post_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, PRIMARY KEY (`id`)", "ENGINE=InnoDB DEFAULT CHARSET=latin1");
$queries->createTable("user_profile_wall_posts_replies", " `id` int(11) NOT NULL AUTO_INCREMENT, `post_id` int(11) NOT NULL, `author_id` int(11) NOT NULL, `time` int(11) NOT NULL, `content` mediumtext NOT NULL, PRIMARY KEY (`id`)", "ENGINE=InnoDB DEFAULT CHARSET=latin1");

// Followers setting
$queries->create('settings', array(
'name' => 'followers',
'value' => '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.7'
));

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


Expand Down Expand Up @@ -992,7 +992,7 @@
),
28 => array(
'name' => 'version',
'value' => '1.0.6'
'value' => '1.0.7'
),
29 => array(
'name' => 'version_checked',
Expand Down

0 comments on commit 2d2ad3f

Please sign in to comment.