2016-10-18 17:34:27 +00:00
# Changelog
2017-12-12 23:08:17 +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
2019-08-15 22:46:23 +00:00
2019-08-08 17:14:52 +00:00
## v0.20-dev
2019-08-15 22:46:23 +00:00
2019-08-25 21:13:59 +00:00
### Added
- TODO Update the first-run wizard to ask whether people want the theme auto-updater to turned on because privacy and inadvertent requests to my web server
- NOTE Don't forget to tell people how to turn the theme auto-updater off in this changelog
2019-08-15 22:46:23 +00:00
### Fixed
- Fixed a bug in the search query performance metrics
2019-08-24 18:56:14 +00:00
- Fill out the statistics help text
2019-08-24 19:05:06 +00:00
- Added table of contents to help page
2019-08-15 22:46:23 +00:00
### Changed
2019-08-08 17:14:52 +00:00
- Made `build.sh` build script more robust, especially when generating the documentation.
2019-08-24 18:56:14 +00:00
- Vastly improved search engine performance
- A new SQLite-based index format is now used, so search indexes will need to be rebuilt (migrating would probably take longer than a rebuild :-/)
- New search query syntax
2019-08-26 14:27:24 +00:00
- When making remote requests, Pepperminty Wiki will now correctly set the user agent string
- The server's `expose_php` setting is respected - if it's disabled, then the PHP version will not be exposed.
- Pepperminty Wiki _shouldn't_ make remote requests without you asking it to - see above and the theme gallery
2019-08-08 17:14:52 +00:00
2019-08-15 22:46:23 +00:00
2019-07-05 19:51:51 +00:00
## v0.19
_(No changes have been made since the last beta release.)_
2019-06-30 23:58:59 +00:00
## v0.19-beta2
2019-07-01 23:38:43 +00:00
### Changed
2019-06-30 23:58:59 +00:00
- Updated the theme of the new documentation
2019-07-01 23:19:54 +00:00
- Revised the writing modules section of the documentation
2019-03-02 21:59:50 +00:00
2019-07-05 19:51:51 +00:00
2019-06-22 13:59:05 +00:00
## v0.19-beta1
2019-03-02 21:59:50 +00:00
> The update that changed the world! Turn everything upside-down.
2019-03-02 22:10:13 +00:00
### Fixed
- Fixed double-escaping of rendered HTML when nesting templates
2019-05-06 19:22:36 +00:00
- Squashed a warning if the search index doesn't exist yet
2019-05-06 22:44:38 +00:00
- 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)
2019-05-11 11:41:43 +00:00
- Fixed a crash when trying to access the user table when not logged in as an administrator.
2019-05-24 20:50:27 +00:00
- Fixed help text for the file upload module
2019-06-01 18:57:03 +00:00
- Squashed a warning when uploading a file
2019-03-02 22:10:13 +00:00
2019-03-02 21:59:50 +00:00
### 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();` ](https://devdocs.io/php/function.halt-compiler )
2019-06-26 20:06:00 +00:00
- See the `parser-parsedown` and `page-edit` modules for examples on how to use it.
2019-04-06 12:17:02 +00:00
- [Module API] Added new `delete_recursive()` function.
2019-05-11 11:44:28 +00:00
- Added a new obvious link to the user table at the top of the master settings page.
2019-05-11 21:55:59 +00:00
- 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
2019-05-24 20:48:41 +00:00
- Default to allowing lossless flac and ogg audio files to be uploaded
2019-06-01 14:55:48 +00:00
- 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.
2019-06-01 19:26:22 +00:00
- Added PDF preview using your browser's default PDF viewer!
2019-06-01 20:37:35 +00:00
- Added download button for unsupported file types
2019-03-02 21:59:50 +00:00
### Changed
- Core sharding: split `core.php` into multiple files
2019-05-21 00:13:42 +00:00
- 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
2019-07-05 20:24:51 +00:00
- Switch to [nightdocs ](https://gitlab.com/sbrl/nightdocs ) instead of [docpress ](https://docpress.github.io/ ) ~~(the [official docs](https://starbeamrainbowlabs.com/labs/peppermint/_docpress/) will update & change URL on the next stable release)~~ the new docs are available [here ](https://starbeamrainbowlabs.com/labs/peppermint/__nightdocs/01-Welcome.html )!
2019-05-21 00:13:42 +00:00
- Add moar [badges ](https://shields.io/ ) to the README & docs :D
2019-03-02 21:59:50 +00:00
### Removed
2019-04-06 12:17:02 +00:00
Not often I have a removed section!
2019-06-01 13:52:58 +00:00
- [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.
2019-03-02 21:59:50 +00:00
2019-02-24 15:55:27 +00:00
## v0.18
_(No changes have been made since the last beta release.)_
2019-02-10 23:19:51 +00:00
## v0.18-beta1
2018-10-31 16:38:56 +00:00
2019-01-03 22:42:37 +00:00
### Added
2019-01-05 22:20:30 +00:00
- Added inter-wiki link support via the new `feature-interwiki-links` module
2019-01-24 18:05:49 +00:00
- 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
2019-01-05 22:20:30 +00:00
- Provides new module api functions: `interwiki_pagename_parse` , `interwiki_pagename_resolve` , `interwiki_get_pagename_url` , and `is_interwiki_link`
2019-01-24 21:19:00 +00:00
- 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
2019-01-24 18:25:10 +00:00
- Added `count` and `offset` GET parameters to `recent-changes` action.
2019-01-24 20:30:20 +00:00
- Added new `find_revisionid_timestamp()` function to `feature-recent-changes` module.
2019-01-31 23:32:05 +00:00
- Added new parser output caching system!
2019-05-21 00:11:54 +00:00
- Saves to `._cache` in the data directory (alongside the pages themselves)
2019-01-31 23:32:05 +00:00
- 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)
2019-02-10 23:01:01 +00:00
- Internal links now show the page name on hover (inter-wiki links are also supported here)
2019-01-03 22:42:37 +00:00
### Changed
2019-01-03 22:37:30 +00:00
- Completely reworked the README to refactor out the documentation to its [own static site ](https://starbeamrainbowlabs.com/labs/peppermint/_docpress/ )
2019-01-05 17:51:51 +00:00
- Updated the `{{{@}}}` templating variable to output a message if no parameters were specified instead of not parsing it at all
2019-01-27 22:56:51 +00:00
- [Module API] Refactored the main `page_renderer` class
- All static methods now have a consistent naming scheme
- Added `page_renderer::add_header_html()`
2019-01-03 22:37:30 +00:00
2018-10-31 16:38:56 +00:00
### Fixed
2018-10-31 16:45:22 +00:00
- Squashed a warning in the history revision system when creating new pages (thanks @tspivey for spotting this!)
- Standardise line endings to `\n` (linux)
2018-11-13 18:33:01 +00:00
- Enhanced setup instructions in README.
2019-01-30 21:36:21 +00:00
- Long lines in code blocks now wrap correctly.
2019-01-31 21:41:13 +00:00
- The `export` action now correctly includes uploaded files alongside their descriptions
2018-10-31 16:38:56 +00:00
2019-07-05 19:51:51 +00:00
2018-10-31 13:11:57 +00:00
## v0.17.1
### Fixed
2018-10-31 16:38:56 +00:00
- Corrected default passwords. If you were having issues, try updating to this release, deleting `peppermint.json` and trying again (thanks for spotting this, @tspivey !)
2018-10-31 13:11:57 +00:00
2019-07-05 19:51:51 +00:00
2018-10-20 15:43:30 +00:00
## v0.17
### Fixed
- Removed stray debugging output
- Tweaked css to make new search context generation look better
2019-07-05 19:51:51 +00:00
2018-09-30 13:47:54 +00:00
## v0.17-beta2
### Fixed
- Fixed the cost-climbing bug in the last beta release
2019-07-05 19:51:51 +00:00
2018-09-30 13:16:56 +00:00
## v0.17-beta1
2018-05-10 22:34:53 +00:00
2018-05-12 16:25:26 +00:00
### Added
- [Module API] Added `save_settings()` convenience method
2018-06-30 10:20:53 +00:00
- [Rest API] Add `user-add` and `set-password` moderator actions
2018-07-01 12:33:27 +00:00
- Added `random_page_exclude_redirects` setting that prevents the `random` action from returning redirect pages.
2018-07-02 11:23:11 +00:00
- Added link to user table on the credits page
2018-07-02 22:44:10 +00:00
- Added history reversion via the `history-revert` action
2018-07-03 11:18:26 +00:00
- 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)
2018-08-22 22:44:24 +00:00
- [HTTP/2.0 Server Push ](https://www.smashingmagazine.com/2017/04/guide-http2-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)
2018-08-22 22:55:26 +00:00
- More information about `http2_server_push_items` in particular is available on the [configuration info page ](https://starbeamrainbowlabs.com/labs/peppermint/peppermint-config-info.php ) (when this release is out, of course. Until then, check out the description in `peppermint.guiconfig.json` )
2018-08-24 15:42:35 +00:00
- Added `<meta name='generator' />` tag to all pages
2018-05-12 16:25:26 +00:00
### Fixed
2018-06-25 21:53:53 +00:00
- 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.
2018-05-11 11:45:34 +00:00
- [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 ](https://www.random.org/ ).
- The PHP function `openssl_pseudo_random_bytes()` was being used before, but [apparently that's not cryptographically secure ](https://paragonie.com/blog/2015/07/how-safely-generate-random-strings-and-integers-in-php ).
2018-05-12 16:24:08 +00:00
- [Module API] Fix `full_url()` logic
2019-06-22 14:12:39 +00:00
- [Module API] Make `email_user()` correctly return email sending failures
2018-06-30 10:20:53 +00:00
- Squashed a warning in the search redirector
2018-07-01 12:46:06 +00:00
- The search redirector will now check both the specified page name and the page name in Title Case
2018-07-01 19:56:08 +00:00
- Improve help text description of image captions displayed alongside images
2018-07-03 10:54:54 +00:00
- Fixed the page history page - it should now display all page revisions in valid HTML
2018-09-29 12:27:17 +00:00
- Fixed another bug in the search context generator
2018-09-29 12:32:17 +00:00
- Display an ellipsis at the beginning of a search context if it doesn't start at the beginning of a page
2018-09-29 22:40:23 +00:00
- Semicolons are no longer automatically included in greedy internal links.
2018-09-30 10:54:39 +00:00
- Pressing enter in the tag box now correctly previews instead of performing a smart restore
2018-05-11 11:45:34 +00:00
2018-09-30 13:16:56 +00:00
### Changed
2018-05-10 22:34:53 +00:00
- Password hashing has been overhauled! A totally new-and-different system is being used now, so you'll need to rehash all your passwords.
2018-05-10 22:38:11 +00:00
- The `hash` action supports the new password hashing scheme.
2018-05-10 22:42:17 +00:00
- 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')
2018-05-10 22:34:53 +00:00
- The `css` setting will now keep a value of auto, even when `peppermint.json` is automatically updated by _Pepperminty Wiki_ .
2018-06-26 15:53:43 +00:00
- Optimised the search system a lot (#157 - ~2800ms searches now take ~450ms O.o)
2018-06-25 23:06:20 +00:00
- 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
2018-06-29 11:09:17 +00:00
- The `index` action's output should now be formatted nicely.
2018-07-03 11:54:57 +00:00
- 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!
2018-05-10 22:34:53 +00:00
2019-07-05 19:51:51 +00:00
2018-05-05 20:50:34 +00:00
## v0.16
_(No changes since v0.16-beta1)_
2019-07-05 19:51:51 +00:00
2018-04-28 13:08:01 +00:00
## v0.16-beta1
2017-12-30 20:33:30 +00:00
2018-02-14 22:36:29 +00:00
### Added
2018-03-18 17:00:42 +00:00
- Add json support to the search action :D
2018-04-07 12:38:45 +00:00
- Added page moves to the recent changes page (#151)
- Hyperlinked image preview on file pages to the original image (#153)
2018-04-22 16:52:57 +00:00
- Added the commit hash Pepperminty Wiki was built against to the master settings configuration page, and the debug action
2018-04-26 22:20:52 +00:00
- Added user count statistic
- Added redirect page count statistic
2018-04-26 22:27:44 +00:00
- Add orphan pages statistic
2018-04-28 09:59:08 +00:00
- Add most linked-to pages statistic
2018-04-17 17:59:23 +00:00
- [Rest API] Added support for the `mode` parameter to the `random` action
- [Rest API] Added `format` parameter to `recentchanges` action
2018-04-17 19:16:59 +00:00
- [Rest API] Added `comments-fetch` action to return a page's comments as JSON
2018-04-22 14:55:14 +00:00
- [Rest API] Added `acquire-edit-key` action to allow scripts and other automated services (e.g. bots and [mobile apps ](https://github.com/sbrl/Pepperminty-Wiki-Client-Android )) to fetch an edit key for a specified page name.
2018-04-22 16:58:48 +00:00
- [Rest API] Added extra headers to `save` action on failure to aid identification by automated services
2018-02-14 22:36:29 +00:00
2017-12-30 20:33:30 +00:00
### Fixed
2018-04-07 12:47:39 +00:00
- Fixed various issues with both the module api & the rest api docs.
2017-12-30 20:33:30 +00:00
- Properly escaped content of short code box on file pages
2017-12-31 23:17:25 +00:00
- Display a more meaningful message to a logged in user if editing is disabled
2018-01-27 13:38:53 +00:00
- Fixed fetching the size of SVGs in some cases
2018-02-04 13:26:05 +00:00
- Fixed image captions in some cases (let me know if you still get warnings)
2018-02-04 13:48:11 +00:00
- Squashed warnings when you do a search with a forward slash (`/`) in your query
2018-03-18 17:00:35 +00:00
- 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.
2018-03-27 15:59:11 +00:00
- Improved handling of mime types in some places in the API.
2018-04-26 22:53:03 +00:00
- [Rest API] Added `minified` option to `status` action to reduce data usage slightly
2018-04-05 08:47:29 +00:00
- Fixed floating images that have captions
2018-03-30 15:44:07 +00:00
- [Rest API] Fix `checklogin` action documentation
2018-04-02 18:52:09 +00:00
- Fix link on credits page
2018-04-07 12:47:39 +00:00
- Made rebuild search index progress bar fill completely up when done & neatened up UI placement
2017-12-31 23:17:25 +00:00
### 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` .
2018-03-30 12:05:18 +00:00
- Added `x-login-required: yes` header to responses that redirect to the login page for easy detection by machines
2018-03-30 12:17:06 +00:00
- Added `x-login-success: (yes|no)` header to login responses for easier machine parsing
2018-04-28 10:13:58 +00:00
- Enhance the longest pages statistic rendering
2017-12-30 20:33:30 +00:00
2018-04-06 22:55:45 +00:00
### Removed
2018-04-09 11:32:31 +00:00
- [Module API] Removed `accept_contains_mime` , as it's both unstable and currently unnecessary. Contributions for a better version are welcome!
2018-04-06 22:55:45 +00:00
2019-07-05 19:51:51 +00:00
2017-12-13 20:22:33 +00:00
## v0.15.1
2017-12-10 15:20:24 +00:00
2017-12-12 23:00:29 +00:00
### Added
2017-12-12 23:00:41 +00:00
- Added an input box with auto-generated short markdown embed code with copy button to file pages
2017-12-12 23:00:29 +00:00
2017-12-13 20:20:34 +00:00
### Changed
- Added 1920 as a preset image size on file pages
2017-12-10 15:20:24 +00:00
### Fixed
- Fix saving edits to pages with an ampersand in their name (#99)
2017-12-13 20:20:34 +00:00
- [Security] Fixed an authenticated denial-of-service attack when uploading a malicious SVG (ref XXE billion laughs attack, #152 )
2017-12-10 15:20:24 +00:00
2019-07-05 19:51:51 +00:00
2017-12-10 15:20:24 +00:00
## v0.15
_(No changes since v0.15-beta2)_
2019-07-05 19:51:51 +00:00
2017-11-23 15:16:08 +00:00
## v0.15-beta2
### Added
- Added "restore locally saved content" button to page editor
- [module api] Documented the remainder of the members of the `search` class
### Fixed
- Moving a page will now move all the comments associated with it
- The page names on the page move success page are now encoded correctly to avoid html and url issues
- Clicking _Login to post a comment_ will now take you back to the comments section of the page you were on upon completing the login process instead of the top of the page
2017-11-20 19:30:56 +00:00
## v0.15-beta1
2017-07-10 21:10:18 +00:00
2017-07-16 09:31:32 +00:00
### Added
2017-09-16 19:18:44 +00:00
- Statistics! (#97)
2017-07-16 09:31:32 +00:00
- Added a new statistics engine, which you can add your own statistic calculators to with `statistic_add`
2017-12-12 23:08:17 +00:00
- Added action `stats` to view the calculated statistics
2017-11-13 23:12:13 +00:00
- Statistics are automagically recalculated every day - this can be controlled with the `stats_update_interval` and `stats_update_processingtime` settings
2017-09-15 16:15:11 +00:00
- Added new "« Parent Page" to subpages so that you can easily visit their parent pages
2017-11-19 11:55:32 +00:00
- Users can now delete their own comments, and users logged in as a moderator or better can delete anyone's comments.
- Added new `comment-delete` action
2017-11-19 12:44:58 +00:00
- Comments are deleted entirely if they have no replies - otherwise the username & message are wiped
2017-12-12 23:08:17 +00:00
- The `history` action now supports `format=json` and `format=CSV`
2017-10-14 21:48:58 +00:00
- Added tags next to the names of pages in the search results
2017-10-25 22:00:04 +00:00
- Added new `random_page_exclude` setting that allows you to exclude pages from the random action with a (PHP) regular expression
2017-11-13 23:12:13 +00:00
- [module api] Added new `get_page_parent($pagename)` method.
- [module api] Added new remote file system to download additional required files. Use it with `register_remote_file`
2017-07-16 09:31:32 +00:00
2017-07-16 09:26:22 +00:00
### Fixed
- Fixed invalid opensearch description.
2017-07-25 19:09:54 +00:00
- When deleting a page, if `feature-comments` is installed, all the comments attached to the page are deleted too
2017-07-29 09:32:43 +00:00
- Fixed paths when generating previews in certain environments
2017-07-29 09:52:23 +00:00
- Fixed handling of pages and tags with single quotes in the name
- Fixed weirdness on some pages rendered by the Pepperminty Wiki core
2017-08-27 15:48:36 +00:00
- Fixed a few minor usability issues on the upload file page.
2017-09-16 19:17:51 +00:00
- Removed some extra space at the bottom of some pages.
2017-10-14 15:10:36 +00:00
- The `raw` action now sends a 404 if the request page doesn't exist on the wiki.
2017-07-16 09:26:22 +00:00
2017-07-10 21:10:18 +00:00
### Changed
- Make `invindex-rebuild` admin-only, but allow access if the POST param `secret` is set to your secret in `peppermint.json`
2017-07-25 19:09:54 +00:00
- Improved the wording of the deletion confirmation and error pages
2017-09-19 16:32:52 +00:00
- Search now searches matching tags as well as pages
2017-10-15 12:42:15 +00:00
- Updated the search ranking algorithm to put more weight against longer words than shorter ones.
2017-07-10 21:10:18 +00:00
2017-11-23 15:16:08 +00:00
2017-07-09 11:51:17 +00:00
## v0.14
2017-07-04 17:30:44 +00:00
### Changed
- Improve the look of the downloader a bit. More work is needed here, apparently - I haven't touched it in _ages_ !
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!
2017-12-12 23:08:17 +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
2017-12-12 23:08:17 +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.