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

638 commits

Author SHA1 Message Date
Starbeamrainbowlabs e08e775d98
Finish refactoring invindex_query 2019-08-22 17:43:14 +01:00
Starbeamrainbowlabs b93dd3d9cc
Start refactoring query_invindex & rename it to invindex_query
....but of course it's not finished yet. We're doing well, but there are 
a few thorny issues to go.

Mainly: We need to seriously optimise ids::getpagename(), 'cause we'll 
need it a *lot* when we get to implementing the size, before, and after 
colon : directives.
2019-08-18 21:25:48 +01:00
Starbeamrainbowlabs ce6df06817
Start refactoring the search system to use a new key-value store backend
....but it's not finished yet.

It should improve performance significantly when it's done & optimised, 
as we won't have to load the entire search index into memory & decode it 
just to perform a single query.
2019-08-18 18:52:29 +01:00
Starbeamrainbowlabs 38badd3c1f
[search] Add StorageBox.php as an extra data file
It's time to refactor the search system to use an SQLite-backed 
key-value data store. It's just a shame that something designed for this 
like LevelDB / RocksDB doesn't have a PHP package that we can use :-/

We can always switch later, I suppose.
2019-08-17 20:47:51 +01:00
Starbeamrainbowlabs 7088990027
Minor code formatting 2019-08-17 01:19:04 +01:00
Starbeamrainbowlabs 5609506def
minor formatting 2019-08-16 01:14:38 +01:00
Starbeamrainbowlabs 127270ff89
Bugfix: Correct search query performance metrics 2019-08-15 23:46:23 +01:00
Starbeamrainbowlabs ddc36bf48e
Remove commented code 2019-08-15 23:17:33 +01:00
Starbeamrainbowlabs 0a5ba3ff59
Improve search invindex alteration performance
This will be especially noticable when using invindex-rebuild
2019-08-15 23:06:06 +01:00
Starbeamrainbowlabs a67b67817f
[upload] Make comments serenata-compatible 2019-08-15 22:55:50 +01:00
Starbeamrainbowlabs bc0c5de9e7
Merge branch 'master' of github.com:sbrl/Pepperminty-Wiki 2019-08-14 01:19:11 +01:00
Starbeamrainbowlabs 425203e0ec
Smal comment update.
Be the first to check out the new STA system in development! 
https://repl.it/@sbrl/Peppermint-STAS

STAS: Search Term Analysis System

