Commit d43324f5 authored by Nick Thomas's avatar Nick Thomas

Fix conflicts

parent 3cc76aa8
...@@ -427,7 +427,6 @@ entry. ...@@ -427,7 +427,6 @@ entry.
- Speed up group milestone index by passing group_id to IssuesFinder. !8363 - Speed up group milestone index by passing group_id to IssuesFinder. !8363
- Ensure issuable state changes only fire webhooks once. - Ensure issuable state changes only fire webhooks once.
<<<<<<< HEAD
## 8.14.7 (2017-01-21) ## 8.14.7 (2017-01-21)
- Ensure export files are removed after a namespace is deleted. - Ensure export files are removed after a namespace is deleted.
...@@ -436,8 +435,6 @@ entry. ...@@ -436,8 +435,6 @@ entry.
- Prevent users from deleting system deploy keys via the project deploy key API. - Prevent users from deleting system deploy keys via the project deploy key API.
- Upgrade omniauth gem to 1.3.2. - Upgrade omniauth gem to 1.3.2.
=======
>>>>>>> ce/master
## 8.14.6 (2017-01-10) ## 8.14.6 (2017-01-10)
- Update the gitlab-markup gem to the version 1.5.1. !8509 - Update the gitlab-markup gem to the version 1.5.1. !8509
......
...@@ -105,12 +105,11 @@ class Projects::GitHttpController < Projects::GitHttpClientController ...@@ -105,12 +105,11 @@ class Projects::GitHttpController < Projects::GitHttpClientController
access_check.allowed? access_check.allowed?
end end
<<<<<<< HEAD
def log_user_activity def log_user_activity
Users::ActivityService.new(user, 'pull').execute Users::ActivityService.new(user, 'pull').execute
======= end
def access_klass def access_klass
@access_klass ||= wiki? ? Gitlab::GitAccessWiki : Gitlab::GitAccess @access_klass ||= wiki? ? Gitlab::GitAccessWiki : Gitlab::GitAccess
>>>>>>> ce/master
end end
end end
...@@ -16,10 +16,7 @@ class ProjectGroupLink < ActiveRecord::Base ...@@ -16,10 +16,7 @@ class ProjectGroupLink < ActiveRecord::Base
validates :group_access, inclusion: { in: Gitlab::Access.values }, presence: true validates :group_access, inclusion: { in: Gitlab::Access.values }, presence: true
validate :different_group validate :different_group
<<<<<<< HEAD
before_destroy :delete_branch_protection before_destroy :delete_branch_protection
=======
>>>>>>> ce/master
after_commit :refresh_group_members_authorized_projects after_commit :refresh_group_members_authorized_projects
def self.access_options def self.access_options
......
module ApplicationSettings module ApplicationSettings
class UpdateService < ApplicationSettings::BaseService class UpdateService < ApplicationSettings::BaseService
def execute def execute
<<<<<<< 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)
@application_setting.repository_size_limit = (limit.to_i.megabytes if limit.present?) @application_setting.repository_size_limit = (limit.to_i.megabytes if limit.present?)
=======
>>>>>>> ce/master
@application_setting.update(@params) @application_setting.update(@params)
end end
end end
......
...@@ -3,18 +3,12 @@ module Ci ...@@ -3,18 +3,12 @@ module Ci
# proper pending build to runner on runner API request # proper pending build to runner on runner API request
class RegisterBuildService class RegisterBuildService
include Gitlab::CurrentSettings include Gitlab::CurrentSettings
<<<<<<< HEAD
prepend EE::Ci::RegisterBuildService prepend EE::Ci::RegisterBuildService
attr_reader :runner attr_reader :runner
=======
attr_reader :runner
Result = Struct.new(:build, :valid?) Result = Struct.new(:build, :valid?)
>>>>>>> ce/master
def initialize(runner) def initialize(runner)
@runner = runner @runner = runner
end end
......
...@@ -22,12 +22,9 @@ module Projects ...@@ -22,12 +22,9 @@ module Projects
return @project return @project
end end
<<<<<<< HEAD
# Repository size limit comes as MB from the view # Repository size limit comes as MB from the view
set_repository_size_limit_as_bytes set_repository_size_limit_as_bytes
=======
>>>>>>> ce/master
set_project_name_from_path set_project_name_from_path
# get namespace id # get namespace id
...@@ -148,14 +145,11 @@ module Projects ...@@ -148,14 +145,11 @@ module Projects
end end
end end
<<<<<<< HEAD
def set_repository_size_limit_as_bytes def set_repository_size_limit_as_bytes
limit = params.delete(:repository_size_limit) limit = params.delete(:repository_size_limit)
@project.repository_size_limit = (limit.to_i.megabytes if limit.present?) @project.repository_size_limit = (limit.to_i.megabytes if limit.present?)
end end
=======
>>>>>>> ce/master
def set_project_name_from_path def set_project_name_from_path
# Set project name from path # Set project name from path
if @project.name.present? && @project.path.present? if @project.name.present? && @project.path.present?
......
...@@ -18,15 +18,12 @@ ...@@ -18,15 +18,12 @@
- if @project.protected_branch? branch.name - if @project.protected_branch? branch.name
%span.label.label-success %span.label.label-success
protected protected
<<<<<<< HEAD
- if @project.mirror_ever_updated_successfully? && @repository.diverged_from_upstream?(branch.name) - if @project.mirror_ever_updated_successfully? && @repository.diverged_from_upstream?(branch.name)
%span.label.label-danger.has-tooltip{ data: { html: "true", title: branch_diverged_tooltip_message } } %span.label.label-danger.has-tooltip{ data: { html: "true", title: branch_diverged_tooltip_message } }
= icon('exclamation-triangle') = icon('exclamation-triangle')
diverged from upstream diverged from upstream
=======
>>>>>>> ce/master
.controls.hidden-xs< .controls.hidden-xs<
- if merge_project && create_mr_button?(@repository.root_ref, branch.name) - if merge_project && create_mr_button?(@repository.root_ref, branch.name)
= link_to create_mr_path(@repository.root_ref, branch.name), class: 'btn btn-default' do = link_to create_mr_path(@repository.root_ref, branch.name), class: 'btn btn-default' do
......
...@@ -14,11 +14,7 @@ if ENV['CI'] ...@@ -14,11 +14,7 @@ if ENV['CI']
Knapsack::Adapters::SpinachAdapter.bind Knapsack::Adapters::SpinachAdapter.bind
end end
<<<<<<< HEAD
%w(select2_helper test_env repo_helpers license wait_for_ajax sidekiq).each do |f| %w(select2_helper test_env repo_helpers license wait_for_ajax sidekiq).each do |f|
=======
%w(select2_helper test_env repo_helpers wait_for_ajax sidekiq).each do |f|
>>>>>>> ce/master
require Rails.root.join('spec', 'support', f) require Rails.root.join('spec', 'support', f)
end end
......
...@@ -24,11 +24,7 @@ module Ci ...@@ -24,11 +24,7 @@ module Ci
new_update = current_runner.ensure_runner_queue_value new_update = current_runner.ensure_runner_queue_value
<<<<<<< HEAD
build = Ci::RegisterBuildService.new(current_runner).execute
=======
result = Ci::RegisterBuildService.new(current_runner).execute result = Ci::RegisterBuildService.new(current_runner).execute
>>>>>>> ce/master
if result.valid? if result.valid?
if result.build if result.build
......
...@@ -183,13 +183,13 @@ describe ProjectsController do ...@@ -183,13 +183,13 @@ describe ProjectsController do
it 'shows the over size limit warning message for project members' do it 'shows the over size limit warning message for project members' do
allow(controller).to receive(:current_user).and_return(user) allow(controller).to receive(:current_user).and_return(user)
get :show, namespace_id: project.namespace.path, id: project.path get :show, namespace_id: public_project.namespace.path, id: public_project.path
expect(response).to render_template('_above_size_limit_warning') expect(response).to render_template('_above_size_limit_warning')
end end
it 'does not show the message for non members' do it 'does not show the message for non members' do
get :show, namespace_id: project.namespace.path, id: project.path get :show, namespace_id: public_project.namespace.path, id: public_project.path
expect(response).not_to render_template('_above_size_limit_warning') expect(response).not_to render_template('_above_size_limit_warning')
end end
......
...@@ -171,11 +171,7 @@ module Ci ...@@ -171,11 +171,7 @@ module Ci
end end
def execute(runner) def execute(runner)
<<<<<<< HEAD
described_class.new(runner).execute
=======
described_class.new(runner).execute.build described_class.new(runner).execute.build
>>>>>>> ce/master
end end
end end
end end
......
...@@ -65,7 +65,7 @@ module Ci ...@@ -65,7 +65,7 @@ module Ci
end end
def execute(runner) def execute(runner)
described_class.new(runner).execute described_class.new(runner).execute.build
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment