Skip to content
Snippets Groups Projects
Commit 93c6764d authored by GitLab Bot's avatar GitLab Bot
Browse files

Add latest changes from gitlab-org/gitlab@master

parent aa10b541
No related branches found
No related tags found
No related merge requests found
Showing
with 82 additions and 111 deletions
<script> <script>
import { __, sprintf } from '~/locale';
import { GlTooltip } from '@gitlab/ui'; import { GlTooltip } from '@gitlab/ui';
import { __, sprintf } from '~/locale';
import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; import ClipboardButton from '~/vue_shared/components/clipboard_button.vue';
import FileIcon from '~/vue_shared/components/file_icon.vue'; import FileIcon from '~/vue_shared/components/file_icon.vue';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
Loading
Loading
import _ from 'underscore'; import _ from 'underscore';
import recentSearchesStorageKeys from 'ee_else_ce/filtered_search/recent_searches_storage_keys';
import { getParameterByName, getUrlParamsArray } from '~/lib/utils/common_utils'; import { getParameterByName, getUrlParamsArray } from '~/lib/utils/common_utils';
import IssuableFilteredSearchTokenKeys from '~/filtered_search/issuable_filtered_search_token_keys'; import IssuableFilteredSearchTokenKeys from '~/filtered_search/issuable_filtered_search_token_keys';
import recentSearchesStorageKeys from 'ee_else_ce/filtered_search/recent_searches_storage_keys';
import { visitUrl } from '../lib/utils/url_utility'; import { visitUrl } from '../lib/utils/url_utility';
import Flash from '../flash'; import Flash from '../flash';
import FilteredSearchContainer from './container'; import FilteredSearchContainer from './container';
Loading
Loading
import _ from 'underscore'; import _ from 'underscore';
import { USER_TOKEN_TYPES } from 'ee_else_ce/filtered_search/constants';
import FilteredSearchContainer from '~/filtered_search/container'; import FilteredSearchContainer from '~/filtered_search/container';
import FilteredSearchVisualTokens from '~/filtered_search/filtered_search_visual_tokens'; import FilteredSearchVisualTokens from '~/filtered_search/filtered_search_visual_tokens';
import AjaxCache from '~/lib/utils/ajax_cache'; import AjaxCache from '~/lib/utils/ajax_cache';
Loading
@@ -6,7 +7,6 @@ import DropdownUtils from '~/filtered_search/dropdown_utils';
Loading
@@ -6,7 +7,6 @@ import DropdownUtils from '~/filtered_search/dropdown_utils';
import Flash from '~/flash'; import Flash from '~/flash';
import UsersCache from '~/lib/utils/users_cache'; import UsersCache from '~/lib/utils/users_cache';
import { __ } from '~/locale'; import { __ } from '~/locale';
import { USER_TOKEN_TYPES } from 'ee_else_ce/filtered_search/constants';
   
