History log of /dokuwiki/inc/Ui/Search.php (Results 26 – 50 of 60)
Revision Date Author Comments
# ec27794f 28-Mar-2018 Michael Große <grosse@cosmocode.de>

doc(search): parameter must be string or false


# fc46ed58 28-Mar-2018 Michael Große <grosse@cosmocode.de>

doc(search): highlight is expected to be an array


# 826e222f 28-Mar-2018 Andreas Gohr <gohr@cosmocode.de>

show adavanced tools with JavaScript only


# 2171f9cb 28-Mar-2018 Andreas Gohr <gohr@cosmocode.de>

added aria attributes


# 1d918893 28-Mar-2018 Andreas Gohr <gohr@cosmocode.de>

more styling and RTL support


# 0fc38806 28-Mar-2018 Andreas Gohr <gohr@cosmocode.de>

use relative time in search results


# be76738b 27-Mar-2018 Michael Große <grosse@cosmocode.de>

doc(search): add missing PHP doc blocks


# 7fa270bc 27-Mar-2018 Michael Große <grosse@cosmocode.de>

feat(Form): add parameter to omit security token in forms

This is useful for anonymously useable forms, like the search.


# c5bd5721 27-Mar-2018 Michael Große <grosse@cosmocode.de>

l10n(search): localization for the toggle tools button


# 52d4cd42 27-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor(search): rewite SearchState to make behavior more obvious

As suggested by @splitbrain SearchState now behaves simliar to the PSR-7
message interfaces.


# 2ce8affc 27-Mar-2018 Michael Große <grosse@cosmocode.de>

l10n(search): Add link to create page from query to searchintro

Implements the functionality requested in #1124


# 55dc8783 27-Mar-2018 Michael Große <grosse@cosmocode.de>

fix(search): sort list of namespaces alphabetical in 2nd order


# 4bdf82b5 27-Mar-2018 Andreas Gohr <gohr@cosmocode.de>

first go at styling

This removes a lot of reudundant CSS classes in favor of cascading
selectors. Styling isn't done, yet this is just a first step.

Still to do:

* aria labels
* styling the toggle

first go at styling

This removes a lot of reudundant CSS classes in favor of cascading
selectors. Styling isn't done, yet this is just a first step.

Still to do:

* aria labels
* styling the toggle mechanism
* RTL styling
* making sure everything displays correct when no JS is available
* translations may be missing
* refactoring the rest of search.less to make use of LESS features

show more ...


# 16ece95c 27-Mar-2018 Michael Große <grosse@cosmocode.de>

feat(search): trigger new event for small search field form

This also renames the event for the search form on the search page.

The scheme for naming events that provide the new Form-class as $data

feat(search): trigger new event for small search field form

This also renames the event for the search form on the search page.

The scheme for naming events that provide the new Form-class as $data is
FORM_<formname>_OUTPUT

show more ...


# 1265b193 27-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor(search): shorten get parameters


# c6b5b74a 27-Mar-2018 Michael Große <grosse@cosmocode.de>

fix(search): detect irregular fragment query

If the entered query does not cleanly fall into the area of the given
options, show the current behavior as "custom".


# df977249 27-Mar-2018 Michael Große <grosse@cosmocode.de>

feat(search) more nuanced tool deactivation

This gives create control over when a query is too complex for tool
support.


# 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 ...


# 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 ...


# 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 ...


123