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
44af80e2
Commit
44af80e2
authored
Feb 09, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix merge conflicts
parent
d951d637
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
27 deletions
+1
-27
app/assets/javascripts/issuable_form.js
app/assets/javascripts/issuable_form.js
+0
-3
app/controllers/admin/dashboard_controller.rb
app/controllers/admin/dashboard_controller.rb
+1
-5
app/models/namespace.rb
app/models/namespace.rb
+0
-11
app/models/project.rb
app/models/project.rb
+0
-5
lib/api/projects.rb
lib/api/projects.rb
+0
-3
No files found.
app/assets/javascripts/issuable_form.js
View file @
44af80e2
...
@@ -3,12 +3,9 @@
...
@@ -3,12 +3,9 @@
/* global UsersSelect */
/* global UsersSelect */
/* global ZenMode */
/* global ZenMode */
/* global Autosave */
/* global Autosave */
<<<<<<<
HEAD
/* global GroupsSelect */
/* global GroupsSelect */
=======
/* global dateFormat */
/* global dateFormat */
/* global Pikaday */
/* global Pikaday */
>>>>>>>
ce
/
master
(
function
()
{
(
function
()
{
var
bind
=
function
(
fn
,
me
)
{
return
function
()
{
return
fn
.
apply
(
me
,
arguments
);
};
};
var
bind
=
function
(
fn
,
me
)
{
return
function
()
{
return
fn
.
apply
(
me
,
arguments
);
};
};
...
...
app/controllers/admin/dashboard_controller.rb
View file @
44af80e2
...
@@ -2,11 +2,7 @@ class Admin::DashboardController < Admin::ApplicationController
...
@@ -2,11 +2,7 @@ class Admin::DashboardController < Admin::ApplicationController
def
index
def
index
@projects
=
Project
.
with_route
.
limit
(
10
)
@projects
=
Project
.
with_route
.
limit
(
10
)
@users
=
User
.
limit
(
10
)
@users
=
User
.
limit
(
10
)
<<<<<<<
HEAD
@groups
=
Group
.
limit
(
10
)
@license
=
License
.
current
=======
@groups
=
Group
.
with_route
.
limit
(
10
)
@groups
=
Group
.
with_route
.
limit
(
10
)
>>>>>>>
ce
/
master
@license
=
License
.
current
end
end
end
end
app/models/namespace.rb
View file @
44af80e2
...
@@ -178,21 +178,10 @@ class Namespace < ActiveRecord::Base
...
@@ -178,21 +178,10 @@ class Namespace < ActiveRecord::Base
Gitlab
.
config
.
lfs
.
enabled
Gitlab
.
config
.
lfs
.
enabled
end
end
<<<<<<<
HEAD
def
actual_size_limit
def
actual_size_limit
current_application_settings
.
repository_size_limit
current_application_settings
.
repository_size_limit
end
end
def
full_path
if
parent
parent
.
full_path
+
'/'
+
path
else
path
end
end
=======
>>>>>>>
ce
/
master
def
shared_runners_enabled?
def
shared_runners_enabled?
projects
.
with_shared_runners
.
any?
projects
.
with_shared_runners
.
any?
end
end
...
...
app/models/project.rb
View file @
44af80e2
...
@@ -1594,10 +1594,6 @@ class Project < ActiveRecord::Base
...
@@ -1594,10 +1594,6 @@ class Project < ActiveRecord::Base
current_application_settings
.
default_branch_protection
==
Gitlab
::
Access
::
PROTECTION_DEV_CAN_MERGE
current_application_settings
.
default_branch_protection
==
Gitlab
::
Access
::
PROTECTION_DEV_CAN_MERGE
end
end
<<<<<<<
HEAD
def
full_path_changed?
path_changed?
||
namespace_id_changed?
=======
# Similar to the normal callbacks that hook into the life cycle of an
# Similar to the normal callbacks that hook into the life cycle of an
# Active Record object, you can also define callbacks that get triggered
# Active Record object, you can also define callbacks that get triggered
# when you add an object to an association collection. If any of these
# when you add an object to an association collection. If any of these
...
@@ -1607,7 +1603,6 @@ class Project < ActiveRecord::Base
...
@@ -1607,7 +1603,6 @@ class Project < ActiveRecord::Base
# than the number of permitted boards per project it won't fail.
# than the number of permitted boards per project it won't fail.
def
validate_board_limit
(
board
)
def
validate_board_limit
(
board
)
raise
BoardLimitExceeded
,
'Number of permitted boards exceeded'
if
boards
.
size
>=
NUMBER_OF_PERMITTED_BOARDS
raise
BoardLimitExceeded
,
'Number of permitted boards exceeded'
if
boards
.
size
>=
NUMBER_OF_PERMITTED_BOARDS
>>>>>>>
ce
/
master
end
end
def
update_project_statistics
def
update_project_statistics
...
...
lib/api/projects.rb
View file @
44af80e2
...
@@ -24,13 +24,10 @@ module API
...
@@ -24,13 +24,10 @@ module API
optional
:request_access_enabled
,
type:
Boolean
,
desc:
'Allow users to request member access'
optional
:request_access_enabled
,
type:
Boolean
,
desc:
'Allow users to request member access'
optional
:only_allow_merge_if_build_succeeds
,
type:
Boolean
,
desc:
'Only allow to merge if builds succeed'
optional
:only_allow_merge_if_build_succeeds
,
type:
Boolean
,
desc:
'Only allow to merge if builds succeed'
optional
:only_allow_merge_if_all_discussions_are_resolved
,
type:
Boolean
,
desc:
'Only allow to merge if all discussions are resolved'
optional
:only_allow_merge_if_all_discussions_are_resolved
,
type:
Boolean
,
desc:
'Only allow to merge if all discussions are resolved'
<<<<<<<
HEAD
# EE-specific
# EE-specific
optional
:repository_storage
,
type:
String
,
desc:
'Which storage shard the repository is on. Available only to admins'
optional
:repository_storage
,
type:
String
,
desc:
'Which storage shard the repository is on. Available only to admins'
optional
:approvals_before_merge
,
type:
Integer
,
desc:
'How many approvers should approve merge request by default'
optional
:approvals_before_merge
,
type:
Integer
,
desc:
'How many approvers should approve merge request by default'
=======
>>>>>>>
ce
/
master
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