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
cad73304
Commit
cad73304
authored
Feb 05, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve prepend related conflicts
parent
8f9cf685
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
25 deletions
+0
-25
app/controllers/application_controller.rb
app/controllers/application_controller.rb
+0
-4
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+0
-3
app/models/note.rb
app/models/note.rb
+0
-3
app/models/protected_branch.rb
app/models/protected_branch.rb
+0
-3
app/services/ci/register_job_service.rb
app/services/ci/register_job_service.rb
+0
-3
app/services/users/build_service.rb
app/services/users/build_service.rb
+0
-3
lib/api/helpers/runner.rb
lib/api/helpers/runner.rb
+0
-3
lib/gitlab/auth.rb
lib/gitlab/auth.rb
+0
-3
No files found.
app/controllers/application_controller.rb
View file @
cad73304
...
...
@@ -123,15 +123,11 @@ class ApplicationController < ActionController::Base
end
def
after_sign_out_path_for
(
resource
)
<<<<<<<
HEAD
if
Gitlab
::
Geo
.
secondary?
Gitlab
::
Geo
.
primary_node
.
oauth_logout_url
(
@geo_logout_state
)
else
Gitlab
::
CurrentSettings
.
after_sign_out_path
.
presence
||
new_user_session_path
end
=======
Gitlab
::
CurrentSettings
.
after_sign_out_path
.
presence
||
new_user_session_path
>>>>>>>
upstream
/
master
end
def
can?
(
object
,
action
,
subject
=
:global
)
...
...
app/helpers/projects_helper.rb
View file @
cad73304
module
ProjectsHelper
<<<<<<<
HEAD
prepend
::
EE
::
ProjectsHelper
=======
>>>>>>>
upstream
/
master
def
link_to_project
(
project
)
link_to
[
project
.
namespace
.
becomes
(
Namespace
),
project
],
title:
h
(
project
.
name
)
do
title
=
content_tag
(
:span
,
project
.
name
,
class:
'project-name'
)
...
...
app/models/note.rb
View file @
cad73304
...
...
@@ -3,11 +3,8 @@
# A note of this type is never resolvable.
class
Note
<
ActiveRecord
::
Base
extend
ActiveModel
::
Naming
<<<<<<<
HEAD
prepend
EE
::
Note
=======
>>>>>>>
upstream
/
master
include
Participable
include
Mentionable
include
Elastic
::
NotesSearch
...
...
app/models/protected_branch.rb
View file @
cad73304
class
ProtectedBranch
<
ActiveRecord
::
Base
include
Gitlab
::
ShellAdapter
include
ProtectedRef
<<<<<<<
HEAD
prepend
EE
::
ProtectedRef
=======
>>>>>>>
upstream
/
master
protected_ref_access_levels
:merge
,
:push
...
...
app/services/ci/register_job_service.rb
View file @
cad73304
...
...
@@ -2,11 +2,8 @@ module Ci
# This class responsible for assigning
# proper pending build to runner on runner API request
class
RegisterJobService
<<<<<<<
HEAD
prepend
EE
::
Ci
::
RegisterJobService
=======
>>>>>>>
upstream
/
master
attr_reader
:runner
Result
=
Struct
.
new
(
:build
,
:valid?
)
...
...
app/services/users/build_service.rb
View file @
cad73304
module
Users
class
BuildService
<
BaseService
<<<<<<<
HEAD
prepend
::
EE
::
Users
::
BuildService
=======
>>>>>>>
upstream
/
master
def
initialize
(
current_user
,
params
=
{})
@current_user
=
current_user
@params
=
params
.
dup
...
...
lib/api/helpers/runner.rb
View file @
cad73304
module
API
module
Helpers
module
Runner
<<<<<<<
HEAD
prepend
EE
::
API
::
Helpers
::
Runner
=======
>>>>>>>
upstream
/
master
JOB_TOKEN_HEADER
=
'HTTP_JOB_TOKEN'
.
freeze
JOB_TOKEN_PARAM
=
:token
UPDATE_RUNNER_EVERY
=
10
*
60
...
...
lib/gitlab/auth.rb
View file @
cad73304
...
...
@@ -14,11 +14,8 @@ module Gitlab
DEFAULT_SCOPES
=
[
:api
].
freeze
class
<<
self
<<<<<<<
HEAD
prepend
EE
::
Gitlab
::
Auth
=======
>>>>>>>
upstream
/
master
def
find_for_git_client
(
login
,
password
,
project
:,
ip
:)
raise
"Must provide an IP for rate limiting"
if
ip
.
nil?
...
...
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