Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Include functionality for displaying CHANGELOG.md

  • Loading branch information...
scar45 committed May 13, 2014
1 parent b171822 commit f3172756cf1b32eecb59ac0b95ad6b00e085ca1a
Showing with 82 additions and 23 deletions.
  1. +23 −22 CHANGELOG.md
  2. +2 −1 README.md
  3. +56 −0 changelog.php
  4. +1 −0 includes/head.php
@@ -1,26 +1,27 @@

v1.1.0-cryptoGlance-changelog
[ v1.1.0 ]

FEATURES
========
- New Auto-Updater functionality! Keep on top of the latest features and fixes that we add.
- New "Release", "Beta", "Nightly" options for the cG version stability you choose
- Configurable Hardware Error warnings
- Added more update time interval options
- For first-time/fresh-install users, more alerts appear to help with setup
- [+POOL] Eclipse MC (https://eclipsemc.com)
- [+POOL] SimpleCoin
- [+COIN] ContinuumCoin (CTM) (http://continuumcoin.com)

*FEATURES*
----------
HOTFIXES
========
- Hardware Errors preference/value not set on first load
- Fixed hashrate inconsistency with API
- Resolved user_data folder not being found in certain cases
- Improved session performance
- Decimal place rounding for cgminer accepted/rejected
- Active navbar link display states
- Github repo URL in Update Available alert was incorrect

- New Auto-Updater functionality! Keep on top of the latest features and fixes that we add.
- New "Release", "Beta", "Nightly" options for the cG version stability you choose
- Configurable Hardware Error warnings
- Added more update time interval options
- For first-time/fresh-install users, more alerts appear to help with setup
- [+POOL] Eclipse MC (https://eclipsemc.com)
- [+POOL] SimpleCoin
- [+COIN] ContinuumCoin (CTM) (http://continuumcoin.com)
---

*HOTFIXES*
----------

- Hardware Errors preference/value not set on first load
- Fixed hashrate inconsistency with API
- Resolved user_data folder not being found in certain cases
- Improved session performance
- Decimal place rounding for cgminer accepted/rejected
- Active navbar link display states
- Github repo URL in Update Available alert was incorrect
-
_.end CHANGELOG.md_
@@ -132,7 +132,8 @@ If you've made edits to {{ install-dir }}\settings.json (optional modification f

### Changelog:

- View the <a href="https://github.com/cryptoGlance/cryptoGlance-web-app/commits/master" rel="external">Live **Release** changelog</a>
With every major **Release**, <a href="changelog.php">we include a concise changelog</a> of all updates contained within. Alternatively, you can check out our live commits if you are running Beta or Nightlies:

- View the <a href="https://github.com/cryptoGlance/cryptoGlance-web-app/commits/beta" rel="external">Live **Beta** changelog</a>
- View the <a href="https://github.com/cryptoGlance/cryptoGlance-web-app/commits/nightly" rel="external">Live **Nightly** changelog</a>

@@ -0,0 +1,56 @@
<?php
include('includes/inc.php');
# This file passes the content of the Readme.md file in the same directory
# through the Markdown filter. You can adapt this sample code in any way
# you like.
# PHP Markdown Lib Copyright © 2004-2013 Michel Fortin http://michelf.ca/
# All rights reserved.
# Install PSR-0-compatible class autoloader
spl_autoload_register(function($class){
require preg_replace('{\\\\|_(?!.*\\\\)}', DIRECTORY_SEPARATOR, ltrim($class, '\\')).'.php';
});
# Get Markdown class
use \Michelf\Markdown;
# Read file and pass content through the Markdown parser
$text = file_get_contents('CHANGELOG.md');
$html = Markdown::defaultTransform($text);
$jsArray = array();
require_once("includes/header.php");
?>

<!-- ### Below is the Settings page which contains common/site-wide preferences
-->

<div id="help-wrap" class="container sub-nav full-content">
<div class="markdown-body">
<div id="readme" class="panel panel-default panel-no-grid">
<h1>Update History</h1>
<div class="panel-heading">
<h2 class="panel-title"><i class="icon icon-document"></i> CHANGELOG.md</h2>
</div>
<div class="panel-body panel-body-markdown">
<?php
# Put rendered README markdown in the document
echo $html;
?>
</div>
</div>
</div>
</div>
<!-- /container -->

<?php require_once("includes/footer.php"); ?>
</div>
<!-- /page-container -->

<?php require_once("includes/scripts.php"); ?>
</body>
</html>
@@ -13,6 +13,7 @@
<?php echo ($currentPage == 'index') ? 'Dashboard' : '' ?>
<?php echo ($currentPage == 'settings') ? 'Settings' : '' ?>
<?php echo ($currentPage == 'help') ? 'README.md' : '' ?>
<?php echo ($currentPage == 'changelog') ? 'CHANGELOG.md' : '' ?>
<?php echo ($currentPage == 'wallet') ? 'Wallet Details' : '' ?>
<?php echo ($currentPage == 'rig') ? 'Rig Details' : '' ?>
<?php echo ($currentPage == 'update') ? 'Updating cryptoGlance...' : '' ?>

0 comments on commit f317275

Please sign in to comment.
You can’t perform that action at this time.