Commit Graph

438 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 307d1bc889 Document *all* teh things.
Well, _almost_ all teh things :P I'm experimenting with phpDocumentor,
so expect some better module api docs to appear sometime soon :D
2017-09-15 23:06:10 +01:00
Starbeamrainbowlabs 6fd99e5b82 Add « Parent page link to subpages 2017-09-15 17:15:11 +01:00
Starbeamrainbowlabs 041cb241aa Fix statsupdate processingtime bug 2017-09-01 11:32:56 +01:00
Starbeamrainbowlabs f393fa88ea Fix bugs on file upload page 2017-08-27 16:48:36 +01:00
Starbeamrainbowlabs 179c4b500d Escape html in search result previews 2017-08-26 12:40:33 +01:00
Starbeamrainbowlabs ca5b16727e Enable automatic recalculation of statistics 2017-08-14 18:48:51 +01:00
Starbeamrainbowlabs ecd155c4d4 Moar htmlentities calls 2017-07-29 10:50:42 +01:00
Starbeamrainbowlabs a90b72e3ad Use rawurlencode / htmlentities in more places 2017-07-29 10:44:58 +01:00
Isabeau Kisler 285d39e2ac Fix file preview paths (#147)
* Catch errors when uploading files
Check if error code is greater than 0, and generate appropriate error message.

* Fix File Preview Paths
In cases where the wiki does not sit in the root directory, grab the current filepath of the request and use that to generate a valid filepath.

* Reworded error a bit

* Fix File Preview Paths

Adjust this to work with both relative and absolute file paths
2017-07-29 10:31:23 +01:00
Starbeamrainbowlabs 00848d8a30 Delete a page's comments when deleting the page itself - fixes #144 2017-07-25 20:09:54 +01:00
Starbeamrainbowlabs 3266e39e03 Fix opensearch description 2017-07-16 10:26:22 +01:00
Starbeamrainbowlabs 111a8b9707 Display stats in a human-friendly manner :D 2017-07-14 22:13:13 +01:00
Starbeamrainbowlabs 8c7b021865 Update comments docs 2017-07-14 21:28:28 +01:00
Starbeamrainbowlabs 12a7d9fd14 Implement wanted pages statistics! Yay! I've been looking forward to this mya
It's faster than I thought it would be too :D
2017-07-14 21:22:37 +01:00
Starbeamrainbowlabs a63d83bc34 Make stats-update accept the site secret as a POST param 2017-07-14 20:35:55 +01:00
Starbeamrainbowlabs dc2aaf2854 Make stats-update admin-only - site secret support still needs to be added. 2017-07-13 22:12:12 +01:00
Starbeamrainbowlabs 9021afe851 Create statistics calculation core. More statistics coming soon! Personally, I'm most excited about the most wanted pages....! :D 2017-07-13 20:48:57 +01:00
Starbeamrainbowlabs 1236ce8e4d Add search index rebuilding action to master settings screen 2017-07-11 20:21:20 +01:00
Starbeamrainbowlabs 576b293c4e Update apidoc comment & changelog 2017-07-10 22:10:18 +01:00
Starbeamrainbowlabs 80158541cb Make invindex-rebuild admin only, but allow access via a POST request with the secret attached 2017-07-10 22:06:41 +01:00
Starbeamrainbowlabs c2dcf43bc2 Add progress to invindex-rebuild - ready for addition to the master control panel 2017-07-10 21:53:52 +01:00
Starbeamrainbowlabs e3fcecdc1a Fix small bug in new preview function.
https://github.com/sbrl/Pepperminty-Wiki/pull/140#issuecomment-31269952
2017-07-03 18:33:25 +01:00
Starbeamrainbowlabs 7e14eb609a Bump version of page-edit module after PR 2017-07-03 18:23:22 +01:00
Starbeamrainbowlabs 356d9c3982 Update credits & changelog after merging PR 2017-07-03 18:21:07 +01:00
Starbeamrainbowlabs 51cea83402 Merge branch ikisler's preview-changes branch into master 2017-07-03 18:14:27 +01:00
Starbeamrainbowlabs e9381da756 Fix permissions 2017-07-03 18:05:57 +01:00
Isabeau Kisler 070afff19b Add preview functionality -- actually change preview message this time 2017-07-02 14:15:20 -07:00
Isabeau Kisler 8eee12bd6b Add page preview functionality -- more tweaks
Change order of save and preview buttons, tweak HTML and styling for preview message.
2017-07-02 13:14:50 -07:00
Isabeau Kisler 5e51ebf213 Add preview page -- Make changes based on code review
Adjust styles, add preview header, change underbar to dash.
2017-06-28 22:33:57 -07:00
Starbeamrainbowlabs 57acbc85b8 Add rawurlencode() calls everywhere in the redirect logic to fix #139 2017-06-28 11:42:11 +01:00
Starbeamrainbowlabs 4ea4315c5a Allow access to opensearch-description when not logged in, and make opsearch description use search-redirect 2017-06-28 11:21:42 +01:00
Starbeamrainbowlabs 60ebd1340c Improve dynamic page suggestions, and add option to output OpenSearch-compatible search suggestions 2017-06-28 10:44:44 +01:00
Starbeamrainbowlabs eb137df2b4 Fix apidoc comments & update api docs 2017-06-28 09:45:13 +01:00
Isabeau Kisler c478f50f68 Add preview page edit functionality
Make changes to edit action, add preview_edit action, adjust styles
2017-06-27 22:44:05 -07:00
Starbeamrainbowlabs 7a326cb52f Add api status action for #138 2017-06-26 11:36:49 +01:00
Starbeamrainbowlabs 9c5f5d12a4 Add avatars to comments 2017-06-18 16:21:08 +01:00
Starbeamrainbowlabs cf866e92c5 Fix bug in avatar action 2017-06-18 16:21:01 +01:00
Starbeamrainbowlabs 967eb1ad13 Add section to help on commenting 2017-06-18 15:53:21 +01:00
Starbeamrainbowlabs e01f8d9852 Add help section on avatars 2017-06-18 15:29:25 +01:00
Starbeamrainbowlabs a5b8bad725 Send the last-modified header with the view action 2017-06-18 14:54:52 +01:00
Starbeamrainbowlabs 6bc2259139 Send last-modified header with generatetd previews 2017-06-18 14:52:04 +01:00
Starbeamrainbowlabs 4aea4e64ca Add avatars to page history 2017-06-18 14:18:14 +01:00
Starbeamrainbowlabs 1dde8b0d97 Fix link in recent changes to avatar uploads 2017-06-18 14:16:03 +01:00
Starbeamrainbowlabs 3fe64ef3c6 Fix insivible warning when uploading avatar 2017-06-18 14:13:38 +01:00
Starbeamrainbowlabs 9abda2f323 Add link to avatar upload to user preferences page 2017-06-18 14:10:58 +01:00
Starbeamrainbowlabs 2e1e6a5b2b Add avatar action 2017-06-17 16:40:48 +01:00
Starbeamrainbowlabs 1b25416b6b Tweak & update avatar upload logic - we're nearly there~! :D 2017-06-17 15:36:11 +01:00
Starbeamrainbowlabs dbc9488129 Add ikisler to credits 2017-06-06 21:46:13 +01:00
Starbeamrainbowlabs 677e1340aa Fight the build system to make open search work. I win! I should really consider upgrading it though. 2017-06-06 21:33:11 +01:00
Starbeamrainbowlabs e2f87f80de Tweak the formatting of the new code
I'm just picky ;-)
2017-05-28 19:42:17 +01:00