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
85c0a047
Commit
85c0a047
authored
Sep 08, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve a few conflicts
parent
837df4c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
16 deletions
+1
-16
app/controllers/admin/logs_controller.rb
app/controllers/admin/logs_controller.rb
+0
-3
app/controllers/boards/issues_controller.rb
app/controllers/boards/issues_controller.rb
+0
-7
app/models/member.rb
app/models/member.rb
+1
-6
No files found.
app/controllers/admin/logs_controller.rb
View file @
85c0a047
class
Admin::LogsController
<
Admin
::
ApplicationController
<<<<<<<
HEAD
prepend
EE
::
Admin
::
LogsController
=======
>>>>>>>
upstream
/
master
before_action
:loggers
def
show
...
...
app/controllers/boards/issues_controller.rb
View file @
85c0a047
module
Boards
class
IssuesController
<
Boards
::
ApplicationController
<<<<<<<
HEAD
prepend
EE
::
BoardsResponses
prepend
EE
::
Boards
::
IssuesController
=======
>>>>>>>
upstream
/
master
include
BoardsResponses
before_action
:authorize_read_issue
,
only:
[
:index
]
...
...
@@ -15,11 +12,7 @@ module Boards
def
index
issues
=
Boards
::
Issues
::
ListService
.
new
(
board_parent
,
current_user
,
filter_params
).
execute
issues
=
issues
.
page
(
params
[
:page
]).
per
(
params
[
:per
]
||
20
)
<<<<<<<
HEAD
make_sure_position_is_set
(
issues
)
unless
Gitlab
::
Geo
.
secondary?
=======
make_sure_position_is_set
(
issues
)
>>>>>>>
upstream
/
master
render
json:
{
issues:
serialize_as_json
(
issues
.
preload
(
:project
)),
...
...
app/models/member.rb
View file @
85c0a047
...
...
@@ -127,14 +127,9 @@ class Member < ActiveRecord::Base
find_by
(
invite_token:
invite_token
)
end
<<<<<<<
HEAD
def
add_user
(
source
,
user
,
access_level
,
current_user:
nil
,
expires_at:
nil
,
ldap:
false
)
user
=
retrieve_user
(
user
)
=======
def
add_user
(
source
,
user
,
access_level
,
existing_members:
nil
,
current_user:
nil
,
expires_at:
nil
)
def
add_user
(
source
,
user
,
access_level
,
existing_members:
nil
,
current_user:
nil
,
expires_at:
nil
,
ldap:
false
)
# `user` can be either a User object, User ID or an email to be invited
member
=
retrieve_member
(
source
,
user
,
existing_members
)
>>>>>>>
upstream
/
master
access_level
=
retrieve_access_level
(
access_level
)
return
member
unless
can_update_member?
(
current_user
,
member
)
...
...
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