- Mar 27, 2018
-
-
Michael Große authored
This way they can be cleanly influenced by the plugins instead of having to modify global state.
-
- Mar 26, 2018
-
-
Michael Große authored
-
Michael Große authored
This is the more appropriate place for that functionality, because now it happens inside the default function for the respective pagesearch and pagelookup events and can be properly handled by plugins.
-
Michael Große authored
The regex for the pagename lookup didn't account for `-` and `.` being valid characters for namespaces, which lead to wrong results in the quicksearch and pagename lookup. The full search, which already used the queryParser, showed the correct results. This fixes #1659
-
- Mar 23, 2018
-
-
Michael Große authored
This fixes a bug that during a search limited to `@de` would show pages form the namespace `devel` as well (in the fullpage results). Fixes #2285
-
- Mar 21, 2018
-
-
Michael Große authored
To allow creating links with manipulated versions of the current search query an unparser is necessary. However, the current output of ft_queryParser makes some advanced features hard to detect. Therefore the new ft_queryUnparser_simple cannot handle negated phrases and `OR` searches. It should still cover 98% of search queries.
-
- Sep 07, 2015
-
-
Marius van Witzenburg authored
-
- Oct 01, 2014
-
-
Gerrit Uitslag authored
many PHPDocs some unused variables some dynamically declared variables declared
-
- Sep 29, 2014
-
-
Gerrit Uitslag authored
-
- Jul 30, 2014
-
-
Gerrit Uitslag authored
* support namespaces with more then one level e.g. @your:namespace * support ns:<ns> as well
-
- Feb 15, 2014
-
-
Michael Hamann authored
Our index doesn't support phrase searches so we are searching for the pages that contain all words of the phrase and then search again in the content of the pages. As plugins can also add additional text to the index this event allows plugins to do phrase matching in their content.
-
Michael Hamann authored
-
Michael Hamann authored
-
- Sep 11, 2013
-
-
Matt Perry authored
Removed extraneous whitespace to eliminate errors reported by the Squiz.WhiteSpace.SuperfluousWhitespace sniff.
-
- Aug 01, 2013
-
-
Michael Hamann authored
-
Michael Hamann authored
This adds a new parameter to ft_backlinks() to ignore permissions which is needed for invalidating the cache of linking pages with useheading enabled. This also adds various test cases for ft_backlinks().
-
- Jul 31, 2013
-
-
Michael Hamann authored
-
Michael Hamann authored
This adds a new parameter to ft_backlinks() to ignore permissions which is needed for invalidating the cache of linking pages with useheading enabled. This also adds various test cases for ft_backlinks().
-
- May 21, 2013
-
-
Klap-in authored
-
- Nov 12, 2012
-
-
Andreas Gohr authored
We now have two defines for checking for UTF-8 and Unicode property support in PREG and use them to work around FS#2636 on older systems.
-
- Jul 28, 2012
-
-
Andreas Gohr authored
Seems like matching \b on unicode strings is unreliable across different platforms (Debian). Using Unicode class lookahed/behinds seems to work though.
-
- Apr 20, 2012
-
-
Andreas Gohr authored
-
- Aug 10, 2011
-
-
Michael Hamann authored
Sometimes pages aren't deleted from the index (that should be fixed, too) and appear in the backlinks although they don't exist anymore. This change hides them and hidden pages that shouldn't appear at all as the backlinks view is an automatic listing. Hidden pages had been hidden before the transition to the metadata index, too.
-
- May 07, 2011
-
-
Michael Hamann authored
This changes the cache logic for metadata. It introduces a new mode that tries to avoid rendering the page again for simple requests but still updates the metadata when the page has been changed (but not when the cache timeout has been reached or purge is used). It simply compares the time of the last rendering with the last modified time of the page. The old boolean $render parameter has been changed into an int with three possible values. Compatibility for the old parameter is provided using a check with is_numeric using the following mapping: - false is still don't render (0 is the new value for that) - true is using that new render logic which means that many plugins will still work unchanged even if they request a lot of data using $render=true (1 is the new value for that providing full compatibility in the case 1 has been used instead of true) The default value for p_get_first_heading is now that new simple cache logic, the default value for getting metadata is the cache logic which should be used with care but is the only way to request (rendered) metadata that can change because of plugin installations or upgrades.
-
- Apr 22, 2011
-
-
Michael Hamann authored
The page lookup by title has been case insensitive before the indexer rewrite, since then it has been case sensitive, this makes it case insensitive again.
-
Michael Hamann authored
Before this change all pages of the given namespace have been included in the result, now the search is restricted to the namespace again as it was before the new indexer has been implemented.
-
- Feb 24, 2011
-
-
Michael Hamann authored
-
- Feb 10, 2011
-
-
Andreas Gohr authored
A page could have possibly hundreds of backlinks, when the cache is outdated they should not be rererendered at once
-
- Feb 06, 2011
-
-
Andreas Gohr authored
This makes it possible to find words that include soft-hyphens. However, search higlighting will not work and I have no idea how to make it work.
-
- Jan 24, 2011
-
-
Tom N Harris authored
-
- Jan 22, 2011
-
-
Michael Hamann authored
This new event allows plugins to add or modify the metadata that will be indexed. Collecting this metadata in an event allows plugins to see if other plugins have already added the metadata they need and leads to just one single indexer call thus fewer files are read and written. Plugins could also replace/prevent the metadata indexer call using this event.
-
- Dec 29, 2010
-
-
Tom N Harris authored
-
- Dec 13, 2010
-
-
Kazutaka Miyasaka authored
-
Kazutaka Miyasaka authored
-
- Nov 29, 2010
-
-
Michael Hamann authored
As of VIM 7.3 it is no longer possible to specify the encoding in the modeline. This gives an error message whenever such a file is opened, thus this commit removes the enc setting from the modeline.
-
- Oct 24, 2010
-
-
Adrian Lang authored
-
Andreas Gohr authored
-
Andreas Gohr authored
-
- Oct 03, 2010
-
-
Andreas Gohr authored
-
- Oct 02, 2010
-
-
Gina Haeussge authored
of another term. Word boundaries are now respected.
-