gitlab-org--gitlab-foss/spec
Thong Kuah 0e78834bc9 Move code to presenter
Part of the code such as #show_path is already present on the presenter.
Also avoid having code in two places (helper and presenter)

Sanitize and assert html_safe. Additional layer of defense - on top of
GitLab already requiring group names to be composed of small set of
chars A-Z, - and spaces.

Only link to cluster if user can read cluster

Make clear that arg is a GroupClusterablePresenter

Add more specs for completeness
2018-12-17 09:51:53 +13:00
..
bin
config Pad encryption keys with UTF-8 0 instead of \0 char 2018-11-28 12:00:17 +01:00
controllers Merge branch '52424-goodbye-hipchat-dependency-1' into 'master' 2018-12-14 11:19:13 +00:00
db Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
dependencies
factories Merge branch 'ac-releases-name-sha-author' into 'master' 2018-12-14 11:53:13 +00:00
features Merge branch 'rs-transient-help-page-failure' into 'master' 2018-12-15 05:50:36 +00:00
finders Show clusters of ancestors in cluster list page 2018-12-17 09:50:52 +13:00
fixtures Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
frontend Delete dummy spec 2018-12-11 15:03:59 +01:00
graphql Suggests issues when typing title 2018-11-27 15:10:40 +00:00
helpers Move code to presenter 2018-12-17 09:51:53 +13:00
initializers Revert "Prefer to use correlation-id in logs" 2018-12-06 21:46:31 +01:00
javascripts Merge branch '55402-broken-master-karma-test-failing-in-spec-javascripts-boards-components-issue_due_date_spec-js' into 'master' 2018-12-16 01:11:16 +00:00
lib Merge branch '54786-mr-empty-file-display' into 'master' 2018-12-15 12:21:54 +00:00
mailers Fix a potential frozen string error in app/mailers/notify.rb 2018-12-11 15:13:42 +01:00
migrations Add name, author and sha to releases 2018-12-13 12:15:21 +01:00
models Merge branch 'ac-releases-name-sha-author' into 'master' 2018-12-14 11:53:13 +00:00
policies Merge branch 'security-guest-comments' into 'master' 2018-11-28 19:11:56 -05:00
presenters Move code to presenter 2018-12-17 09:51:53 +13:00
rack_servers
requests Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
routing Revert "Resolve "[Rails5] `ActionView::MissingTemplate` in spec/features/projects/wiki/user_views_wiki_page_spec.rb"" 2018-12-03 12:28:51 +01:00
rubocop Fix ActiveRecord::Migration deprecations 2018-12-12 16:38:40 +01:00
serializers Merge branch 'bw-fix-missing-board-milestone' into 'master' 2018-12-14 00:26:05 +00:00
services Merge branch 'ac-releases-name-sha-author' into 'master' 2018-12-14 11:53:13 +00:00
sidekiq/cron
support Merge branch '54786-mr-empty-file-display' into 'master' 2018-12-15 12:21:54 +00:00
tasks Restore Object Pools when restoring an object pool 2018-12-13 09:00:03 +01:00
uploaders Fix already initialized constant IDENTIFIER warning 2018-12-10 11:00:08 +05:00
validators Allow URLs to be validated as ascii_only 2018-12-06 15:18:18 +00:00
views Further design iteration on project overview 2018-12-07 14:11:42 +00:00
workers Send a notification email on mirror update errors 2018-12-11 23:08:17 -03:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Remove rails 4 support in CI, Gemfiles, bin/ and config/ 2018-12-14 19:36:22 +01:00