It's currently being tested externally, before being folded into 
Pepperminty Wiki itself. Want a feature that's currently missing? Get in 
touch!
2019-08-14 01:18:53 +01:00
Starbeamrainbowlabs 411d03da27
[apidoc] Bugfix @apiVersion directives 2019-08-09 12:44:22 +01:00
Starbeamrainbowlabs a12e00ef73
typo in comment 2019-08-08 18:36:51 +01:00
Starbeamrainbowlabs b6a986a075
[apidoc] @since -> @apiVersion 2019-08-08 18:32:24 +01:00
Starbeamrainbowlabs 2c474b3ec5
[apidoc] Bugfix: correct typo 2019-08-08 18:29:49 +01:00
Starbeamrainbowlabs 7df4c51834
Add download button for unsupported file types 2019-06-01 21:37:35 +01:00
Starbeamrainbowlabs 02bc1ea7a2
Implement initial pdf preview 2019-06-01 20:25:44 +01:00
Starbeamrainbowlabs a5572bcbd4
Squash a warning when uploading a file 2019-06-01 19:57:03 +01:00
Starbeamrainbowlabs 712e95474c
Minify the pageindex by default, but also add a setting to control this 2019-06-01 15:55:48 +01:00
Starbeamrainbowlabs fb25845d8c
file upload: fix help text 2019-05-24 21:50:27 +01:00
Starbeamrainbowlabs f14fd23da5
Add force-redirect to firstrun action, and option to disable access check (NOT RECOMMENDED) 2019-05-11 22:52:55 +01:00
Starbeamrainbowlabs a49ccccbcc
Handle pre-existing wikis 2019-05-11 15:39:55 +01:00
Starbeamrainbowlabs 0333c1a4d4
Check if peppermint.json is accessible from the web 2019-05-11 13:06:19 +01:00
Starbeamrainbowlabs cc82adf23d
firstrun: Fix filter_var call 2019-05-11 12:54:09 +01:00
Starbeamrainbowlabs 215c0d41ef
Require the site secret to use the first-run installer 2019-05-11 12:51:22 +01:00
Starbeamrainbowlabs 1dc0438a18
Work more on the first-run installer, but it's not finished yet 2019-05-11 12:45:02 +01:00
Starbeamrainbowlabs e37541d606
Add a more obvious link to the user table at the top of the master settings page 2019-05-11 12:44:28 +01:00
Starbeamrainbowlabs 1367641b58
Bugfix: Fix crash when trying to access the user table when not logged in as an admin.
Thanks, @Gert-dev for php-ide-serenata!
2019-05-11 12:41:43 +01:00
Starbeamrainbowlabs 0e8a27e7f7
Improve comments 2019-05-11 12:13:06 +01:00
Starbeamrainbowlabs a25767432a
Add todo 2019-05-11 00:35:47 +01:00
Starbeamrainbowlabs 1d6409128d
Start work on a simpler first-run wizard, but it's not finished yet.
Hopefully this one will be more successful than the last attempt :P
2019-05-11 00:35:17 +01:00
Starbeamrainbowlabs 50efd4bb49
Bump versions 2019-05-06 23:48:34 +01:00
Starbeamrainbowlabs 4e801c4692
Bugfix: Consolidate user->email & user->emailAddress.
Also add an auto-migrator on login.

Fixes #167
2019-05-06 23:44:38 +01:00
Starbeamrainbowlabs f3d797695e
Bugfix: Don't crash when updating stats if no pages have any tags yet 2019-05-06 20:31:08 +01:00
Starbeamrainbowlabs c177b66b42
Bugfix: Don't throw a warning if the search index doesn't exist yet 2019-05-06 20:22:36 +01:00
Starbeamrainbowlabs 017281375d
Bugfix: Return templates as rawHtml instead of text to avoid double-escaping rendered html 2019-03-02 22:07:58 +00:00
Starbeamrainbowlabs 3dcb8b5b1e
Update parser engine to handle comments as untrusted 2019-03-02 21:59:50 +00:00
Starbeamrainbowlabs 4f9f1a6cf9
Add support for core sharding to build script 2019-03-02 21:13:41 +00:00
Starbeamrainbowlabs 4de995761d
Fix a bunch of serenata errors 2019-03-02 13:49:12 +00:00
Starbeamrainbowlabs d6c56feb1d
Download extra files in the pseudo-module_register(), and then pack 'em in the packer 2019-03-02 13:32:12 +00:00
Starbeamrainbowlabs 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
Starbeamrainbowlabs 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
Starbeamrainbowlabs 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
Starbeamrainbowlabs a3330829cb
Bump module versions & go over documentation comments 2019-02-10 23:18:34 +00:00
Starbeamrainbowlabs 0f79a8ec13
Bugfix new cache id system 2019-02-10 23:08:16 +00:00
Starbeamrainbowlabs a5563bb458
Add title to internal links, and refactor page cache id generation 2019-02-10 23:01:01 +00:00
Starbeamrainbowlabs 97c9fdbda9
Bugfix: Link to user pages correctly in the recent changes feed 2019-02-03 16:35:38 +00:00
Starbeamrainbowlabs d51c3f163f
Bugfix: Include uploaded files when exporting 2019-01-31 21:41:13 +00:00
Starbeamrainbowlabs dc860acfd3
Tidy up page-view module code 2019-01-30 21:34:24 +00:00