Skip to content

Commit

Permalink
Add update files and update installer for 1.0.18
Browse files Browse the repository at this point in the history
Add update files and update installer for v1.0.18
  • Loading branch information
samerton committed Nov 20, 2017
1 parent 8a8cdc5 commit aeef281
Show file tree
Hide file tree
Showing 5 changed files with 243 additions and 200 deletions.
6 changes: 3 additions & 3 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
### Template:
* What kind of issue is it (Question, Bug, etc.)?
* In which version of NamelessMC did it occur (1.x.x)?
* How would you describe the issue?
* How would you describe the issue?
* Do you have (relevant) resources about this issue (Logs, pictures, etc.)?
* Do you have an idea how or where the issue occurs?

### Please use image uploading websites such as Imgur or Gyazo
### Please use image uploading websites such as Imgur or Gyazo

#### 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.17.
**In which version of NamelessMC did it occur (1.x.x)?** Release 1.0.18.
**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.
8 changes: 4 additions & 4 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.17
## Version 1.0.18

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

Version 1.0.17 features:
Version 1.0.18 features:

- Template and theme system
- Languages
Expand Down Expand Up @@ -49,7 +49,7 @@ Core modules:
* [Changelog](https://github.com/NamelessMC/Nameless/blob/master/changelog.txt)
* [Issue Tracker](https://github.com/NamelessMC/Nameless/issues)
* [Support](http://www.spigotmc.org/threads/nameless-minecraft-website-software.34810/)
* [Download](https://github.com/NamelessMC/Nameless/releases)
* [Download](https://github.com/NamelessMC/Nameless/releases)
* [Plugin Download](https://plugin.namelessmc.com/)

# Full Management list:
Expand Down Expand Up @@ -87,7 +87,7 @@ Core modules:
* @mentimjojo
* @McLive
* @melerpe
* @IsS127
* @IsS127
* @ConnorLinFoot
* @lockerecca
* @tombomb
Expand Down
36 changes: 26 additions & 10 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ The notes for each release
- Removed unnecessary line breaks from the AdminCP's Custom Pages tab
- Fix issue where people could add each other as friends multiple times
- Allow users to change their own passwords
- Allow iFrame frameBorder attribute on custom pages
- Allow iFrame frameBorder attribute on custom pages
- Add a new IP field which the Minecraft server query uses, to prevent looking up SRV records. Also allows support for virtual hosts
- Gravatar support
- Gravatar support
- Display recently online users
- Display when a user was last online on their profile
- Display when a user was last online on their profile
- Add forum breadcrumbs
- Add forum search ability
- Add forum search ability
- Allow border-style, border-width, height and width CSS attributes in custom pages
- Fix images contributing to signature character limit
- New updater
Expand All @@ -145,11 +145,11 @@ The notes for each release
- Fix invalid token on creating a new private message
- Fix "remember me" on signin not actually remembering the user
- Prevent users navigating to /pages directory manually
- Remove unnecessary tr tag from the play page template
- Add Minecraft status module to forum
- Add better registration error messages
- Add reCAPTCHA secret key field to AdminCP
- Change method of checking to see if a Minecraft username is valid
- Remove unnecessary tr tag from the play page template
- Add Minecraft status module to forum
- Add better registration error messages
- Add reCAPTCHA secret key field to AdminCP
- Change method of checking to see if a Minecraft username is valid

1.0.2
- Update German translation (thanks to @manuelgu)
Expand Down Expand Up @@ -497,4 +497,20 @@ The notes for each release
- Update email headers
- Add CraftingStore support to Donate addon
- Fix incorrect UserCP follower count
- Add example Donate addon cron command
- Add example Donate addon cron command

1.0.18
- Update issue template and readme
- Update Dutch translation
- Update German translation
- Update Japanese translation
- Update Portuguese translation
- Add secondary group
- Swap place and colour of signin and register buttons
- Fix grammar on homepage if 1 player is online
- Add word-wrap to .forum_post
- Apply .forum_post to homepage announcements
- Update MinecraftMarket integration
- Ensure route is =lowercase
- Ensure UUID is never null
- Update secondary groups
27 changes: 27 additions & 0 deletions core/includes/updates/1017.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php
// 1.0.17 -> 1.0.18 updater
ini_set('display_startup_errors',1);
ini_set('display_errors',1);
error_reporting(-1);

// Secondary group column
try {
$queries->alterTable('users', 'group2_id', "int(11) DEFAULT NULL");
} catch(Exception $e){
// Error
}

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

$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'
));
Loading

0 comments on commit aeef281

Please sign in to comment.