1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-26 17:33:01 +00:00
Commit graph

900 commits

Author SHA1 Message Date
4f9f1a6cf9
Add support for core sharding to build script 2019-03-02 21:13:41 +00:00
4de995761d
Fix a bunch of serenata errors 2019-03-02 13:49:12 +00:00
d6c56feb1d
Download extra files in the pseudo-module_register(), and then pack 'em in the packer 2019-03-02 13:32:12 +00:00
501d6a1c9c
Assume that the extra data directory exists in modules.
We can get the module registration system to automatically prepare the 
requested files
2019-03-02 13:04:30 +00:00
7cd57c894f
Use a clever hack to get the file descriptor of the ZipArchive and peel the data out.
Not sure if it'll work yet though, as we've run into a bit of a snag 
with the module loading.....
2019-03-02 12:24:11 +00:00
e93417f171
Start working on a new extra_data system, but it's not finished yet.
Warning: Everything's broken! If you want to use the latest master, please use the commit before this one.
2019-02-26 23:01:09 +00:00
a3330829cb
Bump module versions & go over documentation comments 2019-02-10 23:18:34 +00:00
0f79a8ec13
Bugfix new cache id system 2019-02-10 23:08:16 +00:00
a5563bb458
Add title to internal links, and refactor page cache id generation 2019-02-10 23:01:01 +00:00
97c9fdbda9
Bugfix: Link to user pages correctly in the recent changes feed 2019-02-03 16:35:38 +00:00
d51c3f163f
Bugfix: Include uploaded files when exporting 2019-01-31 21:41:13 +00:00
dc860acfd3
Tidy up page-view module code 2019-01-30 21:34:24 +00:00
1cb30b28ca
Bugfix & put page_renderer::add_header_html to use 2019-01-27 23:12:39 +00:00
5b670f5981
Refactor method names in page renderer 2019-01-27 22:56:51 +00:00
1765f410e6
[recent-changes] Add new page size & size difference 2019-01-24 23:54:27 +00:00
91a9c44b8f
Bugfix: Don't throw warnings if interwiki links aren't configured 2019-01-24 23:47:43 +00:00
14a7040646
Advertise recent changes alternate formats 2019-01-24 21:15:23 +00:00
524efcc43d
Add helpful comment for the future 2019-01-24 20:56:25 +00:00
33153094b1
Bugfix find_revisionid_timestamp 2019-01-24 20:51:23 +00:00
5da517fbe1
Bugfix recent changes atom feed 2019-01-24 20:47:16 +00:00
96b632ff56
Recent changes: Implement atom feed. Untested! 2019-01-24 20:30:20 +00:00
242f197ccf
Add offset & count to recent-changes action 2019-01-24 18:25:10 +00:00
e715c2049f
Add CSV support to the recent-changes action 2019-01-24 18:18:20 +00:00
a541a0cac0
Add more to interwiki links help section 2019-01-05 22:13:42 +00:00
79ee2455e9
Fill out interwiki help section 2019-01-05 22:11:28 +00:00
08a0cf2c2e
Formatting 2019-01-05 21:44:24 +00:00
3592a132e9
Fix a bunch of bugs with the new interwiki module 2019-01-05 21:28:47 +00:00
fafd5f6f03
Bugfix: Insert missing $ sign 2019-01-05 17:55:59 +00:00
4cb1abb231
Change {{{@}}} to output a message instead of not parsing at all 2019-01-05 17:51:51 +00:00
ba324ed814
Document the internal link syntax.
Next up: Testing it all I think!
2019-01-05 17:48:27 +00:00
76263f770c
Make interwiki_* functions not crash if the interwiki index hasn't been configured yet 2019-01-05 17:10:46 +00:00
4bf7881e5c
[parser] Simplify code by removing if statement 2019-01-05 16:23:12 +00:00
08ff3772b3
Add is_interwiki_link method 2019-01-05 13:04:52 +00:00
075b2e0966
Create initial interwiki link API.
New functions:
 - interwiki_pagename_parse
 - interwiki_pagename_resolve
 - interwiki_get_pagename_url
