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
2373572b
Commit
2373572b
authored
May 17, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
dae9d589
5ba138b1
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
633 additions
and
1 deletion
+633
-1
changelogs/unreleased/mm12935.yml
changelogs/unreleased/mm12935.yml
+5
-0
lib/gitlab/path_regex.rb
lib/gitlab/path_regex.rb
+1
-0
lib/mattermost/session.rb
lib/mattermost/session.rb
+1
-1
public/visual-review-toolbar.js
public/visual-review-toolbar.js
+626
-0
No files found.
changelogs/unreleased/mm12935.yml
0 → 100644
View file @
2373572b
---
title
:
Remove Content-Type override for Mattermost OAuth login
merge_request
:
author
:
Harrison Healey
type
:
removed
lib/gitlab/path_regex.rb
View file @
2373572b
...
@@ -58,6 +58,7 @@ module Gitlab
...
@@ -58,6 +58,7 @@ module Gitlab
uploads
uploads
users
users
v2
v2
visual-review-toolbar.js
]
.
freeze
]
.
freeze
# This list should contain all words following `/*namespace_id/:project_id` in
# This list should contain all words following `/*namespace_id/:project_id` in
...
...
lib/mattermost/session.rb
View file @
2373572b
...
@@ -122,7 +122,7 @@ module Mattermost
...
@@ -122,7 +122,7 @@ module Mattermost
@oauth_uri
=
nil
@oauth_uri
=
nil
response
=
get
(
'/oauth/gitlab/login'
,
follow_redirects:
false
,
format:
'text/html'
)
response
=
get
(
'/oauth/gitlab/login'
,
follow_redirects:
false
)
return
unless
(
300
...
400
)
===
response
.
code
return
unless
(
300
...
400
)
===
response
.
code
redirect_uri
=
response
.
headers
[
'location'
]
redirect_uri
=
response
.
headers
[
'location'
]
...
...
public/visual-review-toolbar.js
0 → 100644
View file @
2373572b
This diff is collapsed.
Click to expand it.
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