Commit Graph

107 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 16354b467e
page-edit: fix typo 2024-02-10 19:25:10 +00:00
Starbeamrainbowlabs 46f85c7b0c
page-edit: add missing refresh header 2022-05-26 02:49:18 +01:00
Starbeamrainbowlabs e54bacdcac
page-edit: fix user page permissions check to also occur in the save action 2022-05-26 01:12:51 +01:00
Starbeamrainbowlabs 49a675c042
Return a 409 Conflict instead of a 200 OK on an edit conflict when saving a page in the save action 2022-05-25 23:50:55 +01:00
Starbeamrainbowlabs 42ad55c849
page-edit: XSS 2021-09-03 01:23:42 +01:00
Starbeamrainbowlabs f400da6dce
Page renderer: Automatically run htmlentities() on all titles 2021-09-02 21:34:40 +01:00
Starbeamrainbowlabs 7dd9bd74c4
Add support for creating pages whose name is not yet known - fixes #194 2020-10-25 22:50:03 +00:00
Starbeamrainbowlabs cfd087d919
Add MPL 2.0 short header to core code files 2020-09-23 23:22:39 +01:00
Starbeamrainbowlabs c2e4a04778
Fix #209 2020-08-18 13:49:16 +01:00
Starbeamrainbowlabs 237d10f908
Bugfix: Display link when redirect page sends user to a another page that doesn't exist Note that this only shows for users with permission to edit the target page at the moment. 2020-06-04 19:11:29 +01:00
Starbeamrainbowlabs 83c9d527cb
Bugfix: Squash empty tags when saving an edit to a page 2020-02-04 01:45:14 +00:00
Starbeamrainbowlabs 83bf9acd86
Add tag input autocomplete when editing pages.
Thanks to Awesomplete by @LeaVerou :D
2020-01-26 21:04:39 +00:00
Starbeamrainbowlabs 1602fab2c3
Correctly handle utf-8 in email_user() 2019-12-23 17:39:18 +00:00
Starbeamrainbowlabs d3e83a0aea
page_renderer: Don't generate the page list for the datalist if it's not displayed 2019-12-08 20:27:20 +00:00
Starbeamrainbowlabs 803677ba69
Add id to tags input box on page editor 2019-11-10 15:44:21 +00:00
Starbeamrainbowlabs edf1be5801
Fix a *huge* number of bugs in the new search system, but it's not ready just yet 2019-08-22 21:38:17 +01:00
Starbeamrainbowlabs ce6df06817
Start refactoring the search system to use a new key-value store backend
....but it's not finished yet.

It should improve performance significantly when it's done & optimised, 
as we won't have to load the entire search index into memory & decode it 
just to perform a single query.
2019-08-18 18:52:29 +01:00
Starbeamrainbowlabs 2c474b3ec5
[apidoc] Bugfix: correct typo 2019-08-08 18:29:49 +01:00
Starbeamrainbowlabs 712e95474c
Minify the pageindex by default, but also add a setting to control this 2019-06-01 15:55:48 +01:00
Starbeamrainbowlabs 4f9f1a6cf9
Add support for core sharding to build script 2019-03-02 21:13:41 +00:00
Starbeamrainbowlabs 5b670f5981
Refactor method names in page renderer 2019-01-27 22:56:51 +00:00
Starbeamrainbowlabs a235a99ff3
Bugfix: Pressing enter in the tag box now previews again 2018-09-30 11:35:41 +01:00
Starbeamrainbowlabs 707d1c6853
Add moar docblock comments 2018-05-25 12:07:51 +01:00
Starbeamrainbowlabs f8b6e38b97
Start creating the user table 2018-05-11 23:29:43 +01:00
Starbeamrainbowlabs 3c21f371f6
Add additional headers to save action 2018-04-22 17:58:48 +01:00
Starbeamrainbowlabs 121183a7fd
Update docs again 2018-04-22 15:57:11 +01:00
Starbeamrainbowlabs 21474a311d
Add acquire-edit-lock action & update docs 2018-04-22 15:55:14 +01:00
Starbeamrainbowlabs 3dc505992d
Nuke all usages of utf8_encode, as I misunderstood what it did. 2018-03-18 16:37:25 +00:00
Starbeamrainbowlabs f367237ccc
Update docs 2018-02-14 22:19:11 +00:00
Starbeamrainbowlabs 4f9f3cb395
Make view source message more meaningful when editing is disabled & disallow uploads when editing is disdabled 2017-12-31 23:17:25 +00:00
Starbeamrainbowlabs e5881550f2
Bump version of page-edit 2017-12-10 15:19:20 +00:00
Starbeamrainbowlabs a2c18ce210
Escape stuff more when saving edits - fixes #99 2017-12-10 15:17:13 +00:00
Starbeamrainbowlabs a15085d67d Bugfix moving pages with comments & the login to post a comment button 2017-11-23 15:16:08 +00:00
Starbeamrainbowlabs 59047af5eb Delete todo 2017-11-21 20:11:21 +00:00
Starbeamrainbowlabs 53e97c90ef Add title to new button 2017-11-21 20:09:34 +00:00
Starbeamrainbowlabs bcf562e7ca Add restore locally changed content button 2017-11-21 20:07:50 +00:00
Starbeamrainbowlabs 09a26653c9 Add remote file system 2017-11-13 23:12:13 +00: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
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 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
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 191d5370e0 Make editing textarea automatically expand with it's contents! 2017-03-05 16:15:50 +00:00
Starbeamrainbowlabs 9702343735 Added help section for user pages. 2017-02-18 20:55:25 +00:00
Starbeamrainbowlabs 94e597a895 Restrict editing of user pages correctly. 2017-02-11 15:22:04 +00:00
Starbeamrainbowlabs d4fe19d1ed Begin wiring up settings gui & create settings object generator. 2016-12-11 18:52:53 +00:00