Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
3a2abc1d
Commit
3a2abc1d
authored
Jan 16, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable the Layout/ExtraSpacing cop
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
16ab0050
Changes
55
Show whitespace changes
Inline
Side-by-side
Showing
55 changed files
with
85 additions
and
96 deletions
+85
-96
.rubocop_todo.yml
.rubocop_todo.yml
+0
-6
app/controllers/passwords_controller.rb
app/controllers/passwords_controller.rb
+1
-1
app/controllers/projects/commit_controller.rb
app/controllers/projects/commit_controller.rb
+2
-2
app/controllers/projects/discussions_controller.rb
app/controllers/projects/discussions_controller.rb
+1
-1
app/controllers/projects/merge_requests_controller.rb
app/controllers/projects/merge_requests_controller.rb
+1
-1
app/controllers/projects/pages_controller.rb
app/controllers/projects/pages_controller.rb
+1
-1
app/graphql/types/permission_types/project.rb
app/graphql/types/permission_types/project.rb
+1
-1
app/helpers/auth_helper.rb
app/helpers/auth_helper.rb
+1
-1
app/helpers/issuables_helper.rb
app/helpers/issuables_helper.rb
+1
-1
app/models/clusters/platforms/kubernetes.rb
app/models/clusters/platforms/kubernetes.rb
+1
-1
app/models/concerns/has_status.rb
app/models/concerns/has_status.rb
+5
-5
app/models/email.rb
app/models/email.rb
+1
-1
app/models/group.rb
app/models/group.rb
+1
-1
app/models/member.rb
app/models/member.rb
+1
-1
app/models/milestone.rb
app/models/milestone.rb
+1
-1
app/models/project_services/irker_service.rb
app/models/project_services/irker_service.rb
+1
-1
app/models/snippet.rb
app/models/snippet.rb
+2
-2
app/models/user.rb
app/models/user.rb
+1
-1
app/serializers/pipeline_entity.rb
app/serializers/pipeline_entity.rb
+1
-1
app/services/boards/issues/move_service.rb
app/services/boards/issues/move_service.rb
+1
-1
app/services/boards/lists/destroy_service.rb
app/services/boards/lists/destroy_service.rb
+1
-1
app/services/labels/promote_service.rb
app/services/labels/promote_service.rb
+1
-1
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+1
-1
app/views/ci/status/_dropdown_graph_badge.html.haml
app/views/ci/status/_dropdown_graph_badge.html.haml
+2
-2
app/views/dashboard/groups/index.html.haml
app/views/dashboard/groups/index.html.haml
+1
-1
app/views/devise/passwords/edit.html.haml
app/views/devise/passwords/edit.html.haml
+1
-1
app/views/devise/sessions/two_factor.html.haml
app/views/devise/sessions/two_factor.html.haml
+1
-1
app/views/doorkeeper/authorizations/new.html.haml
app/views/doorkeeper/authorizations/new.html.haml
+1
-1
app/views/events/event/_note.html.haml
app/views/events/event/_note.html.haml
+1
-1
app/views/groups/group_members/index.html.haml
app/views/groups/group_members/index.html.haml
+1
-1
app/views/groups/merge_requests.html.haml
app/views/groups/merge_requests.html.haml
+1
-1
app/views/groups/milestones/_form.html.haml
app/views/groups/milestones/_form.html.haml
+1
-2
app/views/layouts/_head.html.haml
app/views/layouts/_head.html.haml
+14
-14
app/views/layouts/group.html.haml
app/views/layouts/group.html.haml
+1
-1
app/views/layouts/header/_new_dropdown.haml
app/views/layouts/header/_new_dropdown.haml
+1
-1
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+1
-1
app/views/layouts/nav/sidebar/_project.html.haml
app/views/layouts/nav/sidebar/_project.html.haml
+1
-1
app/views/layouts/snippets.html.haml
app/views/layouts/snippets.html.haml
+1
-1
app/views/projects/_export.html.haml
app/views/projects/_export.html.haml
+2
-2
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+1
-1
app/views/projects/_issuable_by_email.html.haml
app/views/projects/_issuable_by_email.html.haml
+1
-1
app/views/projects/_new_project_fields.html.haml
app/views/projects/_new_project_fields.html.haml
+1
-1
app/views/projects/buttons/_dropdown.html.haml
app/views/projects/buttons/_dropdown.html.haml
+2
-2
app/views/projects/commit/_commit_box.html.haml
app/views/projects/commit/_commit_box.html.haml
+1
-1
app/views/projects/issues/_merge_requests.html.haml
app/views/projects/issues/_merge_requests.html.haml
+1
-1
app/views/projects/issues/_merge_requests_status.html.haml
app/views/projects/issues/_merge_requests_status.html.haml
+1
-1
app/views/projects/issues/_new_branch.html.haml
app/views/projects/issues/_new_branch.html.haml
+1
-1
app/views/projects/milestones/_form.html.haml
app/views/projects/milestones/_form.html.haml
+2
-2
app/views/projects/pipeline_schedules/_form.html.haml
app/views/projects/pipeline_schedules/_form.html.haml
+1
-1
app/views/projects/project_members/_team.html.haml
app/views/projects/project_members/_team.html.haml
+1
-1
app/views/projects/project_templates/_built_in_templates.html.haml
.../projects/project_templates/_built_in_templates.html.haml
+1
-1
app/views/projects/serverless/functions/index.html.haml
app/views/projects/serverless/functions/index.html.haml
+1
-1
app/views/projects/tree/_tree_header.html.haml
app/views/projects/tree/_tree_header.html.haml
+9
-12
app/views/shared/boards/components/_sidebar.html.haml
app/views/shared/boards/components/_sidebar.html.haml
+1
-1
app/views/shared/issuable/_bulk_update_sidebar.html.haml
app/views/shared/issuable/_bulk_update_sidebar.html.haml
+1
-2
No files found.
.rubocop_todo.yml
View file @
3a2abc1d
...
...
@@ -15,12 +15,6 @@ Capybara/CurrentPathExpectation:
Layout/EmptyLinesAroundArguments
:
Enabled
:
false
# Offense count: 253
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
Layout/ExtraSpacing
:
Enabled
:
false
# Offense count: 83
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
...
...
app/controllers/passwords_controller.rb
View file @
3a2abc1d
app/controllers/projects/commit_controller.rb
View file @
3a2abc1d
app/controllers/projects/discussions_controller.rb
View file @
3a2abc1d
app/controllers/projects/merge_requests_controller.rb
View file @
3a2abc1d
app/controllers/projects/pages_controller.rb
View file @
3a2abc1d
app/graphql/types/permission_types/project.rb
View file @
3a2abc1d
app/helpers/auth_helper.rb
View file @
3a2abc1d
app/helpers/issuables_helper.rb
View file @
3a2abc1d
app/models/clusters/platforms/kubernetes.rb
View file @
3a2abc1d
app/models/concerns/has_status.rb
View file @
3a2abc1d
app/models/email.rb
View file @
3a2abc1d
app/models/group.rb
View file @
3a2abc1d
app/models/member.rb
View file @
3a2abc1d
app/models/milestone.rb
View file @
3a2abc1d
app/models/project_services/irker_service.rb
View file @
3a2abc1d
app/models/snippet.rb
View file @
3a2abc1d
app/models/user.rb
View file @
3a2abc1d
app/serializers/pipeline_entity.rb
View file @
3a2abc1d
app/services/boards/issues/move_service.rb
View file @
3a2abc1d
app/services/boards/lists/destroy_service.rb
View file @
3a2abc1d
app/services/labels/promote_service.rb
View file @
3a2abc1d
app/views/admin/groups/show.html.haml
View file @
3a2abc1d
app/views/ci/status/_dropdown_graph_badge.html.haml
View file @
3a2abc1d
app/views/dashboard/groups/index.html.haml
View file @
3a2abc1d
app/views/devise/passwords/edit.html.haml
View file @
3a2abc1d
app/views/devise/sessions/two_factor.html.haml
View file @
3a2abc1d
app/views/doorkeeper/authorizations/new.html.haml
View file @
3a2abc1d
app/views/events/event/_note.html.haml
View file @
3a2abc1d
app/views/groups/group_members/index.html.haml
View file @
3a2abc1d
app/views/groups/merge_requests.html.haml
View file @
3a2abc1d
app/views/groups/milestones/_form.html.haml
View file @
3a2abc1d
...
...
@@ -24,4 +24,3 @@
-
else
=
f
.
submit
'Update milestone'
,
class:
"btn-success btn"
=
link_to
"Cancel"
,
group_milestone_path
(
@group
,
@milestone
),
class:
"btn btn-cancel"
app/views/layouts/_head.html.haml
View file @
3a2abc1d
app/views/layouts/group.html.haml
View file @
3a2abc1d
app/views/layouts/header/_new_dropdown.haml
View file @
3a2abc1d
app/views/layouts/nav/_dashboard.html.haml
View file @
3a2abc1d
app/views/layouts/nav/sidebar/_project.html.haml
View file @
3a2abc1d
...
...
@@ -170,7 +170,7 @@
=
_
(
'CI / CD'
)
%ul
.sidebar-sub-level-items
=
nav_link
(
controller:
[
:pipelines
,
:builds
,
:jobs
,
:pipeline_schedules
,
:artifacts
],
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
nav_link
(
controller:
[
:pipelines
,
:builds
,
:jobs
,
:pipeline_schedules
,
:artifacts
],
html_options:
{
class:
"fly-out-top-item"
})
do
=
link_to
project_pipelines_path
(
@project
)
do
%strong
.fly-out-top-item-name
=
_
(
'CI / CD'
)
...
...
app/views/layouts/snippets.html.haml
View file @
3a2abc1d
app/views/projects/_export.html.haml
View file @
3a2abc1d
app/views/projects/_home_panel.html.haml
View file @
3a2abc1d
app/views/projects/_issuable_by_email.html.haml
View file @
3a2abc1d
app/views/projects/_new_project_fields.html.haml
View file @
3a2abc1d
app/views/projects/buttons/_dropdown.html.haml
View file @
3a2abc1d
app/views/projects/commit/_commit_box.html.haml
View file @
3a2abc1d
app/views/projects/issues/_merge_requests.html.haml
View file @
3a2abc1d
app/views/projects/issues/_merge_requests_status.html.haml
View file @
3a2abc1d
app/views/projects/issues/_new_branch.html.haml
View file @
3a2abc1d
app/views/projects/milestones/_form.html.haml
View file @
3a2abc1d
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
@milestone
],
html:
{
class:
'milestone-form common-note-form js-quick-submit js-requires-input'
},
html:
{
class:
'milestone-form common-note-form js-quick-submit js-requires-input'
},
data:
{
markdown_version:
@milestone
.
cached_markdown_version
}
do
|
f
|
=
form_errors
(
@milestone
)
.row
...
...
app/views/projects/pipeline_schedules/_form.html.haml
View file @
3a2abc1d
app/views/projects/project_members/_team.html.haml
View file @
3a2abc1d
app/views/projects/project_templates/_built_in_templates.html.haml
View file @
3a2abc1d
app/views/projects/serverless/functions/index.html.haml
View file @
3a2abc1d
app/views/projects/tree/_tree_header.html.haml
View file @
3a2abc1d
...
...
@@ -43,24 +43,21 @@
-
continue_params
=
{
to:
project_new_blob_path
(
@project
,
@id
),
notice:
edit_in_new_fork_notice
,
notice_now:
edit_in_new_fork_notice_now
}
-
fork_path
=
project_forks_path
(
@project
,
namespace_key:
current_user
.
namespace
.
id
,
continue:
continue_params
)
-
fork_path
=
project_forks_path
(
@project
,
namespace_key:
current_user
.
namespace
.
id
,
continue:
continue_params
)
=
link_to
fork_path
,
method: :post
do
#{
_
(
'New file'
)
}
%li
-
continue_params
=
{
to:
request
.
fullpath
,
notice:
edit_in_new_fork_notice
+
" Try to upload a file again."
,
notice_now:
edit_in_new_fork_notice_now
}
-
fork_path
=
project_forks_path
(
@project
,
namespace_key:
current_user
.
namespace
.
id
,
continue:
continue_params
)
-
fork_path
=
project_forks_path
(
@project
,
namespace_key:
current_user
.
namespace
.
id
,
continue:
continue_params
)
=
link_to
fork_path
,
method: :post
do
#{
_
(
'Upload file'
)
}
%li
-
continue_params
=
{
to:
request
.
fullpath
,
notice:
edit_in_new_fork_notice
+
" Try to create a new directory again."
,
notice_now:
edit_in_new_fork_notice_now
}
-
fork_path
=
project_forks_path
(
@project
,
namespace_key:
current_user
.
namespace
.
id
,
continue:
continue_params
)
-
fork_path
=
project_forks_path
(
@project
,
namespace_key:
current_user
.
namespace
.
id
,
continue:
continue_params
)
=
link_to
fork_path
,
method: :post
do
#{
_
(
'New directory'
)
}
...
...
app/views/shared/boards/components/_sidebar.html.haml
View file @
3a2abc1d
app/views/shared/issuable/_bulk_update_sidebar.html.haml
View file @
3a2abc1d
...
...
@@ -50,4 +50,3 @@
=
hidden_field_tag
"update[issuable_ids]"
,
[]
=
hidden_field_tag
:state_event
,
params
[
:state_event
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment