Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
b69895951e
commit
73b1049a46
10 changed files with 18 additions and 9 deletions
|
@ -31,7 +31,7 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController
|
||||||
|
|
||||||
feature_category :source_code_management, [:repository, :clear_repository_check_states]
|
feature_category :source_code_management, [:repository, :clear_repository_check_states]
|
||||||
feature_category :continuous_integration, [:ci_cd, :reset_registration_token]
|
feature_category :continuous_integration, [:ci_cd, :reset_registration_token]
|
||||||
feature_category :collection, [:usage_data]
|
feature_category :usage_ping, [:usage_data]
|
||||||
feature_category :integrations, [:integrations]
|
feature_category :integrations, [:integrations]
|
||||||
feature_category :pages, [:lets_encrypt_terms_of_service]
|
feature_category :pages, [:lets_encrypt_terms_of_service]
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
class Projects::UsagePingController < Projects::ApplicationController
|
class Projects::UsagePingController < Projects::ApplicationController
|
||||||
before_action :authenticate_user!
|
before_action :authenticate_user!
|
||||||
|
|
||||||
feature_category :collection
|
feature_category :usage_ping
|
||||||
|
|
||||||
def web_ide_clientside_preview
|
def web_ide_clientside_preview
|
||||||
return render_404 unless Gitlab::CurrentSettings.web_ide_clientside_preview_enabled?
|
return render_404 unless Gitlab::CurrentSettings.web_ide_clientside_preview_enabled?
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
%p.details
|
%p.details
|
||||||
#{link_to @issue.author_name, user_url(@issue.author)}'s issue is due soon.
|
#{link_to @issue.author_name, user_url(@issue.author)}'s issue #{issue_reference_link(@issue)} is due soon.
|
||||||
|
|
||||||
- if @issue.assignees.any?
|
- if @issue.assignees.any?
|
||||||
%p
|
%p
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
The following issue is due on <%= @issue.due_date %>:
|
The following issue is due on <%= @issue.due_date %>:
|
||||||
|
|
||||||
Issue <%= @issue.iid %>: <%= url_for(project_issue_url(@issue.project, @issue)) %>
|
Issue <%= @issue.iid %>: <%= issue_reference_link(@issue) %>
|
||||||
Author: <%= @issue.author_name %>
|
Author: <%= @issue.author_name %>
|
||||||
<%= assignees_label(@issue) %>
|
<%= assignees_label(@issue) %>
|
||||||
|
|
||||||
|
|
|
@ -188,7 +188,7 @@
|
||||||
:idempotent:
|
:idempotent:
|
||||||
:tags: []
|
:tags: []
|
||||||
- :name: cronjob:gitlab_usage_ping
|
- :name: cronjob:gitlab_usage_ping
|
||||||
:feature_category: :collection
|
:feature_category: :usage_ping
|
||||||
:has_external_dependencies:
|
:has_external_dependencies:
|
||||||
:urgency: :low
|
:urgency: :low
|
||||||
:resource_boundary: :unknown
|
:resource_boundary: :unknown
|
||||||
|
|
|
@ -8,7 +8,7 @@ class GitlabUsagePingWorker # rubocop:disable Scalability/IdempotentWorker
|
||||||
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
|
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
|
||||||
include Gitlab::ExclusiveLeaseHelpers
|
include Gitlab::ExclusiveLeaseHelpers
|
||||||
|
|
||||||
feature_category :collection
|
feature_category :usage_ping
|
||||||
sidekiq_options retry: 3, dead: false
|
sidekiq_options retry: 3, dead: false
|
||||||
sidekiq_retry_in { |count| (count + 1) * 8.hours.to_i }
|
sidekiq_retry_in { |count| (count + 1) * 8.hours.to_i }
|
||||||
|
|
||||||
|
|
5
changelogs/unreleased/cablett-issue-due.yml
Normal file
5
changelogs/unreleased/cablett-issue-due.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Add issue link to due date emails
|
||||||
|
merge_request: 50642
|
||||||
|
author:
|
||||||
|
type: changed
|
|
@ -9,7 +9,6 @@
|
||||||
---
|
---
|
||||||
- accessibility_testing
|
- accessibility_testing
|
||||||
- advanced_deployments
|
- advanced_deployments
|
||||||
- analysis
|
|
||||||
- api
|
- api
|
||||||
- attack_emulation
|
- attack_emulation
|
||||||
- audit_events
|
- audit_events
|
||||||
|
@ -25,7 +24,6 @@
|
||||||
- code_quality
|
- code_quality
|
||||||
- code_review
|
- code_review
|
||||||
- code_testing
|
- code_testing
|
||||||
- collection
|
|
||||||
- compliance_management
|
- compliance_management
|
||||||
- container_host_security
|
- container_host_security
|
||||||
- container_network_security
|
- container_network_security
|
||||||
|
@ -83,6 +81,7 @@
|
||||||
- pages
|
- pages
|
||||||
- pipeline_authoring
|
- pipeline_authoring
|
||||||
- planning_analytics
|
- planning_analytics
|
||||||
|
- privacy_control_center
|
||||||
- product_analytics
|
- product_analytics
|
||||||
- projects
|
- projects
|
||||||
- provision
|
- provision
|
||||||
|
@ -112,6 +111,7 @@
|
||||||
- time_tracking
|
- time_tracking
|
||||||
- tracing
|
- tracing
|
||||||
- usability_testing
|
- usability_testing
|
||||||
|
- usage_ping
|
||||||
- users
|
- users
|
||||||
- value_stream_management
|
- value_stream_management
|
||||||
- vulnerability_database
|
- vulnerability_database
|
||||||
|
|
|
@ -4,7 +4,7 @@ module API
|
||||||
class UsageData < ::API::Base
|
class UsageData < ::API::Base
|
||||||
before { authenticate! }
|
before { authenticate! }
|
||||||
|
|
||||||
feature_category :collection
|
feature_category :usage_ping
|
||||||
|
|
||||||
namespace 'usage_data' do
|
namespace 'usage_data' do
|
||||||
before do
|
before do
|
||||||
|
|
|
@ -224,6 +224,10 @@ RSpec.describe Notify do
|
||||||
let(:model) { issue }
|
let(:model) { issue }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it 'contains a link to the issue' do
|
||||||
|
is_expected.to have_body_text(issue.to_reference(full: false))
|
||||||
|
end
|
||||||
|
|
||||||
it_behaves_like 'it should show Gmail Actions View Issue link'
|
it_behaves_like 'it should show Gmail Actions View Issue link'
|
||||||
it_behaves_like 'an unsubscribeable thread'
|
it_behaves_like 'an unsubscribeable thread'
|
||||||
it_behaves_like 'appearance header and footer enabled'
|
it_behaves_like 'appearance header and footer enabled'
|
||||||
|
|
Loading…
Reference in a new issue