mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-24 17:13:01 +00:00
It's time for v0.17! 😺 🎆
This commit is contained in:
parent
3e6f374b72
commit
1cec17a441
6 changed files with 20 additions and 15 deletions
|
@ -1,6 +1,11 @@
|
|||
# Changelog
|
||||
This file holds the changelog for Pepperminty Wiki. This is the master list of things that have changed (second only to the commit history!) - though the information for any particular release can also be found in the description of it's page for every release made on GitHub too.
|
||||
|
||||
## v0.17
|
||||
|
||||
### Fixed
|
||||
- Removed stray debugging output
|
||||
|
||||
## v0.17-beta2
|
||||
|
||||
### Fixed
|
||||
|
|
|
@ -6,7 +6,7 @@ Pepperminty Wiki is a complete wiki contained in a single file, inspired by @am2
|
|||
|
||||
Developed by Starbeamrainbowlabs (though contributions from others are welcome!), Pepperminty Wiki has a variety of useful (and cool!) features - such as file upload, a dynamic help page, page revision history, page tags, and more! Other amazing features are in the works too (like a theme gallery, autoupdate, and user watchlists), so check the release notes to see what's been added recently.
|
||||
|
||||
**Latest Version:** v0.16 (stable) v0.17-dev (development) ([Changelog](https://github.com/sbrl/Pepperminty-Wiki/blob/master/Changelog.md))
|
||||
**Latest Version:** v0.17 (stable) v0.18-dev (development) ([Changelog](https://github.com/sbrl/Pepperminty-Wiki/blob/master/Changelog.md))
|
||||
|
||||
## Table of Contents
|
||||
- [Screenshots and Demo](#screenshots-and-demo)
|
||||
|
|
|
@ -406,8 +406,8 @@ if($settings->sessionprefix == "auto")
|
|||
////// Do not edit below this line unless you know what you are doing! //////
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
/** The version of Pepperminty Wiki currently running. */
|
||||
$version = "v0.17-beta2";
|
||||
$commit = "197d065266983f43e4bca2602407f365982cdb2a";
|
||||
$version = "v0.17";
|
||||
$commit = "3e6f374b72396995053d7b696005db2bf658850d";
|
||||
/// Environment ///
|
||||
/** Holds information about the current request environment. */
|
||||
$env = new stdClass();
|
||||
|
@ -1446,7 +1446,7 @@ class page_renderer
|
|||
<meta charset='utf-8' />
|
||||
<title>{title}</title>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1' />
|
||||
<meta name='generator' content='Pepperminty Wiki v0.17-beta2' />
|
||||
<meta name='generator' content='Pepperminty Wiki v0.17' />
|
||||
<link rel='shortcut-icon' href='{favicon-url}' />
|
||||
<link rel='icon' href='{favicon-url}' />
|
||||
{header-html}
|
||||
|
@ -1470,7 +1470,7 @@ class page_renderer
|
|||
{extra}
|
||||
<footer>
|
||||
<p>{footer-message}</p>
|
||||
<p>Powered by Pepperminty Wiki v0.17-beta2, which was built by <a href='//starbeamrainbowlabs.com/'>Starbeamrainbowlabs</a>. Send bugs to 'bugs at starbeamrainbowlabs dot com' or <a href='//github.com/sbrl/Pepperminty-Wiki' title='Github Issue Tracker'>open an issue</a>.</p>
|
||||
<p>Powered by Pepperminty Wiki v0.17, which was built by <a href='//starbeamrainbowlabs.com/'>Starbeamrainbowlabs</a>. Send bugs to 'bugs at starbeamrainbowlabs dot com' or <a href='//github.com/sbrl/Pepperminty-Wiki' title='Github Issue Tracker'>open an issue</a>.</p>
|
||||
<p>Your local friendly moderators are {admins-name-list}.</p>
|
||||
<p>This wiki is managed by <a href='mailto:{admin-details-email}'>{admin-details-name}</a>.</p>
|
||||
</footer>
|
||||
|
@ -1488,7 +1488,7 @@ class page_renderer
|
|||
<p><em>From {sitename}, which is managed by {admin-details-name}.</em></p>
|
||||
<p>{footer-message}</p>
|
||||
<p><em>Timed at {generation-date}</em></p>
|
||||
<p><em>Powered by Pepperminty Wiki v0.17-beta2.</em></p>
|
||||
<p><em>Powered by Pepperminty Wiki v0.17.</em></p>
|
||||
</footer>";
|
||||
|
||||
/**
|
||||
|
@ -1577,7 +1577,7 @@ class page_renderer
|
|||
"{body}" => $body_template,
|
||||
|
||||
"{sitename}" => $logo_html,
|
||||
"v0.17-beta2" => $version,
|
||||
"v0.17" => $version,
|
||||
"{favicon-url}" => $settings->favicon,
|
||||
"{header-html}" => self::get_header_html(),
|
||||
|
||||
|
@ -8027,7 +8027,7 @@ register_module([
|
|||
}
|
||||
|
||||
$time_compute = microtime(true);
|
||||
$cost = hash_password_compute_cost();
|
||||
$cost = hash_password_compute_cost(true);
|
||||
$time_compute = (microtime(true) - $time_compute)*1000;
|
||||
|
||||
$time_cost = microtime(true);
|
||||
|
@ -8139,7 +8139,7 @@ function hash_password_update($pass, $hash) {
|
|||
* found that's greater than the target - or 10x the target time elapses.
|
||||
* @return integer The automatically calculated password hashing cost.
|
||||
*/
|
||||
function hash_password_compute_cost() {
|
||||
function hash_password_compute_cost($verbose = false) {
|
||||
global $settings;
|
||||
$props = hash_password_properties();
|
||||
if($props["algorithm"] == PASSWORD_ARGON2I)
|
||||
|
@ -8153,7 +8153,7 @@ function hash_password_compute_cost() {
|
|||
$start_i = microtime(true);
|
||||
password_hash("testing", $props["algorithm"], $props["options"]);
|
||||
$end_i = microtime(true);
|
||||
echo("Attempt | cost = {$props["options"]["cost"]}, time = " . ($end_i - $start_i)*1000 . "ms\n");
|
||||
if($verbose) echo("Attempt | cost = {$props["options"]["cost"]}, time = " . ($end_i - $start_i)*1000 . "ms\n");
|
||||
// Iterate until we find a cost high enough
|
||||
// ....but don't keep going forever - try for at most 10x the target
|
||||
// time in total (in case the specified algorithm doesn't take a
|
||||
|
|
|
@ -212,7 +212,7 @@
|
|||
"author": "Starbeamrainbowlabs",
|
||||
"description": "Adds a pair of actions (login and checklogin) that allow users to login. You need this one if you want your users to be able to login.",
|
||||
"id": "page-login",
|
||||
"lastupdate": 1538315378,
|
||||
"lastupdate": 1540050129,
|
||||
"optional": false
|
||||
},
|
||||
{
|
||||
|
|
|
@ -161,7 +161,7 @@ register_module([
|
|||
}
|
||||
|
||||
$time_compute = microtime(true);
|
||||
$cost = hash_password_compute_cost();
|
||||
$cost = hash_password_compute_cost(true);
|
||||
$time_compute = (microtime(true) - $time_compute)*1000;
|
||||
|
||||
$time_cost = microtime(true);
|
||||
|
@ -273,7 +273,7 @@ function hash_password_update($pass, $hash) {
|
|||
* found that's greater than the target - or 10x the target time elapses.
|
||||
* @return integer The automatically calculated password hashing cost.
|
||||
*/
|
||||
function hash_password_compute_cost() {
|
||||
function hash_password_compute_cost($verbose = false) {
|
||||
global $settings;
|
||||
$props = hash_password_properties();
|
||||
if($props["algorithm"] == PASSWORD_ARGON2I)
|
||||
|
@ -287,7 +287,7 @@ function hash_password_compute_cost() {
|
|||
$start_i = microtime(true);
|
||||
password_hash("testing", $props["algorithm"], $props["options"]);
|
||||
$end_i = microtime(true);
|
||||
echo("Attempt | cost = {$props["options"]["cost"]}, time = " . ($end_i - $start_i)*1000 . "ms\n");
|
||||
if($verbose) echo("Attempt | cost = {$props["options"]["cost"]}, time = " . ($end_i - $start_i)*1000 . "ms\n");
|
||||
// Iterate until we find a cost high enough
|
||||
// ....but don't keep going forever - try for at most 10x the target
|
||||
// time in total (in case the specified algorithm doesn't take a
|
||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
|||
v0.17-beta2
|
||||
v0.17
|
||||
|
|
Loading…
Reference in a new issue