| #
6225b270 |
| 28-Dec-2019 |
Michael Große <mic.grosse@googlemail.com> |
Extract dokuwiki\Search\Indexer class
Not sure why Doku_Indexer caused phpcs to complain about the class name not being in PascalCase, but Doku_Handler didn't.
The namespace and new class name w
Extract dokuwiki\Search\Indexer class
Not sure why Doku_Indexer caused phpcs to complain about the class name not being in PascalCase, but Doku_Handler didn't.
The namespace and new class name was selected to be compatible with the upcoming changes in #2943. This should hpopefully reduce the overall hassle of touching the same code base.
show more ...
|
| #
dbc189b2 |
| 14-Jul-2019 |
Andreas Gohr <andi@splitbrain.org> |
Moved parts of the Asian word handling to its own class
|
| #
6ce3e5f8 |
| 14-Jul-2019 |
Andreas Gohr <andi@splitbrain.org> |
fixed some line length errors
|
| #
b47790f9 |
| 14-Jul-2019 |
Andreas Gohr <andi@splitbrain.org> |
Merge branch 'utf8refactor' into psr2
* utf8refactor: replaced deprecated utf8 functions formatting cleanup mark old utf8 functions deprecated Some cleanup for the UTF-8 stuff Moved all ut
Merge branch 'utf8refactor' into psr2
* utf8refactor: replaced deprecated utf8 functions formatting cleanup mark old utf8 functions deprecated Some cleanup for the UTF-8 stuff Moved all utf8 methods to their own namespaced classes Create separate table files for UTF-8 handling
show more ...
|
| #
8cbc5ee8 |
| 10-Jun-2019 |
Andreas Gohr <andi@splitbrain.org> |
replaced deprecated utf8 functions
For now this uses full qualified namespaces, sensible imports may come later.
|
| #
27f63a23 |
| 21-May-2019 |
Andreas Gohr <andi@splitbrain.org> |
some more PSR2 cleanup
mostly overlong lines and more exclude patterns
|
| #
cbb44eab |
| 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
deprecated trigger_event() in favor of a static method on Event
|
| #
e1d9dcc8 |
| 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
First go at moving the plugin classes into their own namespace
|
| #
64159a61 |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
line lengths shortened
This makes sure all files use line lenghts shorter than 120 characters.
This is a quick fix. It might not always be the nicest change.
|
| #
b4f2363a |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
remove DOKU_INC checks
There is no need for this check, since these files should not have any main code that is executed on direct call.
Fixes PSR1.Files.SideEffects.FoundWithSymbols
|
| #
3850270c |
| 27-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor(search): provide before/after arguments to search event
This way they can be cleanly influenced by the plugins instead of having to modify global state.
|
| #
8d0e286a |
| 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search) add option to sort by mtime
|
| #
1b48999c |
| 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor(search): move filtering by time into _ft_page*
This is the more appropriate place for that functionality, because now it happens inside the default function for the respective pagesearch an
refactor(search): move filtering by time into _ft_page*
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.
show more ...
|
| #
940f24fc |
| 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
fix(search): don't truncate namespaces with - and . in pagename-lookup
The regex for the pagename lookup didn't account for `-` and `.` being valid characters for namespaces, which lead to wrong res
fix(search): don't truncate namespaces with - and . in pagename-lookup
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
show more ...
|
| #
de3383c6 |
| 23-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
fix(search): namespace limits must match exactly
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
|
| #
44156e11 |
| 21-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat: add a simple unparser for parsed search queries
To allow creating links with manipulated versions of the current search query an unparser is necessary. However, the current output of ft_queryP
feat: add a simple unparser for parsed search queries
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.
show more ...
|
| #
67d812e0 |
| 07-Sep-2015 |
Marius van Witzenburg <info@mariusvw.com> |
Fixed undefined offset on $last_ope
|
| #
42ea7f44 |
| 01-Oct-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Many PHPDocs, some unused and dyn declared vars
many PHPDocs some unused variables some dynamically declared variables declared
|
| #
59bc3b48 |
| 29-Sep-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
more scrutinizer issue improvements
|
| #
ecebd72f |
| 30-Jul-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
improve qsearch suggestions
* support namespaces with more then one level e.g. @your:namespace * support ns:<ns> as well
|
| #
6c196437 |
| 02-Mar-2014 |
Christopher Smith <chris@jalakai.co.uk> |
Merge pull request #546 from splitbrain/phrase_match
Add FULLTEXT_PHRASE_MATCH event for allowing plugins to match phrases FS#2936
|
| #
a7e8b43e |
| 15-Feb-2014 |
Michael Hamann <michael@content-space.de> |
Add FULLTEXT_PHRASE_MATCH event for allowing plugins to match phrases
Our index doesn't support phrase searches so we are searching for the pages that contain all words of the phrase and then search
Add FULLTEXT_PHRASE_MATCH event for allowing plugins to match phrases
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.
show more ...
|
| #
43d58b76 |
| 15-Feb-2014 |
Michael Hamann <michael@content-space.de> |
Fix the snippet search to continue after the previous match
|
| #
ef3e3cdd |
| 15-Feb-2014 |
Michael Hamann <michael@content-space.de> |
Only use the whole text as search snippet when it's the first match
|
| #
2f7a0e94 |
| 11-Sep-2013 |
Matt Perry <matt@mattperry.com> |
Fix CodeSniffer whitespace violoations
Removed extraneous whitespace to eliminate errors reported by the Squiz.WhiteSpace.SuperfluousWhitespace sniff.
|