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
b50e7bbbf2
Tweak release template text
2020-02-03 23:00:53 +00:00
7a12d6c39e
pack.php: Add specifying the theme to build into the Pepperminty Wiki instance via an environment variable
2020-02-03 20:12:12 +00:00
83bf9acd86
Add tag input autocomplete when editing pages.
...
Thanks to Awesomplete by @LeaVerou :D
2020-01-26 21:04:39 +00:00
adc42fc806
Add stay up-to-date links to README
2020-01-23 23:05:57 +00:00
92283ec5d1
Changelog: layout
2020-01-17 19:12:03 +00:00
11611262c4
Add initial mobile theme support
2020-01-16 20:13:01 +00:00
1f746c68b5
Downloader: fix accessibility issues in Firefox accessibility checker
2020-01-16 19:22:16 +00:00
b61fc01990
downloader: Add favicon
2020-01-16 19:19:06 +00:00
844907086d
Add prefers-color-scheme dark mode to downloader
2020-01-16 19:17:54 +00:00
1935b7b516
Update release text template
2020-01-16 19:10:43 +00:00
af734c5874
Update changelog for v0.20.2-hotfix2
2020-01-16 19:10:25 +00:00
cb381119ba
(finally) remove module_index.json from git
2020-01-16 18:59:35 +00:00
133f98a752
Update getting a copy docs
2020-01-12 12:01:21 +00:00
e2e9301043
Credits URL correction
2020-01-10 17:47:23 +00:00
707f9badb9
Update changelog to reflect v0.20.1-hotfix1
2020-01-10 17:43:08 +00:00
62ac3e91e5
Update changelog
2020-01-10 17:17:31 +00:00
6ad61f6be4
Add credits for #179
2020-01-10 17:11:25 +00:00
27a7349e70
Merge pull request #179 from nivex/patch-1
...
Fix compromise detection
2020-01-10 17:08:19 +00:00
0f04a927c4
Tiny formatting tweak
2020-01-10 17:07:09 +00:00
Kevin Otte
3396c25002
Fix compromise detection
...
Compromise detection has inverted logic handling response_code and did not honor the settingsFilename variable.
2020-01-08 20:25:46 -05:00
5fdd91ce4c
Update changelog; change name of new setting to email_verify_addresses setting
2020-01-05 23:10:19 +00:00
344b7daa70
Make email address verification email sending more intelligent and update changelog
2020-01-05 21:16:51 +00:00
3c47bf0539
Bugfix: Correctly display whether the user's email address is verified
2020-01-05 21:10:35 +00:00
0be001990f
Bugfix: fix new url_stem() function
2020-01-05 21:07:59 +00:00