2019-01-03 22:34:55 +00:00
8a07cee077
Fix build error 2019-01-03 20:46:31 +00:00
9f7d044bf4
Throw not implemented exception 2019-01-02 23:58:13 +00:00
f9995072e1
Start writing interwiki module, but it's not finished yet 2019-01-01 18:53:30 +00:00
77112ec7d3
Bump version & update changelog 2018-10-31 16:38:56 +00:00
3a2d74227d
Bugfix: Set the history revision number 0 if no previous revisions exist
(Thanks again, @tspivey!)
2018-10-31 16:36:37 +00:00
e0278bb5fd
Add credit to @tspivey for more bug reports 2018-10-31 15:10:13 +00:00
f69c74fcd0
It's time for v0.17! 😺 🎆 2018-10-20 17:25:12 +01:00
197d065266
Restrict new hidden hash-cost-test action to moderators or better 2018-09-30 14:50:35 +01:00
57ec8b82b5
Bugfix: Fix inadvertent cost-climbing when recalculating the password hashing cost 2018-09-30 14:47:54 +01:00
a235a99ff3
Bugfix: Pressing enter in the tag box now previews again 2018-09-30 11:35:41 +01:00
c7d7de3d7e
Don't include semicolons in greedy internal links 2018-09-29 23:40:23 +01:00
39098ac0fb
Display an ellipsis at the beginning of a search context if it doesn't start at the beginning of a page 2018-09-29 13:32:17 +01:00
24775724d1
Bugfix: Correctly calculate the end offset of search context snippets 2018-09-29 13:27:17 +01:00
284b404946
Typos in comments 2018-09-12 21:27:51 +01:00
b613d2b2dc
Add moar icons to nav & more menus 2018-07-03 12:54:57 +01:00
3581cc1437
Handle reversions in recent changes - for #78 2018-07-03 12:28:01 +01:00
b31301be38
Implement history_max_revisions setting 2018-07-03 12:15:16 +01:00
819489a7fb
Bugfix: Correct is logged in check when restoring page revisions 2018-07-03 11:57:53 +01:00
6e7698b4a9
Bugfix: Display all revisions on page history page 2018-07-03 11:54:54 +01:00
fffadb829a
Add history-revert action, but it isn't tested yet. 2018-07-02 23:44:10 +01:00
2853cf4da5
Add link to user table on credits page
Also fix a typo in the API status module description
2018-07-02 12:23:11 +01:00
10b374871f
Improve image caption help text 2018-07-01 20:56:08 +01:00
0e3104415a
Add random_page_exclude_redirects setting - fixes #159 2018-07-01 13:33:42 +01:00
31d555f482
Bump version of search module 2018-07-01 12:14:06 +01:00
1f6f780177
Restyle matching tags in search results 2018-06-30 11:46:07 +01:00
8955d6d131
Save the character offset, not the token offset in the inverted index 2018-06-30 11:19:38 +01:00
cdee30c286
Add $capture_offsets option to tokenize().
TODO: Utilise this in the indexer & update the changelog mentioning that
_all_ inverted indexes will need to be rebuilt
2018-06-30 00:08:57 +01:00
8403ffd5c3
Bugfix: Increment $i when we hit a stop word when indexing.
There's also another bug here - in that the offsets generated contain
are the index in the array of tokens, when we need it to be the index in
the source text!
2018-06-29 23:51:10 +01:00
9d7a21e993
Format the index action nicely 2018-06-29 12:08:38 +01:00
19e49777b2
Search System; Don't bother getting a page's id if we don't need to 2018-06-26 14:28:11 +01:00
3d3b6c491a
Seriously optimise the search system via some profiling. 2018-06-26 14:15:19 +01:00
67648199d7
Add search time header for analysis purposes 2018-06-26 00:11:01 +01:00
75b6b6c55f
Optimise the search context extractor, but evediently there's more work to be done. 2018-06-26 00:06:20 +01:00
93494b6729
Transliterate in the suggest-pages action too 2018-06-25 23:03:00 +01:00
49b91aa6f9
Search: Transliterate characters so you don't have to remember the diacritics when searching 2018-06-25 22:53:53 +01:00
707d1c6853
Add moar docblock comments 2018-05-25 12:07:51 +01:00
b6eda24ada
Implement user deleting 2018-05-15 23:25:39 +01:00
f7f408280f
Add nice title comment :D 2018-05-15 19:40:46 +01:00
4e9882d6dd
Bugfix user table unauthorised message 2018-05-15 19:38:32 +01:00
8927674b5a
Add apidoc comments for new usertable actions 2018-05-15 19:32:45 +01:00
b4a25438d5
Add set-password action 2018-05-15 19:28:26 +01:00
b367ef42b0
Fix typo 2018-05-15 17:59:43 +01:00
f95e482d85
Link to usertable in guiconfig 2018-05-13 23:37:26 +01:00
5961d11e76
Make sure the user actually exists before checking their password 2018-05-13 17:13:25 +01:00
2339505194
Finish user-add implementation, but it's not tested yet 2018-05-12 17:25:26 +01:00
269fa8f83c
Validate the new user's username & email address 2018-05-11 23:41:25 +01:00
f8b6e38b97
Start creating the user table 2018-05-11 23:29:43 +01:00
4abe3ecc29
Update the user preferences to support the new password hashing system 2018-05-11 11:41:40 +01:00
62dff18b4d
Comment verify_password 2018-05-11 11:36:29 +01:00
c64aaa72db
Bugfix the login system changes. It works!
The issue was actually in that I hadn't created a password_verify
wrapper
2018-05-11 11:34:57 +01:00
d5b37e3ec0
Bugfix sessionprefix and password hashing, but it's still not working right. 2018-05-11 00:18:21 +01:00
ae8412ddaf
Bugfix automatic password hash recalculation 2018-05-10 23:59:41 +01:00
e0f53fccc7
Update the hash action to display algorithm name from settings 2018-05-10 23:38:11 +01:00
41ea63281c
Skip the password hashing cost recheck if it's been disabled 2018-05-10 23:30:00 +01:00
1cc92ba260
Automate password cost checking 2018-05-10 23:28:08 +01:00
8010770fd4
It's time to get serious with password hashing.
I've left this far to long. Now for the testing.....
2018-05-10 23:03:26 +01:00
d8ee42f5dd
Make longest pages statistic use page-list too 2018-04-28 11:14:32 +01:00
1f190da2df
Make orphan pages list use page-list statistic type
Also add count to page-list
2018-04-28 11:06:23 +01:00
72825f8755
Sort orphan pages statistic in the right direction 2018-04-28 11:01:57 +01:00
de61612b18
Add most linked-to pages statistic 2018-04-28 10:59:08 +01:00
be1fa80959
Enhance display of orphaned pages list 2018-04-26 23:51:41 +01:00
c6a3ce16df
Add orphan pages statistic 2018-04-26 23:27:44 +01:00
0c00cf3631
Add user count and redirect page count statistics 2018-04-26 23:20:52 +01:00
6fc44b7404
Refactor wanted pages statistic calculator to make adding new statistics easier 2018-04-26 23:14:35 +01:00
3c21f371f6
Add additional headers to save action 2018-04-22 17:58:48 +01:00
407d383a12
Added commit hash to debug & configure actions 2018-04-22 17:52:57 +01:00
121183a7fd
Update docs again 2018-04-22 15:57:11 +01:00
21474a311d
Add acquire-edit-lock action & update docs 2018-04-22 15:55:14 +01:00
46d520644a
Add comments-fetch action for #138 2018-04-17 20:17:10 +01:00
3b43493bcd
Bugfix: set content-length header correctly 2018-04-17 19:04:26 +01:00
19c5679461
Add format param support to recentchanges 2018-04-17 18:59:23 +01:00
79f1ae211e
Add title hint to rebuild search index button 2018-04-07 13:51:41 +01:00
d1a10207d1
Made rebuilding search idnex progress bar fill up completely when done 2018-04-07 13:47:39 +01:00
259b866ec9
Hyperlink image previews to original image - fixes #153. 2018-04-07 13:38:45 +01:00
81cd1ad871
Remove accept_contains_mime, as it's unstable 2018-04-06 23:54:57 +01:00
7a243215ec
Bugfix: Images with captions didn't float correctly. 2018-04-05 09:47:29 +01:00
1256aff2f6
Bugfix: Correct my url on credits page 2018-04-02 19:51:47 +01:00
dc7183b11e
Merge branch 'master' of github.com:sbrl/Pepperminty-Wiki 2018-04-01 16:34:16 +01:00
9341e3885e
Add help section for api status 2018-04-01 16:34:06 +01:00
25a6050768
Fix checklogin api docs 2018-03-30 16:40:29 +01:00
b1de0c3663
Add x-login-success header to login responses 2018-03-30 13:17:06 +01:00
1c30d2543b
Add minified option to status action 2018-03-27 17:20:58 +01:00
5af29c133f
Improve HTTP accepts handling & update docs 2018-03-27 16:59:11 +01:00
bd1cad3007
Add page moves to the recent changes page - fixes #151 2018-03-18 21:38:58 +00:00
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
3dc505992d
Nuke all usages of utf8_encode, as I misunderstood what it did. 2018-03-18 16:37:25 +00:00
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
20e7c9f0fb
Minor update to apidoc comment - not worth rebuilding them over :-) 2018-02-14 23:10:20 +00:00
90acf38f9d
Add json support to search action! :D 2018-02-14 23:08:28 +00:00
c355c89b30
Fix random action apidoc comment 2018-02-14 22:46:31 +00:00
5b20df5b3d
Add mode parameter support to random action 2018-02-14 22:36:29 +00:00
f367237ccc
Update docs 2018-02-14 22:19:11 +00:00
391efeb72b
Comment fix 2018-02-05 15:10:35 +00:00
b493476b5d
Bump version of search module 2018-02-04 13:49:52 +00:00
0fb79ca68c
Fix forward slashes in search queries 2018-02-04 13:48:11 +00:00
0dde3c824b
Tentative fix for style warnings when rendering image captions 2018-02-04 13:26:05 +00:00
160800def9
_Another_ fix for the short embed code box 2018-01-27 13:54:39 +00:00
fba0636938
Bugfix: Fix getsvgsize in some cases 2018-01-27 13:38:53 +00:00
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
02585fd960
Bugfix: escape short markdown embed code contents 2017-12-30 13:44:54 +00:00
30e0a20efa
Add XXD attack discoverer to credits page 2017-12-13 20:30:32 +00:00
0d4675ea41
Fix XXE DDOs attack when uploading a malicious SVG (ref #152 2017-12-13 20:20:34 +00:00
582eda24d7
Fix new copy driver on pages without a copy button 2017-12-13 09:48:29 +00:00
e0aeda8b17
Add short markdown embed code input box to file pages 2017-12-12 23:00:29 +00:00
e5881550f2
Bump version of page-edit 2017-12-10 15:19:20 +00:00
a2c18ce210
Escape stuff more when saving edits - fixes #99 2017-12-10 15:17:13 +00:00
a15085d67d Bugfix moving pages with comments & the login to post a comment button 2017-11-23 15:16:08 +00:00
59047af5eb Delete todo 2017-11-21 20:11:21 +00:00
53e97c90ef Add title to new button 2017-11-21 20:09:34 +00:00
bcf562e7ca Add restore locally changed content button 2017-11-21 20:07:50 +00:00
f9ad937a21 Comment feature-search with phpDoc & update docs 2017-11-20 20:40:59 +00:00
f308493a4a Add title to delete button 2017-11-20 18:49:29 +00:00
55d27a84b4 Wipe username when deleting comments + delete entriely if no replies are detected 2017-11-19 12:44:58 +00:00
d1cc747a75 Add basic comment deletion 2017-11-19 11:55:32 +00:00
09a26653c9 Add remote file system 2017-11-13 23:12:13 +00:00
7bbd2f3328 Roll back first-run changes, as they're now in a branch. 2017-11-13 19:13:46 +00:00
2d2badbb00 Start creating first-run interface 2017-11-04 21:33:21 +00:00
cbe93dbd23 Added random_page_exclude setting 2017-10-25 23:00:04 +01:00
7b778ee56f Update apidoc comment about history 2017-10-25 22:45:15 +01:00
edba3b9bf3 Update search to take the length of words into account. Fixes #134. 2017-10-15 13:42:15 +01:00
73637fe963 Display tag names next to page names in the search results. Fixes #93. 2017-10-14 22:48:58 +01:00
3409fcc4ca raw action: send a 404 if a page couldn't be found 2017-10-14 16:09:46 +01:00
3b00f56485 Search tags as well as pages 2017-09-19 17:32:52 +01:00
6b9692c408 Bump version of page-list module 2017-09-18 22:12:09 +01:00
c79b9f72a4 Reword unsupported format messages & add format support to list action 2017-09-18 22:11:32 +01:00
4935bb2ecf Add json & plain text formats to list-tags 2017-09-18 22:07:17 +01:00
425e2854c5 Add some new tag-based stats and a new force param to stats-update 2017-09-16 17:31:30 +01:00
143e1f847b Improve the look of the stats page 2017-09-16 13:26:12 +01:00
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
6fd99e5b82 Add « Parent page link to subpages 2017-09-15 17:15:11 +01:00
041cb241aa Fix statsupdate processingtime bug 2017-09-01 11:32:56 +01:00
f393fa88ea Fix bugs on file upload page 2017-08-27 16:48:36 +01:00
179c4b500d Escape html in search result previews 2017-08-26 12:40:33 +01:00
ca5b16727e Enable automatic recalculation of statistics 2017-08-14 18:48:51 +01:00
ecd155c4d4 Moar htmlentities calls 2017-07-29 10:50:42 +01:00
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
00848d8a30 Delete a page's comments when deleting the page itself - fixes #144 2017-07-25 20:09:54 +01:00
3266e39e03 Fix opensearch description 2017-07-16 10:26:22 +01:00
111a8b9707 Display stats in a human-friendly manner :D 2017-07-14 22:13:13 +01:00
8c7b021865 Update comments docs 2017-07-14 21:28:28 +01:00
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
a63d83bc34 Make stats-update accept the site secret as a POST param 2017-07-14 20:35:55 +01:00
dc2aaf2854 Make stats-update admin-only - site secret support still needs to be added. 2017-07-13 22:12:12 +01:00
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
1236ce8e4d Add search index rebuilding action to master settings screen 2017-07-11 20:21:20 +01:00
576b293c4e Update apidoc comment & changelog 2017-07-10 22:10:18 +01:00
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
c2dcf43bc2 Add progress to invindex-rebuild - ready for addition to the master control panel 2017-07-10 21:53:52 +01:00
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
7e14eb609a Bump version of page-edit module after PR 2017-07-03 18:23:22 +01:00
356d9c3982 Update credits & changelog after merging PR 2017-07-03 18:21:07 +01:00
51cea83402 Merge branch ikisler's preview-changes branch into master 2017-07-03 18:14:27 +01:00
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
57acbc85b8 Add rawurlencode() calls everywhere in the redirect logic to fix #139 2017-06-28 11:42:11 +01:00
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
60ebd1340c Improve dynamic page suggestions, and add option to output OpenSearch-compatible search suggestions 2017-06-28 10:44:44 +01:00
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
7a326cb52f Add api status action for #138 2017-06-26 11:36:49 +01:00
9c5f5d12a4 Add avatars to comments 2017-06-18 16:21:08 +01:00
cf866e92c5 Fix bug in avatar action 2017-06-18 16:21:01 +01:00
967eb1ad13 Add section to help on commenting 2017-06-18 15:53:21 +01:00
e01f8d9852 Add help section on avatars 2017-06-18 15:29:25 +01:00
a5b8bad725 Send the last-modified header with the view action 2017-06-18 14:54:52 +01:00
6bc2259139 Send last-modified header with generatetd previews 2017-06-18 14:52:04 +01:00
4aea4e64ca Add avatars to page history 2017-06-18 14:18:14 +01:00
1dde8b0d97 Fix link in recent changes to avatar uploads 2017-06-18 14:16:03 +01:00
3fe64ef3c6 Fix insivible warning when uploading avatar 2017-06-18 14:13:38 +01:00
9abda2f323 Add link to avatar upload to user preferences page 2017-06-18 14:10:58 +01:00
2e1e6a5b2b Add avatar action 2017-06-17 16:40:48 +01:00
1b25416b6b Tweak & update avatar upload logic - we're nearly there~! :D 2017-06-17 15:36:11 +01:00
dbc9488129 Add ikisler to credits 2017-06-06 21:46:13 +01:00
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
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
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
adc6b93f6d Reverse the order comments are displayed in 2017-05-22 20:30:26 +01:00
27c8037506 Fix & finish jump to comments button 2017-05-22 20:01:25 +01:00
bf7583acf1 Add fixme 2017-05-20 16:08:27 +01:00
6835c77384 Add initial jump to comments link, but it doesn't work yet. 2017-05-20 16:07:42 +01:00
fa1f03f38a Make comment recent changes dislpay more robust 2017-05-20 15:40:59 +01:00
b621c13c03 Add comments to recent changes 2017-05-20 15:18:22 +01:00
4c57ae8c37 Fix warnings on recent changes page 2017-05-20 15:05:25 +01:00
06ddf4c454 Fix nasty bug in find_comment 2017-05-20 14:50:17 +01:00
0f30af6f83 Add comment_time_icon setting and add link to edit master settings from credits 2017-05-20 12:33:26 +01:00
6969417004 Fix concatenation error 2017-05-16 20:42:15 +01:00
367b6da149 Refine commenting form some more 2017-05-14 21:51:04 +01:00
d3d56bdaa7 Fix comment replies on the server-side 2017-05-13 17:03:25 +01:00
83ab6bf5b3 Fix the reply box 2017-05-13 16:37:06 +01:00
d00c6c1b9b Create commenting system for logged in users. It's currently untested! 2017-05-13 15:59:39 +01:00
e2661a5ebb Add stacked bar to show where your space has gone 2017-04-17 14:01:19 +01:00
725a472880 Move the bottom help section to the top 2017-04-17 12:46:11 +01:00
dac4684c14 Add default param to errorimage() 2017-04-17 12:44:27 +01:00
96fcbb90de Bugfix: Don't search page titles and tags for stop words 2017-03-23 21:25:55 +00:00
313bcc7edf Add method to return raw search result information as json 2017-03-23 21:13:20 +00:00
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
d19d83d99a Make page names that are redirects italics in search results. 2017-03-20 20:21:25 +00:00
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
86ebcf57a0 Link to master settings from user preferences for admins 2017-03-20 19:57:50 +00:00
bdbb40070c Bugfix: Link pages with "'" in their names correctly in page lists 2017-03-09 15:53:29 +00:00
e0cedbf9b7 Monkeypatch new internal link logic 2017-03-09 10:47:25 +00:00
191d5370e0 Make editing textarea automatically expand with it's contents! 2017-03-05 16:15:50 +00:00
b693953a5c Bugfix: Include the rest of a word in internal links. 2017-02-25 10:57:10 +00:00
65f7fef345 Add user list action 2017-02-18 21:52:05 +00:00
9702343735 Added help section for user pages. 2017-02-18 20:55:25 +00:00
33b39f46d3 Link usernames in recent changesto their respective user pages 2017-02-12 09:55:37 +00:00
355d6fbb56 Sort the registered actions list on the dev help page 2017-02-11 15:29:25 +00:00
94e597a895 Restrict editing of user pages correctly. 2017-02-11 15:22:04 +00:00
0c8d62b5be Tweak user preferences a bit more 2017-02-11 11:58:00 +00:00
21e49fb87a Bugfix: Fix email address saving. 2017-02-10 19:58:16 +00:00
23a2e24238 Finish user preferences email address saving 2017-02-10 19:55:56 +00:00
3d728542fb More user preferences stuff for #128 2017-01-26 20:59:04 +00:00
5d9e464ce5 Improve search performance - fixes #130 2017-01-26 20:55:46 +00:00
50140cbf18 Improve help page description for random redirector 2017-01-02 21:25:18 +00:00
433b83072a Bump versions & tweak help page ordering a bit 2017-01-02 20:39:52 +00:00
3e58a7b03d Add conditional user preferences section to help page. 2017-01-02 20:38:18 +00:00
abfeea06a8 Move password changing apidoc comment 2017-01-02 20:25:46 +00:00
103889d41c Bugfix: Push page path through makepathsafe when detecting redlinks 2016-12-26 18:30:29 +00:00
fafaf397e9 Bugfix: Make password chainging work. 2016-12-23 18:06:04 +00:00
3358b8b100 Implement (untested) backend for password changing 2016-12-21 22:03:38 +00:00
8f7a111b48 Improve the last edited message in the footer. 2016-12-17 20:59:04 +00:00
51b37ee55b Begin creating a user preferences page! :D 2016-12-16 21:29:55 +00:00
7ba0d62cc8 Update users object to support storing arbitrary data. 2016-12-12 18:38:26 +00:00
16f5e8fa2c Improve settings configuration UI text 2016-12-11 19:28:03 +00:00
d4fe19d1ed Begin wiring up settings gui & create settings object generator. 2016-12-11 18:52:53 +00:00
75e68e3f53 Create random action 2016-12-07 20:40:16 +00:00
Starbeamrainbowlabs
1fe9ffd775 Make dynaimc page suggestor faster. Fixes #124. 2016-11-28 14:05:23 +01:00
99030913fe Correct error messag when moving a page - fixes #121. 2016-11-25 19:34:20 +00:00
46e89762af Bump version of feature-search 2016-11-20 13:28:35 +00:00
44e2348ab2 Add initial dynamic page suggestions. Works better in Firefox than chrome - implements idea in #113 2016-11-20 13:24:35 +00:00
312de4b341 Add tab indexing to file upload form. Fixes #120 2016-11-20 09:41:23 +00:00
f07cd96691 Bugfix: Tag link escaping at the bottom of every page 2016-11-06 20:51:32 +00:00
0c625cd3da Bugfx: Correct new JS api. 2016-11-05 14:08:50 +00:00
9d25376d82 Correct spelling mistake 2016-11-03 20:29:15 +00:00
b7f85b774e Improved recent changes links a bit. 2016-11-02 17:51:00 +00:00
e5d56badf3 Finish gui settings display. Currently it doesn't read them back in again. 2016-10-30 10:50:38 +00:00
fc87997f77 Create new JS snippet API 2016-10-30 10:06:46 +00:00
81bcef9a24 Improve search engine indexer. Fixes #117.
It is now more liberal when deciding on word boundaries.
2016-10-25 21:12:39 +01:00
b7b34bff16 Don'tr estore content if there's something in the editor already. 2016-10-22 16:48:21 +01:00
d3b6b1c54e Add 'smart save' feature to page creator.
Never again will people loose their work.
2016-10-22 16:43:53 +01:00
49a1153083 Fix bug in update action api docs. 2016-10-19 07:30:59 +01:00
cb75928bd0 Bugfix: Fix undefined index in page view 2016-10-18 19:32:06 +01:00
2eacd31577 Add additional types to gui generator. 2016-10-18 19:08:46 +01:00
52569bbab2 Correct spelling in comment 2016-10-18 19:08:46 +01:00
286f2b72f0 Start work on gui by creating module & setting things up. 2016-10-18 19:08:34 +01:00
9caadadc66 Link images to their sources, properly handling short image urls. Fixes #111. 2016-10-18 19:08:34 +01:00
53f4f2227d Trim the image url before short url detection. Fixes #108. 2016-10-18 19:08:12 +01:00
f267c9d5a0 Add header to upload file page 2016-10-18 19:07:44 +01:00
4dffd8d1cd Bugfix: Always display the footer message at the bottom of the page. 2016-10-18 19:06:47 +01:00
73a09e8365 Bump versions of modules. 2016-10-18 18:58:19 +01:00
6780ce18bb Enforce day separator on recent changes page mroe strongly. Fixes #110. 2016-10-18 18:57:29 +01:00
6476877c60 Attempted to implement Opensearch (#112), but it doesn't work :/ 2016-10-18 18:57:24 +01:00
9f2efb2c02 Correct rendering of recent changes list. Fixes #106. 2016-10-18 18:54:55 +01:00
06a3a4a19f Suggest appropriate filename when saving a generated preview image. Fixes #105. 2016-10-18 18:54:24 +01:00
673fe033ee Bugfix: Recent changes break when the number of changes reach $settings->max_recent_changes. Fixes #104. 2016-10-18 18:51:14 +01:00
eace10e497 Cleanup: Delete rogue exit() call from raw action 2016-10-18 18:47:41 +01:00
9883b58379 Bugfix: Clear up a bunch of issues with the recent history overhaul. 2016-10-18 18:46:41 +01:00
dfeb2a9399 Added history support to the raw action. 2016-10-18 18:38:34 +01:00
0253ab6c0e Moved history logic to core & tied it in with $env.
Also fixed a few bugs in view & upgraded the display mode.
2016-10-18 18:34:27 +01:00
f18da4858b Remove full stop from apidoc comment 2016-08-26 17:55:50 +01:00
d9b5bdfb3e Add debug idindex-show action. 2016-08-26 17:47:46 +01:00
3ddd63909e Redirect the user if they have already logged in. Fixes #102. 2016-08-24 19:12:37 +01:00
28f79e5e2d Fix spelling mistake on file preview pages 2016-08-22 17:46:13 +01:00
6267fe79d4 Autofill the name box on the file upload page when a new file is selected 2016-08-22 17:24:22 +01:00
2861731c83 Fiddle with the file uploader to fix #100. 2016-08-22 14:56:34 +01:00
215fe4461a Added broken bar character support to the image syntax 2016-08-22 11:14:49 +01:00
4accd65ca8 Bump verion of parser 2016-08-22 09:40:37 +01:00
181d7f95da Add more comment headings to parser 2016-08-22 09:40:17 +01:00
31999e2627 Added the broken bar character (¦) as an alternative internal link / template splitting character. 2016-08-22 09:36:22 +01:00
ca89ccd33d Bugfix: Pageindex data for parent pages disappears when a child page is edited. Fixes #98. 2016-08-21 21:02:36 +01:00
320c871495 Fix bug in new redirect code 2016-08-21 14:10:40 +01:00
f6c9ff6101 Bum version of parser 2016-08-21 12:02:34 +01:00
367f4e5ebf In last commit: Allow spaces in image filenames 2016-08-21 12:00:40 +01:00
7589605c81 Bump version of feature-search 2016-08-21 10:59:41 +00:00
6411ce9b2a Added wiki size to dev help. Fixes #97. 2016-08-20 13:50:48 +01:00
84f6005db0 Added search time to searchr results page 2016-08-20 11:35:04 +01:00
6c4c00b156 Added size + decode time for major indexes 2016-08-20 11:27:26 +01:00
75cb609b82 Don't get Travis CI to test against PHP 5.5 2016-08-19 20:28:47 +01:00
d72cd50ba1 Bump moar module version numbers. 2016-08-19 19:56:37 +01:00
e3683f218f Bump versions of modules 2016-08-19 19:54:27 +01:00
63d0bdd5d6 Allow hashes in redirects. Also fix bug in page moving. 2016-08-19 19:49:39 +01:00
16076a8d8f Allow linking in internal links to subheadings. 2016-08-19 19:39:53 +01:00
aae9365f5a Refine appearance of search contexts. 2016-08-19 13:47:56 +01:00
b8dd51d1a1 Bugfix: Fully correct search context generation. Fixes #30.
Also, fixed a critical security issue in the search context generation which would allow an editor to inject code into the user's browser.
2016-08-19 13:02:42 +01:00
c5017919a1 Half fixed search context generation for #30.
The problem: The matches were being sorted in the wrong direction.
Next up we need to improve the context generation, as there are several contexts that are being generated without the keywork in question in them.
2016-08-19 12:02:09 +01:00
70f9c398cc Enchance internal link by adding page scanner. Fixes #87. 2016-08-19 10:59:49 +01:00
ade3d15bca Add class to search term highlighting. Fixes #92. 2016-08-19 10:06:21 +01:00
27acc2420b Make sure that all files are stored in the data directories.
Fixes #89.
2016-08-19 10:00:03 +01:00
3a7b9412ac Re-fix #84 2016-08-18 20:53:19 +01:00
c17830883d Allow the entry of tab characters into the edit page textarea. Fixes #84. 2016-08-18 19:38:40 +00:00
7723c52d7e Naturally sort all tags list alphabetically. Fixes #88. 2016-08-18 19:05:16 +00:00
5dea574825 Fix #86 by altering the default permissions on mkdir. 2016-08-18 13:07:00 +00:00
21609fd61d Change revision display text 2016-06-26 20:32:51 +01:00
60856e4046 Fix login issues under new settings system, and tweak login bar a bit too 2016-06-22 13:04:04 +01:00
ad6a12da5b Finish initial settings rewrite 2016-06-22 09:13:32 +01:00
60505dfb0a Finish documentation. 2016-06-15 19:20:03 +01:00
c76602f5de Document a bunch more stuff 2016-06-13 11:55:40 +01:00
77ffa2bcfc apidoc is awesome. document a bunch of stuff, more to go 2016-06-12 21:15:43 +01:00
97de1974aa Update hash module. 2016-06-12 13:40:28 +01:00
fb0389576d Reversed the display order of page history. Fixes #80. 2016-06-08 18:06:16 +01:00
d1320aa467 Rename rchange functions. Fixes #74. 2016-06-08 17:41:30 +01:00
78a3a866dd Bugfix: Fixed CSS content unicode character 2016-06-06 19:04:20 +01:00
06653661a2 Improved robustness of page deleter and id system 2016-06-05 15:16:44 +01:00
9f5e52d76f Make move action aware of page revisions 2016-06-05 14:35:09 +01:00
618fa54423 Fixed #77 (Logins don't redirect...) 2016-06-04 20:27:14 +01:00
cb31dadb9f Linkify history list. 2016-06-04 20:16:30 +01:00
b168dbb811 Display revision details. Fixes #75 and #76. 2016-06-04 19:55:22 +01:00
446ca98c23 Point page viewer at the correct filename based on the revision # 2016-06-04 19:13:40 +01:00
9c760789f4 Upgrade viewing module to support revisions 2016-06-04 19:04:50 +01:00
ee1224bbe9 Generate history revisions upon uploading a file 2016-06-04 13:52:45 +01:00
0258757639 Fix #71 (It says "Original Image" for PDFs). 2016-06-04 13:38:59 +01:00
1d4daef507 Rework uploading pipeline to support svgs 2016-06-04 13:33:02 +01:00