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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
32af0108
Commit
32af0108
authored
Feb 05, 2019
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Plain Diff
Merge dev.gitlab.org master into GitLab.com master
parents
cf40530e
02f36f4f
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
38 additions
and
0 deletions
+38
-0
GITALY_SERVER_VERSION
GITALY_SERVER_VERSION
+4
-0
app/controllers/projects/issues_controller.rb
app/controllers/projects/issues_controller.rb
+4
-0
app/policies/personal_snippet_policy.rb
app/policies/personal_snippet_policy.rb
+3
-0
app/views/layouts/nav/sidebar/_project.html.haml
app/views/layouts/nav/sidebar/_project.html.haml
+4
-0
config/routes/import.rb
config/routes/import.rb
+4
-0
lib/banzai/pipeline/email_pipeline.rb
lib/banzai/pipeline/email_pipeline.rb
+4
-0
spec/features/markdown/math_spec.rb
spec/features/markdown/math_spec.rb
+4
-0
spec/lib/safe_zip/extract_spec.rb
spec/lib/safe_zip/extract_spec.rb
+4
-0
spec/policies/personal_snippet_policy_spec.rb
spec/policies/personal_snippet_policy_spec.rb
+3
-0
spec/services/members/destroy_service_spec.rb
spec/services/members/destroy_service_spec.rb
+4
-0
No files found.
GITALY_SERVER_VERSION
View file @
32af0108
<<<<<<< HEAD
1.17.0
1.17.0
=======
1.14.1
>>>>>>> dev/master
app/controllers/projects/issues_controller.rb
View file @
32af0108
...
@@ -246,7 +246,11 @@ class Projects::IssuesController < Projects::ApplicationController
...
@@ -246,7 +246,11 @@ class Projects::IssuesController < Projects::ApplicationController
task_num
task_num
lock_version
lock_version
discussion_locked
discussion_locked
<<<<<<< HEAD
]
+
[{
label_ids:
[],
assignee_ids:
[],
update_task:
[
:index
,
:checked
,
:line_number
,
:line_source
]
}]
]
+
[{
label_ids:
[],
assignee_ids:
[],
update_task:
[
:index
,
:checked
,
:line_number
,
:line_source
]
}]
=======
]
+
[{
label_ids:
[],
assignee_ids:
[]
}]
>>>>>>>
dev
/
master
end
end
def
store_uri
def
store_uri
...
...
app/policies/personal_snippet_policy.rb
View file @
32af0108
...
@@ -32,6 +32,9 @@ class PersonalSnippetPolicy < BasePolicy
...
@@ -32,6 +32,9 @@ class PersonalSnippetPolicy < BasePolicy
enable
:create_note
enable
:create_note
enable
:award_emoji
enable
:award_emoji
end
end
<<<<<<<
HEAD
rule
{
full_private_access
}.
enable
:read_personal_snippet
rule
{
full_private_access
}.
enable
:read_personal_snippet
=======
>>>>>>>
dev
/
master
end
end
app/views/layouts/nav/sidebar/_project.html.haml
View file @
32af0108
...
@@ -284,7 +284,11 @@
...
@@ -284,7 +284,11 @@
-
if
project_nav_tab?
(
:wiki
)
-
if
project_nav_tab?
(
:wiki
)
-
wiki_url
=
project_wiki_path
(
@project
,
:home
)
-
wiki_url
=
project_wiki_path
(
@project
,
:home
)
=
nav_link
(
controller: :wikis
)
do
=
nav_link
(
controller: :wikis
)
do
<
<<<<<<
HEAD
=
link_to
wiki_url
,
class:
'shortcuts-wiki qa-wiki-link'
do
=
link_to
wiki_url
,
class:
'shortcuts-wiki qa-wiki-link'
do
==
=====
=
link_to
wiki_url
,
class:
'shortcuts-wiki'
do
>
>>>>>> dev/master
.nav-icon-container
.nav-icon-container
=
sprite_icon
(
'book'
)
=
sprite_icon
(
'book'
)
%span
.nav-item-name
%span
.nav-item-name
...
...
config/routes/import.rb
View file @
32af0108
# Alias import callbacks under the /users/auth endpoint so that
# Alias import callbacks under the /users/auth endpoint so that
# the OAuth2 callback URL can be restricted under http://example.com/users/auth
# the OAuth2 callback URL can be restricted under http://example.com/users/auth
# instead of http://example.com.
# instead of http://example.com.
<<<<<<<
HEAD
Devise
.
omniauth_providers
.
map
(
&
:downcase
).
each
do
|
provider
|
Devise
.
omniauth_providers
.
map
(
&
:downcase
).
each
do
|
provider
|
=======
Devise
.
omniauth_providers
.
each
do
|
provider
|
>>>>>>>
dev
/
master
next
if
provider
==
'ldapmain'
next
if
provider
==
'ldapmain'
get
"/users/auth/-/import/
#{
provider
}
/callback"
,
to:
"import/
#{
provider
}
#callback"
,
as:
"users_import_
#{
provider
}
_callback"
get
"/users/auth/-/import/
#{
provider
}
/callback"
,
to:
"import/
#{
provider
}
#callback"
,
as:
"users_import_
#{
provider
}
_callback"
...
...
lib/banzai/pipeline/email_pipeline.rb
View file @
32af0108
...
@@ -12,8 +12,12 @@ module Banzai
...
@@ -12,8 +12,12 @@ module Banzai
def
self
.
transform_context
(
context
)
def
self
.
transform_context
(
context
)
super
(
context
).
merge
(
super
(
context
).
merge
(
only_path:
false
,
only_path:
false
,
<<<<<<<
HEAD
emailable_links:
true
,
emailable_links:
true
,
no_sourcepos:
true
no_sourcepos:
true
=======
emailable_links:
true
>>>>>>>
dev
/
master
)
)
end
end
end
end
...
...
spec/features/markdown/math_spec.rb
View file @
32af0108
require
'spec_helper'
require
'spec_helper'
describe
'Math rendering'
,
:js
do
describe
'Math rendering'
,
:js
do
<<<<<<<
HEAD
let!
(
:project
)
{
create
(
:project
,
:public
)
}
let!
(
:project
)
{
create
(
:project
,
:public
)
}
=======
let!
(
:project
)
{
create
(
:project
,
:public
)
}
>>>>>>>
dev
/
master
it
'renders inline and display math correctly'
do
it
'renders inline and display math correctly'
do
description
=
<<~
MATH
description
=
<<~
MATH
...
...
spec/lib/safe_zip/extract_spec.rb
View file @
32af0108
...
@@ -36,7 +36,11 @@ describe SafeZip::Extract do
...
@@ -36,7 +36,11 @@ describe SafeZip::Extract do
end
end
end
end
<<<<<<<
HEAD
%w(valid-simple.zip valid-symlinks-first.zip valid-non-writeable.zip)
.
each
do
|
name
|
%w(valid-simple.zip valid-symlinks-first.zip valid-non-writeable.zip)
.
each
do
|
name
|
=======
%w(valid-simple.zip valid-symlinks-first.zip valid-non-writeable.zip)
.
each
do
|
name
|
>>>>>>>
dev
/
master
context
"when using
#{
name
}
archive"
do
context
"when using
#{
name
}
archive"
do
let
(
:archive_name
)
{
name
}
let
(
:archive_name
)
{
name
}
...
...
spec/policies/personal_snippet_policy_spec.rb
View file @
32af0108
...
@@ -130,6 +130,7 @@ describe PersonalSnippetPolicy do
...
@@ -130,6 +130,7 @@ describe PersonalSnippetPolicy do
it
do
it
do
is_expected
.
to
be_disallowed
(
:read_personal_snippet
)
is_expected
.
to
be_disallowed
(
:read_personal_snippet
)
is_expected
.
to
be_disallowed
(
*
comment_permissions
)
is_expected
.
to
be_disallowed
(
*
comment_permissions
)
<<<<<<<
HEAD
is_expected
.
to
be_disallowed
(
:award_emoji
)
is_expected
.
to
be_disallowed
(
:award_emoji
)
is_expected
.
to
be_disallowed
(
*
author_permissions
)
is_expected
.
to
be_disallowed
(
*
author_permissions
)
end
end
...
@@ -141,6 +142,8 @@ describe PersonalSnippetPolicy do
...
@@ -141,6 +142,8 @@ describe PersonalSnippetPolicy do
it
do
it
do
is_expected
.
to
be_allowed
(
:read_personal_snippet
)
is_expected
.
to
be_allowed
(
:read_personal_snippet
)
is_expected
.
to
be_disallowed
(
:comment_personal_snippet
)
is_expected
.
to
be_disallowed
(
:comment_personal_snippet
)
=======
>>>>>>>
dev
/
master
is_expected
.
to
be_disallowed
(
:award_emoji
)
is_expected
.
to
be_disallowed
(
:award_emoji
)
is_expected
.
to
be_disallowed
(
*
author_permissions
)
is_expected
.
to
be_disallowed
(
*
author_permissions
)
end
end
...
...
spec/services/members/destroy_service_spec.rb
View file @
32af0108
...
@@ -168,7 +168,11 @@ describe Members::DestroyService do
...
@@ -168,7 +168,11 @@ describe Members::DestroyService do
end
end
it_behaves_like
'a service destroying a member'
do
it_behaves_like
'a service destroying a member'
do
<<<<<<<
HEAD
let
(
:opts
)
{
{
skip_authorization:
true
,
skip_subresources:
true
}
}
let
(
:opts
)
{
{
skip_authorization:
true
,
skip_subresources:
true
}
}
=======
let
(
:opts
)
{
{
skip_authorization:
true
,
skip_subresources:
true
}
}
>>>>>>>
dev
/
master
let
(
:member
)
{
group
.
requesters
.
find_by
(
user_id:
member_user
.
id
)
}
let
(
:member
)
{
group
.
requesters
.
find_by
(
user_id:
member_user
.
id
)
}
end
end
end
end
...
...
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