Skip to content

Commit

Permalink
Release version 1.0.12
Browse files Browse the repository at this point in the history
Release update files and update installer for version 1.0.12
  • Loading branch information
samerton committed Aug 18, 2016
1 parent 902f355 commit fe7441d
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 15 deletions.
2 changes: 1 addition & 1 deletion ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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.11.
**In which version of NamelessMC did it occur (1.x.x)?** Release 1.0.12.
**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.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# NamelessMC - version 1.0.11
# NamelessMC - version 1.0.12

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

Version 1.0.11 features:
Version 1.0.12 features:

- Template and theme system
- Languages
Expand All @@ -11,17 +11,18 @@ Version 1.0.11 features:
- Forum topic labels (not yet permission based, working on that)
- Subforums
- Alerts system, including popup notifications upon user tagging or a new staff application
- Small additions including page loading time and the ability to enable/disable error reporting from the AdminCP
- New optional email system
- Upcoming API
- Email configuration
- API
- Ability to disable UUID linking, allowing support for offline mode servers
- Completion of custom page system
- Custom page system
- Server statistics integration
- Staff and member lists
- Minecraft status
- reCAPTCHA option
- Voice server viewer
- Two factor authentication
- Minecraft account verification
- Announcements

Included addons:
- Donate
Expand Down Expand Up @@ -71,6 +72,8 @@ Upcoming addons (these will need to be downloaded separately):
* @PugaBear
* @Tim-NL
* @godleydemon
* @yshf9
* @Saphiria

**[NamelessMC Website](http://namelessmc.github.io/)**
* @Samerton
Expand All @@ -87,12 +90,9 @@ Upcoming addons (these will need to be downloaded separately):
* Norsk: @partydragen
* Slovak: @Marki35
* French: @CreaModZ
* Dutch: Sander Jochems, @Azoraqua, @Headhunterzpw and @melerpe
* Dutch: Sander Jochems, @Azoraqua, @Headhunterzpw, @melerpe and @aycgit
* Finnish: -kakara-
* Portuguese: @dgateles

**NamelessMC On Spigot**
* Resource: @Saphiria
* Portuguese: @dgateles, @dasilvaj4

## IRC
\#NamelessMC on irc.spi.gt
20 changes: 19 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -343,4 +343,22 @@
- Allow changing Minecraft avatar type
- Alert profile owners on wall posts
- Add drop column function
- Allow enabling/disabling custom usernames
- Allow enabling/disabling custom usernames

1.0.12
- Add wells to profile page tabs
- Add Minecraft account association
- Allow use of wells on custom pages
- Fix Twitter feed issues
- Fix email config issue
- Reinstate cookie notice
- Update issue template to 1.0.12
- Update translations
- Add announcement system
- Add user titles
- Add option to change Twitter feed style
- Add BungeeUtilisals support
- Prevent users from liking their own profile wall posts
- Allow HTML use in profile wall posts
- Fix database issues with donate addon
- Add modify column function
55 changes: 55 additions & 0 deletions core/includes/updates/1011.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php
// 1.0.11 -> 1.0.12 updater

// Settings
// MCAssoc
$queries->create('settings', array(
'name' => 'use_mcassoc',
'value' => '0'
));

$queries->create('settings', array(
'name' => 'mcassoc_key',
'value' => 'null'
));

// Twitter style
$queries->create('settings', array(
'name' => 'twitter_style',
'value' => 'light'
));

// Announcements
try {
$data = $queries->createTable("announcements", " `id` int(11) NOT NULL AUTO_INCREMENT, `content` mediumtext NOT NULL, `can_close` tinyint(1) NOT NULL DEFAULT '0', `type` varchar(16) NOT NULL, PRIMARY KEY (`id`)", "ENGINE=InnoDB DEFAULT CHARSET=latin1");
$data = $queries->createTable("announcements_pages", " `id` int(11) NOT NULL AUTO_INCREMENT, `announcement_id` int(11) NOT NULL, `page` varchar(64) NOT NULL, PRIMARY KEY (`id`)", "ENGINE=InnoDB DEFAULT CHARSET=latin1");
$data = $queries->createTable("announcements_permissions", " `id` int(11) NOT NULL AUTO_INCREMENT, `announcement_id` int(11) NOT NULL, `group_id` int(11) DEFAULT NULL, `user_id` int(11) DEFAULT NULL, `view` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`)", "ENGINE=InnoDB DEFAULT CHARSET=latin1");
} catch(Exception $e){
// Error, continue anyway
}

// Modify donation addon package and description columns
try {
$donation_exists = $queries->tableExists('donation_settings');
if(!empty($donation_exists)){
$queries->modifyColumn('donation_cache', 'package', 'varchar(64)');
$queries->modifyColumn('donation_packages', 'description', 'MEDIUMTEXT');
}
} catch(Exception $e){
// Error, continue anyway
}

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

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


Expand Down Expand Up @@ -1022,7 +1022,7 @@
),
28 => array(
'name' => 'version',
'value' => '1.0.11'
'value' => '1.0.12'
),
29 => array(
'name' => 'version_checked',
Expand Down

0 comments on commit fe7441d

Please sign in to comment.