1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-23 01:55:01 +00:00
Commit graph

1587 commits

Author SHA1 Message Date
d3a918af7a
docs: fiddle with order 2020-04-21 22:32:34 +01:00
a6a37033ec
Update changelog 2020-04-21 22:32:20 +01:00
2dacc5f99c
Disable the didyoumean typo correction engine by default & add it to the changelog 2020-04-21 22:13:08 +01:00
8278cd052b
parser-parsedown: add markdown support to image captions 2020-04-21 21:56:31 +01:00
a1b962a7b5
feature-upload: fix the dot problem 2020-04-21 21:18:50 +01:00
c1af093ada
Reduce number of calls to stas_parse() 2020-04-21 21:01:00 +01:00
9f4dd1c149
libsearchengine/didyoumean: fix infinite loop 2020-04-21 20:22:08 +01:00
d294c7e89a
feature-upload: squash unlink() warning when file fails to upload 2020-04-21 20:08:17 +01:00
698a666061
Merge branch 'master' of github.com:sbrl/Pepperminty-Wiki 2020-04-21 15:05:33 +01:00
6b8040b78c
Update credits 2020-04-21 15:05:25 +01:00
0b305795ee
Merge pull request #185 from SeanFromIT/master
updating internal link ordering docu
2020-04-21 15:04:13 +01:00
e612adb0fc
Merge branch 'master' of github.com:sbrl/Pepperminty-Wiki 2020-04-21 15:01:40 +01:00
f6a7495ce5
Bugfix: Replace newline characters in internal links with spaces - fixes #186 2020-04-21 15:00:54 +01:00
Sean Feeney
7d63f54077 updating internal link ordering docu 2020-04-19 17:12:21 -07:00
824883a3b3
Merge pull request #183 from SeanFromIT/master
adding nosidebar docu
2020-04-19 13:49:19 +01:00
Sean Feeney
386654f49f adding nosidebar docu 2020-04-18 20:32:39 -07:00
ed9b6cfa51
Update changelog 2020-04-18 13:23:50 +01:00
0e0ccd9e00
Add new anoncomments setting 2020-04-18 13:23:18 +01:00
ad8d05a3eb
fix whitespace 2020-04-18 13:00:50 +01:00
Sean Feeney
171f9f4874
patching PHP 7.3.11 issue and double dot in file uploads 2020-04-18 13:00:50 +01:00
dbbd9e7514
Update changelog 2020-04-18 13:00:03 +01:00
300f1df8f4
Update changelog for v0.20.3-hotfix3
TODO: merge hotfixes into this branch
2020-04-18 12:55:14 +01:00
d7ad69e665
moar htmlentities 2020-04-18 12:41:24 +01:00
11ade94d62
lib-search-engine: Squash another bug 2020-03-15 22:06:26 +00:00
b8f37597a6
Fix inverted logic in libstoragebox 2020-03-15 22:04:18 +00:00
5232bb3060
More bugfixes & optimisations, but I'm still not sure what's up with the correction system 2020-03-15 21:28:56 +00:00
99f920f11d
Fiddle with it a bit, but it looks like further investigation is needed. 2020-03-15 18:26:17 +00:00
d131666ff5
Squash all the error messages, but it's not working as intended.
All that seems to have happened is that searches are taking longer and 
not doing anything different.....
2020-03-15 18:10:23 +00:00
f632c0907c
Integrate didyoumean into the main search engine, but it's crashing.
We're getting there though!
2020-03-15 17:54:27 +00:00
67ea09b5cf
feature-cli: Colourise readline shell
In PHP (and Bash, it turns out) it's \001 and \002 that should enclose 
invisible characters.

Perhaps we could do the same for the SQLite CLI shell?
2020-03-15 17:32:13 +00:00
f2561d8cb0
Squash more bugs in feature-cli and populate readline history 2020-03-15 17:19:16 +00:00
0829e7630b
Start implementing didyoumean abstraction in lib-search-engine, but its not finished yet.
Next up:
 - Updating the index
 - Adding words to the index in the first place
 - Saving the index if changes were made
 - Tighter integration into the existing search system to avoid changes 
to other modules
2020-03-15 14:41:14 +00:00
be8595bc44
Start Integrating the BkTree into the main Pepperminty Wiki codebase, but there's a long way to go.
There's also a bug in the deletion logic in that if the root node is 
deleted (if it doesn't crash first), then it's all over and it's broken.
2020-03-14 17:49:26 +00:00
9fa2e935b0
theme/default: Fix mini tag margin 2020-03-14 17:21:14 +00:00
390eafb7fc
Refactor search engine out into multiple files 2020-03-14 17:18:51 +00:00
269ba583fd
feature-search: add command 2020-03-11 23:51:49 +00:00
2eb4f73c5e
Add dependency system to build system ahead of a feature-search refactor.
We should probably refactor the build script into something more 
object-oriented too, since it's getting somewhat complicated. I've added 
some ASCII art headers as a stop-gap for now, but a proper refactor of 
that too (into a class-based system probably) is incoming I think.
2020-03-11 23:32:10 +00:00
6cfd60b765
feature-search: add search rebuild shell command 2020-03-11 23:07:38 +00:00
96ee24dc61
feature-cli: message formatting tweaks 2020-03-10 01:51:17 +00:00
15b83cefa3
Update changelog 2020-03-10 01:49:57 +00:00
fa81f0df25
Implement basic Pepperminty Wiki CLI & shell :D
The BkTree tester gave me the idea.

No longer will you have to hope that search indexing will complete in 
time and adjust the maximum execution time for larger wikis..... when 
that's implemented.
2020-03-10 01:47:40 +00:00
6480d72323
BkTree: Bugfix node deletion.
I think it's working now!
2020-03-09 21:32:06 +00:00
296139049a
BkTree: Add trace, improve shell, and bugfix delete.
The shell has given me an idea.....

We could have a CLI module to Pepperminty Wiki that allow admins to run 
longer-running tasks without them getting killed 1/2 way through because 
of a timeout.
2020-03-09 21:27:20 +00:00
2f901642fe
BkTree: Implement (untested) remove() method 2020-03-09 01:14:31 +00:00
89e59cc75e
Ignore more files 2020-03-05 01:21:34 +00:00
d099be8e16
BkTree: Add graphviz .dot file generation 2020-03-05 01:20:51 +00:00
593f16dfb9
Commit BkTree & Nilsimsa experiments. It's about time!
....I was gettign increasinly nervous about not committing these to git. 
Hopefully at some point soon I'll be able to integrate the BkTree into 
Pepperminty Wiki properly - but I still need to implement word removal 
first before I can do that.

Also, feature-search is getting big. It's refactoring time to be sure, 
but Im uncertain  at this stage precisely _how_ I want to go about that. 
I've got 2 ideas:

1. Refactor the engine and the storage box into separate "library 
modules"
2. Refactor them into their own repository/ies or something, and include 
them as extra data
3. Extend the  extra data system to support local files and include them 
in the main Pepperminty Wiki repository

Thought is required. If anyone actually reads this message, do get in 
touch with your thoughts!
2020-03-04 01:57:13 +00:00
7af2ad9bb3
docs: Fix URL text in sidebar 2020-02-12 21:25:17 +00:00
83c9d527cb
Bugfix: Squash empty tags when saving an edit to a page 2020-02-04 01:45:14 +00:00
1d540d3d8a
Send content-type: text/plain when erroring out 'cause we can't write to disk 2020-02-04 01:23:44 +00:00