Pepperminty-Wiki

A wiki in a box

MPL-2.0 License

Stars
183
Pepperminty-Wiki - v0.12.1-beta1

Published by sbrl about 8 years ago

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)
Pepperminty-Wiki - v0.12

Published by sbrl over 8 years ago

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 to true.
    • Added code to find the dimensions of an SVG.
  • 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
Pepperminty-Wiki - v0.12-beta2

Published by sbrl over 8 years ago

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...")
Pepperminty-Wiki - v0.12-beta1

Published by sbrl over 8 years ago

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 to true.
    • Added code to find the dimensions of an SVG.

Fixed

  • Fixed an issue where you wouldn't be redirected correctly if you typed your password incorrectly
  • Fixed a bug in the idindex generator.
Pepperminty-Wiki - v0.11

Published by sbrl over 8 years ago

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.
Pepperminty-Wiki - v0.11-beta2

Published by sbrl over 8 years ago

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
Pepperminty-Wiki - v0.11-beta1

Published by sbrl over 8 years ago

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.
Pepperminty-Wiki - v0.10.1

Published by sbrl over 8 years ago

Apparently 2 beta releases didn't uncover a really nasty bug. This is an emergency patch for said bug.

Pepperminty-Wiki - v0.10

Published by sbrl over 8 years ago

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.
Pepperminty-Wiki - v0.10-beta2

Published by sbrl over 8 years ago

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.
Pepperminty-Wiki - v0.10-beta1

Published by sbrl over 8 years ago

This release marks the first ever beta release of Pepperminty Wiki. From now on I'll be making beta releases just before a new major verion comes out to catch any issues that may arise.

Also new for this release is an (almost) comprehensive changelog built up over time, detailing all the things that have been added, changed, or removed.

Added

  • This changelog. It's long overdue I think!
  • 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 add 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.
Pepperminty-Wiki - v0.9.1 - Small bugfix update

Published by sbrl almost 9 years ago

This is a really quick update to v0.9 that fixes a single bug.

Changed

  • Fixed the links in the list-tags action - they no longer point to a non-existent action.
Pepperminty-Wiki - v0.9 - Search!

Published by sbrl almost 9 years ago

I've had this release almost ready to go for a while now, but I've been so busy with University that I haven't had the time to finish it up! Fear not though, as I have managed to find some time to finish this release off properly.

This release is by far the largest release to date. It contains many bugfixes and sevral huge new features that have taken a lot of my time to implement as much of the codebase had to be updated and rewritten.

Added

  • You can now upload files to Pepperminty Wiki! Go to ?action=upload to check it out.
  • The directory in which Pepperminty Wiki stores stuff can now be changed through the $settings->data_storage_dir setting.
  • You are now redirected to the last page you were viewing after you login.
  • Pages can now be tagged. You can view a list of all tags at ?action=list-tags.
  • There's now a new optional module that adds a parsedown parser to Pepperminty WIki. It's quite heavy though - only include it if you are actually going to use it

