diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml index aedcd4f71a0..b478539846c 100644 --- a/.gitlab/ci/rules.gitlab-ci.yml +++ b/.gitlab/ci/rules.gitlab-ci.yml @@ -584,6 +584,8 @@ rules: - <<: *if-not-ee when: never + - <<: *if-merge-request + changes: *code-backstage-patterns - <<: *if-master-schedule-2-hourly - <<: *if-merge-request-title-run-all-rspec diff --git a/Gemfile b/Gemfile index 5bd568066fc..8825c529a9d 100644 --- a/Gemfile +++ b/Gemfile @@ -45,6 +45,7 @@ gem 'omniauth_crowd', '~> 2.4.0' gem 'omniauth-authentiq', '~> 0.3.3' gem 'omniauth_openid_connect', '~> 0.3.5' gem 'omniauth-salesforce', '~> 1.0.5' +gem 'omniauth-atlassian-oauth2', '~> 0.2.0' gem 'rack-oauth2', '~> 1.9.3' gem 'jwt', '~> 2.1.0' diff --git a/Gemfile.lock b/Gemfile.lock index 4b97e6cf24e..75e5cfd5508 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -737,6 +737,9 @@ GEM omniauth (1.9.0) hashie (>= 3.4.6, < 3.7.0) rack (>= 1.6.2, < 3) + omniauth-atlassian-oauth2 (0.2.0) + omniauth (>= 1.1.1) + omniauth-oauth2 (>= 1.5) omniauth-auth0 (2.0.0) omniauth-oauth2 (~> 1.4) omniauth-authentiq (0.3.3) @@ -1393,6 +1396,7 @@ DEPENDENCIES octokit (~> 4.15) oj (~> 3.10.6) omniauth (~> 1.8) + omniauth-atlassian-oauth2 (~> 0.2.0) omniauth-auth0 (~> 2.0.0) omniauth-authentiq (~> 0.3.3) omniauth-azure-oauth2 (~> 0.0.9) diff --git a/app/assets/images/auth_buttons/atlassian_64.png b/app/assets/images/auth_buttons/atlassian_64.png new file mode 100644 index 00000000000..548f1c93318 Binary files /dev/null and b/app/assets/images/auth_buttons/atlassian_64.png differ diff --git a/app/assets/javascripts/admin/dev_ops_score/components/usage_ping_disabled.vue b/app/assets/javascripts/admin/dev_ops_report/components/usage_ping_disabled.vue similarity index 100% rename from app/assets/javascripts/admin/dev_ops_score/components/usage_ping_disabled.vue rename to app/assets/javascripts/admin/dev_ops_report/components/usage_ping_disabled.vue diff --git a/app/assets/javascripts/issue_show/components/incidents/highlight_bar/graphql/queries/get_highlight_bar_info.graphql b/app/assets/javascripts/issue_show/components/incidents/highlight_bar/graphql/queries/get_highlight_bar_info.graphql new file mode 100644 index 00000000000..fe299adf53e --- /dev/null +++ b/app/assets/javascripts/issue_show/components/incidents/highlight_bar/graphql/queries/get_highlight_bar_info.graphql @@ -0,0 +1,12 @@ +query getHighlightBarInfo($iid: String!, $fullPath: ID!) { + project(fullPath: $fullPath) { + issue(iid: $iid) { + alertManagementAlert { + title + detailsUrl + createdAt + eventCount + } + } + } +} diff --git a/app/assets/javascripts/issue_show/components/incidents/highlight_bar/higlight_bar.vue b/app/assets/javascripts/issue_show/components/incidents/highlight_bar/higlight_bar.vue new file mode 100644 index 00000000000..dbef301856d --- /dev/null +++ b/app/assets/javascripts/issue_show/components/incidents/highlight_bar/higlight_bar.vue @@ -0,0 +1,51 @@ + + + diff --git a/app/assets/javascripts/issue_show/components/incident_tabs.vue b/app/assets/javascripts/issue_show/components/incidents/incident_tabs.vue similarity index 55% rename from app/assets/javascripts/issue_show/components/incident_tabs.vue rename to app/assets/javascripts/issue_show/components/incidents/incident_tabs.vue index f6e82cfaa74..e5dde1aaca6 100644 --- a/app/assets/javascripts/issue_show/components/incident_tabs.vue +++ b/app/assets/javascripts/issue_show/components/incidents/incident_tabs.vue @@ -1,24 +1,23 @@