Commit 4c6fcb9e authored by GitLab Bot's avatar GitLab Bot

Merge remote-tracking branch 'upstream/master' into ce-to-ee-2018-09-21

# Conflicts:
#	CHANGELOG.md
#	app/views/layouts/nav/sidebar/_profile.html.haml
#	locale/gitlab.pot
#	spec/controllers/oauth/applications_controller_spec.rb

[ci skip]
parents 3c77a0b5 f9320089
......@@ -4,13 +4,20 @@ entry.
## 11.3.0 (2018-09-22)
<<<<<<< HEAD
### Security (6 changes, 1 of them is from the community)
=======
### Security (5 changes, 1 of them is from the community)
>>>>>>> upstream/master
- Disable the Sidekiq Admin Rack session. !21441
- Set issuable_sort, diff_view, and perf_bar_enabled cookies to secure when possible. !21442
- Update rubyzip to 1.2.2 (CVE-2018-1000544). !21460 (Takuya Noguchi)
- Fixed persistent XSS rendering/escaping of diff location lines.
<<<<<<< HEAD
- Adding CSRF protection to Hooks resend action.
=======
>>>>>>> upstream/master
- Block link-local addresses in URLBlocker.
### Removed (1 change)
......@@ -90,6 +97,7 @@ entry.
- Fix absent Click to Expand link on diffs not rendered on first load of Merge Requests Changes tab. !21716
- Update GitLab Shell to v8.3.3. !21750
- Fix import error when archive does not have the correct extension. !21765
<<<<<<< HEAD
- Fix checkboxes on runner admin settings - The labels are now clickable.
- Fixed IDE deleting new files creating wrong state.
- Increase width of checkout branch modal box.
......@@ -102,6 +110,20 @@ entry.
- Accept upload files in public/uplaods/tmp when using accelerated uploads.
- Increase padding in code blocks.
- Include correct CSS file for xterm in environments page.
=======
- Fixed IDE deleting new files creating wrong state.
- Does not collapse runners section when using pagination.
- Fix Emojis cutting in the right way. (Alexander Popov)
- Fix NamespaceUploader.base_dir for remote uploads.
- Increase width of checkout branch modal box.
- Fixes SVGs for empty states in job page overflowing on mobile.
- Fix checkboxes on runner admin settings - The labels are now clickable.
- Fixed IDE file row scrolling into view when hovering.
- Accept upload files in public/uplaods/tmp when using accelerated uploads.
- Include correct CSS file for xterm in environments page.
- Increase padding in code blocks.
- Fix: Project deletion may not log audit events during user deletion.
>>>>>>> upstream/master
### Changed (32 changes, 5 of them are from the community)
......@@ -133,8 +155,13 @@ entry.
- Improved commit panel in Web IDE. !21471
- Administrative cleanup rake tasks now leverage Gitaly. !21588
- Remove health check feature flag in BackgroundMigrationWorker.
<<<<<<< HEAD
- Improved styling of top bar in IDE job trace pane.
- Expose user's id in /admin/users/ show page. (Eva Kadlecova)
=======
- Expose user's id in /admin/users/ show page. (Eva Kadlecova)
- Improved styling of top bar in IDE job trace pane.
>>>>>>> upstream/master
- Make terminal button more visible.
- Shows download artifacts button for pipelines on small screens.
......@@ -195,8 +222,13 @@ entry.
- Added file templates to the Web IDE.
- Enabled multiple file uploads in the Web IDE.
- Allow to delete group milestones.
<<<<<<< HEAD
- Add system note when due date is changed. (Eva Kadlecova)
- Use separate model for tracking resource label changes and render label system notes based on data from this model.
=======
- Use separate model for tracking resource label changes and render label system notes based on data from this model.
- Add system note when due date is changed. (Eva Kadlecova)
>>>>>>> upstream/master
### Other (48 changes, 16 of them are from the community)
......@@ -236,6 +268,7 @@ entry.
- Add margin between username and subsequent text in issuable header. !21697
- Send artifact information in job API. !50460
- Reduce differences between CE and EE code base in reports components.
<<<<<<< HEAD
- Creates Vue component for artifacts block on job page.
- Creates vue components for stage dropdowns and job list container for job log view.
- Creates vue component for commit block in job log page.
......@@ -248,6 +281,20 @@ entry.
- Upgrade Monaco editor.
- Creates Vue component for trigger variables block in job log page.
- Creates vue component for job log top bar with controllers.
=======
- Move project services log to a separate file.
- Creates vue component for job log top bar with controllers.
- Creates Vue component for trigger variables block in job log page.
- Creates Vvue component for warning block about stuck runners.
- Creates vue component for job log trace.
- Creates vue component for erased block on job view.
- Creates vue component for environments information in job log view.
- Upgrade Monaco editor.
- Creates empty state vue component for job view.
- Creates vue component for commit block in job log page.
- Creates vue components for stage dropdowns and job list container for job log view.
- Creates Vue component for artifacts block on job page.
>>>>>>> upstream/master
## 11.2.3 (2018-08-28)
......
11.3.0-pre
11.4.0-pre
......@@ -111,6 +111,7 @@ ul.content-list {
border-color: $white-normal;
font-size: $gl-font-size;
color: $gl-text-color;
word-break: break-word;
&.no-description {
.title {
......
......@@ -28,7 +28,7 @@ module ChatMessage
def activity
{
title: "Merge Request #{state} by #{user_combined_name}",
title: "Merge Request #{state_or_action_text} by #{user_combined_name}",
subtitle: "in #{project_link}",
text: merge_request_link,
image: user_avatar
......
......@@ -16,6 +16,9 @@
= _('Add new application')
= render 'form', application: @application
%hr
- else
.bs-callout.bs-callout-disabled
= _('Adding new applications is disabled in your GitLab instance. Please contact your GitLab administrator to get the permission')
- if user_oauth_applications?
.oauth-applications
%h5
......
......@@ -28,6 +28,7 @@
= link_to profile_account_path do
%strong.fly-out-top-item-name
= _('Account')
<<<<<<< HEAD
- if Gitlab::CurrentSettings.should_check_namespace_plan?
= nav_link(controller: :billings) do
= link_to profile_billings_path do
......@@ -40,6 +41,8 @@
= link_to profile_billings_path do
%strong.fly-out-top-item-name
#{ _('Billing') }
=======
>>>>>>> upstream/master
= nav_link(controller: 'oauth/applications') do
= link_to applications_profile_path do
.nav-icon-container
......
---
title: Fix long webhook URL overflow for custom integration.
merge_request:
author: Kukovskii Vladimir
type: fixed
---
title: Fix activity titles for MRs in chat notification services
merge_request: 21834
author:
type: fixed
......@@ -101,6 +101,12 @@ documentation on configuring Gitaly
authentication](https://gitlab.com/gitlab-org/gitaly/blob/master/doc/configuration/README.md#authentication)
.
Gitaly must trigger some callbacks to GitLab via GitLab Shell. As a result,
the GitLab Shell secret must be the same between the other GitLab servers and
the Gitaly server. The easiest way to accomplish this is to copy `/etc/gitlab/gitlab-secrets.json`
from an existing GitLab server to the Gitaly server. Without this shared secret,
Git operations in GitLab will result in an API error.
> **NOTE:** In most or all cases the storage paths below end in `/repositories` which is
different than `path` in `git_data_dirs` of Omnibus installations. Check the
directory layout on your Gitaly server to be sure.
......
......@@ -42,7 +42,7 @@ See also the [corresponding UX guide](../ux_guide/components.md#dropdowns).
See also the [corresponding UX guide](../ux_guide/components.md#modals).
We have a reusable Vue component for modals: [vue_shared/components/gl-modal.vue](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/assets/javascripts/vue_shared/components/gl-modal.vue)
We have a reusable Vue component for modals: [vue_shared/components/gl_modal.vue](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/assets/javascripts/vue_shared/components/gl_modal.vue)
Here is an example of how to use it:
......
......@@ -438,7 +438,11 @@ msgstr ""
msgid "Add users to group"
msgstr ""
<<<<<<< HEAD
msgid "Additional text"
=======
msgid "Adding new applications is disabled in your GitLab instance. Please contact your GitLab administrator to get the permission"
>>>>>>> upstream/master
msgstr ""
msgid "Admin Area"
......
......@@ -15,7 +15,11 @@ describe Oauth::ApplicationsController do
expect(response).to have_gitlab_http_status(200)
end
<<<<<<< HEAD
it 'redirects back to profile page if OAuth applications are disabled' do
=======
it 'shows list of applications' do
>>>>>>> upstream/master
disable_user_oauth
get :index
......
......@@ -27,6 +27,23 @@ describe ChatMessage::MergeMessage do
}
end
# Integration point in EE
context 'when state is overridden' do
it 'respects the overridden state' do
allow(subject).to receive(:state_or_action_text) { 'devoured' }
aggregate_failures do
expect(subject.summary).not_to include('opened')
expect(subject.summary).to include('devoured')
activity_title = subject.activity[:title]
expect(activity_title).not_to include('opened')
expect(activity_title).to include('devoured')
end
end
end
context 'without markdown' do
let(:color) { '#345' }
......
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