export default class VisualTokenValue { export default class VisualTokenValue {
constructor(tokenValue, tokenType) { constructor(tokenValue, tokenType) {
Loading
Loading
<script> <script>
import { mapState, mapActions, mapGetters } from 'vuex'; import { mapState, mapActions, mapGetters } from 'vuex';
import AccessorUtilities from '~/lib/utils/accessor';
import { GlLoadingIcon } from '@gitlab/ui'; import { GlLoadingIcon } from '@gitlab/ui';
import AccessorUtilities from '~/lib/utils/accessor';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
import store from '../store/'; import store from '../store/';
import { FREQUENT_ITEMS, STORAGE_KEY } from '../constants'; import { FREQUENT_ITEMS, STORAGE_KEY } from '../constants';
Loading
Loading
<script> <script>
import { GlButton, GlFormGroup, GlFormInput, GlFormCheckbox, GlLink } from '@gitlab/ui'; import { GlButton, GlFormGroup, GlFormInput, GlFormCheckbox, GlLink } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue';
import { mapState, mapActions } from 'vuex'; import { mapState, mapActions } from 'vuex';
import Icon from '~/vue_shared/components/icon.vue';
   
export default { export default {
components: { components: {
Loading
Loading
Loading
@@ -2,13 +2,13 @@
Loading
@@ -2,13 +2,13 @@
/* global Flash */ /* global Flash */
   
import $ from 'jquery'; import $ from 'jquery';
import { GlLoadingIcon } from '@gitlab/ui';
import { s__, sprintf } from '~/locale'; import { s__, sprintf } from '~/locale';
import DeprecatedModal from '~/vue_shared/components/deprecated_modal.vue'; import DeprecatedModal from '~/vue_shared/components/deprecated_modal.vue';
import { HIDDEN_CLASS } from '~/lib/utils/constants'; import { HIDDEN_CLASS } from '~/lib/utils/constants';
import { getParameterByName } from '~/lib/utils/common_utils'; import { getParameterByName } from '~/lib/utils/common_utils';
import { mergeUrlParams } from '~/lib/utils/url_utility'; import { mergeUrlParams } from '~/lib/utils/url_utility';
   
import { GlLoadingIcon } from '@gitlab/ui';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
import { COMMON_STR, CONTENT_LIST_CLASS } from '../constants'; import { COMMON_STR, CONTENT_LIST_CLASS } from '../constants';
import groupsComponent from './groups.vue'; import groupsComponent from './groups.vue';
Loading
Loading
Loading
@@ -17,12 +17,6 @@
Loading
@@ -17,12 +17,6 @@
display: inline-block; display: inline-block;
} }
   
.account-btn-link,
.profile-settings-sidebar a,
.settings-sidebar a {
color: $blue-600;
}
.private-tokens-reset div.reset-action:not(:first-child) { .private-tokens-reset div.reset-action:not(:first-child) {
padding-top: 15px; padding-top: 15px;
} }
Loading
@@ -122,24 +116,12 @@
Loading
@@ -122,24 +116,12 @@
float: left; float: left;
} }
} }
.description {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
} }
   
.key-created-at { .key-created-at {
line-height: 42px; line-height: 42px;
} }
   
.profile-settings-content {
a {
color: $blue-600;
}
}
.provider-btn-group { .provider-btn-group {
display: inline-block; display: inline-block;
margin-right: 10px; margin-right: 10px;
Loading
@@ -169,10 +151,6 @@
Loading
@@ -169,10 +151,6 @@
margin-left: -3px; margin-left: -3px;
line-height: 22px; line-height: 22px;
background-color: $gray-light; background-color: $gray-light;
&.not-active {
color: $blue-500;
}
} }
   
.oauth-applications { .oauth-applications {
Loading
@@ -292,10 +270,6 @@ table.u2f-registrations {
Loading
@@ -292,10 +270,6 @@ table.u2f-registrations {
} }
   
.oauth-application-show { .oauth-application-show {
.scope-name {
font-weight: $gl-font-weight-bold;
}
.scopes-list { .scopes-list {
padding-left: 18px; padding-left: 18px;
} }
Loading
@@ -317,52 +291,52 @@ table.u2f-registrations {
Loading
@@ -317,52 +291,52 @@ table.u2f-registrations {
   
.landing { .landing {
padding: 32px; padding: 32px;
}
   
.close { .close {
position: absolute; position: absolute;
top: 20px; top: 20px;
right: 20px; right: 20px;
opacity: 1; opacity: 1;
   
.dismiss-icon { .dismiss-icon {
float: right; float: right;
cursor: pointer; cursor: pointer;
color: $blue-300; color: $blue-300;
} }
   
&:hover { &:hover {
background-color: transparent; background-color: transparent;
border: 0; border: 0;
   
.dismiss-icon { .dismiss-icon {
color: $blue-400; color: $blue-400;
}
} }
} }
}
   
.svg-container { .svg-container {
margin-right: 30px; margin-right: 30px;
display: inline-block; display: inline-block;
   
svg { svg {
height: 110px; height: 110px;
vertical-align: top; vertical-align: top;
} }
   
&.devops { &.convdev {
margin: 0 0 0 30px; margin: 0 0 0 30px;
   
svg { svg {
height: 127px; height: 127px;
}
} }
} }
}
   
.user-callout-copy { .user-callout-copy {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
max-width: 570px; max-width: 570px;
}
} }
   
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
Loading
@@ -372,43 +346,26 @@ table.u2f-registrations {
Loading
@@ -372,43 +346,26 @@ table.u2f-registrations {
display: block; display: block;
} }
   
.landing { .svg-container,
.svg-container, .user-callout-copy {
.user-callout-copy { margin: 0 auto;
margin: 0 auto; display: block;
display: block;
   
svg { svg {
height: 75px; height: 75px;
} }
   
&.devops { &.convdev {
margin: $gl-padding auto 0; margin: $gl-padding auto 0;
   
svg { svg {
height: 120px; height: 120px;
}
} }
} }
} }
} }
} }
   
.nav-wip {
border: 1px solid $blue-500;
background: $blue-50;
padding: $gl-padding;
margin-bottom: $gl-padding;
a {
color: $blue-500;
}
p:last-child {
margin-bottom: 0;
}
}
.email-badge { .email-badge {
display: inline; display: inline;
margin-right: $gl-padding / 2; margin-right: $gl-padding / 2;
Loading
@@ -433,10 +390,8 @@ table.u2f-registrations {
Loading
@@ -433,10 +390,8 @@ table.u2f-registrations {
} }
   
.edit-user { .edit-user {
.clear-user-status { svg {
svg { fill: $gl-text-color-secondary;
fill: $gl-text-color-secondary;
}
} }
   
.form-group > label { .form-group > label {
Loading
@@ -453,10 +408,6 @@ table.u2f-registrations {
Loading
@@ -453,10 +408,6 @@ table.u2f-registrations {
   
.no-emoji-placeholder { .no-emoji-placeholder {
position: relative; position: relative;
svg {
fill: $gl-text-color-secondary;
}
} }
} }
   
Loading
Loading
Loading
@@ -31,3 +31,4 @@
Loading
@@ -31,3 +31,4 @@
   
.gl-w-64 { width: px-to-rem($grid-size * 8); } .gl-w-64 { width: px-to-rem($grid-size * 8); }
.gl-h-64 { height: px-to-rem($grid-size * 8); } .gl-h-64 { height: px-to-rem($grid-size * 8); }
.gl-bg-blue-500 { @include gl-bg-blue-500; }
Loading
@@ -16,6 +16,6 @@
Loading
@@ -16,6 +16,6 @@
%a.provider-btn %a.provider-btn
= s_('Profiles|Active') = s_('Profiles|Active')
- elsif link_allowed - elsif link_allowed
= link_to omniauth_authorize_path(:user, provider), method: :post, class: 'provider-btn not-active' do = link_to omniauth_authorize_path(:user, provider), method: :post, class: 'provider-btn gl-bg-blue-500' do
= s_('Profiles|Connect') = s_('Profiles|Connect')
= render_if_exists 'profiles/accounts/group_saml_unlink_buttons', group_saml_identities: group_saml_identities = render_if_exists 'profiles/accounts/group_saml_unlink_buttons', group_saml_identities: group_saml_identities
Loading
@@ -5,7 +5,7 @@
Loading
@@ -5,7 +5,7 @@
- key.emails_with_verified_status.map do |email, verified| - key.emails_with_verified_status.map do |email, verified|
= render partial: 'shared/email_with_badge', locals: { email: email, verified: verified } = render partial: 'shared/email_with_badge', locals: { email: email, verified: verified }
   
.description %span.text-truncate
%code= key.fingerprint %code= key.fingerprint
- if key.subkeys.present? - if key.subkeys.present?
.subkeys .subkeys
Loading
Loading
Loading
@@ -10,7 +10,7 @@
Loading
@@ -10,7 +10,7 @@
.key-list-item-info .key-list-item-info
= link_to path_to_key(key, is_admin), class: "title" do = link_to path_to_key(key, is_admin), class: "title" do
= key.title = key.title
.description %span.text-truncate
= key.fingerprint = key.fingerprint
.last-used-at .last-used-at
last used: last used:
Loading
Loading
Loading
@@ -32,4 +32,4 @@
Loading
@@ -32,4 +32,4 @@
.prepend-top-default.append-bottom-default .prepend-top-default.append-bottom-default
= f.submit _('Save password'), class: "btn btn-success append-right-10", data: { qa_selector: 'save_password_button' } = f.submit _('Save password'), class: "btn btn-success append-right-10", data: { qa_selector: 'save_password_button' }
- unless @user.password_automatically_set? - unless @user.password_automatically_set?
= link_to _('I forgot my password'), reset_profile_password_path, method: :put, class: "account-btn-link" = link_to _('I forgot my password'), reset_profile_password_path, method: :put
Loading
@@ -9,5 +9,5 @@
Loading
@@ -9,5 +9,5 @@
%ul.scopes-list.append-bottom-0 %ul.scopes-list.append-bottom-0
- token.scopes.each do |scope| - token.scopes.each do |scope|
%li %li
%span.scope-name= scope %span.bold= scope
= "(#{t(scope, scope: [:doorkeeper, :scopes])})" = "(#{t(scope, scope: [:doorkeeper, :scopes])})"
---
title: Added rules configuration for Ci::Bridge
merge_request: 19605
author:
type: added
Loading
@@ -10,6 +10,7 @@ class Feature
Loading
@@ -10,6 +10,7 @@ class Feature
inforef_uploadpack_cache inforef_uploadpack_cache
get_all_lfs_pointers_go get_all_lfs_pointers_go
get_tag_messages_go get_tag_messages_go
filter_shas_with_signatures_go
].freeze ].freeze
   
DEFAULT_ON_FLAGS = Set.new([]).freeze DEFAULT_ON_FLAGS = Set.new([]).freeze
Loading
Loading
Loading
@@ -173,7 +173,7 @@ module Gitlab
Loading
@@ -173,7 +173,7 @@ module Gitlab
@entries.delete(:type) @entries.delete(:type)
   
# This is something of a hack, see issue for details: # This is something of a hack, see issue for details:
# https://gitlab.com/gitlab-org/gitlab-foss/issues/67150 # https://gitlab.com/gitlab-org/gitlab/issues/31685
if !only_defined? && has_rules? if !only_defined? && has_rules?
@entries.delete(:only) @entries.delete(:only)
@entries.delete(:except) @entries.delete(:except)
Loading
Loading
Loading
@@ -54,6 +54,15 @@ module Gitlab
Loading
@@ -54,6 +54,15 @@ module Gitlab
   
private private
   
# We create a Gitlab::Diff::DeprecatedHighlightCache here in order to
# expire deprecated cache entries while we make the transition. This can
# be removed when :hset_redis_diff_caching is fully launched.
# See https://gitlab.com/gitlab-org/gitlab/issues/38008
#
def deprecated_cache
@deprecated_cache ||= Gitlab::Diff::DeprecatedHighlightCache.new(@diff_collection)
end
def uncached_files def uncached_files
diff_files = @diff_collection.diff_files diff_files = @diff_collection.diff_files
   
Loading
@@ -85,6 +94,10 @@ module Gitlab
Loading
@@ -85,6 +94,10 @@ module Gitlab
redis.expire(key, EXPIRATION) redis.expire(key, EXPIRATION)
end end
end end
# Clean up any deprecated hash entries
#
deprecated_cache.clear
end end
   
def file_paths def file_paths
Loading
Loading
import { shallowMount } from '@vue/test-utils'; import { shallowMount } from '@vue/test-utils';
import { setTestTimeout } from 'helpers/timeout'; import { setTestTimeout } from 'helpers/timeout';
import { createStore } from '~/monitoring/stores';
import { GlLink } from '@gitlab/ui'; import { GlLink } from '@gitlab/ui';
import { GlAreaChart, GlLineChart, GlChartSeriesLabel } from '@gitlab/ui/dist/charts'; import { GlAreaChart, GlLineChart, GlChartSeriesLabel } from '@gitlab/ui/dist/charts';
import { shallowWrapperContainsSlotText } from 'helpers/vue_test_utils_helper'; import { shallowWrapperContainsSlotText } from 'helpers/vue_test_utils_helper';
import { createStore } from '~/monitoring/stores';
import TimeSeries from '~/monitoring/components/charts/time_series.vue'; import TimeSeries from '~/monitoring/components/charts/time_series.vue';
import * as types from '~/monitoring/stores/mutation_types'; import * as types from '~/monitoring/stores/mutation_types';
import { import {
Loading
Loading
import { shallowMount } from '@vue/test-utils';
import { TEST_HOST } from 'helpers/test_constants';
import Anomaly from '~/monitoring/components/charts/anomaly.vue'; import Anomaly from '~/monitoring/components/charts/anomaly.vue';
   
import { shallowMount } from '@vue/test-utils';
import { colorValues } from '~/monitoring/constants'; import { colorValues } from '~/monitoring/constants';
import { import {
anomalyDeploymentData, anomalyDeploymentData,
Loading
@@ -8,7 +9,6 @@ import {
Loading
@@ -8,7 +9,6 @@ import {
anomalyMockGraphData, anomalyMockGraphData,
anomalyMockResultValues, anomalyMockResultValues,
} from '../../mock_data'; } from '../../mock_data';
import { TEST_HOST } from 'helpers/test_constants';
import MonitorTimeSeriesChart from '~/monitoring/components/charts/time_series.vue'; import MonitorTimeSeriesChart from '~/monitoring/components/charts/time_series.vue';
   
const mockWidgets = 'mockWidgets'; const mockWidgets = 'mockWidgets';
Loading
Loading
import { createLocalVue, shallowMount } from '@vue/test-utils'; import { createLocalVue, shallowMount } from '@vue/test-utils';
import Vuex from 'vuex'; import Vuex from 'vuex';
import Embed from '~/monitoring/components/embed.vue';
import PanelType from 'ee_else_ce/monitoring/components/panel_type.vue'; import PanelType from 'ee_else_ce/monitoring/components/panel_type.vue';
import { TEST_HOST } from 'helpers/test_constants'; import { TEST_HOST } from 'helpers/test_constants';
import Embed from '~/monitoring/components/embed.vue';
import { groups, initialState, metricsData, metricsWithData } from './mock_data'; import { groups, initialState, metricsData, metricsWithData } from './mock_data';
   
const localVue = createLocalVue(); const localVue = createLocalVue();
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment