summaryrefslogtreecommitdiff
path: root/app/services/search
Commit message (Collapse)AuthorAgeFilesLines
* Restrict access to confidential issues on search resultsDouglas Barbosa Alexandre2016-03-172-2/+3
|
* Refactor Gitlab::ProjectSearchResultsYorick Peterse2016-03-111-1/+1
| | | | | | | | | Previously this class would be given a project ID which was then used to retrieve the corresponding Project object. However, in all cases the Project object was already known as it was used to grab the ID to pass to ProjectSearchResults. By just passing a Project instead we remove the need for an extra query as well as the need for some other complexity in this class.
* Refactor Gitlab::SnippetSearchResultsYorick Peterse2016-03-111-2/+3
| | | | This removes the need for plucking snippet IDs into memory.
* Refactor Gitlab::SearchResultsYorick Peterse2016-03-111-2/+1
| | | | | | | Instead of plucking IDs this class now uses ActiveRecord::Relation objects. Plucking IDs is problematic as searching for projects can lead to a huge amount of IDs being loaded into memory only to be used as an argument for another query (instead of just using a sub-query).
* An `in_namespace` scope is already presentzenati2015-06-091-1/+1
|
* Adding in snippet search functionalityCharles Bushong2014-08-291-0/+14
| | | | http://feedback.gitlab.com/forums/176466-general/suggestions/5529795-search-though-snippets
* Implement search page with filtering of results and paginationDmitriy Zaporozhets2014-08-272-52/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* fix searching on empty project, prevent 500Robert Schilling2014-08-111-1/+7
| | | | Fix hound
* Merge pull request #5531 from NotSqrt/add-searchDmitriy Zaporozhets2014-06-242-2/+5
|\ | | | | Add ability to search in issue description and issue comments
| * Update ability to search in issue descriptions and commentsNotSqrt2014-05-152-2/+5
| |
* | Refactor some search scopes to prevent wierd behaviour and PG::Error issuesDmitriy Zaporozhets2014-06-051-1/+1
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove confusing codeDmitriy Zaporozhets2014-03-141-3/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix global searchDmitriy Zaporozhets2014-03-141-1/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Allow access to groups with public projects.Jason Hollingsworth2014-02-201-5/+1
| | | | | Fixed Group avatars to only display when user has read permissions to at least one project in the group.
* Remove deprecated findersskv2014-01-191-1/+1
|
* Move all Context classes into ServicesDmitriy Zaporozhets2014-01-162-0/+77
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>