summaryrefslogtreecommitdiff
path: root/app/views/search
Commit message (Collapse)AuthorAgeFilesLines
* format merge request references properlyBen Bodenmiller2016-04-181-1/+1
|
* Refactor and expose only Gitlab::UrlBuilder.build(record)simplify-gitlab-url_builder-15202Rémy Coutable2016-04-131-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix view of notes in search results when noteable is a snippetsnippets-with-comments-cause-a-500-when-they-show-up-in-search-results-14764Rémy Coutable2016-03-311-11/+7
| | | | | | Also, streamline the view. Signed-off-by: Rémy Coutable <remy@rymai.me>
* change the css class has_tooltip to has-tooltip universallychange_css_class_has_tooltip_to_has-tooltipArinde Eniola2016-03-201-1/+1
|
* Add eye-slash icon to confidential issuesDouglas Barbosa Alexandre2016-03-171-0/+1
|
* Fix wiki search results point to raw sourceHiroyuki Sato2016-03-171-2/+2
|
* Improved search results filter dropdownPhil Hughes2016-03-111-16/+30
|
* Merge branch 'lazy-diffs' into 'master' Jacob Vosmaer2016-03-031-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lazy diffs Needs https://gitlab.com/gitlab-org/gitlab_git/merge_requests/65 Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/10785 - Use Gitlab::Git::DiffCollection which limits the result set size. This avoids loading unnecessary data from Git/SQL into memory. - Remove left-over Grit timeout handling code. - Use Gitlab::Git::Count.lines to count lines in strings. - Use more iterators. See merge request !2705
| * Use Gitlab::Git::DiffCollectionsJacob Vosmaer2016-03-031-1/+1
| |
* | Place pagination outside .search-resultsissue_13933Alfredo Sumaran2016-03-021-1/+3
| |
* | Include pagination for other than projects searchAlfredo Sumaran2016-03-011-1/+1
|/
* Enable search for logged-out usersDmitriy Zaporozhets2016-03-012-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Faster snippet searchValery Sizov2016-02-051-20/+24
|
* Merge branch 'fix-error-500-mr-search' into 'master' Dmitriy Zaporozhets2016-01-221-1/+1
|\ | | | | | | | | | | | | Fix Error 500 when doing a search for merge requests Potential fix for #11547 See merge request !2525
| * Fix Error 500 when doing a search for merge requestsStan Hu2016-01-201-1/+1
| | | | | | | | Potential fix for #11547
* | Use consistent markup and styling for highlighting across blobs, diffs, ↵Douwe Maan2016-01-211-22/+20
|/ | | | blame and snippets
* Replace nav-tabs with nav-linksDmitriy Zaporozhets2016-01-133-3/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix Error 500 when doing a search in dashboard before visiting any projectStan Hu2015-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | If a search turned up an issue, under certain conditions you would see this error: ``` ActionView::Template::Error (undefined method `path_with_namespace' for nil:NilClass): 6: - if issue.description.present? 7: .description.term 8: = preserve do 9: = search_md_sanitize(markdown(issue.description)) 10: %span.light 11: #{issue.project.name_with_namespace} 12: - if issue.closed? lib/gitlab/markdown/upload_link_filter.rb:36:in `build_url' lib/gitlab/markdown/upload_link_filter.rb:31:in `process_link_attr' lib/gitlab/markdown/upload_link_filter.rb:18:in `block in call' lib/gitlab/markdown/upload_link_filter.rb:17:in `call' lib/gitlab/markdown.rb:127:in `gfm' lib/gitlab/markdown.rb:24:in `render' app/helpers/gitlab_markdown_helper.rb:61:in `markdown' app/views/search/results/_issue.html.haml:9:in `block in _app_views_search_results__issue_html_haml__4127460390996300432_59973760' app/views/search/results/_issue.html.haml:8:in `_app_views_search_results__issue_html_haml__4127460390996300432_59973760' app/views/search/_results.html.haml:20:in `_app_views_search__results_html_haml__589475855773452465_61761440' app/views/search/show.html.haml:5:in `_app_views_search_show_html_haml___1852335078065998536_69780120' ```
* Fix code that depends on incorrect inflector behaviorDmitriy Zaporozhets2015-11-031-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor search by commits messageolhado/gitlab-ce-commit-searchDmitriy Zaporozhets2015-11-022-32/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add support for searching commit log messagesJonathan Schoeffling2015-10-282-0/+39
| | | | | | | | Include the log messages of recent commits in project-level search results, providing functionality similar to 'git log --grep'. Update repository model rspec tests to validate the output of Repository#commits_with_log_matching.
* Add spellcheck=false to certain input fieldsspellcheck_falseValery Sizov2015-10-121-1/+1
|
* Merge branch 'rs-remove-user-color-scheme-class' into 'master'Douwe Maan2015-08-273-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | Apply syntax highlighting to fenced code blocks client-side Instead of applying the syntax highlighting scheme class to these blocks server-side, we use Javascript and Gon to apply the user's color scheme (or the default) client-side. This will make it easier to cache these blocks in the future because they're no longer state-dependent. See merge request !1203
| * Make snippet_blob highlight server-side as wellrs-remove-user-color-scheme-classRobert Speicher2015-08-261-1/+1
| |
| * Remove user_color_scheme_classRobert Speicher2015-08-253-3/+3
| | | | | | | | | | | | | | | | | | Instead of rendering this value server-side, we use Javascript and Gon to apply the user's color scheme (or the default) to any syntax highlighted code blocks. This will make it easier to cache these blocks in the future because they're no longer state-dependent.
* | Make search bar on search page more noticeableDmitriy Zaporozhets2015-08-274-12/+10
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | More compact search pageDmitriy Zaporozhets2015-08-272-3/+2
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Refactor project list renderingDmitriy Zaporozhets2015-08-262-7/+5
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Ability to search milestonesmilestone_searchValery Sizov2015-08-242-0/+23
|
* Fix search blobs for wikiDmitriy Zaporozhets2015-07-122-1/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Implement search of code via git grepsearch-git-grepDmitriy Zaporozhets2015-07-101-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Revert merge request states renamingDmitriy Zaporozhets2015-06-191-2/+2
| | | | | | | | Replaced: * "Accepted" with "Merged" * "Rejected" with "Closed" Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Dont use fixed pixel size if form controls - its bad for mobile devicesDmitriy Zaporozhets2015-06-081-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Consistently refer to MRs as either Accepted or Rejected.Douwe Maan2015-05-251-2/+2
|
* Simplify and unify helpers for rendering markupJakub Jirutka2015-05-181-10/+1
|
* Add a page title to every page.Douwe Maan2015-04-301-0/+1
|
* Move search categories (projects, issues etc) below search field. Instead ↵Dmitriy Zaporozhets2015-04-293-1/+80
| | | | | | use sidebar for dashbaord nav Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Continue refactoring and restyle of search layoutDmitriy Zaporozhets2015-04-285-27/+39
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Draft improvements to search layoutDmitriy Zaporozhets2015-04-285-106/+22
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor buttonsDmitriy Zaporozhets2015-03-141-2/+2
|
* Improve css for file actionsDmitriy Zaporozhets2015-03-131-6/+0
|
* Merge branch 'link-to-button' of https://github.com/cirosantilli/gitlabhq ↵Dmitriy Zaporozhets2015-03-021-2/+2
|\ | | | | | | | | | | | | into cirosantilli-link-to-button Conflicts: app/views/shared/_issuable_filter.html.haml
| * Convert Javascript links to buttons.Ciro Santilli2015-01-171-2/+2
| |
* | Update path helper referencesVinnie Okada2015-02-191-1/+1
| | | | | | | | | | Use the path helpers for nested project resources, for Rails 4.1.9 compatibility.
* | Upgrade to Rails 4.1.9Vinnie Okada2015-02-147-8/+8
|/ | | | | | Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
* Replace highlight.js with rouge-fork rugmentsStefan Tatschner2015-01-152-2/+2
| | | | | | | | | | I decided to create a fork of rouge as rouge lacks a HTML formatter with the required options such as wrapping a line with <span> tags. Furthermore I was not really convinced about the clarity of rouge's source code. Rugments 1.0.0beta3 for now only includes some basic linting and a new HTML formatter. Everything else should behave the same.
* Respect current controller scope when using search from project areaDmitriy Zaporozhets2014-12-021-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge pull request #7866 from cirosantilli/input-button-to-tagDmitriy Zaporozhets2014-10-281-1/+1
|\ | | | | Use button type=submit instead of input.
| * Use button type=submit instead of input.Ciro Santilli2014-10-011-1/+1
| |
* | Use short_id instead of [0..N] for short version of commit shaDmitriy Zaporozhets2014-10-101-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>