1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-06-18 02:44:55 +00:00
Commit graph

602 commits

Author SHA1 Message Date
Starbeamrainbowlabs 3c21f371f6
Add additional headers to save action 2018-04-22 17:58:48 +01:00
Starbeamrainbowlabs 407d383a12
Added commit hash to debug & configure actions 2018-04-22 17:52:57 +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 46d520644a
Add comments-fetch action for #138 2018-04-17 20:17:10 +01:00
Starbeamrainbowlabs 3b43493bcd
Bugfix: set content-length header correctly 2018-04-17 19:04:26 +01:00
Starbeamrainbowlabs 19c5679461
Add format param support to recentchanges 2018-04-17 18:59:23 +01:00
Starbeamrainbowlabs 79f1ae211e
Add title hint to rebuild search index button 2018-04-07 13:51:41 +01:00
Starbeamrainbowlabs d1a10207d1
Made rebuilding search idnex progress bar fill up completely when done 2018-04-07 13:47:39 +01:00
Starbeamrainbowlabs 259b866ec9
Hyperlink image previews to original image - fixes #153. 2018-04-07 13:38:45 +01:00
Starbeamrainbowlabs 81cd1ad871
Remove accept_contains_mime, as it's unstable 2018-04-06 23:54:57 +01:00
Starbeamrainbowlabs 7a243215ec
Bugfix: Images with captions didn't float correctly. 2018-04-05 09:47:29 +01:00
Starbeamrainbowlabs 1256aff2f6
Bugfix: Correct my url on credits page 2018-04-02 19:51:47 +01:00
Starbeamrainbowlabs dc7183b11e
Merge branch 'master' of github.com:sbrl/Pepperminty-Wiki 2018-04-01 16:34:16 +01:00
Starbeamrainbowlabs 9341e3885e
Add help section for api status 2018-04-01 16:34:06 +01:00
Starbeamrainbowlabs 25a6050768
Fix checklogin api docs 2018-03-30 16:40:29 +01:00
Starbeamrainbowlabs b1de0c3663
Add x-login-success header to login responses 2018-03-30 13:17:06 +01:00
Starbeamrainbowlabs 1c30d2543b
Add minified option to status action 2018-03-27 17:20:58 +01:00
Starbeamrainbowlabs 5af29c133f
Improve HTTP accepts handling & update docs 2018-03-27 16:59:11 +01:00
Starbeamrainbowlabs bd1cad3007
Add page moves to the recent changes page - fixes #151 2018-03-18 21:38:58 +00:00
Starbeamrainbowlabs 893492c5a6
Finish up enhancements to search system.
I _think_ it works with utf-8 everywhere in the search system? I'm not
sure - lots of testing is needed. Fortunately, I know just where to do
such testing.....
2018-03-18 16:52:55 +00:00
Starbeamrainbowlabs 3dc505992d
Nuke all usages of utf8_encode, as I misunderstood what it did. 2018-03-18 16:37:25 +00:00
Starbeamrainbowlabs 24efac3c5e
Enhance utf8 support in id index & search system, but there's more work to be done. 2018-03-18 16:19:13 +00:00
Starbeamrainbowlabs 20e7c9f0fb
Minor update to apidoc comment - not worth rebuilding them over :-) 2018-02-14 23:10:20 +00:00
Starbeamrainbowlabs 90acf38f9d
Add json support to search action! :D 2018-02-14 23:08:28 +00:00
Starbeamrainbowlabs c355c89b30
Fix random action apidoc comment 2018-02-14 22:46:31 +00:00
Starbeamrainbowlabs 5b20df5b3d
Add mode parameter support to random action 2018-02-14 22:36:29 +00:00
Starbeamrainbowlabs f367237ccc
Update docs 2018-02-14 22:19:11 +00:00
Starbeamrainbowlabs 391efeb72b
Comment fix 2018-02-05 15:10:35 +00:00
Starbeamrainbowlabs b493476b5d
Bump version of search module 2018-02-04 13:49:52 +00:00
Starbeamrainbowlabs 0fb79ca68c
Fix forward slashes in search queries 2018-02-04 13:48:11 +00:00
Starbeamrainbowlabs 0dde3c824b
Tentative fix for style warnings when rendering image captions 2018-02-04 13:26:05 +00:00
Starbeamrainbowlabs 160800def9
_Another_ fix for the short embed code box 2018-01-27 13:54:39 +00:00
Starbeamrainbowlabs fba0636938
Bugfix: Fix getsvgsize in some cases 2018-01-27 13:38:53 +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 02585fd960
Bugfix: escape short markdown embed code contents 2017-12-30 13:44:54 +00:00
Starbeamrainbowlabs 30e0a20efa
Add XXD attack discoverer to credits page 2017-12-13 20:30:32 +00:00
Starbeamrainbowlabs 0d4675ea41
Fix XXE DDOs attack when uploading a malicious SVG (ref #152 2017-12-13 20:20:34 +00:00
Starbeamrainbowlabs 582eda24d7
Fix new copy driver on pages without a copy button 2017-12-13 09:48:29 +00:00
Starbeamrainbowlabs e0aeda8b17
Add short markdown embed code input box to file pages 2017-12-12 23:00:29 +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 f9ad937a21 Comment feature-search with phpDoc & update docs 2017-11-20 20:40:59 +00:00
Starbeamrainbowlabs f308493a4a Add title to delete button 2017-11-20 18:49:29 +00:00
Starbeamrainbowlabs 55d27a84b4 Wipe username when deleting comments + delete entriely if no replies are detected 2017-11-19 12:44:58 +00:00
Starbeamrainbowlabs d1cc747a75 Add basic comment deletion 2017-11-19 11:55:32 +00:00
Starbeamrainbowlabs 09a26653c9 Add remote file system 2017-11-13 23:12:13 +00:00
Starbeamrainbowlabs 7bbd2f3328 Roll back first-run changes, as they're now in a branch. 2017-11-13 19:13:46 +00:00
Starbeamrainbowlabs 2d2badbb00 Start creating first-run interface 2017-11-04 21:33:21 +00:00
Starbeamrainbowlabs cbe93dbd23 Added random_page_exclude setting 2017-10-25 23:00:04 +01:00
Starbeamrainbowlabs 7b778ee56f Update apidoc comment about history 2017-10-25 22:45:15 +01:00
Starbeamrainbowlabs edba3b9bf3 Update search to take the length of words into account. Fixes #134. 2017-10-15 13:42:15 +01:00
Starbeamrainbowlabs 73637fe963 Display tag names next to page names in the search results. Fixes #93. 2017-10-14 22:48:58 +01:00
Starbeamrainbowlabs 3409fcc4ca raw action: send a 404 if a page couldn't be found 2017-10-14 16:09:46 +01:00
Starbeamrainbowlabs 3b00f56485 Search tags as well as pages 2017-09-19 17:32:52 +01:00
Starbeamrainbowlabs 6b9692c408 Bump version of page-list module 2017-09-18 22:12:09 +01:00
Starbeamrainbowlabs c79b9f72a4 Reword unsupported format messages & add format support to list action 2017-09-18 22:11:32 +01:00
Starbeamrainbowlabs 4935bb2ecf Add json & plain text formats to list-tags 2017-09-18 22:07:17 +01:00
Starbeamrainbowlabs 425e2854c5 Add some new tag-based stats and a new force param to stats-update 2017-09-16 17:31:30 +01:00
Starbeamrainbowlabs 143e1f847b Improve the look of the stats page 2017-09-16 13:26:12 +01:00
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
Isabeau Kisler 9ed0d666f9 Fix repeated page names on sidebar
Check if page already appears in sidebar.  If so, continue the loop
2017-05-28 10:48:59 -07:00
Starbeamrainbowlabs 7c5da3f6a9 Write initial avatar uploading engine! We've still got a few things left to do, though - like creating infrastructure fort he avatar to actually be used. 2017-05-23 20:31:34 +01:00
Starbeamrainbowlabs adc6b93f6d Reverse the order comments are displayed in 2017-05-22 20:30:26 +01:00
Starbeamrainbowlabs 27c8037506 Fix & finish jump to comments button 2017-05-22 20:01:25 +01:00
Starbeamrainbowlabs bf7583acf1 Add fixme 2017-05-20 16:08:27 +01:00
Starbeamrainbowlabs 6835c77384 Add initial jump to comments link, but it doesn't work yet. 2017-05-20 16:07:42 +01:00
Starbeamrainbowlabs fa1f03f38a Make comment recent changes dislpay more robust 2017-05-20 15:40:59 +01:00
Starbeamrainbowlabs b621c13c03 Add comments to recent changes 2017-05-20 15:18:22 +01:00
Starbeamrainbowlabs 4c57ae8c37 Fix warnings on recent changes page 2017-05-20 15:05:25 +01:00
Starbeamrainbowlabs 06ddf4c454 Fix nasty bug in find_comment 2017-05-20 14:50:17 +01:00
Starbeamrainbowlabs 0f30af6f83 Add comment_time_icon setting and add link to edit master settings from credits 2017-05-20 12:33:26 +01:00
Starbeamrainbowlabs 6969417004 Fix concatenation error 2017-05-16 20:42:15 +01:00
Starbeamrainbowlabs 367b6da149 Refine commenting form some more 2017-05-14 21:51:04 +01:00
Starbeamrainbowlabs d3d56bdaa7 Fix comment replies on the server-side 2017-05-13 17:03:25 +01:00
Starbeamrainbowlabs 83ab6bf5b3 Fix the reply box 2017-05-13 16:37:06 +01:00
Starbeamrainbowlabs d00c6c1b9b Create commenting system for logged in users. It's currently untested! 2017-05-13 15:59:39 +01:00
Starbeamrainbowlabs e2661a5ebb Add stacked bar to show where your space has gone 2017-04-17 14:01:19 +01:00
Starbeamrainbowlabs 725a472880 Move the bottom help section to the top 2017-04-17 12:46:11 +01:00
Starbeamrainbowlabs dac4684c14 Add default param to errorimage() 2017-04-17 12:44:27 +01:00
Starbeamrainbowlabs 96fcbb90de Bugfix: Don't search page titles and tags for stop words 2017-03-23 21:25:55 +00:00
Starbeamrainbowlabs 313bcc7edf Add method to return raw search result information as json 2017-03-23 21:13:20 +00:00
Starbeamrainbowlabs d83bbb3527 Clear out the id index when rebuilding the inverted index - it sometimes goes all funny otherwise, apparently 2017-03-23 20:48:42 +00:00
Starbeamrainbowlabs d19d83d99a Make page names that are redirects italics in search results. 2017-03-20 20:21:25 +00:00
Starbeamrainbowlabs 8404b0cec6 Default to snippet from the page source in search result context generation - some pages may appear when the search terms appear only in the title or tags, and not the page source. 2017-03-20 20:08:56 +00:00
Starbeamrainbowlabs 86ebcf57a0 Link to master settings from user preferences for admins 2017-03-20 19:57:50 +00:00
Starbeamrainbowlabs bdbb40070c Bugfix: Link pages with "'" in their names correctly in page lists 2017-03-09 15:53:29 +00:00
Starbeamrainbowlabs e0cedbf9b7 Monkeypatch new internal link logic 2017-03-09 10:47:25 +00:00
Starbeamrainbowlabs 191d5370e0 Make editing textarea automatically expand with it's contents! 2017-03-05 16:15:50 +00:00
Starbeamrainbowlabs b693953a5c Bugfix: Include the rest of a word in internal links. 2017-02-25 10:57:10 +00:00
Starbeamrainbowlabs 65f7fef345 Add user list action 2017-02-18 21:52:05 +00:00
Starbeamrainbowlabs 9702343735 Added help section for user pages. 2017-02-18 20:55:25 +00:00
Starbeamrainbowlabs 33b39f46d3 Link usernames in recent changesto their respective user pages 2017-02-12 09:55:37 +00:00
Starbeamrainbowlabs 355d6fbb56 Sort the registered actions list on the dev help page 2017-02-11 15:29:25 +00:00
Starbeamrainbowlabs 94e597a895 Restrict editing of user pages correctly. 2017-02-11 15:22:04 +00:00
Starbeamrainbowlabs 0c8d62b5be Tweak user preferences a bit more 2017-02-11 11:58:00 +00:00
Starbeamrainbowlabs 21e49fb87a Bugfix: Fix email address saving. 2017-02-10 19:58:16 +00:00