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
6ffe11cb
Commit
6ffe11cb
authored
Aug 23, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts
parent
43222c27
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
13 deletions
+4
-13
app/services/groups/create_service.rb
app/services/groups/create_service.rb
+0
-4
doc/user/project/merge_requests/index.md
doc/user/project/merge_requests/index.md
+1
-3
lib/gitlab/import_export/import_export.yml
lib/gitlab/import_export/import_export.yml
+0
-3
spec/services/users/destroy_service_spec.rb
spec/services/users/destroy_service_spec.rb
+3
-3
No files found.
app/services/groups/create_service.rb
View file @
6ffe11cb
...
@@ -13,15 +13,11 @@ module Groups
...
@@ -13,15 +13,11 @@ module Groups
return
@group
return
@group
end
end
<<<<<<<
HEAD
# Repository size limit comes as MB from the view
# Repository size limit comes as MB from the view
limit
=
params
.
delete
(
:repository_size_limit
)
limit
=
params
.
delete
(
:repository_size_limit
)
@group
.
repository_size_limit
=
Gitlab
::
Utils
.
try_megabytes_to_bytes
(
limit
)
if
limit
@group
.
repository_size_limit
=
Gitlab
::
Utils
.
try_megabytes_to_bytes
(
limit
)
if
limit
if
@group
.
parent
&&
!
can?
(
current_user
,
:admin_group
,
@group
.
parent
)
=======
if
@group
.
parent
&&
!
can?
(
current_user
,
:create_subgroup
,
@group
.
parent
)
if
@group
.
parent
&&
!
can?
(
current_user
,
:create_subgroup
,
@group
.
parent
)
>>>>>>>
upstream
/
master
@group
.
parent
=
nil
@group
.
parent
=
nil
@group
.
errors
.
add
(
:parent_id
,
'You don’t have permission to create a subgroup in this group.'
)
@group
.
errors
.
add
(
:parent_id
,
'You don’t have permission to create a subgroup in this group.'
)
...
...
doc/user/project/merge_requests/index.md
View file @
6ffe11cb
...
@@ -145,7 +145,6 @@ have been marked as a **Work In Progress**.
...
@@ -145,7 +145,6 @@ have been marked as a **Work In Progress**.
[
Learn more about settings a merge request as "Work In Progress".
](
work_in_progress_merge_requests.md
)
[
Learn more about settings a merge request as "Work In Progress".
](
work_in_progress_merge_requests.md
)
<<<<<<< HEAD
## Merge request approvals
## Merge request approvals
> Included in [GitLab Enterprise Edition Starter][products].
> Included in [GitLab Enterprise Edition Starter][products].
...
@@ -195,7 +194,7 @@ in a per-branch basis. No need to checkout the branch, install and preview local
...
@@ -195,7 +194,7 @@ in a per-branch basis. No need to checkout the branch, install and preview local
all your changes will be available to preview by anyone with the Review Apps link.
all your changes will be available to preview by anyone with the Review Apps link.
[
Read more about Review Apps.
](
../../../ci/review_apps/index.md
)
[
Read more about Review Apps.
](
../../../ci/review_apps/index.md
)
=======
## Merge request diff file navigation
## Merge request diff file navigation
The diff view has a persistent dropdown for file navigation. As you scroll through
The diff view has a persistent dropdown for file navigation. As you scroll through
...
@@ -203,7 +202,6 @@ diffs with a large number of files and/or many changes in those files, you can
...
@@ -203,7 +202,6 @@ diffs with a large number of files and/or many changes in those files, you can
easily jump to any changed file through the dropdown navigation.
easily jump to any changed file through the dropdown navigation.
![
Merge request diff file navigation
](
img/merge_request_diff_file_navigation.png
)
![
Merge request diff file navigation
](
img/merge_request_diff_file_navigation.png
)
>>>>>>> upstream/master
## Ignore whitespace changes in Merge Request diff view
## Ignore whitespace changes in Merge Request diff view
...
...
lib/gitlab/import_export/import_export.yml
View file @
6ffe11cb
...
@@ -98,14 +98,11 @@ excluded_attributes:
...
@@ -98,14 +98,11 @@ excluded_attributes:
-
:last_activity_at
-
:last_activity_at
-
:last_repository_updated_at
-
:last_repository_updated_at
-
:last_repository_check_at
-
:last_repository_check_at
<<<<<<< HEAD
-
:mirror_last_update_at
-
:mirror_last_update_at
-
:mirror_last_successful_update_at
-
:mirror_last_successful_update_at
-
:mirror_user_id
-
:mirror_user_id
-
:mirror_trigger_builds
-
:mirror_trigger_builds
=======
-
:storage_version
-
:storage_version
>
>>>>>>
upstream/master
snippets
:
snippets
:
-
:expired_at
-
:expired_at
merge_request_diff
:
merge_request_diff
:
...
...
spec/services/users/destroy_service_spec.rb
View file @
6ffe11cb
...
@@ -167,7 +167,6 @@ describe Users::DestroyService do
...
@@ -167,7 +167,6 @@ describe Users::DestroyService do
end
end
end
end
<<<<<<<
HEAD
context
"when the user was the mirror_user for a group project"
do
context
"when the user was the mirror_user for a group project"
do
let
(
:group_owner
)
{
create
(
:user
)
}
let
(
:group_owner
)
{
create
(
:user
)
}
let
(
:mirror_user
)
{
create
(
:user
)
}
let
(
:mirror_user
)
{
create
(
:user
)
}
...
@@ -183,7 +182,9 @@ describe Users::DestroyService do
...
@@ -183,7 +182,9 @@ describe Users::DestroyService do
service
.
execute
(
mirror_user
)
service
.
execute
(
mirror_user
)
expect
(
project
.
reload
.
mirror_user
).
to
eq
group_owner
expect
(
project
.
reload
.
mirror_user
).
to
eq
group_owner
=======
end
end
describe
"user personal's repository removal"
do
describe
"user personal's repository removal"
do
before
do
before
do
Sidekiq
::
Testing
.
inline!
{
service
.
execute
(
user
)
}
Sidekiq
::
Testing
.
inline!
{
service
.
execute
(
user
)
}
...
@@ -203,7 +204,6 @@ describe Users::DestroyService do
...
@@ -203,7 +204,6 @@ describe Users::DestroyService do
it
'removes repository'
do
it
'removes repository'
do
expect
(
gitlab_shell
.
exists?
(
project
.
repository_storage_path
,
"
#{
project
.
disk_path
}
.git"
)).
to
be_falsey
expect
(
gitlab_shell
.
exists?
(
project
.
repository_storage_path
,
"
#{
project
.
disk_path
}
.git"
)).
to
be_falsey
end
end
>>>>>>>
upstream
/
master
end
end
end
end
end
end
...
...
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