summaryrefslogtreecommitdiff
path: root/app/helpers/search_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Autofixed some untranslated stringsi18n-copLuke Bennett2019-01-311-1/+1
|
* Reduce counts in search_entries_info44353-improve-snippet-search-performanceHeinrich Lee Yu2019-01-041-2/+2
|
* Add helper testsHeinrich Lee Yu2018-11-131-1/+1
|
* Clean up page_filter_pathHeinrich Lee Yu2018-11-131-0/+10
|
* Apply new search bar on issues and merge request dashboardsHeinrich Lee Yu2018-11-131-2/+3
|
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+4
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Enable frozen string for app/helpers/**/*.rbgfyoung2018-09-061-0/+2
| | | | Partially addresses #47424.
* Resolve "Frontend for clarifying the usefulness of the search bar"Dennis Tang2018-08-071-10/+10
|
* Add avatar_url attr to the response of the autocomplete endpointRubén Dávila2018-07-171-2/+4
|
* Add ability to search wiki titlesFrancisco Javier López2018-06-041-2/+10
|
* Replace deprecated name_with_namespace with full_name in app and specDmitriy Zaporozhets2018-03-051-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use limit for search count queriessearch-100Jan Provaznik2018-01-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | Search query is especially slow if a user searches a generic string which matches many records, in such case search can take tens of seconds or time out. To speed up the search query, we search only for first 1000 records, if there is >1000 matching records we just display "1000+" instead of precise total count supposing that with such amount the exact count is not so important for the user. Because for issues even limited search was not fast enough, 2-phase approach is used for issues: first we use simpler/faster query to get all public issues, if this exceeds the limit, we just return the limit. If the amount of matching results is lower than limit, we re-run more complex search query (which includes also confidential issues). Re-running the complex query should be fast enough in such case because the amount of matching issues is lower than limit. Because exact total_count is now limited, this patch also switches to to "prev/next" pagination. Related #40540
* Use UserSerializer instead of `User.to_json`Robert Speicher2017-12-191-1/+1
|
* Disables autocomplete in filtered searchJacopo2017-11-201-1/+2
| | | | Sets `autocomplete=off` to issuable filtered serarch.
* Merge branch '23079-remove-default-scope-in-sortable' into 'master'Douwe Maan2017-09-071-2/+2
|\ | | | | | | | | | | | | Removes default scope from sortable Closes #23079 See merge request !13558
| * Removes default scope from sortable23079-remove-default-scope-in-sortableTiago Botelho2017-09-071-2/+2
| |
* | Merge branch 'ee_issue_928_backport' into 'master'Sean McGivern2017-09-071-6/+8
|\ \ | | | | | | | | | | | | Group boards CE backport See merge request !13883
| * | Group boards CE backportFelipe Artur2017-08-281-6/+8
| |/
* | Hide admin link from default search results for non-adminsMark Fletcher2017-09-061-2/+9
|/
* Add filtered search to group issue dashboardClement Ho2017-08-021-4/+12
|
* Resolve "Inconsistent location of members page between groups and projects"Tim Zallmann2017-07-071-1/+1
|
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-12/+12
|
* Merge branch 'tc-namespace-license-checks--multiple-assignees' into 'master'Douwe Maan2017-07-041-0/+12
|\ | | | | | | | | CE counterpart of: Namespace license checks for multiple assignees See merge request !11825
| * Use helper method to set filtered search input attributesToon Claes2017-06-201-0/+12
| | | | | | | | | | | | | | | | The list of attributes for the filtered search input was getting long, so use a helper method to fill that hash. Also, for multiple issue assignees, a helper is more convenient because it would allow EE to override the behavior if MIA is supported.
* | Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-2/+2
|/
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-3/+3
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Move webhooks to new a location under IntegrationsAchilleas Pipinellis2017-02-031-1/+1
|
* Use full group name/path in UI dropdownsDmitriy Zaporozhets2017-01-301-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch '25985-combine-members-and-groups-settings-pages' into 'master' Alfredo Sumaran2017-01-061-1/+1
|\ | | | | | | | | | | | | Moved the members and groups to single option called members Closes #25985 See merge request !8281
| * Moved the members (project_members)option to a single controller called membersJose Ivan Vargas2017-01-031-1/+1
| | | | | | | | | | | | | | This controller is going to contain both the project members and groups options for the settings gear. Generated the route and modified the routing to point to the new members setting path
* | 26352 Change Profile settings to User / Settings26352-user-dropdown-settingstauriedavis2017-01-041-1/+1
|/
* Search for a filename in a project23117-search-for-a-filename-in-a-projectValery Sizov2016-11-161-28/+1
|
* Make search results use the markdown cache columns, treating them consistentlyNick Thomas2016-10-071-2/+12
| | | | | | Truncato is introduced as a dependency to intelligently shorten the rendered HTML to 200 characters; the previous approach could have resulted in invalid HTML being rendered.
* Backport search_helper changes from EEbackport_to_search_helper_from_eeValery Sizov2016-09-141-0/+31
|
* Escape search term before passing it to Regexp.new (!6241)winniehell2016-09-071-1/+3
|
* Fix markdown help referencesClement Ho2016-08-261-1/+1
|
* Enable Style/SpaceAroundEqualsInParameterDefault coprubocop/SpaceAroundEqualsInParameterDefaultGabriel Mazetto2016-08-061-1/+1
|
* fix missing repo_ref parambarthc2016-07-221-1/+2
|
* Update permissons links to new pageupdate-permissions-linksSean McGivern2016-07-141-1/+1
| | | | | permissions/permissions just links to user/permissions since https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5210
* Update the help_page_path route to accept paths directly instead of using ↵Connor Shea2016-07-111-9/+9
| | | | parameters.
* Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-011-1/+0
|
* Codestyle: make sure we have space around operatorsGabriel Mazetto2016-05-131-1/+1
|
* Updated based on feedbacksearch-ui-updatePhil Hughes2016-04-261-6/+6
| | | | | Changed some variable names Fixed CHANGELOG entry
* Correctly shows no results textPhil Hughes2016-04-261-1/+1
| | | | Correct search results count
* Humanize scope textPhil Hughes2016-04-261-2/+2
|
* Mobile updates for search UIPhil Hughes2016-04-261-1/+1
|
* Started updating search UIPhil Hughes2016-04-261-0/+10
|
* Use strings instead of constantsAlfredo Sumaran2016-03-241-31/+25
|
* Set constants for category namesAlfredo Sumaran2016-03-211-27/+32
|
* Better wordingAlfredo Sumaran2016-03-151-2/+2
|