All Versions
50
Latest Version
Avg Release Cycle
28 days
Latest Release
505 days ago

Changelog History
Page 3

  • v0.19-beta2 Changes

    July 01, 2019

    📚 I've been rather busy with my University summer project so I've left this a bit longer than I intended to, but this is basically a minor iteration on the last release that updates the documentation. If there are no glaring issues, I intend to release v0.19 by the end of the week.

    🔄 Changelog

    🔄 Changed

    • 📚 Updated the theme of the new documentation
    • 📚 Revised the writing modules section of the documentation
  • v0.19-beta1 Changes

    ⚡️ > The update that changed the world! Turn everything upside-down.

    🛠 Fixed

    • Fixed double-escaping of rendered HTML when nesting templates
    • Squashed a warning if the search index doesn't exist yet
    • Fixed a crash in the stats updater if no pages in the system have tags yet
    • Consolidated email and emailAddress fields into the latter in the user table (#167)
    • Fixed a crash when trying to access the user table when not logged in as an administrator.
    • Fixed help text for the file upload module
    • Squashed a warning when uploading a file

    ➕ Added

    • [Module API] Added new extra data system. See parser-parsedown and page-edit for an example.
      • Extra data is packed into a zip archive, which is packed into index.php via __halt_compiler();
      • See the parser-parsedown and page-edit modules for examples on how to use it.
    • [Module API] Added new delete_recursive() function.
    • Added a new obvious link to the user table at the top of the master settings page.
    • Added a new first-run wizard to help new users set up the basics of their wiki.
      • It also checks to ensure that access to peppermint.json is blocked correctly (coming soon as a one-time check to pre-existing wikis)
      • Pre-existing wikis will not see this first-run wizard - a new firstrun_complete setting has been added that's automatically set to true if Pepperminty Wiki does a settings upgrade
    • Default to allowing lossless flac and ogg audio files to be uploaded
    • Added new minify_pageindex setting, which defaults to true and causes the page index to be minified when saved. Improves performance slightly (especially on larger wikis as the page index grows), but makes debugging and ninja-edits more awkward.
    • [Module API] Added new save_pageindex() function which respects the above setting.
    • Added PDF preview using your browser's default PDF viewer!
    • Added download button for unsupported file types

    🔄 Changed

    • Core sharding: split core.php into multiple files
    • Big update to the backend Markdown parser Parsedown
      • Use Parsedown's new untrusted feature for comments
      • Added new all_untrusted setting to allow treating everything as untrusted (default: false) - turn it on if your wiki allows anonymous edits
    • Switch to nightdocs instead of docpress (the official docs will update & change URL on the next stable release)
    • Add moar badges to the README & docs :D

    ✂ Removed

    🚚 Not often I have a removed section!

    • [Module API] Remove remote file system in favour of the new extra data system. No more first-run downloads! They are all done at compile-time now.
  • v0.18 Changes

    🚀 (No changes have been made since the last beta release.)

  • v0.18-beta1 Changes

    ➕ Added

    • Added inter-wiki link support via the new feature-interwiki-links module
      • Added interwiki_index_location setting to control the location of the interwiki index (which is a CSV file that is documented in the main Pepperminty Wiki documentation), which has to be specified in order for it to activate
      • Provides new module api functions: interwiki_pagename_parse, interwiki_pagename_resolve, interwiki_get_pagename_url, and is_interwiki_link
    • Added new formats to the recent-changes action (append &format=XXX to the url)
      • Added CSV support (csv)
      • Added Atom 1.0 feed support (atom)
      • All alternative formats for this action are advertised in via a <link rel="alternate" /> in the <head> now
    • Added count and offset GET parameters to recent-changes action.
    • Added new find_revisionid_timestamp() function to feature-recent-changes module.
    • Added new parser output caching system!
      • Saves to ._cache in the data directory (alongside the pages themselves)
      • 2 new settings have been added: parser_cache and parser_cache_min_size
      • Uses a hash of the content, the Pepperminty Wiki version, and the parser name as the cache id - so it should never serve stale content (unless you're actively working on particular areas of Pepperminty Wiki's codebase of course)
      • Useful for longer pages
      • parser_cache_min_size may need tuning for your specific installation (lower it if you regularly use features that are slow to parse; raise if it's the opposite)
    • Internal links now show the page name on hover (inter-wiki links are also supported here)

    🔄 Changed

    • Completely reworked the README to refactor out the documentation to its own static site
    • Updated the {{{@}}} templating variable to output a message if no parameters were specified instead of not parsing it at all
    • [Module API] Refactored the main page_renderer class
      • All static methods now have a consistent naming scheme
      • Added page_renderer::add_header_html()

    🛠 Fixed

    • Squashed a warning in the history revision system when creating new pages (thanks @tspivey for spotting this!)
    • Standardise line endings to \n (linux)
    • Enhanced setup instructions in README.
    • Long lines in code blocks now wrap correctly.
    • The export action now correctly includes uploaded files alongside their descriptions
  • v0.17.1 Changes

    🛠 Fixed

    • Corrected default passwords. If you were having issues, try updating to this release, deleting peppermint.json and trying again (thanks for spotting this, @tspivey!)
  • v0.17 Changes

    🛠 Fixed

    • Removed stray debugging output
    • Tweaked css to make new search context generation look better
  • v0.17-beta2 Changes

    🛠 Fixed

    • Fixed the cost-climbing bug in the last beta release
  • v0.17-beta1 Changes

    ➕ Added

    • [Module API] Added save_settings() convenience method
    • [Rest API] Add user-add and set-password moderator actions
    • Added random_page_exclude_redirects setting that prevents the random action from returning redirect pages.
    • Added link to user table on the credits page
    • Added history reversion via the history-revert action
    • Added history_max_revisions setting to allow control of the maximum number of revisions stored for a page
      • Takes effect every time a page revision is added
    • Added page restore system
      • A previous page revision can be restored with a single click from the page history page
      • Added a new history_revert_require_moderator setting to control whether moderator privileges are required to use the functionality (regardless of setting a user must be logged in)
    • HTTP/2.0 Server Push support!
      • You'll need to make sure your web server has support turned on
      • The CSS file specified in the css setting (url path must begin with a forward-slash) and the favicon (must not be a data: url) are automatically pushed when rendering pages
      • 2 new settings have been added: http2_server_push for turning it on and off (defaults to on), and http2_server_push_items for specifying custom resources to push (in case you design your own theme and want to push down the associated resources)
      • More information about http2_server_push_items in particular is available on the configuration info page (when this release is out, of course. Until then, check out the description in peppermint.guiconfig.json)
    • Added <meta name='generator' /> tag to all pages

    🛠 Fixed

    • Updated the search system to transliterate characters to better support searching pages that are written in other languages.
      • You'll want to rebuild your search index via the button in the configuration panel, or the invindex-rebuild action.
    • [Security] Made the site secret generator cryptographically secure. If you created your wiki before this change, you might want to change your site secret in peppermint.json to something more secure with a site like random.org.
    • [Module API] Fix full_url() logic
    • [Module API] Make email_user() correctly return email sending failures
    • Squashed a warning in the search redirector
    • The search redirector will now check both the specified page name and the page name in Title Case
    • Improve help text description of image captions displayed alongside images
    • Fixed the page history page - it should now display all page revisions in valid HTML
    • Fixed another bug in the search context generator
    • Display an ellipsis at the beginning of a search context if it doesn't start at the beginning of a page
    • Semicolons are no longer automatically included in greedy internal links.
    • Pressing enter in the tag box now correctly previews instead of performing a smart restore

    🔄 Changed

    • Password hashing has been overhauled! A totally new-and-different system is being used now, so you'll need to rehash all your passwords.
      • The hash action supports the new password hashing scheme.
      • Added password_cost, password_cost_time, and password_cost_time_interval settings
      • password_cost is recalculated automatically every week by default (it keeps track of this via the password_cost_time_lastcheck 'setting')
    • The css setting will now keep a value of auto, even when peppermint.json is automatically updated by Pepperminty Wiki.
    • Optimised the search system a lot (#157 - ~2800ms searches now take ~450ms O.o)
      • Tuned the default value for search_characters_context down to 75 (this won't be the case for existing wikis, so you'll need to adjust it manually)
      • Added new search_characters_context_total setting to control the maximum characters in a search context
    • The index action's output should now be formatted nicely.
    • Restyled "matching tags" in the search results in the default stylesheet
    • Added moar icons to the nav / more menus. Delete the appropriate entries in peppermint.json to get the updated ones!
  • v0.16 Changes

    (No changes since v0.16-beta1)

  • v0.16-beta1 Changes

    ➕ Added

    • Add json support to the search action :D
    • Added page moves to the recent changes page (#151)
    • Hyperlinked image preview on file pages to the original image (#153)
    • Added the commit hash Pepperminty Wiki was built against to the master settings configuration page, and the debug action
    • Added user count statistic
    • Added redirect page count statistic
    • Add orphan pages statistic
    • Add most linked-to pages statistic
    • [Rest API] Added support for the mode parameter to the random action
    • [Rest API] Added format parameter to recentchanges action
    • [Rest API] Added comments-fetch action to return a page's comments as JSON
    • [Rest API] Added acquire-edit-key action to allow scripts and other automated services (e.g. bots and mobile apps) to fetch an edit key for a specified page name.
    • [Rest API] Added extra headers to save action on failure to aid identification by automated services

    🛠 Fixed

    • Fixed various issues with both the module api & the rest api docs.
    • Properly escaped content of short code box on file pages
    • Display a more meaningful message to a logged in user if editing is disabled
    • Fixed fetching the size of SVGs in some cases
    • Fixed image captions in some cases (let me know if you still get warnings)
    • Squashed warnings when you do a search with a forward slash (/) in your query
    • Fixed that age-old warning in the search results if you have pages with special characters! I learnt a lot about utf8 whilst fixing this one.... (#114)
      • You'll need to rebuild your search index for this fix to fully take effect (call the invindex-rebuild action as a mod or better)
    • Normalise utf8 text to avoid duplicate ids and missing search results.
    • Improved handling of mime types in some places in the API.
    • [Rest API] Added minified option to status action to reduce data usage slightly
    • Fixed floating images that have captions
    • [Rest API] Fix checklogin action documentation
    • Fix link on credits page
    • Made rebuild search index progress bar fill completely up when done & neatened up UI placement

    🔄 Changed

    • Disallow uploads if editing is disabled. Previously files could still be uploaded even if editing was disabled - unless upload_enabled was set to false.
    • Added x-login-required: yes header to responses that redirect to the login page for easy detection by machines
    • Added x-login-success: (yes|no) header to login responses for easier machine parsing
    • Enhance the longest pages statistic rendering

    ✂ Removed

    • [Module API] Removed accept_contains_mime, as it's both unstable and currently unnecessary. Contributions for a better version are welcome!