Changed

  • The pageindex recreator now checks for associated files (you use this if the pageindex gets deleted).
  • Fixed page protection - you can now disable it correctly.
  • The sidebar is now hidden temporarily hidden on the login page - this is because it leaked information (see #25 access control)
  • The parser backend was rewritten to enable support for multiple parsers
  • The versioning system now uses a separate file. You can now query this url to ask the repository what the latest dev version of Pepperminty Wiki is: https://raw.githubusercontent.com/sbrl/Pepperminty-Wiki/master/version

If you need a more complete migration / upgrade guide (there have been several settings added since the last release), please feel free to contact me or leave a comment on my blog and I will be happy to assist you. In the future I'm going to build the above changelog as I go, instead of at the end.

Pepperminty-Wiki - Spring cleaning

Published by sbrl about 9 years ago

Welcome to a new release! This one has by far the most commits of any release so far at 58, which is about a quarter of all the commits pushed to this repository so far...!

Anyway, this release contains a few big new features (such as page protection and redirect pages). The rest of this release fixes bugs and lays ever more groundwork in preparation for things later on. I've also adopted a different way of committing bug fixes, where I try to bundle each bugfix into it's own commit and prefix the commit message with Bugfix:. This comes from another (for now secret) project that I've been working on.

You can download the latest release below, or use the online downloader to pick the modules you want to include if you're picky.

Additions

  • 28234dc - Added a new Linux build script called build.sh
  • 55fa08e..f694c9c - New Travis CI automated testing setup
  • b27dd83 - Document the module API
  • 03c908b - Added support for optional modules
  • cab6f9f - Added new raw action, which outputs the source for the given page
  • 1ead4c9..7a2da1d - Tidied up all the random global variables floating around into one nice neat $env variable
  • 881418d - Added $settings->footer_message setting to display a message at the bottom of every page, which can contain arbitrary HTML.
  • f5b0b85 - Added $settings->editing_message setting to display a message just before the save edit button, which can contain arbitrary HTML.
  • 6ad8342 - Added page protection. This also updates your settings by adding $settings->protectedpagechar, which is the string to prepend to a page's title if it's protected (defaults to &#128274;, which is a lock symbol), and adds [ $settings->admindisplaychar . "Toggle Protection", "index.php?action=protect&page={page}" ] to $settings->nav_links_extra in order to make the protect option accessible.
  • #14 (bb21686..e2d6a7f) - Added redirect page support. Create a redirect page in the same way as you would in Mediawiki (e.g. # REDIRECT [[Page Name]]. Note that the redirect page support has been added to the view module and that whether a page is a redirect is stored in the page index. This means that if you remove the redirect module after making a page a redirect, it will still function as one until you update it.

Changes

  • #17 (87b3bd7) - The sidebar is now sorted alphabetically
  • a5be970 - Updated the CSS on the download page to match the new theme
  • 8b90b2b - Stored the build in a separate folder
  • f915df2 - Added the related issue number next to the items on the todo list in the readme

Bug Fixes

  • 9cc042e - Corrected screenshot URL in the readme
  • #16 (eb58c79) - The sidebar is no longer shown in the printable view
  • f5af74e - Correct redirection to default page
Pepperminty-Wiki - The big theme!

Published by sbrl about 9 years ago

Welcome to a new release! It has been quite some time, but I can assure you that it was worth the wait :) (If you want it to come quicker, submit a pull request!) In this release, we have:

Additions

  • #6 Sub pages! These are created by entering an existing page name and then adding a forward slash (/), and then typing the new page's name. They nest, too, so you could have Fruits/Apples/Braeburn if you wanted!
  • Enhanced credits page: It now shows you your Pepperminty Wiki version and the number of pages and modules you have. I've also tidied up the main credits - they are now in bullet points.
  • #7 Optional sidebar! To enable it, add $settings->sidebar_show = true; to your configuration, or append &sidebar=yes to the url. Adding to the url sets a cookie to remember your choice for 30 days.
  • Export as zip: Allows you to export all the pages on your wiki via the credits page. Direct access can be gained through the action=export url parameter. Also adds $settings->export_allow_only_admins, which should be fairly self explanatory.

Changes

  • Rearranged internal utility functions
  • More internal comments have been tidied up
  • The page renderer has been rewritten again, adding page_renderer::register_part_preprocessor(func), which gets passed an array of page parts which can then be tweaked before the page is sent to the user. Make sure that functions you register take a reference to an array as their first parameter.

Bug Fixes

  • #15 Sort the list of pages alphabetically
Pepperminty-Wiki - Fix for search box hints

Published by sbrl over 9 years ago

This is a very small release that fixes the following issue:

  • #8 datalist tag

This prevented the list of pages from appearing when you typed in the search box.

Pepperminty-Wiki - Code Cleanup

Published by sbrl over 9 years ago

Hello again!

This release doesn't contain too many big new features because I have been busy cleaning up the codebase to make it easier to understand. As always, please report any bugs you find. A link to the online downloader that lets you choose the modules you install can be found in this repository's README.

Changes

  • Corrected lots of spelling mistakes
  • Rewritten the page renderer as a class
  • The new page renderer now uses templates
  • Added image support!
  • Updated the help page to show new syntax
  • Modernised and updated the comments in the settings
  • Moved the default markdown parser to a module
  • Lightened the default background colour
  • Deleted the old build system (it is totally broken & out of date now)
Pepperminty-Wiki - Module System!

Published by sbrl over 9 years ago

This huge release marks the beginning of a new era. We have modules! Each module performs one function. At the moment, each module provides a different page. You can find a list of all the module here: https://starbeamrainbowlabs.com/labs/peppermint/download.php

This also means that the build system has changed. The index.php attached to this release contains all the latest modules. If you want to choose, follow the link above to the downloader.

The scale of this rewrite means that there will probably be some bugs hiding in this release. If you find any, please open on issue, or even better, submit a pull request.

Pepperminty-Wiki - v0.4 - Updating the updater

Published by sbrl over 9 years ago

I have prepared another release for your enjoyment :)

This release contains an initial implementation of a semi-automatic update system that pulls the latest version of the code from this repository by default.. You can access the new update page either the help or credits pages. Note that you must be an administrator to update the site. If you wish to disable this feature, you can simply set your $sitesecret to a number, since the update mechanism is the first action to require your site's secret, and it performs type checking when working out whether the site secret is correct.

Other things include a few bugfixes and a quick <meta /> tag to make mobile devices behave.

This release comes with a new theme: I wrote another quick one called Microsoft-esque, which, as you can imagine, is based on the Microsoft website.

Changelog

I worked out how to generate a changelog based on the commit history, so here it is:

This command came in handy generating the above:

git log v0.3..master --pretty=format:'[%s](//github.com/sbrl/Pepperminty-Wiki/commit/%H)' --reverse >changes.md
Pepperminty-Wiki - Login system security fixes

Published by sbrl almost 10 years ago

This is a relatively minor release, but with one critical bug fix.

It was pointed out on reddit that the login system was insecure:

/u/lordastley said:
If I'm reading that code correctly, you're storing user auth completely in the cookie instead of using sessions (for instance), which is rather insecure.
If I can get a copy of someone's cookie, snoop their network traffic, etc, I can authenticate as them.

This release switches from using cookies to store login details to using PHP sessions. This does mean that your server must have session support, but hopefully that won't be a big problem.

Installation / updating instructions can be found in the README.