Commit Graph

70 Commits

Author SHA1 Message Date
Starbeamrainbowlabs f9ad937a21 Comment feature-search with phpDoc & update docs 2017-11-20 20:40:59 +00:00
Starbeamrainbowlabs edba3b9bf3 Update search to take the length of words into account. Fixes #134. 2017-10-15 13:42:15 +01:00
Starbeamrainbowlabs 73637fe963 Display tag names next to page names in the search results. Fixes #93. 2017-10-14 22:48:58 +01:00
Starbeamrainbowlabs 3b00f56485 Search tags as well as pages 2017-09-19 17:32:52 +01:00
Starbeamrainbowlabs 179c4b500d Escape html in search result previews 2017-08-26 12:40:33 +01:00
Starbeamrainbowlabs a90b72e3ad Use rawurlencode / htmlentities in more places 2017-07-29 10:44:58 +01:00
Starbeamrainbowlabs 3266e39e03 Fix opensearch description 2017-07-16 10:26:22 +01:00
Starbeamrainbowlabs 1236ce8e4d Add search index rebuilding action to master settings screen 2017-07-11 20:21:20 +01:00
Starbeamrainbowlabs 576b293c4e Update apidoc comment & changelog 2017-07-10 22:10:18 +01:00
Starbeamrainbowlabs 80158541cb Make invindex-rebuild admin only, but allow access via a POST request with the secret attached 2017-07-10 22:06:41 +01:00
Starbeamrainbowlabs c2dcf43bc2 Add progress to invindex-rebuild - ready for addition to the master control panel 2017-07-10 21:53:52 +01:00
Starbeamrainbowlabs 51cea83402 Merge branch ikisler's preview-changes branch into master 2017-07-03 18:14:27 +01:00
Starbeamrainbowlabs e9381da756 Fix permissions 2017-07-03 18:05:57 +01:00
Starbeamrainbowlabs 57acbc85b8 Add rawurlencode() calls everywhere in the redirect logic to fix #139 2017-06-28 11:42:11 +01:00
Starbeamrainbowlabs 4ea4315c5a Allow access to opensearch-description when not logged in, and make opsearch description use search-redirect 2017-06-28 11:21:42 +01:00
Starbeamrainbowlabs 60ebd1340c Improve dynamic page suggestions, and add option to output OpenSearch-compatible search suggestions 2017-06-28 10:44:44 +01:00
Starbeamrainbowlabs eb137df2b4 Fix apidoc comments & update api docs 2017-06-28 09:45:13 +01:00
Starbeamrainbowlabs 677e1340aa Fight the build system to make open search work. I win! I should really consider upgrading it though. 2017-06-06 21:33:11 +01:00
Starbeamrainbowlabs 96fcbb90de Bugfix: Don't search page titles and tags for stop words 2017-03-23 21:25:55 +00:00
Starbeamrainbowlabs 313bcc7edf Add method to return raw search result information as json 2017-03-23 21:13:20 +00:00
Starbeamrainbowlabs d83bbb3527 Clear out the id index when rebuilding the inverted index - it sometimes goes all funny otherwise, apparently 2017-03-23 20:48:42 +00:00
Starbeamrainbowlabs d19d83d99a Make page names that are redirects italics in search results. 2017-03-20 20:21:25 +00:00
Starbeamrainbowlabs 8404b0cec6 Default to snippet from the page source in search result context generation - some pages may appear when the search terms appear only in the title or tags, and not the page source. 2017-03-20 20:08:56 +00:00
Starbeamrainbowlabs 5d9e464ce5 Improve search performance - fixes #130 2017-01-26 20:55:46 +00:00
Starbeamrainbowlabs 1fe9ffd775 Make dynaimc page suggestor faster. Fixes #124. 2016-11-28 14:05:23 +01:00
Starbeamrainbowlabs 46e89762af Bump version of feature-search 2016-11-20 13:28:35 +00:00
Starbeamrainbowlabs 44e2348ab2 Add initial dynamic page suggestions. Works better in Firefox than chrome - implements idea in #113 2016-11-20 13:24:35 +00:00
Starbeamrainbowlabs 81bcef9a24 Improve search engine indexer. Fixes #117.
It is now more liberal when deciding on word boundaries.
2016-10-25 21:12:39 +01:00
Starbeamrainbowlabs 73a09e8365 Bump versions of modules. 2016-10-18 18:58:19 +01:00
Starbeamrainbowlabs 6476877c60 Attempted to implement Opensearch (#112), but it doesn't work :/ 2016-10-18 18:57:24 +01:00
Starbeamrainbowlabs f18da4858b Remove full stop from apidoc comment 2016-08-26 17:55:50 +01:00
Starbeamrainbowlabs d9b5bdfb3e Add debug idindex-show action. 2016-08-26 17:47:46 +01:00
Starbeamrainbowlabs ca89ccd33d Bugfix: Pageindex data for parent pages disappears when a child page is edited. Fixes #98. 2016-08-21 21:02:36 +01:00
Starbeamrainbowlabs 7589605c81 Bump version of feature-search 2016-08-21 10:59:41 +00:00
Starbeamrainbowlabs 84f6005db0 Added search time to searchr results page 2016-08-20 11:35:04 +01:00
Starbeamrainbowlabs 6c4c00b156 Added size + decode time for major indexes 2016-08-20 11:27:26 +01:00
Starbeamrainbowlabs e3683f218f Bump versions of modules 2016-08-19 19:54:27 +01:00
Starbeamrainbowlabs aae9365f5a Refine appearance of search contexts. 2016-08-19 13:47:56 +01:00
Starbeamrainbowlabs b8dd51d1a1 Bugfix: Fully correct search context generation. Fixes #30.
Also, fixed a critical security issue in the search context generation which would allow an editor to inject code into the user's browser.
2016-08-19 13:02:42 +01:00
Starbeamrainbowlabs c5017919a1 Half fixed search context generation for #30.
The problem: The matches were being sorted in the wrong direction.
Next up we need to improve the context generation, as there are several contexts that are being generated without the keywork in question in them.
2016-08-19 12:02:09 +01:00
Starbeamrainbowlabs ade3d15bca Add class to search term highlighting. Fixes #92. 2016-08-19 10:06:21 +01:00
Starbeamrainbowlabs 27acc2420b Make sure that all files are stored in the data directories.
Fixes #89.
2016-08-19 10:00:03 +01:00
Starbeamrainbowlabs 77ffa2bcfc apidoc is awesome. document a bunch of stuff, more to go 2016-06-12 21:15:43 +01:00
Starbeamrainbowlabs cec847fd67 Update version numbers of modules.
I forgot to do this before.... :P
2016-03-24 13:11:05 +00:00
Starbeamrainbowlabs f6f38adae3 Improved "there isn't a page..." message on search page. Fixes #49. 2016-03-12 19:02:36 +00:00
Starbeamrainbowlabs 111d95081f Update feature-search's description. 2016-03-12 18:52:26 +00:00
Starbeamrainbowlabs 03552b979f Small optimisation to search queries 2015-12-26 13:06:45 +00:00
Starbeamrainbowlabs 801369387d Cleaned up comments and added more title texts. 2015-12-26 12:55:19 +00:00
Starbeamrainbowlabs d55132fd19 Rebuild the inverted index if it doesn't exist on search. 2015-12-05 17:27:01 +00:00
Starbeamrainbowlabs b139f204b4 Debug the pageindex regenerator. Fixes #41. 2015-11-14 21:24:57 +00:00