summaryrefslogtreecommitdiff
path: root/spec/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Update specJan-Gerd Tenberge2015-10-191-1/+1
| | | |
| * | | Add support for HiDPI displays in gravatar serviceJan-Gerd Tenberge2015-09-261-4/+8
| |/ /
* | | added specsValery Sizov2015-11-191-0/+26
| | |
* | | Allow groups to appear in the search results if the group owner allows itValery Sizov2015-11-051-0/+5
| |/ |/|
* | Merge branch 'cross-reference-mr-on-issues' into 'master' Douwe Maan2015-10-181-0/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show merge requests which close current issue Closes #2903 ### What does this MR do If an issue is to be closed by a merge request the current user has access to, this will be displayed when the user looks at the issue. ![Screenshot_from_2015-10-12_12-10-37](https://gitlab.com/zj/gitlab-ce/uploads/52e429704e73067b24b69801f13ad7bc/Screenshot_from_2015-10-12_12-10-37.png) /cc @DouweM See merge request !1569
| * | Only accept open issues and merge requestsZeger-Jan van de Weg2015-10-161-0/+10
| | |
* | | Merge branch 'rs-redactor-filter' into 'master' Douwe Maan2015-10-171-12/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Separate rendering of Markdown reference links from redacting those the user doesn't have access to and extracting referenced objects Related: !1014 See merge request !1090
| * \ \ Merge branch 'master' into rs-redactor-filterrs-redactor-filterDouwe Maan2015-10-162-0/+23
| |\ \ \ | | |/ /
| * | | Merge branch 'master' into rs-redactor-filterDouwe Maan2015-10-152-1/+6
| |\ \ \
| * | | | Refactor reference gathering to use a dedicated filterDouwe Maan2015-10-071-1/+1
| | | | |
| * | | | Merge branch 'master' into rs-redactor-filterDouwe Maan2015-10-079-16/+166
| |\ \ \ \
| * | | | | Fix GitlabMarkdownHelper specRobert Speicher2015-09-011-11/+14
| | | | | |
* | | | | | Merge branch 'filter-label' into 'master' Robert Speicher2015-10-161-5/+0
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | Allow dashboard and group issues/MRs to be filtered by label See merge request !1591
| * | | | | Merge branch 'master' into filter-labelfilter-labelDouwe Maan2015-10-141-5/+0
| | | | | |
* | | | | | Re-use User for avatars in link_to_memberYorick Peterse2015-10-151-0/+14
| | | | | |
* | | | | | Allow avatar_icon to operate on a UserYorick Peterse2015-10-151-0/+9
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | If the User object is already known before calling this method being able to re-use said object can save us an extra SQL query.
* | | | | Fix specsKamil Trzcinski2015-10-141-1/+1
|/ / / /
* | | | Support filtering by "Any" milestone or issue and fix "No Milestone" and "No ↵Stan Hu2015-10-071-0/+5
| |/ / |/| | | | | | | | | | | | | | | | | | | | Label" filters Closes #2619 Closes https://github.com/gitlabhq/gitlabhq/issues/9631
* | | Update README cache key to use full project namespaceStan Hu2015-10-021-2/+2
| | |
* | | Merge pull request #9684 from NKMR6194/masterStan Hu2015-10-011-0/+6
|\ \ \ | | | | | | | | Fix link with emoji
| * | | Fix link with emojiSAKATA Sinji2015-10-021-0/+6
| | | |
* | | | Include full path of source and target branch names in New Merge Request pageStan Hu2015-09-302-12/+32
|/ / / | | | | | | | | | | | | | | | Previous title would only show the group name, which could be confusing. Closes #2875
* | | Refactor CI helpersDmitriy Zaporozhets2015-09-292-2/+2
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Add user preference to view project activity and starred project activity as ↵Stan Hu2015-09-261-2/+6
| |/ |/| | | | | | | | | default dashboard Closes #2662
* | Merge branch 'fix-network-graph-refs' into 'master' Douwe Maan2015-09-241-0/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove git refs used internally by GitLab from network graph GitLab 8.0 removed satellites and started using git refs that began with `refs/merge-requests/XXX` and `refs/tmp/XXX`, which showed up in an ugly way in the network graph: ![image](https://gitlab.com/stanhu/gitlab-ce/uploads/150eb7ae5f07f0d4793589b5eac462db/image.png) Closes #2702 See merge request !1410
| * | Remove git refs used internally by GitLab from network graphStan Hu2015-09-231-0/+16
| | | | | | | | | | | | Closes #2702
* | | Merge branch 'fix-markdown-truncation-removing-links' into 'master' Robert Speicher2015-09-231-0/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix cases where Markdown did not render links in activity feed HTML would be stripped in `truncate_if_block` when a comment had multiple lines and the first wasn't long enough to be truncated. The use of `node.content` would strip all HTML tags. Using `node.inner_html` retains these tags and puts the "..." in between paragraph tags. Closes #2586 See merge request !1401
| * | | Fix cases where Markdown did not render links in activity feedStan Hu2015-09-221-0/+20
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | HTML would be stripped in `truncate_if_block` when a comment had multiple lines and the first wasn't long enough to be truncated. The use of `node.content` would strip all HTML tags. Using `node.inner_html` retains these tags and puts the "..." in between paragraph tags. Closes #2586
* | | Add tests for CiStatusHelper and changelog itemcommits-page-ci-statusDmitriy Zaporozhets2015-09-231-0/+18
|/ / | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Fix Markdown links not showing up in dashboard activity feedStan Hu2015-09-201-0/+11
| | | | | | | | Closes #2586
* | Fix: helpers/ci/runners_helper_spec.rbKamil Trzcinski2015-09-151-6/+6
| |
* | Fix: helpers/ci/application_helper_spec.rbKamil Trzcinski2015-09-151-3/+3
| |
* | CLeanup CI helpers since we dont use oauth any moreDmitriy Zaporozhets2015-09-112-118/+0
| |
* | Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-gDmitriy Zaporozhets2015-09-093-53/+57
|\ \ | |/
| * Remove invalid spec for GitlabMarkdownHelperRobert Speicher2015-08-311-5/+0
| |
| * Restore the forwarded HTML options in link_to_gfmRobert Speicher2015-08-271-0/+10
| |
| * Decouple Gitlab::Markdown from the GitlabMarkdownHelperRobert Speicher2015-08-271-16/+6
| | | | | | | | | | This module is now the sole source of knowledge for *how* we render Markdown (and GFM).
| * Re-add user_color_scheme helperRobert Speicher2015-08-261-23/+54
| | | | | | | | Update PreferencesHelper specs
| * Fix two more failing specsRobert Speicher2015-08-251-3/+2
| |
| * Remove user_color_scheme_classRobert Speicher2015-08-251-21/+0
| | | | | | | | | | | | | | | | | | 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.
* | Refactor CI testsDmitriy Zaporozhets2015-09-094-0/+173
|/
* Fix diff syntax highlightingStan Hu2015-08-102-1/+17
| | | | | | Refactored HTML parser to avoid duplication of newline parsing. Closes #2235
* Fix multi-line syntax highlightingStan Hu2015-07-301-0/+18
| | | | | | | | HTML span elements only apply to a single line, and in the case of multi-line comments, the highlighting was dropped as a result. Ensure that each line has the proper styling to fix this. Closes #1577
* Merge branch 'fix-error-500-when-no-head' into 'master'Valery Sizov2015-07-241-1/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix error 500 when no HEAD is available Steps to reproduce: 1. Create a project with a README 2. In the actual remote, type: `git symbolic-ref HEAD refs/heads/nowhere` 3. Check that HEAD is gone via `git ls-remote .` 4. Go to the projects page and see the Error 500 Error: ``` NoMethodError - undefined method `sha' for nil:NilClass: app/helpers/projects_helper.rb:281:in `readme_cache_key' app/views/projects/_readme.html.haml:10:in `_app_views_projects__readme_html_haml___2036282917939462960_70154565285700' actionview (4.1.11) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.11) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.11) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.11) lib/action_view/template.rb:339:in `instrument' actionview (4.1.11) lib/action_view/template.rb:143:in `render' rack-mini-profiler (0.9.0) lib/mini_profiler/profiling_methods.rb:108:in `block in profile_method' actionview (4.1.11) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.11) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.11) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.11) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.11) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.11) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.11) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.11) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.11) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' app/views/projects/show.html.haml:47:in `_app_views_projects_show_html_haml__1458303859692972698_70154948164180' actionview (4.1.11) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.11) lib/active_support/notifications.rb:159:in `block in instrument' ``` Closes https://github.com/gitlabhq/gitlabhq/issues/9484, but there may be some other issue there. See merge request !1041
| * Fix Error 500 when browsing projects with no HEADStan Hu2015-07-241-1/+19
| | | | | | | | | | | | | | | | | | | | Steps to reproduce: 1. Create a project with a README 2. In the actual remote, type: `git symbolic-ref HEAD refs/heads/nowhere` 3. Check that HEAD is gone via `git ls-remote .` 4. Go to the projects page and see the Error 500 Closes https://github.com/gitlabhq/gitlabhq/issues/9484
* | Allow custom label to be set for authentication providers.auth-icons-labelsDouwe Maan2015-07-232-20/+20
|/
* Merge branch 'fork_visibility_level' into 'master'Dmitriy Zaporozhets2015-07-102-0/+83
|\ | | | | | | | | | | | | | | Forks should not have more permissive visibility levels than the original https://dev.gitlab.org/gitlab/gitlabhq/issues/2286 See merge request !936
| * Fork visibility level fixfork_visibility_levelValery Sizov2015-07-062-0/+83
| |
* | Merge branch 'comment-box-changes' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets2015-07-101-1/+1
|\ \ | |/ |/|
| * Fixed the issuescomment-box-changesDarby2015-07-091-0/+1
| |