| 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 |
| 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. |
| 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 ...
|
| 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 ...
|
| 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 ...
|
| 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. |
| 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 ...
|
| 40ca8540 | 07-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(metaheaders): Set theme-color meta header
This color is for example shown in Chrome on Android as menu-bar coloring. |
| 2d8226d6 | 07-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(PWAManifest): Use sensible defaults for icons
Defining SVG both as 17x17 and 512x512 is intended to support custom splash screens, though the documentation is somewhat unclear. This currently s
feat(PWAManifest): Use sensible defaults for icons
Defining SVG both as 17x17 and 512x512 is intended to support custom splash screens, though the documentation is somewhat unclear. This currently satisfies the Google Lighthouse auditing tool.
show more ...
|
| 4a3e16c0 | 06-Mar-2018 |
Frederico Gonçalves Guimarães <frederico@teia.bio.br> |
translation update |
| c6daab83 | 06-Mar-2018 |
Seungheon Song <esketch@gmail.com> |
translation update |