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