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

647 commits

Author SHA1 Message Date
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