Commit 8c448a2c authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve conflicts

parent fd006a2f
...@@ -34,11 +34,8 @@ class UsersFinder ...@@ -34,11 +34,8 @@ class UsersFinder
users = by_external_identity(users) users = by_external_identity(users)
users = by_external(users) users = by_external(users)
users = by_created_at(users) users = by_created_at(users)
<<<<<<< HEAD
users = by_non_ldap(users)
=======
users = by_custom_attributes(users) users = by_custom_attributes(users)
>>>>>>> upstream/master users = by_non_ldap(users)
users users
end end
......
...@@ -39,7 +39,6 @@ module MergeRequests ...@@ -39,7 +39,6 @@ module MergeRequests
end end
rescue MergeError => e rescue MergeError => e
handle_merge_error(log_message: e.message, save_message_on_model: true) handle_merge_error(log_message: e.message, save_message_on_model: true)
<<<<<<< HEAD
end end
def hooks_validation_pass?(merge_request) def hooks_validation_pass?(merge_request)
...@@ -62,8 +61,6 @@ module MergeRequests ...@@ -62,8 +61,6 @@ module MergeRequests
end end
true true
=======
>>>>>>> upstream/master
end end
private private
......
...@@ -2,11 +2,8 @@ module Projects ...@@ -2,11 +2,8 @@ module Projects
class HashedStorageMigrationService < BaseService class HashedStorageMigrationService < BaseService
include Gitlab::ShellAdapter include Gitlab::ShellAdapter
<<<<<<< HEAD
prepend ::EE::Projects::HashedStorageMigrationService prepend ::EE::Projects::HashedStorageMigrationService
=======
>>>>>>> upstream/master
attr_reader :old_disk_path, :new_disk_path attr_reader :old_disk_path, :new_disk_path
def initialize(project, logger = nil) def initialize(project, logger = nil)
......
...@@ -14,11 +14,8 @@ module Users ...@@ -14,11 +14,8 @@ module Users
user_exists = @user.persisted? user_exists = @user.persisted?
<<<<<<< HEAD
=======
assign_attributes(&block) assign_attributes(&block)
>>>>>>> upstream/master
if @user.save(validate: validate) if @user.save(validate: validate)
notify_success(user_exists) notify_success(user_exists)
else else
......
...@@ -64,7 +64,6 @@ ...@@ -64,7 +64,6 @@
- [background_migration, 1] - [background_migration, 1]
- [project_migrate_hashed_storage, 1] - [project_migrate_hashed_storage, 1]
- [storage_migrator, 1] - [storage_migrator, 1]
<<<<<<< HEAD
# EE specific queues # EE specific queues
- [ldap_group_sync, 2] - [ldap_group_sync, 2]
- [geo, 1] - [geo, 1]
...@@ -78,5 +77,3 @@ ...@@ -78,5 +77,3 @@
- [elastic_commit_indexer, 1] - [elastic_commit_indexer, 1]
- [export_csv, 1] - [export_csv, 1]
- [object_storage_upload, 1] - [object_storage_upload, 1]
=======
>>>>>>> upstream/master
...@@ -334,11 +334,7 @@ module API ...@@ -334,11 +334,7 @@ module API
user = User.find_by(id: params.delete(:id)) user = User.find_by(id: params.delete(:id))
not_found!('User') unless user not_found!('User') unless user
<<<<<<< HEAD
email = Emails::CreateService.new(current_user, declared_params(include_missing: false).merge(user: user)).execute
=======
email = Emails::CreateService.new(current_user, declared_params(include_missing: false).merge(user: user)).execute email = Emails::CreateService.new(current_user, declared_params(include_missing: false).merge(user: user)).execute
>>>>>>> upstream/master
if email.errors.blank? if email.errors.blank?
NotificationService.new.new_email(email) NotificationService.new.new_email(email)
......
...@@ -19,11 +19,8 @@ module Gitlab ...@@ -19,11 +19,8 @@ module Gitlab
command_not_allowed: "The command you're trying to execute is not allowed.", command_not_allowed: "The command you're trying to execute is not allowed.",
upload_pack_disabled_over_http: 'Pulling over HTTP is not allowed.', upload_pack_disabled_over_http: 'Pulling over HTTP is not allowed.',
receive_pack_disabled_over_http: 'Pushing over HTTP is not allowed.', receive_pack_disabled_over_http: 'Pushing over HTTP is not allowed.',
<<<<<<< HEAD readonly: 'The repository is temporarily read-only. Please try again later.',
cannot_push_to_secondary_geo: "You can't push code to a secondary GitLab Geo node." cannot_push_to_secondary_geo: "You can't push code to a secondary GitLab Geo node."
=======
readonly: 'The repository is temporarily read-only. Please try again later.'
>>>>>>> upstream/master
}.freeze }.freeze
DOWNLOAD_COMMANDS = %w{ git-upload-pack git-upload-archive }.freeze DOWNLOAD_COMMANDS = %w{ git-upload-pack git-upload-archive }.freeze
......
...@@ -8,13 +8,8 @@ msgid "" ...@@ -8,13 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gitlab 1.0.0\n" "Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
<<<<<<< HEAD
"POT-Creation-Date: 2017-09-27 16:26+0200\n" "POT-Creation-Date: 2017-09-27 16:26+0200\n"
"PO-Revision-Date: 2017-09-27 16:26+0200\n" "PO-Revision-Date: 2017-09-27 16:26+0200\n"
=======
"POT-Creation-Date: 2017-09-27 15:43+0100\n"
"PO-Revision-Date: 2017-09-27 15:43+0100\n"
>>>>>>> upstream/master
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n" "Language: \n"
...@@ -169,7 +164,6 @@ msgstr "" ...@@ -169,7 +164,6 @@ msgstr ""
msgid "AutoDevOps|Learn more in the %{link_to_documentation}" msgid "AutoDevOps|Learn more in the %{link_to_documentation}"
msgstr "" msgstr ""
<<<<<<< HEAD
msgid "Billing" msgid "Billing"
msgstr "" msgstr ""
...@@ -224,8 +218,6 @@ msgstr "" ...@@ -224,8 +218,6 @@ msgstr ""
msgid "Billinglans|Downgrade" msgid "Billinglans|Downgrade"
msgstr "" msgstr ""
=======
>>>>>>> upstream/master
msgid "Branch" msgid "Branch"
msgid_plural "Branches" msgid_plural "Branches"
msgstr[0] "" msgstr[0] ""
...@@ -804,12 +796,9 @@ msgstr "" ...@@ -804,12 +796,9 @@ msgstr ""
msgid "IssueBoards|Board" msgid "IssueBoards|Board"
msgstr "" msgstr ""
<<<<<<< HEAD
msgid "IssueBoards|Boards" msgid "IssueBoards|Boards"
msgstr "" msgstr ""
=======
>>>>>>> upstream/master
msgid "Issues" msgid "Issues"
msgstr "" msgstr ""
......
...@@ -157,7 +157,6 @@ FactoryGirl.define do ...@@ -157,7 +157,6 @@ FactoryGirl.define do
end end
end end
<<<<<<< HEAD
trait :remote_mirror do trait :remote_mirror do
transient do transient do
url "http://foo.com" url "http://foo.com"
...@@ -169,8 +168,6 @@ FactoryGirl.define do ...@@ -169,8 +168,6 @@ FactoryGirl.define do
end end
end end
=======
>>>>>>> upstream/master
trait :wiki_repo do trait :wiki_repo do
after(:create) do |project| after(:create) do |project|
raise 'Failed to create wiki repository!' unless project.create_wiki raise 'Failed to create wiki repository!' unless project.create_wiki
......
...@@ -2843,15 +2843,6 @@ describe Project do ...@@ -2843,15 +2843,6 @@ describe Project do
describe '#legacy_storage?' do describe '#legacy_storage?' do
it 'returns true when storage_version is nil' do it 'returns true when storage_version is nil' do
project = build(:project, storage_version: nil) project = build(:project, storage_version: nil)
<<<<<<< HEAD
expect(project.legacy_storage?).to be_truthy
end
it 'returns true when the storage_version is 0' do
project = build(:project, storage_version: 0)
=======
>>>>>>> upstream/master
expect(project.legacy_storage?).to be_truthy expect(project.legacy_storage?).to be_truthy
end end
......
...@@ -5,13 +5,10 @@ describe Emails::DestroyService do ...@@ -5,13 +5,10 @@ describe Emails::DestroyService do
let!(:email) { create(:email, user: user) } let!(:email) { create(:email, user: user) }
subject(:service) { described_class.new(user, user: user, email: email.email) } subject(:service) { described_class.new(user, user: user, email: email.email) }
<<<<<<< HEAD
before do before do
stub_licensed_features(extended_audit_events: true) stub_licensed_features(extended_audit_events: true)
end end
=======
>>>>>>> upstream/master
describe '#execute' do describe '#execute' do
it 'removes an email' do it 'removes an email' do
......
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