Commit Graph

6 Commits

Author SHA1 Message Date
GitLab Bot 20d564f106 Add latest changes from gitlab-org/gitlab@master 2020-02-05 12:09:15 +00:00
GitLab Bot c77dd0995c Add latest changes from gitlab-org/gitlab@master 2019-10-24 00:07:18 +00:00
Rémy Coutable 7d797b104f
Fix a typo in lib/gitlab/search/found_blob.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-07-01 10:43:06 +02:00
Takuya Noguchi 7d76128de9 Fix typo in code comments about Elasticsearch
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-06-28 20:01:15 +09:00
Markus Koller 6905a62867
Build correct basenames for title search results
The "basename" here needs to be the full path without the trailing
extension, instead of stripping the leading path as well.

This was previously fixed in 2f36efa087 inside the view, but the
problematic code was still present in FoundBlob, and the corresponding
spec didn't actually use a child wiki page to properly verify the fix.
2019-06-20 18:05:12 +02:00
Jan Provaznik 58bfd73331 Optimized file search to work without limits
* removed 100 limit on file search results because we
  load all results anyway
* expensive processing (parsing match content, utf encoding)
  is done only for selected page in paginated output
2018-12-06 09:25:09 +01:00