| b005809c | 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): display search tools as lists on click
This functionality is inspired by what other large search engines are doing. |
| 6639a152 | 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor(search) run the search from Action/Search, not Ui/Search |
| 8d0e286a | 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search) add option to sort by mtime |
| 18856c5d | 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor(search): extract simplified SearchState class
Building the new search links is complex and we're going to add another parameter with the new sorting by mtime. Extracting a new class seems l
refactor(search): extract simplified SearchState class
Building the new search links is complex and we're going to add another parameter with the new sorting by mtime. Extracting a new class seems like the cleanest way to handle that increasing complexity.
show more ...
|
| 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 ...
|
| b3cfe85a | 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
fix(search): also filter pagename results by time |
| d22b78c8 | 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(search): use dedicated url-parameter for search query
This way we do not loose the context of the current page. Further, the new id generated from the query before wasn't really that useful (se
feat(search): use dedicated url-parameter for search query
This way we do not loose the context of the current page. Further, the new id generated from the query before wasn't really that useful (see issue #1124 ). And we can still generate a meaningful link "create a page for your query", if that is considered useful.
Further redirects exist for the old urls, so bookmarked searches etc. should mostly keep working.
show more ...
|
| 172afea7 | 25-Mar-2018 |
Yuriy Skalko <yuriy.skalko@gmail.com> |
translation update |
| 6cdde307 | 23-Mar-2018 |
Wojciech Lichota <wojciech@lichota.pl> |
translation update |
| fcacd30d | 23-Mar-2018 |
Wojciech Lichota <wojciech@lichota.pl> |
translation update |
| 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 ...
|