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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
0f455038
Commit
0f455038
authored
Apr 18, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts
parent
f1f25c22
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
36 deletions
+9
-36
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+0
-3
config/routes/project.rb
config/routes/project.rb
+0
-19
config/routes/repository.rb
config/routes/repository.rb
+8
-1
config/webpack.config.js
config/webpack.config.js
+1
-4
features/steps/project/project.rb
features/steps/project/project.rb
+0
-9
No files found.
app/assets/javascripts/dispatcher.js
View file @
0f455038
...
@@ -33,12 +33,9 @@
...
@@ -33,12 +33,9 @@
/* global Labels */
/* global Labels */
/* global Shortcuts */
/* global Shortcuts */
/* global Sidebar */
/* global Sidebar */
<<<<<<<
HEAD
/* global WeightSelect */
/* global WeightSelect */
/* global AdminEmailSelect */
/* global AdminEmailSelect */
=======
/* global ShortcutsWiki */
/* global ShortcutsWiki */
>>>>>>>
aecaaa67c3d84637e6c691ed07b44115330dddcb
import
Issue
from
'
./issue
'
;
import
Issue
from
'
./issue
'
;
...
...
config/routes/project.rb
View file @
0f455038
...
@@ -119,13 +119,6 @@ constraints(ProjectUrlConstrainer.new) do
...
@@ -119,13 +119,6 @@ constraints(ProjectUrlConstrainer.new) do
end
end
end
end
<<<<<<<
HEAD
resources
:branches
,
only:
[
:index
,
:new
,
:create
,
:destroy
],
constraints:
{
id:
Gitlab
::
Regex
.
git_reference_regex
}
delete
:merged_branches
,
controller:
'branches'
,
action: :destroy_all_merged
resources
:tags
,
only:
[
:index
,
:show
,
:new
,
:create
,
:destroy
],
constraints:
{
id:
Gitlab
::
Regex
.
git_reference_regex
}
do
resource
:release
,
only:
[
:edit
,
:update
]
end
## EE-specific
## EE-specific
resources
:path_locks
,
only:
[
:index
,
:destroy
]
do
resources
:path_locks
,
only:
[
:index
,
:destroy
]
do
collection
do
collection
do
...
@@ -137,18 +130,6 @@ constraints(ProjectUrlConstrainer.new) do
...
@@ -137,18 +130,6 @@ constraints(ProjectUrlConstrainer.new) do
get
'/service_desk'
=>
'service_desk#show'
,
as: :service_desk
get
'/service_desk'
=>
'service_desk#show'
,
as: :service_desk
put
'/service_desk'
=>
'service_desk#update'
,
as: :service_desk_refresh
put
'/service_desk'
=>
'service_desk#update'
,
as: :service_desk_refresh
resources
:protected_branches
,
only:
[
:index
,
:show
,
:create
,
:update
,
:destroy
,
:patch
],
constraints:
{
id:
Gitlab
::
Regex
.
git_reference_regex
}
do
## EE-specific
scope
module: :protected_branches
do
resources
:merge_access_levels
,
only:
[
:destroy
]
resources
:push_access_levels
,
only:
[
:destroy
]
end
end
resources
:protected_tags
,
only:
[
:index
,
:show
,
:create
,
:update
,
:destroy
],
constraints:
{
id:
Gitlab
::
Regex
.
git_reference_regex
}
=======
>>>>>>>
aecaaa67c3d84637e6c691ed07b44115330dddcb
resources
:variables
,
only:
[
:index
,
:show
,
:update
,
:create
,
:destroy
]
resources
:variables
,
only:
[
:index
,
:show
,
:update
,
:create
,
:destroy
]
resources
:triggers
,
only:
[
:index
,
:create
,
:edit
,
:update
,
:destroy
]
do
resources
:triggers
,
only:
[
:index
,
:create
,
:edit
,
:update
,
:destroy
]
do
member
do
member
do
...
...
config/routes/repository.rb
View file @
0f455038
...
@@ -52,7 +52,14 @@ scope format: false do
...
@@ -52,7 +52,14 @@ scope format: false do
resource
:release
,
only:
[
:edit
,
:update
]
resource
:release
,
only:
[
:edit
,
:update
]
end
end
resources
:protected_branches
,
only:
[
:index
,
:show
,
:create
,
:update
,
:destroy
]
resources
:protected_branches
,
only:
[
:index
,
:show
,
:create
,
:update
,
:destroy
,
:patch
],
constraints:
{
id:
Gitlab
::
Regex
.
git_reference_regex
}
do
## EE-specific
scope
module: :protected_branches
do
resources
:merge_access_levels
,
only:
[
:destroy
]
resources
:push_access_levels
,
only:
[
:destroy
]
end
end
resources
:protected_tags
,
only:
[
:index
,
:show
,
:create
,
:update
,
:destroy
]
resources
:protected_tags
,
only:
[
:index
,
:show
,
:create
,
:update
,
:destroy
]
end
end
...
...
config/webpack.config.js
View file @
0f455038
...
@@ -128,11 +128,8 @@ var config = {
...
@@ -128,11 +128,8 @@ var config = {
'
notebook_viewer
'
,
'
notebook_viewer
'
,
'
pdf_viewer
'
,
'
pdf_viewer
'
,
'
vue_pipelines
'
,
'
vue_pipelines
'
,
<<<<<<<
HEAD
'
mr_widget_ee
'
,
'
mr_widget_ee
'
,
=======
'
issue_show
'
'
issue_show
'
,
>>>>>>>
aecaaa67c3d84637e6c691ed07b44115330dddcb
],
],
minChunks
:
function
(
module
,
count
)
{
minChunks
:
function
(
module
,
count
)
{
return
module
.
resource
&&
(
/vue_shared/
).
test
(
module
.
resource
);
return
module
.
resource
&&
(
/vue_shared/
).
test
(
module
.
resource
);
...
...
features/steps/project/project.rb
View file @
0f455038
...
@@ -67,7 +67,6 @@ class Spinach::Features::Project < Spinach::FeatureSteps
...
@@ -67,7 +67,6 @@ class Spinach::Features::Project < Spinach::FeatureSteps
expect
(
page
).
not_to
have_link
(
'Remove avatar'
)
expect
(
page
).
not_to
have_link
(
'Remove avatar'
)
end
end
<<<<<<<
HEAD
step
'I fill in merge request template'
do
step
'I fill in merge request template'
do
fill_in
'project_merge_requests_template'
,
with:
"This merge request should contain the following."
fill_in
'project_merge_requests_template'
,
with:
"This merge request should contain the following."
end
end
...
@@ -90,14 +89,6 @@ class Spinach::Features::Project < Spinach::FeatureSteps
...
@@ -90,14 +89,6 @@ class Spinach::Features::Project < Spinach::FeatureSteps
end
end
end
end
step
'I should see project "Shop" version'
do
page
.
within
'.project-side'
do
expect
(
page
).
to
have_content
'6.7.0.pre'
end
end
=======
>>>>>>>
aecaaa67c3d84637e6c691ed07b44115330dddcb
step
'change project default branch'
do
step
'change project default branch'
do
select
'fix'
,
from:
'project_default_branch'
select
'fix'
,
from:
'project_default_branch'
click_button
'Save changes'
click_button
'Save changes'
...
...
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