It's time for another beta release! While this release doesn't have all that much in the way of new features, there's certainly been quite a lot of internal refactoring.
Highlights
- 🏭 Completed refactored the build system. Now an internet connection is not required for the initial setup on first page load!
- 🧙 Added a new first-run wizard that appears when you first setup a brand-new wiki to help new users get up and running quickly.
- 🔍 Added PDF file preview & a download button for unsupported files
- 📦 Minify the page index by default.
- Default to allowing upload of .ogg and .flac files
Full Changelog
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
emailandemailAddressfields 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-parsedownandpage-editfor an example.- Extra data is packed into a zip archive, which is packed into
index.phpvia__halt_compiler(); - See
parser-parsedownandpage-editfor examples on how to use it.
- Extra data is packed into a zip archive, which is packed into
- [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.jsonis 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_completesetting has been added that's automatically set to true if Pepperminty Wiki does a settings upgrade
- It also checks to ensure that access to
- Default to allowing lossless flac and ogg audio files to be uploaded
- Added new
minify_pageindexsetting, which defaults totrueand 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.phpinto multiple files - Big update to the backend Markdown parser Parsedown
- Use Parsedown's new untrusted feature for comments
- Added new
all_untrustedsetting 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.