Releases: sbrl/Pepperminty-Wiki
v0.12.1-beta1
I've recently reached a personal long time goal for this project: I'm now using it to replace Mediawiki for a personal wiki that I maintain that means a lot to me. During the migration process, naturally, I've uncovered a positively ridiculous number of bugs. This is the beta release for an emergency patch release (that's taken long enough to put together) that fixes most of these issues. The remaining issues have been filed and should have fixes soon.
Please note that there are a pair of critical security issues that have been fixed (#89 and #94) in this release. I highly advise that you update to this release (even though it's a beta release O.o) if you utilise the view protection feature of Pepperminty Wiki.
v0.12.1-beta1
Added
- Added a class to the search term highlighting to aid theming (#92)
- Check for pages with various uppercased letter combinations for matching pages (#87)
- Support hashes in internal links (#96)
- Support hashes on redirect pages (#96)
- Added some tips to the parsedown parser help section
- Added some more stats to the dev help page (#97)
- Added the time taken to search to the search results page (#97)
- Added support for unicode characters in page names (#95)
- Autofill the name box on the file upload page when a new file is selected (#101)
- Redirect the user automatically from the login page on refresh if they are already logged in (#102)
- Suggest an appropriate filename when saving an automatically generated preview (#105)
Changed
- Made the background of tags slightly lighter (#91)
- Improved the appearance of the search context below each result.
- Tweaked display of result numbers in the search results.
- Allowed spaces in the filenames of images in the image syntax.
Fixed
- Critical: Make sure that all wiki related files are stored in the data directory (#89)
- Critical: Fixed a HTML injection attack possible through search context generation (#94)
- Sort the list of all the tags on a wiki (#88)
- Explicitly set permissions on parent directories created (#86)
- Allow
<tab>
characters to be entered into the editing page textarea (#84) - Fixed search context generation (#30)
- Fixed bug in page moving code.
- Prevented the page index data for parent pages from disappearing when a child page is edited (#98)
- Fixed file uploading when the data storage directory not the current directory (#100)
- Fixed pressing the edit button on pages that have a single quote in their name
- Fixed a spelling mistake on the file preview page - I'm sure I fixed that before...!
- Fixed an issue whereby the search index wouldn't update if your pages contained special characters
- Fixed an issue with the recent changes list not updating when the number of recently changes reached
settings.max_recent_changes
(#104) - Fixed changes disappearing from the recent changes page (#106)
v0.12
It's been what, almost 3 months since the last release? Shockingly enough, I haven't actually given up on Pepperminty Wiki - and this release is proof of that! This is a medium sized release, with a bunch of behind-the scenes changes that prepare for something awesome later on down the line.
The most important change is that settings are now stored in peppermint.json
, and not in the main index.php
itself. This file will be created automatically on the first page load. You can then customise it from there. After this release, you should never need to manually insert settings on upgrade ever again - it should all happen automatically (although that part hasn't been written yet!)
Changes since v0.12-beta2
(This release is practically identical to v0.12-beta2.)
Changes since v0.12-beta1
Changed
- Changed the revision display text ("Revision created by..." -> "Revision saved by...")
Changes since v0.11
Added
- Page history! Currently you can't do anything with the previous revisions - that will come in a future release.
- Implemented delayed indexing (#66)
- Added the time a page was last modified to the footer (#67)
- Added unified diff to edit conflict resolution pages (#64)
- Added image captions (#65)
- Added short syntax for images (#24)
Changed
- Added text "Tag List: " to tag listing pages
- Added checkerboard pattern behind transparent images on mouse hover on their preview pages.
- Improved support for SVGS.
- SVGs are sent as-is instead of a preview image unless
$settings->render_svg_previews
is set totrue
. - Added code to find the dimensions of an SVG.
- SVGs are sent as-is instead of a preview image unless
- Reduced the amount of space that the login bit in the top left takes up.
- Changed the revision display text ("Revision created by..." -> "Revision saved by...")
Fixed
- Fixed a bug in the idindex generator.
- Fixed an issue where you wouldn't be redirected correctly if you typed your password incorrectly
v0.12-beta2
This should be the last beta version before v0.12 hits later today - it tidies up a few things and updates the readme ready for v0.12. Here's the changelog:
Changed
- Changed the revision display text ("Revision created by..." -> "Revision saved by...")
v0.12-beta1
Relax safe in the knowledge that I haven't abandoned this project! Since the last release, my second year finals and ACWs happened. Anyway, in between things I've been slowly plugging away at the next release, and now that I've finished my 2nd year at University up, I've found some time to bundle up the next prerelease.
This release is fairly small, but I've made a crucial change: settings are now stored in a JSON file, and not at the top of index.php
. The settings JSON file (called peppermint.json
, and can be found alongside index.php
) will be automatically generated upon the first page load, and can be customised to your heart's content. The names and structure of the settings are much the same as they used to be - it's only the admindetails
setting that's changed slightly in structure.
The idea here is that I'm going to build a GUI for the settings and include it in the next release. This should make upgrading much easier than it was before. This does mean however that upgrading is not going to be easy - you'll have to manually port all your settings over to the new system. Under the new system though, you should never need to hand-edit your settings again - non-existent settings should be filled in automatically (although I haven't written that bit yet...!).
Added
- Implemented delayed indexing (#66)
- Added the time a page was last modified to the footer (#67)
- Added unified diff to edit conflict resolution pages (#64)
- Added image captions (#65)
- Added short syntax for images (#24)
- Page history! Currently you can't do anything with the previous revisions - that will come in a future release.
- Added checkerboard pattern behind transparent images on mouse hover on their preview pages.
Changed
- Reduced the amount of space that the login bit in the top left takes up.
- Added text "Tag List: " to tag listing pages
- Improved support for SVGS.
- SVGs are sent as-is instead of a preview image unless
$settings->render_svg_previews
is set totrue
. - Added code to find the dimensions of an SVG.
- SVGs are sent as-is instead of a preview image unless
Fixed
- Fixed an issue where you wouldn't be redirected correctly if you typed your password incorrectly
- Fixed a bug in the idindex generator.
v0.11
v0.11
Version 0.11 is here! This update is mainly a polish and bugfix release, but it does contain a few extra features. Here's a list of notable changes:
- Links to non-existent pages now show up in red
- Uploading other file types has been unlocked
- Previews for videos / audio files and PDFs have been added
- A nasty bug in the parsing of internal links has been fixed
- Client side mathematical expression parsing has been added, along with an option to turn it off
- Previews generated by the preview generator now have etags.
- Compatibility with PHP 7 has been improved
Extra changes made since v0.11-beta2
- Set title of image to alt text
Changes since v0.11-beta2
Changed
- Redirect to audio / video in preview generator if the data storage directory is the current directory
Fixed
- Polyfill
getallheaders()
if it isn't present - Bugfix failed upload message
Changes since v0.10
Added
- Unlocked the uploading of any file type. Note that only the file types specified in the settings are allowed to be uploaded.
- Uploaded video and audio files can now be viewed on their respective pages
- The file preview tool is now aware that not everything will be an image.
- Enhanced the recent changes page.
- New pages show up with an 'N' next to them (as they do in a MediaWiki installation)
- Page deletions show up in red with a line though them
- Uploads show with an arrow next to them along with the size of the uploaded file
- Added mathematical expression parsing between dollar signs.
- Generated previews now have etags. This should speed up load times of subsequent requests significantly.
- Added some extra built-in variables to the parser.
{{{~}}}
: Displays the top level page name (i.e. the page that has been requested).{{{*}}}
: Displays a comma-separated list of subpages of the requested page.
- Links to non-existent pages are now coloured red by default.
Changed
- Enhanced the dev help page some more
- Changed the uploaded file preview generation to use imagemagick. You now need to have the
imagick
php extension installed (installation on linux:sudo apt-get install php-imagick
). - The uploaded file preview generation action will now return audio and video files as-is. This allows for HTML5 video / audio tags to be used to view audio and video files.
- Made username box autofocus on login page.
- Added tab indexes to editing form
Fixed
- Fixed the downloader
- Fixed an issue with the recent changes page and redirects causing a large number of warnings
- Fixed a number of issues with the parser
- Image urls may now contain ampersands ('&')
- Several warnings that were cropping up here and there due to bugs have been squashed
- Fixed an issue with multiple links in the same paragraph
- Fixed a number of issues with the image preview generator
- Requests for a previews of pages that don't have an associated file won't break anymore. An error image will now be returned instead.
- A number of things that were not compatible with PHP 7 have been updated to ensure compatibility.
- Conflict resolution. If someone saves an edit to a page after you started editing, you will get a conflict resolution page.
v0.11-beta2
v0.11-beta2
This release is precisely the reason why I am doing these beta releases. Upon testing the last release on my server, I discovered that it didn't have the getallheaders()
function. This has been polyfilled and another issue or two have also been fixed.
Changed
- Redirect to audio / video in preview generator if the data storage directory is the current directory
Fixed
- Polyfill
getallheaders()
if it isn't present - Bugfix failed upload message
v0.11-beta1
v0.11-beta1
Hot on the heels of the last release comes a new beta version! While this update is primarily a stability and bugfix update, it does have a few new features. Here's a shorter list of notable features:
- Links to non-existent pages now show up in red
- Uploading other file types has been unlocked
- Previews for videos / audio files and PDFs have been added
- A nasty bug in the parsing of internal links has been fixed
- Client side mathematical expression parsing has been added, along with an option to turn it off
- Previews generated by the preview generator now have etags.
- Compatibility with PHP 7 has been improved
Note that this release now requires the imagick
php extension for image preview generation.
Added
- Unlocked the uploading of any file type. Note that only the file types specified in the settings are allowed to be uploaded.
- Uploaded video and audio files can now be viewed on their respective pages
- The file preview tool is now aware that not everything will be an image.
- Enhanced the recent changes page.
- New pages show up with an 'N' next to them (as they do in a MediaWiki installation)
- Page deletions show up in red with a line though them
- Uploads show with an arrow next to them along with the size of the uploaded file
- Added mathematical expression parsing between dollar signs.
- Generated previews now have etags. This should speed up load times of subsequent requests significantly.
- Added some extra built-in variables to the parser.
{{{~}}}
: Displays the top level page name (i.e. the page that has been requested).{{{*}}}
: Displays a comma-separated list of subpages of the requested page.
- Links to non-existent pages are now coloured red by default.
- Conflict resolution. If someone saves an edit to a page after you started editing, you will get a conflict resolution page.
Changed
- Enhanced the dev help page some more
- Changed the uploaded file preview generation to use imagemagick. You now need to have the
imagick
php extension installed (installation on linux:sudo apt-get install php-imagick
). - The uploaded file preview generation action will now return audio and video files as-is. This allows for HTML5 video / audio tags to be used to view audio and video files.
- Made username box autofocus on login page.
- Added tab indexes to editing form
Fixed
- Fixed the downloader
- Fixed an issue with the recent changes page and redirects causing a large number of warnings
- Fixed a number of issues with the parser
- Image urls may now contain ampersands ('&')
- Several warnings that were cropping up here and there due to bugs have been squashed
- Fixed an issue with multiple links in the same paragraph
- Fixed a number of issues with the image preview generator
- Requests for a previews of pages that don't have an associated file won't break anymore. An error image will now be returned instead.
- A number of things that were not compatible with PHP 7 have been updated to ensure compatibility.
v0.10.1
v0.10
Version 0.10 is here! This is a large release with many bug fixes and improvements. It is also the first release to have beta releases made first. This is going to be a regular thing for now on, as I am finding it improves the quality of the actual release.
A couple of extra things have been fixed and changed since v0.10-beta2, the most notable of which is the addition of a license! This is to go along with the addition of Pepperminty Wiki to wikimatrix.org (page here). The license I have chosen is the Mozilla Public License 2.0, as I've used it several times before.
Noteable Changes
- Added a license
- Changed the default page parser to be parsedown (with a few extra bits of syntax sprinkled on top)
- Added templating
- Improved the all pages and tags pages
- Loads of small tweaks and improvements
Since v0.10-beta2
Added
- Added a license. Pepperminty Wiki is now licensed under the Mozilla Public License 2.0.
Fixed
- Corrected a minor error in the description of the page viewer module.
- Corrected a minor spelling mistake in the credits page.
Since v0.9
Added
- This changelog. It's long overdue I think!
- Added a license. Pepperminty Wiki is now licensed under the Mozilla Public License 2.0.
- Added the all tags page to the "More..." menu by default.
- Added recent changes page under the action
recent-changes
. A link can be found in the "More..." menu by default. - Changed the cursor when hovering over a time to indicate that the tooltip contains more information.
- Added icons to the "More..." menu
- Added help section to parsedown parser.
- Added more information to the dev help page.
- Added templating! It works the way you'd expect it to in Mediawiki.
- Help section ids now show to the right of the help section headers by default.
Changed
- Improved appearance of the all pages list.
- Improved apparence of the tag list page.
- Added a link back to the list of tags on the list of pages with a particular tag.
- Upgraded help page. Modules can now register their own sections on a wiki's help page.
- Optimised search queries a bit.
- Save preprocessors now get passed an extra parameter, which contains the old page source.
- Changed the default parser to parsedown.
- Removed parsedown from the
parser-parsedown
module and replaced it with code that automatically downloads parsedown and parsedown extra on the first run. - Removed Slimdown addition from the parsedown parser and replaced it with a custom extension of parsedown extra.
- Moved printable button to bottom bar and changed display text to "Printable version".
- Redirect pages now show in italics in page lists.
- Made other minor improvements to the page lists.
Fixed
- Removed debug statement from the redirect page module.
- Improved the "There isn't a page called..." message you sometimes see when searching.
- Corrected a few minor spelling issues on the help page.
- The
recent-changes
module now has a proper help section. - Added the moderator diamond next to the link to the update page in the credits.
- Corrected the version numbers of a large number of modules that I forgot to change.
- Corrected a minor error in the description of the page viewer module.
- Corrected a minor spelling mistake in the credits page.
v0.10-beta2
This beta release fixes a minor issue with the credits page, and updates a whole bunch of version numbers I completely forgot about.
Fixed
- Added the moderator diamond next to the link to the update page in the credits.
- Corrected the version numbers of a large number of modules that I forgot to change.