2016-10-18 17:34:27 +00:00
# Changelog
2017-07-03 18:06:37 +00:00
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.
2016-10-18 17:34:27 +00:00
2017-07-04 17:04:44 +00:00
## v0.14-beta1
2017-04-17 11:44:27 +00:00
2017-04-17 13:02:32 +00:00
### Added
2017-05-16 20:16:52 +00:00
- Commenting! You'll need to update any custom themes you've created if you're including the commenting module in your build.
2017-04-17 13:02:32 +00:00
- Added stacked bar to help you visualise what's taking up all the space in your wiki
2017-05-20 11:34:12 +00:00
- Added link to edit master settings in the credits
2017-06-06 20:40:53 +00:00
- Initial open search support!
- After visiting your wiki once, you'll be able to press `<tab>` when typing the path to your wiki to perform a search.
2017-06-28 19:56:17 +00:00
- It'll only work if your wiki is at the top-level of a domain without _anything_ after the `/` (subdomains are ok). This is a restriction of the protocol, not Pepperminty Wiki!
- Supports sending search suggestions based on page names in the page index (based on case-insensitive leveshtein distance)
2017-06-18 11:00:40 +00:00
- Avatars!
- Gravatar is used if a user hasn't uploaded an avatar yet
- An identicon is rendered if a user hasn't specified an email address or uploaded a gravatar yet either
- Added `avatars_show` and `avatars_size` settings to control the displaying & size of rendered avatars.
- Added the `avatar` action, which 307 redirects to the appropriate avatar image
2017-06-18 12:54:15 +00:00
- Added `has_action` to make detecting enabled features easier (even if they move modules)
2017-07-03 17:21:07 +00:00
- Edit previewing, thanks to @ikisler
2017-04-17 13:02:32 +00:00
2017-05-13 15:17:17 +00:00
### Changed
- Updated MathJax CDN link, as cdn.mathjax.org is being retired ([source](https://www.mathjax.org/cdn-shutting-down/)).
2017-04-17 11:44:27 +00:00
### Fixed
- Fixed error image generation in the image previewer under certain conditions.
2017-07-04 17:04:44 +00:00
- Fixed warnings from being spewed all over the place under certain circumstances on the recent changes page
2017-06-28 19:56:17 +00:00
- Fixed url encoding issue in redirects with ampersands in page names (#139)
- Allow sending of OpenSearch description even when not logged in on wikis that require a login to work around some browser cookie issues
2017-07-04 17:04:44 +00:00
- PR #135: Fix repeated page names on sidebar by @ikisler
- PR #136: Fix issue where bottom nav is cut off by @ikisler
2017-04-17 11:44:27 +00:00
2017-04-01 16:02:06 +00:00
## v0.13
(No changes were made between the last beta release and this release)
2017-03-23 21:15:30 +00:00
## v0.13-beta2
2017-03-23 21:17:39 +00:00
### Added
- Added new `query-searchindex` action to inspect the internals of the search engine
- It returns the (ordered) search rankings as json, along with some additional debugging data
2017-03-23 21:15:30 +00:00
### Fixed
- Clear the page id index out when rebuilding the search index from scratch.
- This is needed to correct some issues where the id index goes all weird and assigns the same id to multiple pages
2017-03-23 21:25:55 +00:00
- Don't search page titles or tags for stop words - it skews results since we don't search the page body for them
2017-03-23 21:15:30 +00:00
2017-03-21 19:20:01 +00:00
## v0.13-beta1
2016-10-18 17:34:27 +00:00
2016-10-18 17:38:34 +00:00
### Added
2016-10-11 18:22:29 +00:00
- Added header to upload file page.
2016-10-18 17:38:34 +00:00
- Added history support to the `raw` action.
2016-10-22 15:52:49 +00:00
- Added 'smart save' to the page creator / editor. Nobody need ever loose edits ever again!
2016-11-20 13:28:35 +00:00
- Added dynamic server-calculated page suggestions. Very helpful for larger wikis. Currently works best in firefox. Part of the `feature-search` module.
2016-11-20 13:27:07 +00:00
- Added Alt + Enter support to the page search box. Works just like your browser's address bar - opens results in a new tab instead of the current one.
2016-12-23 18:12:47 +00:00
- Initial UI for configuring settings! Some things still have to be done by editing the file, but it's certainly a start :D
2016-12-23 18:18:39 +00:00
- User preferences!
- Accessible via the (by default) small cog next to your username when you're logged in
- The cog is customisable via the new `user_preferences_button_text` setting.
- You can change your password
2017-03-20 19:57:50 +00:00
- There's link to the master site settings from user preferences for admins.
2016-12-23 18:12:47 +00:00
- [Module API] Added `$env->user_data` and `save_userdata()` to interact with the logged in users' data
2017-02-11 15:33:52 +00:00
- User pages! Every page under `Users/` by default belongs to their respective users. e.g. `Users/admin` and all the pages under it belong to the `admin` user, so no other user can edit them.
2017-02-11 15:43:18 +00:00
- You can access your own user page by clicking on your username in the top corner when you're logged in.
2017-02-11 15:33:52 +00:00
- Added the `user_page_prefix` setting to allow customisation of where user pages should be located. Default value: `Users`
2017-03-21 19:36:24 +00:00
- [Module API] Added `get_user_pagename()` and `extract_user_from_userpage()` to allow programmatic detection etc.
2017-02-18 21:52:05 +00:00
- Added a `user-list` action that, well, outputs a list of users. Includes links to their respective user pages (though redlinks aren't implemented here yet).
2017-02-25 16:25:01 +00:00
- Internal links like `[[Page name]]s` will now link to the correct page in include the rest of the word. Note that this functionality _can't_ be mixed with display text, like this: `[[Page name|Display text]]s` - the rest of the word will be silently ignored in the link!
2016-10-18 17:38:34 +00:00
2016-10-18 17:34:27 +00:00
### Changed
- Overhauled internal history logic - history logic is now done in core.
- Added `$env->page_filename` , which points to the current page on disk.
- Changed the way different display modes are accessed. You can now use the new `mode` parameter to the `view` action. It supports 4 different modes at present: `normal` , `printable` , `contentonly` , and `parsedsourceonly` .
2016-11-02 17:51:00 +00:00
- Improved recent changes links a bit.
2016-11-20 13:27:07 +00:00
- Improved tabbing through the file upload form.
2016-12-23 18:12:47 +00:00
- Changed the way users' data is stored to support arbitrary per-user data
2017-02-11 15:29:25 +00:00
- Sorted list of registered actions on the dev help page
2017-03-06 21:38:01 +00:00
- The page editor's main content box now automatically expands as you're typing! If you've got a custom theme, you may need to tweak it a bit. Help available on request.
2017-03-20 20:21:25 +00:00
- Pages that are redirects how have their names appear in italics in search results.
2016-10-18 17:34:27 +00:00
2017-03-21 19:36:24 +00:00
### Fixed
2016-10-01 10:41:25 +00:00
- The login session lifetime is now configurable (defaults to 24 hours), so you won't keep getting logged out all the time (in theory). (#113)
- Recent changes made on different days are now displayed separately, as they should be (#112)
2016-10-09 10:18:03 +00:00
- Always display footer message at the bottom of the page.
2016-10-11 18:26:42 +00:00
- Trim the image url before short image url detection (#108)
2017-02-25 10:57:10 +00:00
- Fixed huge issue with `contentonly` display mode.
2016-10-25 20:12:39 +00:00
- Improved the search engine indexing algorithm. It now shouldn't choke on certain special characters (`[]{}|`) and will treat them as word boundaries.
2016-11-06 20:51:32 +00:00
- Fixed tag links at the bottom of pages for tags with a single quote (`'`) in them.
2016-11-25 19:34:20 +00:00
- Correct error message when attempting to move a page
2016-12-23 21:31:33 +00:00
- Improved security of PHP session cookie by setting HttpOnly flag.
2017-04-01 16:08:25 +00:00
- Linked pages with single quotes (`'`) in their names correctly in page lists.
2017-03-20 20:08:56 +00:00
- Fixed blank descriptions in search results by defaulting to a snippet from the beginning of the page.
2016-07-05 14:31:07 +00:00
2016-09-21 16:48:21 +00:00
## v0.12.1
2016-09-19 09:29:36 +00:00
## Fixed
2016-09-21 16:48:21 +00:00
- Added error detection to the code that loads `peppermint.json` .
2016-09-19 09:29:36 +00:00
2016-09-11 19:23:38 +00:00
## v0.12.1-beta1
2016-08-18 19:44:56 +00:00
2016-08-19 09:06:21 +00:00
### Added
- Added a class to the search term highlighting to aid theming (#92)
2016-08-19 09:59:49 +00:00
- Check for pages with various uppercased letter combinations for matching pages (#87)
2016-08-19 18:54:27 +00:00
- Support hashes in internal links (#96)
- Support hashes on redirect pages (#96)
2016-08-21 10:58:01 +00:00
- 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)
2016-08-21 12:13:07 +00:00
- Added support for unicode characters in page names (#95)
2016-08-22 16:24:22 +00:00
- Autofill the name box on the file upload page when a new file is selected (#101)
2016-08-24 18:13:51 +00:00
- Redirect the user automatically from the login page on refresh if they are already logged in (#102)
2016-09-11 19:22:57 +00:00
- Suggest an appropriate filename when saving an automatically generated preview (#105)
2016-11-24 07:18:31 +00:00
- When using the default theme images will now not flow beyond the edge of the page.
2016-08-19 09:06:21 +00:00
2016-08-19 12:51:38 +00:00
## Changed
2016-08-19 09:13:57 +00:00
- Made the background of tags slightly lighter (#91)
2016-08-19 12:51:38 +00:00
- Improved the appearance of the search context below each result.
- Tweaked display of result numbers in the search results.
2016-08-21 11:01:51 +00:00
- Allowed spaces in the filenames of images in the image syntax.
2016-08-19 09:13:57 +00:00
2016-08-18 19:44:56 +00:00
### Fixed
2016-08-22 15:03:06 +00:00
- 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)
2016-08-18 19:44:56 +00:00
- Sort the list of all the tags on a wiki (#88)
- Explicitly set permissions on parent directories created (#86)
2016-08-19 09:01:11 +00:00
- Allow `<tab>` characters to be entered into the editing page textarea (#84)
2016-08-19 12:07:17 +00:00
- Fixed search context generation (#30)
2016-08-19 18:58:33 +00:00
- Fixed bug in page moving code.
2016-08-22 06:29:18 +00:00
- Prevented the page index data for parent pages from disappearing when a child page is edited (#98)
2016-08-22 15:03:06 +00:00
- 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
2016-08-22 16:46:13 +00:00
- Fixed a spelling mistake on the file preview page - I'm sure I fixed that before...!
2016-08-27 14:02:09 +00:00
- Fixed an issue whereby the search index wouldn't update if your pages contained special characters
2016-09-17 16:37:36 +00:00
- Fixed an issue with the recent changes list not updating when the number of recently changes reached `settings.max_recent_changes` (#104)
2016-09-11 19:22:57 +00:00
- Fixed changes disappearing from the recent changes page (#106)
2016-08-18 19:44:56 +00:00
2016-07-05 14:31:07 +00:00
## v0.12
(No changes were made between the last beta release and this release)
2016-06-26 17:08:35 +00:00
## v0.12-beta2
### Changed
2016-07-05 14:28:25 +00:00
- Changed the revision display text ("Revision created by..." -> "Revision saved by...")
2016-06-26 17:08:35 +00:00
## v0.12-beta1
### Added
- Page history! Currently you can't do anything with the previous revisions - that will come in a future release.
2016-04-30 11:02:56 +00:00
- Implemented delayed indexing (#66)
2016-04-30 11:21:54 +00:00
- Added the time a page was last modified to the footer (#67)
2016-05-01 14:07:29 +00:00
- Added unified diff to edit conflict resolution pages (#64)
2016-05-29 19:36:32 +00:00
- Added image captions (#65)
2016-05-30 09:54:41 +00:00
- Added short syntax for images (#24)
2016-06-26 17:08:35 +00:00
### Changed
2016-05-30 15:12:29 +00:00
- Added text "Tag List: " to tag listing pages
2016-06-04 12:42:23 +00:00
- 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.
2016-06-05 11:26:55 +00:00
- Reduced the amount of space that the login bit in the top left takes up.
2016-06-26 17:08:35 +00:00
### Fixed
2016-06-05 14:21:15 +00:00
- Fixed a bug in the idindex generator.
2016-06-26 17:08:35 +00:00
- Fixed an issue where you wouldn't be redirected correctly if you typed your password incorrectly
2016-04-30 11:02:56 +00:00
2016-04-10 10:49:50 +00:00
## v0.11
## Changed
- Set title of image to alt text
2016-04-10 10:31:43 +00:00
## 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
2016-04-10 09:56:01 +00:00
## v0.11-beta1
### Added
2016-04-09 06:51:29 +00:00
- Unlocked the uploading of any file type. Note that only the file types specified in the settings are allowed to be uploaded.
2016-04-08 08:09:59 +00:00
- Uploaded video and audio files can now be viewed on their respective pages
2016-06-04 12:42:23 +00:00
- The file preview tool is now aware that not everything will be an image.
2016-04-03 14:58:49 +00:00
- Enhanced the recent changes page.
2016-04-08 08:09:59 +00:00
- 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
2016-04-03 16:49:38 +00:00
- Added mathematical expression parsing between dollar signs.
2016-04-08 08:09:59 +00:00
- Generated previews now have etags. This should speed up load times of subsequent requests significantly.
2016-04-09 06:51:29 +00:00
- Added some extra built-in variables to the parser.
2016-06-04 12:42:23 +00:00
- `{{{~}}}` : 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.
2016-04-08 08:51:45 +00:00
- Links to non-existent pages are now coloured red by default.
2016-04-02 14:07:18 +00:00
2016-04-10 09:56:01 +00:00
### Changed
2016-03-26 14:24:37 +00:00
- Enhanced the dev help page some more
2016-04-08 08:09:59 +00:00
- 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.
2016-04-09 10:03:15 +00:00
- Made username box autofocus on login page.
- Added tab indexes to editing form
2016-04-02 14:07:18 +00:00
2016-04-10 09:56:01 +00:00
### Fixed
2016-03-26 14:24:37 +00:00
- Fixed the downloader
2016-04-02 14:07:18 +00:00
- Fixed an issue with the recent changes page and redirects causing a large number of warnings
2016-04-08 08:30:03 +00:00
- Fixed a number of issues with the parser
2016-04-08 08:09:59 +00:00
- Image urls may now contain ampersands ('& ')
2016-06-04 12:42:23 +00:00
- 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
2016-04-08 08:09:59 +00:00
- 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.
2016-06-04 12:42:23 +00:00
- A number of things that were not compatible with PHP 7 have been updated to ensure compatibility.
2016-04-10 09:56:01 +00:00
- Conflict resolution. If someone saves an edit to a page after you started editing, you will get a conflict resolution page.
2016-03-26 14:24:37 +00:00
2016-04-07 16:37:11 +00:00
# Notes
- Test the etag code!
2016-03-25 11:44:44 +00:00
## v0.10
### 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.
2016-03-24 13:15:54 +00:00
## v0.10-beta2
## 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.
2015-12-20 10:50:47 +00:00
2016-03-21 17:34:55 +00:00
## v0.10-beta1
### Added
2016-01-16 13:24:13 +00:00
- This changelog. It's long overdue I think!
- Added the all tags page to the "More..." menu by default.
2016-03-12 18:40:17 +00:00
- Added recent changes page under the action `recent-changes` . A link can be found in the "More..." menu by default.
2016-01-16 14:17:55 +00:00
- Changed the cursor when hovering over a time to indicate that the tooltip contains more information.
2016-01-16 15:12:42 +00:00
- Added icons to the "More..." menu
2016-03-20 14:05:55 +00:00
- Added help section to parsedown parser.
- Added more information to the dev help page.
2016-03-20 16:30:00 +00:00
- Added templating! It works the way you'd expect it to in Mediawiki.
2016-03-21 16:36:34 +00:00
- Help section ids now show to the right of the help section headers by default.
2015-12-20 10:50:47 +00:00
2016-03-21 17:34:55 +00:00
### Changed
2015-12-20 10:50:47 +00:00
- Improved appearance of the all pages list.
- Improved apparence of the tag list page.
2015-12-21 08:33:03 +00:00
- Added a link back to the list of tags on the list of pages with a particular tag.
2016-01-16 13:24:13 +00:00
- 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.
2016-03-12 17:29:35 +00:00
- 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.
2016-03-25 17:52:32 +00:00
- Removed Slimdown addition from the parsedown parser and replaced it with a custom extension of parsedown extra.
2016-03-12 17:55:35 +00:00
- Moved printable button to bottom bar and changed display text to "Printable version".
2016-03-20 16:30:00 +00:00
- Redirect pages now show in italics in page lists.
- Made other minor improvements to the page lists.
2016-01-16 13:24:13 +00:00
2016-03-21 17:34:55 +00:00
### Fixed
2016-01-16 13:24:13 +00:00
- Removed debug statement from the redirect page module.
2016-03-21 17:34:55 +00:00
- 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.