| 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. |
| 3286c65d | 27-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
fix(search): don't search for current page if submitting empty form
Pressing enter in the small quick-search-box while it was empty resulted in a search for the current pageid. |
| 220966d3 | 27-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
fix: display "show" item in page menu during search action
Since we no longer change the page during a search, using the "show" menu item to return to the current page makes more sense. |
| c5bd5721 | 27-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
l10n(search): localization for the toggle tools button |
| 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. |
| 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 |
| 340f849a | 27-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
fix(search): remove overlook from parameter
That parameter was introduced in cbcc2fa and removed in d22b78c |
| 5facb9bc | 27-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat(Form): add method to get position of element by element |
| 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. |
| 01c23ba8 | 26-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
l10n(search): en translation for new search functionality |
| 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 |