Commit 6b9c1a57 authored by Valery Sizov's avatar Valery Sizov

[CE->EE] Resove non-JS related conflicts

parent 8e38899d
...@@ -480,11 +480,7 @@ db:migrate:reset-mysql: ...@@ -480,11 +480,7 @@ db:migrate:reset-mysql:
variables: variables:
SETUP_DB: "false" SETUP_DB: "false"
script: script:
<<<<<<< HEAD - git fetch origin v9.3.0-ee
- git fetch origin v8.14.10-ee
=======
- git fetch origin v9.3.0
>>>>>>> 6306e797acca358c79c120e5b12c29a5ec604571
- git checkout -f FETCH_HEAD - git checkout -f FETCH_HEAD
- bundle install $BUNDLE_INSTALL_FLAGS - bundle install $BUNDLE_INSTALL_FLAGS
- cp config/gitlab.yml.example config/gitlab.yml - cp config/gitlab.yml.example config/gitlab.yml
......
...@@ -7,15 +7,11 @@ class Identity < ActiveRecord::Base ...@@ -7,15 +7,11 @@ class Identity < ActiveRecord::Base
validates :extern_uid, allow_blank: true, uniqueness: { scope: :provider } validates :extern_uid, allow_blank: true, uniqueness: { scope: :provider }
validates :user_id, uniqueness: { scope: :provider } validates :user_id, uniqueness: { scope: :provider }
<<<<<<< HEAD
scope :with_provider, ->(provider) { where(provider: provider) } scope :with_provider, ->(provider) { where(provider: provider) }
scope :with_extern_uid, ->(provider, extern_uid) { where(extern_uid: extern_uid, provider: provider) }
=======
scope :with_extern_uid, ->(provider, extern_uid) do scope :with_extern_uid, ->(provider, extern_uid) do
extern_uid = Gitlab::LDAP::Person.normalize_dn(extern_uid) if provider.starts_with?('ldap') extern_uid = Gitlab::LDAP::Person.normalize_dn(extern_uid) if provider.starts_with?('ldap')
where(extern_uid: extern_uid, provider: provider) where(extern_uid: extern_uid, provider: provider)
end end
>>>>>>> 6306e797acca358c79c120e5b12c29a5ec604571
def ldap? def ldap?
provider.starts_with?('ldap') provider.starts_with?('ldap')
......
...@@ -4,8 +4,5 @@ class MergeRequestBasicEntity < IssuableSidebarEntity ...@@ -4,8 +4,5 @@ class MergeRequestBasicEntity < IssuableSidebarEntity
expose :merge_error expose :merge_error
expose :state expose :state
expose :source_branch_exists?, as: :source_branch_exists expose :source_branch_exists?, as: :source_branch_exists
<<<<<<< HEAD
expose :rebase_in_progress?, as: :rebase_in_progress expose :rebase_in_progress?, as: :rebase_in_progress
=======
>>>>>>> 6306e797acca358c79c120e5b12c29a5ec604571
end end
module Milestones module Milestones
class PromoteService < Milestones::BaseService class PromoteService < Milestones::BaseService
<<<<<<< HEAD
prepend EE::Milestones::PromoteService prepend EE::Milestones::PromoteService
=======
>>>>>>> 6306e797acca358c79c120e5b12c29a5ec604571
PromoteMilestoneError = Class.new(StandardError) PromoteMilestoneError = Class.new(StandardError)
def execute(milestone) def execute(milestone)
......
...@@ -10,10 +10,7 @@ ...@@ -10,10 +10,7 @@
"title": { "type": "string" }, "title": { "type": "string" },
"moved_to_id": { "type": ["integer", "null"] }, "moved_to_id": { "type": ["integer", "null"] },
"project_id": { "type": "integer" }, "project_id": { "type": "integer" },
<<<<<<< HEAD
"weight": { "type": ["integer", "null"] }, "weight": { "type": ["integer", "null"] },
=======
>>>>>>> 6306e797acca358c79c120e5b12c29a5ec604571
"web_url": { "type": "string" }, "web_url": { "type": "string" },
"state": { "type": "string" }, "state": { "type": "string" },
"create_note_path": { "type": "string" }, "create_note_path": { "type": "string" },
......
...@@ -9,10 +9,7 @@ ...@@ -9,10 +9,7 @@
"human_time_estimate": { "type": ["string", "null"] }, "human_time_estimate": { "type": ["string", "null"] },
"human_total_time_spent": { "type": ["string", "null"] }, "human_total_time_spent": { "type": ["string", "null"] },
"merge_error": { "type": ["string", "null"] }, "merge_error": { "type": ["string", "null"] },
<<<<<<< HEAD
"rebase_in_progress": { "type": "boolean" }, "rebase_in_progress": { "type": "boolean" },
=======
>>>>>>> 6306e797acca358c79c120e5b12c29a5ec604571
"assignee_id": { "type": ["integer", "null"] }, "assignee_id": { "type": ["integer", "null"] },
"subscribed": { "type": ["boolean", "null"] }, "subscribed": { "type": ["boolean", "null"] },
"participants": { "type": "array" } "participants": { "type": "array" }
......
...@@ -257,7 +257,6 @@ describe Gitlab::Database do ...@@ -257,7 +257,6 @@ describe Gitlab::Database do
end end
end end
<<<<<<< HEAD
describe '#disable_prepared_statements' do describe '#disable_prepared_statements' do
it 'disables prepared statements' do it 'disables prepared statements' do
config = {} config = {}
...@@ -306,8 +305,6 @@ describe Gitlab::Database do ...@@ -306,8 +305,6 @@ describe Gitlab::Database do
end end
end end
=======
>>>>>>> 6306e797acca358c79c120e5b12c29a5ec604571
describe '#sanitize_timestamp' do describe '#sanitize_timestamp' do
let(:max_timestamp) { Time.at((1 << 31) - 1) } let(:max_timestamp) { Time.at((1 << 31) - 1) }
......
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