| bbc1da2e | 23-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): filter results by lastmod time
This allows filtering of results by the last modified time. It still needs a custom date entry option, highlighting of the currently selected option (if
feat(search): filter results by lastmod time
This allows filtering of results by the last modified time. It still needs a custom date entry option, highlighting of the currently selected option (if any) and a better place where the filtering happens.
show more ...
|
| 9a75abfb | 23-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat: show last mod information in search results |
| 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 |
| 3eb2b869 | 23-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
fix: readd div with no-class to tpl_searchform
Quick-search positioning and other templates break when removing this tag. |
| e5bf110d | 22-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): remember assistance's open/closed state |
| 4d0cb6e1 | 22-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): show search adjustments as links
This simplifies many aspects. However, it still needs much better styling. |
| d09b5b64 | 22-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): add config options to adjust default behavior
This adds two new config options:
`search_limit_to_first_ns`: Limit the search to the current X namespaces. When a search is executed fro
feat(search): add config options to adjust default behavior
This adds two new config options:
`search_limit_to_first_ns`: Limit the search to the current X namespaces. When a search is executed from a page within a deeper namespace, the first X namespaces will be added as filter. Possible use case could be with language namespaces to ensure that the default search is initially within the current language.
`search_default_fragment_behaviour`: Option to specify the default fragment search behavior
show more ...
|
| cbcc2fa5 | 22-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): add origin page as parameter
There are several use cases in which knowing the page where a search request originated would be useful. This commit adds a `from` parameter which provides
feat(search): add origin page as parameter
There are several use cases in which knowing the page where a search request originated would be useful. This commit adds a `from` parameter which provides that information.
show more ...
|
| 3c7a3327 | 22-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor: make tpl_seachform use dokuwiki\Form
This makes it easier to read, reason and extend. |
| 4c924eb8 | 21-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): add link to restrict search to result namespace |
| 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 ...
|
| 674a8676 | 21-Mar-2018 |
Wojciech Lichota <wojciech@lichota.pl> |
translation update |
| 81a0edd9 | 21-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): trigger event for search form modification
Plugins may want to offer more ways to filter the search results. |
| 4eab6f7c | 21-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): trigger event for each result
Add events around each search result, both for the pagename results and the fullpage results.
The fullpage results are wrapped in a div for better separa
feat(search): trigger event for each result
Add events around each search result, both for the pagename results and the fullpage results.
The fullpage results are wrapped in a div for better separation and styling. ( see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl )
These events are intended to provide plugin authors with the ability to hydrate the search results with more information.
show more ...
|
| fcfe300b | 21-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
Remove installer conf/dokuwiki.php hash check
This check was useful in ages past, when there was no conf/local.php
However, nowadays it causes the installer to fail with the snapshot version of Dok
Remove installer conf/dokuwiki.php hash check
This check was useful in ages past, when there was no conf/local.php
However, nowadays it causes the installer to fail with the snapshot version of DokuWiki and since we now have a dedicated local.php, it has become obsolete.
show more ...
|
| bb8ef867 | 20-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): add search assistance for simple queries
This add some search assistance to simple, single-word search queries which may be restricted to a single namespace.
Further improvements: * b
feat(search): add search assistance for simple queries
This add some search assistance to simple, single-word search queries which may be restricted to a single namespace.
Further improvements: * better styling * trigger events for other plugins * set namespaces directly from fulltext search results * some more config options
show more ...
|
| d3ca9ff8 | 20-Mar-2018 |
Wojciech Lichota <wojciech@lichota.pl> |
translation update |
| 1d8a330a | 19-Mar-2018 |
Wojciech Lichota <wojciech@lichota.pl> |
translation update |
| 427ed988 | 19-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(Search): Add search form on results page
Add the search form on the results page itself. This form will be used to add more options to refine the search further. |
| 21fcef82 | 19-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor(Search): refactor html_search into Ui/Search
This commit should be without functional changes. |
| fe745bec | 19-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
tests: use non-empty string for static salt
As pointed out by @klap-in, an empty string may evaluate to false in some circumstances. This is something we may not want. Using a string like 'test' sho
tests: use non-empty string for static salt
As pointed out by @klap-in, an empty string may evaluate to false in some circumstances. This is something we may not want. Using a string like 'test' should therefore be more robust.
show more ...
|
| 873d6202 | 19-Mar-2018 |
Wojciech Lichota <wojciech@lichota.pl> |
translation update |
| dceb2cc1 | 07-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
fix: drop JSON error handling
This isn't really the best place for that error handling. |
| f3d2b6ae | 07-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
fix: use exit instead of return in the global scope |
| 6c4fa3b3 | 07-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
fix: StyleUtils is already handled by the autoloader
Since StyleUtils has a namespace, it is already handled correctly by the autoloader. This is further underlined by the fact that the removed line
fix: StyleUtils is already handled by the autoloader
Since StyleUtils has a namespace, it is already handled correctly by the autoloader. This is further underlined by the fact that the removed line isn't actually working because of the missing `s` in the classname.
show more ...
|