Commit b7f9dd42 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'master' into fl-eslint-vue-house-keeping-ee

* master: (114 commits)
  Restoring user v3 endpoint
  Ee 44674 use one column form layout on admin area settings page
  Resolve "Add link to Jenkins integration page"
  Resolve "Participants tooltip is cutoff when too close to the window edge"
  Resolve conflicts in locale/gitlab.pot
  Resolve conflicts in doc/ci/variables/README.md
  Resolve conflicts in Gemfile.rails5.lock
  Fix group member filter layout
  Align nav bar items
  Fix labels too large
  Fix bootstrap popover class renames
  Added the correct checkbox markup for the push rules
  mergeError message has been binded using v-html directive
  Fixed IDE jobs empty state showing when loading
  Find and mark more Git disk access locations, part 2
  Bumping gitlab-gollum-lib and gitlab-gollum-rugged_adapter
  i18n: document how to use links without splitting sentences
  Update HA docs for standby database nodes
  Ensure MR diffs always exist in the PR importer
  Resolve "[Rails5] `ActionView::MissingTemplate` in spec/features/projects/wiki/user_views_wiki_page_spec.rb"
  ...
parents fb350e6e 58ff0e2b
...@@ -550,6 +550,7 @@ setup-test-env: ...@@ -550,6 +550,7 @@ setup-test-env:
script: script:
- bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init' - bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init'
- scripts/gitaly-test-build # Do not use 'bundle exec' here - scripts/gitaly-test-build # Do not use 'bundle exec' here
- BUNDLE_GEMFILE=Gemfile.rails5 bundle install $BUNDLE_INSTALL_FLAGS
artifacts: artifacts:
expire_in: 7d expire_in: 7d
paths: paths:
...@@ -743,6 +744,12 @@ downtime_check: ...@@ -743,6 +744,12 @@ downtime_check:
- /(^docs[\/-].*|.*-docs$)/ - /(^docs[\/-].*|.*-docs$)/
- /(^qa[\/-].*|.*-qa$)/ - /(^qa[\/-].*|.*-qa$)/
rails5_gemfile_lock_check:
<<: *dedicated-no-docs-no-db-pull-cache-job
<<: *except-docs-and-qa
script:
- scripts/rails5-gemfile-lock-check
ee_compat_check: ee_compat_check:
<<: *rake-exec <<: *rake-exec
except: except:
......
...@@ -320,7 +320,7 @@ GEM ...@@ -320,7 +320,7 @@ GEM
flowdock (~> 0.7) flowdock (~> 0.7)
gitlab-grit (>= 2.4.1) gitlab-grit (>= 2.4.1)
multi_json multi_json
gitlab-gollum-lib (4.2.7.2) gitlab-gollum-lib (4.2.7.4)
gemojione (~> 3.2) gemojione (~> 3.2)
github-markup (~> 1.6) github-markup (~> 1.6)
gollum-grit_adapter (~> 1.0) gollum-grit_adapter (~> 1.0)
...@@ -328,7 +328,7 @@ GEM ...@@ -328,7 +328,7 @@ GEM
rouge (~> 3.1) rouge (~> 3.1)
sanitize (~> 2.1) sanitize (~> 2.1)
stringex (~> 2.6) stringex (~> 2.6)
gitlab-gollum-rugged_adapter (0.4.4) gitlab-gollum-rugged_adapter (0.4.4.1)
mime-types (>= 1.15) mime-types (>= 1.15)
rugged (~> 0.25) rugged (~> 0.25)
gitlab-grit (2.8.2) gitlab-grit (2.8.2)
......
...@@ -340,7 +340,7 @@ GEM ...@@ -340,7 +340,7 @@ GEM
mime-types (>= 1.16) mime-types (>= 1.16)
posix-spawn (~> 0.3) posix-spawn (~> 0.3)
gitlab-license (1.0.0) gitlab-license (1.0.0)
gitlab-markup (1.6.3) gitlab-markup (1.6.4)
gitlab-styles (2.3.2) gitlab-styles (2.3.2)
rubocop (~> 0.51) rubocop (~> 0.51)
rubocop-gitlab-security (~> 0.1.0) rubocop-gitlab-security (~> 0.1.0)
...@@ -780,36 +780,36 @@ GEM ...@@ -780,36 +780,36 @@ GEM
chunky_png chunky_png
rqrcode-rails3 (0.1.7) rqrcode-rails3 (0.1.7)
rqrcode (>= 0.4.2) rqrcode (>= 0.4.2)
rspec (3.6.0) rspec (3.7.0)
rspec-core (~> 3.6.0) rspec-core (~> 3.7.0)
rspec-expectations (~> 3.6.0) rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.6.0) rspec-mocks (~> 3.7.0)
rspec-core (3.6.0) rspec-core (3.7.1)
rspec-support (~> 3.6.0) rspec-support (~> 3.7.0)
rspec-expectations (3.6.0) rspec-expectations (3.7.0)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.6.0) rspec-support (~> 3.7.0)
rspec-mocks (3.6.0) rspec-mocks (3.7.0)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.6.0) rspec-support (~> 3.7.0)
rspec-parameterized (0.4.0) rspec-parameterized (0.4.0)
binding_of_caller binding_of_caller
parser parser
proc_to_ast proc_to_ast
rspec (>= 2.13, < 4) rspec (>= 2.13, < 4)
unparser unparser
rspec-rails (3.6.0) rspec-rails (3.7.2)
actionpack (>= 3.0) actionpack (>= 3.0)
activesupport (>= 3.0) activesupport (>= 3.0)
railties (>= 3.0) railties (>= 3.0)
rspec-core (~> 3.6.0) rspec-core (~> 3.7.0)
rspec-expectations (~> 3.6.0) rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.6.0) rspec-mocks (~> 3.7.0)
rspec-support (~> 3.6.0) rspec-support (~> 3.7.0)
rspec-retry (0.4.5) rspec-retry (0.4.5)
rspec-core rspec-core
rspec-set (0.1.3) rspec-set (0.1.3)
rspec-support (3.6.0) rspec-support (3.7.1)
rspec_profiling (0.0.5) rspec_profiling (0.0.5)
activerecord activerecord
pg pg
...@@ -1089,7 +1089,7 @@ DEPENDENCIES ...@@ -1089,7 +1089,7 @@ DEPENDENCIES
gitlab-gollum-lib (~> 4.2) gitlab-gollum-lib (~> 4.2)
gitlab-gollum-rugged_adapter (~> 0.4.4) gitlab-gollum-rugged_adapter (~> 0.4.4)
gitlab-license (~> 1.0) gitlab-license (~> 1.0)
gitlab-markup (~> 1.6.2) gitlab-markup (~> 1.6.4)
gitlab-styles (~> 2.3) gitlab-styles (~> 2.3)
gitlab_omniauth-ldap (~> 2.0.4) gitlab_omniauth-ldap (~> 2.0.4)
gon (~> 6.2) gon (~> 6.2)
...@@ -1189,7 +1189,7 @@ DEPENDENCIES ...@@ -1189,7 +1189,7 @@ DEPENDENCIES
rouge (~> 3.1) rouge (~> 3.1)
rqrcode-rails3 (~> 0.1.7) rqrcode-rails3 (~> 0.1.7)
rspec-parameterized rspec-parameterized
rspec-rails (~> 3.6.0) rspec-rails (~> 3.7.0)
rspec-retry (~> 0.4.5) rspec-retry (~> 0.4.5)
rspec-set (~> 0.1.3) rspec-set (~> 0.1.3)
rspec_profiling (~> 0.0.5) rspec_profiling (~> 0.0.5)
......
...@@ -193,11 +193,7 @@ next patch release. ...@@ -193,11 +193,7 @@ next patch release.
If a merge request is to be picked into more than one release it will need one If a merge request is to be picked into more than one release it will need one
`Pick into X.Y` label per release where the merge request should be back-ported `Pick into X.Y` label per release where the merge request should be back-ported
to. to. For example:
For example, if the current patch release is `10.1.1` and a regression fix needs
to be backported down to the `9.5` release, you will need to assign it the
`10.1` milestone and the following labels:
- `Pick into 10.1` - `Pick into 10.1`
- `Pick into 10.0` - `Pick into 10.0`
......
...@@ -122,6 +122,7 @@ export default { ...@@ -122,6 +122,7 @@ export default {
@scroll="scrollBuildLog" @scroll="scrollBuildLog"
> >
<code <code
v-show="!detailJob.isLoading"
class="bash" class="bash"
v-html="jobOutput" v-html="jobOutput"
> >
......
...@@ -31,10 +31,15 @@ export const openMergeRequest = ({ commit, dispatch }, { projectPath, id }) => { ...@@ -31,10 +31,15 @@ export const openMergeRequest = ({ commit, dispatch }, { projectPath, id }) => {
commit(rootTypes.CLEAR_PROJECTS, null, { root: true }); commit(rootTypes.CLEAR_PROJECTS, null, { root: true });
commit(rootTypes.SET_CURRENT_MERGE_REQUEST, `${id}`, { root: true }); commit(rootTypes.SET_CURRENT_MERGE_REQUEST, `${id}`, { root: true });
commit(rootTypes.RESET_OPEN_FILES, null, { root: true }); commit(rootTypes.RESET_OPEN_FILES, null, { root: true });
dispatch('pipelines/stopPipelinePolling', null, { root: true });
dispatch('pipelines/clearEtagPoll', null, { root: true });
dispatch('pipelines/resetLatestPipeline', null, { root: true }); dispatch('pipelines/resetLatestPipeline', null, { root: true });
dispatch('setCurrentBranchId', '', { root: true }); dispatch('setCurrentBranchId', '', { root: true });
dispatch('pipelines/stopPipelinePolling', null, { root: true })
.then(() => {
dispatch('pipelines/clearEtagPoll', null, { root: true });
})
.catch(e => {
throw e;
});
router.push(`/project/${projectPath}/merge_requests/${id}`); router.push(`/project/${projectPath}/merge_requests/${id}`);
}; };
......
...@@ -12,8 +12,12 @@ let eTagPoll; ...@@ -12,8 +12,12 @@ let eTagPoll;
export const clearEtagPoll = () => { export const clearEtagPoll = () => {
eTagPoll = null; eTagPoll = null;
}; };
export const stopPipelinePolling = () => eTagPoll && eTagPoll.stop(); export const stopPipelinePolling = () => {
export const restartPipelinePolling = () => eTagPoll && eTagPoll.restart(); if (eTagPoll) eTagPoll.stop();
};
export const restartPipelinePolling = () => {
if (eTagPoll) eTagPoll.restart();
};
export const requestLatestPipeline = ({ commit }) => commit(types.REQUEST_LATEST_PIPELINE); export const requestLatestPipeline = ({ commit }) => commit(types.REQUEST_LATEST_PIPELINE);
export const receiveLatestPipelineError = ({ commit, dispatch }) => { export const receiveLatestPipelineError = ({ commit, dispatch }) => {
...@@ -51,9 +55,9 @@ export const fetchLatestPipeline = ({ dispatch, rootGetters }) => { ...@@ -51,9 +55,9 @@ export const fetchLatestPipeline = ({ dispatch, rootGetters }) => {
Visibility.change(() => { Visibility.change(() => {
if (!Visibility.hidden()) { if (!Visibility.hidden()) {
eTagPoll.restart(); dispatch('restartPipelinePolling');
} else { } else {
eTagPoll.stop(); dispatch('stopPipelinePolling');
} }
}); });
}; };
......
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
class="prometheus-graph-flag popover" class="prometheus-graph-flag popover"
> >
<div class="arrow"></div> <div class="arrow"></div>
<div class="popover-title"> <div class="popover-header">
<h5 v-if="deploymentFlagData"> <h5 v-if="deploymentFlagData">
Deployed Deployed
</h5> </h5>
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
</div> </div>
<div <div
v-if="deploymentFlagData" v-if="deploymentFlagData"
class="popover-content deploy-meta-content" class="popover-body deploy-meta-content"
> >
<div> <div>
<icon <icon
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
</a> </a>
</div> </div>
</div> </div>
<div class="popover-content"> <div class="popover-body">
<table class="prometheus-table"> <table class="prometheus-table">
<tr <tr
v-for="(series, index) in timeSeries" v-for="(series, index) in timeSeries"
......
...@@ -115,6 +115,10 @@ export default () => { ...@@ -115,6 +115,10 @@ export default () => {
const dependencyScanningHelpPath = datasetOptions.dependencyScanningHelpPath; const dependencyScanningHelpPath = datasetOptions.dependencyScanningHelpPath;
const vulnerabilityFeedbackPath = datasetOptions.vulnerabilityFeedbackPath; const vulnerabilityFeedbackPath = datasetOptions.vulnerabilityFeedbackPath;
const vulnerabilityFeedbackHelpPath = datasetOptions.vulnerabilityFeedbackHelpPath; const vulnerabilityFeedbackHelpPath = datasetOptions.vulnerabilityFeedbackHelpPath;
const dastEndpoint = datasetOptions.dastEndpoint;
const sastContainerEndpoint = datasetOptions.sastContainerEndpoint;
const dastHelpPath = datasetOptions.dastHelpPath;
const sastContainerHelpPath = datasetOptions.sastContainerHelpPath;
const pipelineId = parseInt(datasetOptions.pipelineId, 10); const pipelineId = parseInt(datasetOptions.pipelineId, 10);
const store = createStore(); const store = createStore();
...@@ -164,6 +168,10 @@ export default () => { ...@@ -164,6 +168,10 @@ export default () => {
vulnerabilityFeedbackPath, vulnerabilityFeedbackPath,
vulnerabilityFeedbackHelpPath, vulnerabilityFeedbackHelpPath,
pipelineId, pipelineId,
dastHeadPath: dastEndpoint,
sastContainerHeadPath: sastContainerEndpoint,
dastHelpPath,
sastContainerHelpPath,
}, },
on: { on: {
updateBadgeCount: this.updateBadge, updateBadgeCount: this.updateBadge,
......
<script> <script>
import tooltip from '~/vue_shared/directives/tooltip';
import MrWidgetAuthor from './mr_widget_author.vue'; import MrWidgetAuthor from './mr_widget_author.vue';
export default { export default {
name: 'MRWidgetAuthorTime', name: 'MrWidgetAuthorTime',
components: { components: {
MrWidgetAuthor, MrWidgetAuthor,
}, },
directives: {
tooltip,
},
props: { props: {
actionText: { actionText: {
type: String, type: String,
...@@ -32,8 +36,7 @@ ...@@ -32,8 +36,7 @@
<mr-widget-author :author="author" /> <mr-widget-author :author="author" />
<time <time
:title="dateTitle" :title="dateTitle"
data-toggle="tooltip" v-tooltip
data-placement="top"
data-container="body" data-container="body"
> >
{{ dateReadable }} {{ dateReadable }}
......
<script> <script>
import mrWidgetAuthorTime from '../../components/mr_widget_author_time.vue'; import MrWidgetAuthorTime from '../../components/mr_widget_author_time.vue';
import statusIcon from '../mr_widget_status_icon.vue'; import statusIcon from '../mr_widget_status_icon.vue';
export default { export default {
name: 'MRWidgetClosed', name: 'MRWidgetClosed',
components: { components: {
mrWidgetAuthorTime, MrWidgetAuthorTime,
statusIcon, statusIcon,
}, },
props: { props: {
......
<script> <script>
import { n__ } from '~/locale'; import { n__ } from '~/locale';
import { stripHtml } from '~/lib/utils/text_utility';
import statusIcon from '../mr_widget_status_icon.vue'; import statusIcon from '../mr_widget_status_icon.vue';
import eventHub from '../../event_hub'; import eventHub from '../../event_hub';
...@@ -27,6 +28,9 @@ export default { ...@@ -27,6 +28,9 @@ export default {
}, },
computed: { computed: {
mergeError() {
return this.mr.mergeError ? stripHtml(this.mr.mergeError, ' ').trim() : '';
},
timerText() { timerText() {
return n__( return n__(
'Refreshing in a second to show the updated status...', 'Refreshing in a second to show the updated status...',
...@@ -85,7 +89,7 @@ export default { ...@@ -85,7 +89,7 @@ export default {
v-if="mr.mergeError" v-if="mr.mergeError"
class="has-error-message" class="has-error-message"
> >
{{ mr.mergeError }}. {{ mergeError }}.
</span> </span>
<span v-else> <span v-else>
{{ s__("mrWidget|Merge failed.") }} {{ s__("mrWidget|Merge failed.") }}
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
import loadingIcon from '~/vue_shared/components/loading_icon.vue'; import loadingIcon from '~/vue_shared/components/loading_icon.vue';
import { s__, __ } from '~/locale'; import { s__, __ } from '~/locale';
import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; import ClipboardButton from '~/vue_shared/components/clipboard_button.vue';
import mrWidgetAuthorTime from '../../components/mr_widget_author_time.vue'; import MrWidgetAuthorTime from '../../components/mr_widget_author_time.vue';
import statusIcon from '../mr_widget_status_icon.vue'; import statusIcon from '../mr_widget_status_icon.vue';
import eventHub from '../../event_hub'; import eventHub from '../../event_hub';
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
tooltip, tooltip,
}, },
components: { components: {
mrWidgetAuthorTime, MrWidgetAuthorTime,
loadingIcon, loadingIcon,
statusIcon, statusIcon,
ClipboardButton, ClipboardButton,
......
...@@ -89,7 +89,12 @@ a { ...@@ -89,7 +89,12 @@ a {
color: $gl-link-color; color: $gl-link-color;
} }
hr {
overflow: hidden;
}
.form-group.row .col-form-label { .form-group.row .col-form-label {
padding-top: 0;
// Bootstrap 4 aligns labels to the left // Bootstrap 4 aligns labels to the left
// for horizontal forms // for horizontal forms
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
...@@ -209,6 +214,10 @@ table { ...@@ -209,6 +214,10 @@ table {
border-bottom: 1px solid $well-inner-border; border-bottom: 1px solid $well-inner-border;
} }
} }
.badge.badge-gray {
background-color: $well-expand-item;
}
} }
.card { .card {
...@@ -258,9 +267,17 @@ pre code { ...@@ -258,9 +267,17 @@ pre code {
.alert-danger { .alert-danger {
background-color: $red-500; background-color: $red-500;
border-color: $red-500; border-color: $red-500;
}
.alert-warning,
.alert-danger,
.flash-notice {
border-radius: 0;
color: $white-light; color: $white-light;
h4 { h4,
a,
.alert-link {
color: $white-light; color: $white-light;
} }
} }
...@@ -268,3 +285,11 @@ pre code { ...@@ -268,3 +285,11 @@ pre code {
input[type=color].form-control { input[type=color].form-control {
height: $input-height; height: $input-height;
} }
.toggle-sidebar-button {
.collapse-text,
.icon-angle-double-left,
.icon-angle-double-right {
color: $gl-text-color-secondary;
}
}
...@@ -309,18 +309,6 @@ img.emoji { ...@@ -309,18 +309,6 @@ img.emoji {
margin-bottom: 10px; margin-bottom: 10px;
} }
.available-groups form {
margin: 5px 0;
}
.btn-sign-in {
text-shadow: none;
@include media-breakpoint-up(sm) {
margin-top: 8px;
}
}
.side-filters { .side-filters {
fieldset { fieldset {
margin-bottom: 15px; margin-bottom: 15px;
......
...@@ -170,7 +170,7 @@ label { ...@@ -170,7 +170,7 @@ label {
} }
.form-control::-webkit-input-placeholder { .form-control::-webkit-input-placeholder {
color: $gl-text-color-secondary; color: $placeholder-text-color;
} }
.input-group { .input-group {
......
...@@ -268,6 +268,8 @@ ...@@ -268,6 +268,8 @@
.navbar-sub-nav, .navbar-sub-nav,
.navbar-nav { .navbar-nav {
align-items: center;
> li { > li {
> a:hover, > a:hover,
> a:focus { > a:focus {
...@@ -447,16 +449,16 @@ ...@@ -447,16 +449,16 @@
.btn-sign-in { .btn-sign-in {
background-color: $indigo-100; background-color: $indigo-100;
color: $indigo-900; color: $indigo-900;
margin-top: 3px;
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
line-height: 18px;
&:hover { &:hover {
background-color: $white-light; background-color: $white-light;
} }
}
.with-performance-bar header.navbar-gitlab { @include media-breakpoint-down(xs) {
top: $performance-bar-height; margin-top: $gl-padding-4;
}
} }
.navbar-nav { .navbar-nav {
......
...@@ -4,3 +4,11 @@ ...@@ -4,3 +4,11 @@
text-decoration: none; text-decoration: none;
} }
} }
.page-item {
&.active {
.page-link {
z-index: 3;
}
}
}
...@@ -58,8 +58,13 @@ table { ...@@ -58,8 +58,13 @@ table {
display: none; display: none;
} }
table,
tbody,
td { td {
display: block; display: block;
}
td {
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
padding: 0; padding: 0;
&::before { &::before {
@include notes-media('max', map-get($grid-breakpoints, xs)) { @include notes-media('max', map-get($grid-breakpoints, sm)) {
background: none; background: none;
} }
} }
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
.timeline-entry-inner { .timeline-entry-inner {
position: relative; position: relative;
@include notes-media('max', map-get($grid-breakpoints, xs)) { @include notes-media('max', map-get($grid-breakpoints, sm)) {
.timeline-icon { .timeline-icon {
display: none; display: none;
} }
......
...@@ -100,7 +100,7 @@ $theme-gray-200: #dfdfdf; ...@@ -100,7 +100,7 @@ $theme-gray-200: #dfdfdf;
$theme-gray-300: #cccccc; $theme-gray-300: #cccccc;
$theme-gray-400: #bababa; $theme-gray-400: #bababa;
$theme-gray-500: #a7a7a7; $theme-gray-500: #a7a7a7;
$theme-gray-600: #949494; $theme-gray-600: #919191;
$theme-gray-700: #707070; $theme-gray-700: #707070;
$theme-gray-800: #4f4f4f; $theme-gray-800: #4f4f4f;
$theme-gray-900: #2e2e2e; $theme-gray-900: #2e2e2e;
...@@ -192,7 +192,7 @@ $gl-font-weight-normal: 400; ...@@ -192,7 +192,7 @@ $gl-font-weight-normal: 400;
$gl-font-weight-bold: 600; $gl-font-weight-bold: 600;
$gl-text-color: #2e2e2e; $gl-text-color: #2e2e2e;
$gl-text-color-secondary: #707070; $gl-text-color-secondary: #707070;
$gl-text-color-tertiary: #949494; $gl-text-color-tertiary: #919191;
$gl-text-color-quaternary: #d6d6d6; $gl-text-color-quaternary: #d6d6d6;
$gl-text-color-inverted: rgba(255, 255, 255, 1); $gl-text-color-inverted: rgba(255, 255, 255, 1);
$gl-text-color-secondary-inverted: rgba(255, 255, 255, 0.85); $gl-text-color-secondary-inverted: rgba(255, 255, 255, 0.85);
...@@ -443,6 +443,22 @@ $gl-btn-horz-padding: 12px; ...@@ -443,6 +443,22 @@ $gl-btn-horz-padding: 12px;
$badge-bg: rgba(0, 0, 0, 0.07); $badge-bg: rgba(0, 0, 0, 0.07);
$badge-color: $gl-text-color-secondary; $badge-color: $gl-text-color-secondary;
/*
* Pagination
*/
$pagination-padding-y: 6px;
$pagination-padding-x: 16px;
$pagination-line-height: 20px;
$pagination-border-color: $border-color;
$pagination-active-bg: $blue-600;
$pagination-active-border-color: $blue-600;
$pagination-hover-bg: $blue-50;
$pagination-hover-border-color: $border-color;
$pagination-hover-color: $gl-text-color;
$pagination-disabled-color: #cdcdcd;
$pagination-disabled-bg: $gray-light;
$pagination-disabled-border-color: $border-color;
/* /*
* Status icons * Status icons
*/ */
......
...@@ -495,14 +495,14 @@ ...@@ -495,14 +495,14 @@
border-width: 8px; border-width: 8px;
} }
> .popover-title, > .popover-header,
> .popover-content { > .popover-body {
padding: 8px; padding: 8px;
font-size: 12px; font-size: 12px;
white-space: nowrap; white-space: nowrap;
} }
> .popover-title { > .popover-header {
background-color: $theme-gray-50; background-color: $theme-gray-50;
} }
} }
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
} }
.color-label { .color-label {
padding: $gl-padding-4 $grid-size; padding: 0 $grid-size;
line-height: 16px; line-height: 16px;
border-radius: $label-border-radius; border-radius: $label-border-radius;
color: $white-light; color: $white-light;
...@@ -112,6 +112,10 @@ ...@@ -112,6 +112,10 @@
} }
} }
} }
.color-label {
padding: $gl-padding-4 $grid-size;
}
} }
.prioritized-labels { .prioritized-labels {
......
...@@ -127,10 +127,6 @@ ...@@ -127,10 +127,6 @@
background: transparent; background: transparent;
border: 0; border: 0;
outline: 0; outline: 0;
@include media-breakpoint-up(sm) {
right: 160px;
}
} }
.members-ldap { .members-ldap {
......
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
padding: 0; padding: 0;
} }
.popover-content { .popover-body {
padding: 0; padding: 0;
} }
} }
......
...@@ -1129,7 +1129,7 @@ ...@@ -1129,7 +1129,7 @@
.ide-context-header { .ide-context-header {
.avatar { .avatar {
flex: 0 0 40px; flex: 0 0 38px;
} }
.ide-merge-requests-dropdown.dropdown-menu { .ide-merge-requests-dropdown.dropdown-menu {
......
...@@ -29,7 +29,7 @@ input[type="checkbox"]:hover { ...@@ -29,7 +29,7 @@ input[type="checkbox"]:hover {
} }
.search { .search {
margin: 4px 8px 0; margin: 0 8px;
form { form {
@extend .form-control; @extend .form-control;
......
...@@ -615,6 +615,7 @@ module Ci ...@@ -615,6 +615,7 @@ module Ci
variables variables
.concat(pipeline.persisted_variables) .concat(pipeline.persisted_variables)
.append(key: 'CI_JOB_ID', value: id.to_s) .append(key: 'CI_JOB_ID', value: id.to_s)
.append(key: 'CI_JOB_URL', value: Gitlab::Routing.url_helpers.project_job_url(project, self))
.append(key: 'CI_JOB_TOKEN', value: token, public: false) .append(key: 'CI_JOB_TOKEN', value: token, public: false)
.append(key: 'CI_BUILD_ID', value: id.to_s) .append(key: 'CI_BUILD_ID', value: id.to_s)
.append(key: 'CI_BUILD_TOKEN', value: token, public: false) .append(key: 'CI_BUILD_TOKEN', value: token, public: false)
......
...@@ -8,6 +8,7 @@ module Ci ...@@ -8,6 +8,7 @@ module Ci
include Gitlab::OptimisticLocking include Gitlab::OptimisticLocking
include Gitlab::Utils::StrongMemoize include Gitlab::Utils::StrongMemoize
include AtomicInternalId include AtomicInternalId
include EnumWithNil
prepend ::EE::Ci::Pipeline prepend ::EE::Ci::Pipeline
...@@ -65,7 +66,7 @@ module Ci ...@@ -65,7 +66,7 @@ module Ci
after_create :keep_around_commits, unless: :importing? after_create :keep_around_commits, unless: :importing?
enum source: { enum_with_nil source: {
unknown: nil, unknown: nil,
push: 1, push: 1,
web: 2, web: 2,
...@@ -77,7 +78,7 @@ module Ci ...@@ -77,7 +78,7 @@ module Ci
chat: 8 chat: 8
} }
enum config_source: { enum_with_nil config_source: {
unknown_source: nil, unknown_source: nil,
repository_source: 1, repository_source: 1,
auto_devops_source: 2 auto_devops_source: 2
...@@ -565,7 +566,10 @@ module Ci ...@@ -565,7 +566,10 @@ module Ci
def persisted_variables def persisted_variables
Gitlab::Ci::Variables::Collection.new.tap do |variables| Gitlab::Ci::Variables::Collection.new.tap do |variables|
variables.append(key: 'CI_PIPELINE_ID', value: id.to_s) if persisted? break variables unless persisted?
variables.append(key: 'CI_PIPELINE_ID', value: id.to_s)
variables.append(key: 'CI_PIPELINE_URL', value: Gitlab::Routing.url_helpers.project_pipeline_url(project, self))
end end
end end
...@@ -616,17 +620,6 @@ module Ci ...@@ -616,17 +620,6 @@ module Ci
@latest_builds_with_artifacts ||= builds.latest.with_artifacts_archive.to_a @latest_builds_with_artifacts ||= builds.latest.with_artifacts_archive.to_a
end end
# Rails 5.0 autogenerated question mark enum methods return wrong result if enum value is nil.
# They always return `false`.
# These methods overwrite autogenerated ones to return correct results.
def unknown?
Gitlab.rails5? ? source.nil? : super
end
def unknown_source?
Gitlab.rails5? ? config_source.nil? : super
end
private private
def ci_yaml_from_repo def ci_yaml_from_repo
......
...@@ -3,6 +3,7 @@ class CommitStatus < ActiveRecord::Base ...@@ -3,6 +3,7 @@ class CommitStatus < ActiveRecord::Base
include Importable include Importable
include AfterCommitQueue include AfterCommitQueue
include Presentable include Presentable
include EnumWithNil
self.table_name = 'ci_builds' self.table_name = 'ci_builds'
...@@ -39,7 +40,7 @@ class CommitStatus < ActiveRecord::Base ...@@ -39,7 +40,7 @@ class CommitStatus < ActiveRecord::Base
scope :retried_ordered, -> { retried.ordered.includes(project: :namespace) } scope :retried_ordered, -> { retried.ordered.includes(project: :namespace) }
scope :after_stage, -> (index) { where('stage_idx > ?', index) } scope :after_stage, -> (index) { where('stage_idx > ?', index) }
enum failure_reason: { enum_with_nil failure_reason: {
unknown_failure: nil, unknown_failure: nil,
script_failure: 1, script_failure: 1,
api_failure: 2, api_failure: 2,
...@@ -190,11 +191,4 @@ class CommitStatus < ActiveRecord::Base ...@@ -190,11 +191,4 @@ class CommitStatus < ActiveRecord::Base
v =~ /\d+/ ? v.to_i : v v =~ /\d+/ ? v.to_i : v
end end
end end
# Rails 5.0 autogenerated question mark enum methods return wrong result if enum value is nil.
# They always return `false`.
# This method overwrites the autogenerated one to return correct result.
def unknown_failure?
Gitlab.rails5? ? failure_reason.nil? : super
end
end end
module EnumWithNil
extend ActiveSupport::Concern
included do
def self.enum_with_nil(definitions)
# use original `enum` to auto-define all methods
enum(definitions)
# override auto-defined methods only for the
# key which uses nil value
definitions.each do |name, values|
next unless key_with_nil = values.key(nil)
# E.g. for enum_with_nil failure_reason: { unknown_failure: nil }
# this overrides auto-generated method `unknown_failure?`
define_method("#{key_with_nil}?") do
Gitlab.rails5? ? self[name].nil? : super()
end
# E.g. for enum_with_nil failure_reason: { unknown_failure: nil }
# this overrides auto-generated method `failure_reason`
define_method(name) do
orig = super()
return orig unless Gitlab.rails5?
return orig unless orig.nil?
self.class.public_send(name.to_s.pluralize).key(nil) # rubocop:disable GitlabSecurity/PublicSend
end
end
end
end
end
...@@ -1634,6 +1634,7 @@ class Project < ActiveRecord::Base ...@@ -1634,6 +1634,7 @@ class Project < ActiveRecord::Base
def after_import def after_import
repository.after_import repository.after_import
wiki.repository.after_import
import_finish import_finish
remove_import_jid remove_import_jid
update_project_counter_caches update_project_counter_caches
...@@ -2153,10 +2154,14 @@ class Project < ActiveRecord::Base ...@@ -2153,10 +2154,14 @@ class Project < ActiveRecord::Base
check_access = -> do check_access = -> do
next false if empty_repo? next false if empty_repo?
merge_request = source_of_merge_requests.opened merge_requests = source_of_merge_requests.opened
.where(allow_collaboration: true) .where(allow_collaboration: true)
.find_by(source_branch: branch_name)
merge_request&.can_be_merged_by?(user) if branch_name
merge_requests.find_by(source_branch: branch_name)&.can_be_merged_by?(user)
else
merge_requests.any? { |merge_request| merge_request.can_be_merged_by?(user) }
end
end end
if RequestStore.active? if RequestStore.active?
......
...@@ -19,7 +19,7 @@ module Commits ...@@ -19,7 +19,7 @@ module Commits
new_commit = create_commit! new_commit = create_commit!
success(result: new_commit) success(result: new_commit)
rescue ValidationError, ChangeError, Gitlab::Git::Index::IndexError, Gitlab::Git::CommitError, Gitlab::Git::HooksService::PreReceiveError => ex rescue ValidationError, ChangeError, Gitlab::Git::Index::IndexError, Gitlab::Git::CommitError, Gitlab::Git::PreReceiveError => ex
error(ex.message) error(ex.message)
end end
......
...@@ -14,7 +14,7 @@ class CreateBranchService < BaseService ...@@ -14,7 +14,7 @@ class CreateBranchService < BaseService
else else
error('Invalid reference name') error('Invalid reference name')
end end
rescue Gitlab::Git::HooksService::PreReceiveError => ex rescue Gitlab::Git::PreReceiveError => ex
error(ex.message) error(ex.message)
end end
......
...@@ -16,7 +16,7 @@ class DeleteBranchService < BaseService ...@@ -16,7 +16,7 @@ class DeleteBranchService < BaseService
else else
error('Failed to remove branch') error('Failed to remove branch')
end end
rescue Gitlab::Git::HooksService::PreReceiveError => ex rescue Gitlab::Git::PreReceiveError => ex
error(ex.message) error(ex.message)
end end
......
...@@ -13,7 +13,7 @@ module MergeRequests ...@@ -13,7 +13,7 @@ module MergeRequests
source, source,
merge_request.target_branch, merge_request.target_branch,
merge_request: merge_request) merge_request: merge_request)
rescue Gitlab::Git::HooksService::PreReceiveError => e rescue Gitlab::Git::PreReceiveError => e
raise MergeError, e.message raise MergeError, e.message
rescue StandardError => e rescue StandardError => e
raise MergeError, "Something went wrong during merge: #{e.message}" raise MergeError, "Something went wrong during merge: #{e.message}"
......
...@@ -81,7 +81,7 @@ module MergeRequests ...@@ -81,7 +81,7 @@ module MergeRequests
message = params[:commit_message] || merge_request.merge_commit_message message = params[:commit_message] || merge_request.merge_commit_message
repository.merge(current_user, source, merge_request, message) repository.merge(current_user, source, merge_request, message)
rescue Gitlab::Git::HooksService::PreReceiveError => e rescue Gitlab::Git::PreReceiveError => e
handle_merge_error(log_message: e.message) handle_merge_error(log_message: e.message)
raise MergeError, 'Something went wrong during merge pre-receive hook' raise MergeError, 'Something went wrong during merge pre-receive hook'
rescue => e rescue => e
......
...@@ -13,7 +13,7 @@ module Tags ...@@ -13,7 +13,7 @@ module Tags
new_tag = repository.add_tag(current_user, tag_name, target, message) new_tag = repository.add_tag(current_user, tag_name, target, message)
rescue Gitlab::Git::Repository::TagExistsError rescue Gitlab::Git::Repository::TagExistsError
return error("Tag #{tag_name} already exists") return error("Tag #{tag_name} already exists")
rescue Gitlab::Git::HooksService::PreReceiveError => ex rescue Gitlab::Git::PreReceiveError => ex
return error(ex.message) return error(ex.message)
end end
......
...@@ -21,7 +21,7 @@ module Tags ...@@ -21,7 +21,7 @@ module Tags
else else
error('Failed to remove tag') error('Failed to remove tag')
end end
rescue Gitlab::Git::HooksService::PreReceiveError => ex rescue Gitlab::Git::PreReceiveError => ex
error(ex.message) error(ex.message)
end end
......
...@@ -13,7 +13,7 @@ class ValidateNewBranchService < BaseService ...@@ -13,7 +13,7 @@ class ValidateNewBranchService < BaseService
end end
success success
rescue Gitlab::Git::HooksService::PreReceiveError => ex rescue Gitlab::Git::PreReceiveError => ex
error(ex.message) error(ex.message)
end end
end end
...@@ -2,11 +2,10 @@ ...@@ -2,11 +2,10 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
= f.label :admin_notification_email, 'Abuse reports notification email', class: 'col-form-label col-sm-2' = f.label :admin_notification_email, 'Abuse reports notification email', class: 'label-light'
.col-sm-10 = f.text_field :admin_notification_email, class: 'form-control'
= f.text_field :admin_notification_email, class: 'form-control' .form-text.text-muted
.form-text.text-muted Abuse reports will be sent to this address if it is set. Abuse reports are always available in the admin area.
Abuse reports will be sent to this address if it is set. Abuse reports are always available in the admin area.
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,51 +2,44 @@ ...@@ -2,51 +2,44 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :gravatar_enabled, class: 'form-check-input'
= f.check_box :gravatar_enabled, class: 'form-check-input' = f.label :gravatar_enabled, class: 'form-check-label' do
= f.label :gravatar_enabled, class: 'form-check-label' do Gravatar enabled
Gravatar enabled .form-group
.form-group.row = f.label :default_projects_limit, class: 'label-light'
= f.label :default_projects_limit, class: 'col-form-label col-sm-2' = f.number_field :default_projects_limit, class: 'form-control'
.col-sm-10 .form-group
= f.number_field :default_projects_limit, class: 'form-control' = f.label :max_attachment_size, 'Maximum attachment size (MB)', class: 'label-light'
.form-group.row = f.number_field :max_attachment_size, class: 'form-control'
= f.label :max_attachment_size, 'Maximum attachment size (MB)', class: 'col-form-label col-sm-2'
.col-sm-10
= f.number_field :max_attachment_size, class: 'form-control'
= render 'repository_size_limit_setting', form: f = render 'repository_size_limit_setting', form: f
.form-group.row .form-group
= f.label :session_expire_delay, 'Session duration (minutes)', class: 'col-form-label col-sm-2' = f.label :session_expire_delay, 'Session duration (minutes)', class: 'label-light'
.col-sm-10 = f.number_field :session_expire_delay, class: 'form-control'
= f.number_field :session_expire_delay, class: 'form-control' %span.form-text.text-muted#session_expire_delay_help_block GitLab restart is required to apply changes
%span.form-text.text-muted#session_expire_delay_help_block GitLab restart is required to apply changes .form-group
.form-group.row = f.label :user_oauth_applications, 'User OAuth applications', class: 'label-light'
= f.label :user_oauth_applications, 'User OAuth applications', class: 'col-form-label col-sm-2' .form-check
.col-sm-10 = f.check_box :user_oauth_applications, class: 'form-check-input'
.form-check = f.label :user_oauth_applications, class: 'form-check-label' do
= f.check_box :user_oauth_applications, class: 'form-check-input' Allow users to register any application to use GitLab as an OAuth provider
= f.label :user_oauth_applications, class: 'form-check-label' do .form-group
Allow users to register any application to use GitLab as an OAuth provider = f.label :user_default_external, 'New users set to external', class: 'label-light'
.form-group.row .form-check
= f.label :user_default_external, 'New users set to external', class: 'col-form-label col-sm-2' = f.check_box :user_default_external, class: 'form-check-input'
.col-sm-10 = f.label :user_default_external, class: 'form-check-label' do
.form-check Newly registered users will by default be external
= f.check_box :user_default_external, class: 'form-check-input'
= f.label :user_default_external, class: 'form-check-label' do
Newly registered users will by default be external
- if ::Gitlab.dev_env_or_com? - if ::Gitlab.dev_env_or_com?
.form-group.row .form-group
= f.label :check_namespace_plan, 'Check feature availability on namespace plan', class: 'col-form-label col-sm-2' = f.label :check_namespace_plan, 'Check feature availability on namespace plan', class: 'label-light'
.col-sm-10 .form-check
.form-check = f.check_box :check_namespace_plan, class: 'form-check-input'
= f.check_box :check_namespace_plan, class: 'form-check-input' = f.label :check_namespace_plan, class: 'form-check-label' do
= f.label :check_namespace_plan, class: 'form-check-label' do Enabling this will only make licensed EE features available to projects if the project namespace's plan
Enabling this will only make licensed EE features available to projects if the project namespace's plan includes the feature or if the project is public.
includes the feature or if the project is public.
= f.submit 'Save changes', class: 'btn btn-success' = f.submit 'Save changes', class: 'btn btn-success'
...@@ -6,25 +6,22 @@ ...@@ -6,25 +6,22 @@
These settings require a These settings require a
= link_to 'restart', help_page_path('administration/restart_gitlab') = link_to 'restart', help_page_path('administration/restart_gitlab')
to take effect. to take effect.
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :sidekiq_throttling_enabled, class: 'form-check-input'
= f.check_box :sidekiq_throttling_enabled, class: 'form-check-input' = f.label :sidekiq_throttling_enabled, class: 'form-check-label' do
= f.label :sidekiq_throttling_enabled, class: 'form-check-label' do Enable Sidekiq Job Throttling
Enable Sidekiq Job Throttling
.form-text.text-muted
Limit the amount of resources slow running jobs are assigned.
.form-group.row
= f.label :sidekiq_throttling_queues, 'Sidekiq queues to throttle', class: 'col-form-label col-sm-2'
.col-sm-10
= f.select :sidekiq_throttling_queues, sidekiq_queue_options_for_select, { include_hidden: false }, multiple: true, class: 'select2 select-wide', data: { field: 'sidekiq_throttling_queues' }
.form-text.text-muted .form-text.text-muted
Choose which queues you wish to throttle. Limit the amount of resources slow running jobs are assigned.
.form-group.row .form-group
= f.label :sidekiq_throttling_factor, 'Throttling Factor', class: 'col-form-label col-sm-2' = f.label :sidekiq_throttling_queues, 'Sidekiq queues to throttle', class: 'label-light'
.col-sm-10 = f.select :sidekiq_throttling_queues, sidekiq_queue_options_for_select, { include_hidden: false }, multiple: true, class: 'select2 select-wide', data: { field: 'sidekiq_throttling_queues' }
= f.number_field :sidekiq_throttling_factor, class: 'form-control', min: '0.01', max: '0.99', step: '0.01' .form-text.text-muted
.form-text.text-muted Choose which queues you wish to throttle.
The factor by which the queues should be throttled. A value between 0.0 and 1.0, exclusive. .form-group
= f.label :sidekiq_throttling_factor, 'Throttling Factor', class: 'label-light'
= f.number_field :sidekiq_throttling_factor, class: 'form-control', min: '0.01', max: '0.99', step: '0.01'
.form-text.text-muted
The factor by which the queues should be throttled. A value between 0.0 and 1.0, exclusive.
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,49 +2,43 @@ ...@@ -2,49 +2,43 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :auto_devops_enabled, class: 'form-check-input'
= f.check_box :auto_devops_enabled, class: 'form-check-input' = f.label :auto_devops_enabled, class: 'form-check-label' do
= f.label :auto_devops_enabled, class: 'form-check-label' do Enabled Auto DevOps for projects by default
Enabled Auto DevOps for projects by default .form-text.text-muted
.form-text.text-muted It will automatically build, test, and deploy applications based on a predefined CI/CD configuration
It will automatically build, test, and deploy applications based on a predefined CI/CD configuration = link_to icon('question-circle'), help_page_path('topics/autodevops/index.md')
= link_to icon('question-circle'), help_page_path('topics/autodevops/index.md') .form-group
.form-group.row = f.label :auto_devops_domain, class: 'label-light'
= f.label :auto_devops_domain, class: 'col-form-label col-sm-2' = f.text_field :auto_devops_domain, class: 'form-control', placeholder: 'domain.com'
.col-sm-10 .form-text.text-muted
= f.text_field :auto_devops_domain, class: 'form-control', placeholder: 'domain.com' = s_("AdminSettings|Specify a domain to use by default for every project's Auto Review Apps and Auto Deploy stages.")
.form-text.text-muted .form-group
= s_("AdminSettings|Specify a domain to use by default for every project's Auto Review Apps and Auto Deploy stages.") .form-check
.form-group.row = f.check_box :shared_runners_enabled, class: 'form-check-input'
.offset-sm-2.col-sm-10 = f.label :shared_runners_enabled, class: 'form-check-label' do
.form-check Enable shared runners for new projects
= f.check_box :shared_runners_enabled, class: 'form-check-input'
= f.label :shared_runners_enabled, class: 'form-check-label' do
Enable shared runners for new projects
= render 'shared_runners_minutes_setting', form: f = render 'shared_runners_minutes_setting', form: f
.form-group.row .form-group
= f.label :shared_runners_text, class: 'col-form-label col-sm-2' = f.label :shared_runners_text, class: 'label-light'
.col-sm-10 = f.text_area :shared_runners_text, class: 'form-control', rows: 4
= f.text_area :shared_runners_text, class: 'form-control', rows: 4 .form-text.text-muted Markdown enabled
.form-text.text-muted Markdown enabled .form-group
.form-group.row = f.label :max_artifacts_size, 'Maximum artifacts size (MB)', class: 'label-light'
= f.label :max_artifacts_size, 'Maximum artifacts size (MB)', class: 'col-form-label col-sm-2' = f.number_field :max_artifacts_size, class: 'form-control'
.col-sm-10 .form-text.text-muted
= f.number_field :max_artifacts_size, class: 'form-control' Set the maximum file size for each job's artifacts
.form-text.text-muted = link_to icon('question-circle'), help_page_path('user/admin_area/settings/continuous_integration', anchor: 'maximum-artifacts-size')
Set the maximum file size for each job's artifacts .form-group
= link_to icon('question-circle'), help_page_path('user/admin_area/settings/continuous_integration', anchor: 'maximum-artifacts-size') = f.label :default_artifacts_expire_in, 'Default artifacts expiration', class: 'label-light'
.form-group.row = f.text_field :default_artifacts_expire_in, class: 'form-control'
= f.label :default_artifacts_expire_in, 'Default artifacts expiration', class: 'col-form-label col-sm-2' .form-text.text-muted
.col-sm-10 Set the default expiration time for each job's artifacts.
= f.text_field :default_artifacts_expire_in, class: 'form-control' 0 for unlimited.
.form-text.text-muted = link_to icon('question-circle'), help_page_path('user/admin_area/settings/continuous_integration', anchor: 'default-artifacts-expiration')
Set the default expiration time for each job's artifacts.
0 for unlimited.
= link_to icon('question-circle'), help_page_path('user/admin_area/settings/continuous_integration', anchor: 'default-artifacts-expiration')
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,34 +2,31 @@ ...@@ -2,34 +2,31 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :email_author_in_body, class: 'form-check-input'
= f.check_box :email_author_in_body, class: 'form-check-input' = f.label :email_author_in_body, class: 'form-check-label' do
= f.label :email_author_in_body, class: 'form-check-label' do Include author name in notification email body
Include author name in notification email body .form-text.text-muted
.form-text.text-muted Some email servers do not support overriding the email sender name.
Some email servers do not support overriding the email sender name. Enable this option to include the name of the author of the issue,
Enable this option to include the name of the author of the issue, merge request or comment in the email body instead.
merge request or comment in the email body instead. .form-group
.form-group.row .form-check
.offset-sm-2.col-sm-10 = f.check_box :html_emails_enabled, class: 'form-check-input'
.form-check = f.label :html_emails_enabled, class: 'form-check-label' do
= f.check_box :html_emails_enabled, class: 'form-check-input' Enable HTML emails
= f.label :html_emails_enabled, class: 'form-check-label' do .form-text.text-muted
Enable HTML emails By default GitLab sends emails in HTML and plain text formats so mail
.form-text.text-muted clients can choose what format to use. Disable this option if you only
By default GitLab sends emails in HTML and plain text formats so mail want to send emails in plain text format.
clients can choose what format to use. Disable this option if you only
want to send emails in plain text format.
-# EE-specific start -# EE-specific start
- if License.feature_available?(:email_additional_text) - if License.feature_available?(:email_additional_text)
.form-group.row .form-group
= f.label :email_additional_text, _('Additional text'), class: 'col-form-label col-sm-2' = f.label :email_additional_text, _('Additional text'), class: 'label-light'
.col-sm-10 = f.text_area :email_additional_text, class: 'form-control', maxlength: Gitlab::CurrentSettings.email_additional_text_character_limit, rows: 4
= f.text_area :email_additional_text, class: 'form-control', maxlength: Gitlab::CurrentSettings.email_additional_text_character_limit, rows: 4 .form-text.text-muted
.form-text.text-muted = _('Add additional text to appear in all email communications. %{character_limit} character limit') % { character_limit: number_with_delimiter(Gitlab::CurrentSettings.email_additional_text_character_limit) }
= _('Add additional text to appear in all email communications. %{character_limit} character limit') % { character_limit: number_with_delimiter(Gitlab::CurrentSettings.email_additional_text_character_limit) }
-# EE-specific end -# EE-specific end
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,26 +2,23 @@ ...@@ -2,26 +2,23 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
= f.label :gitaly_timeout_default, 'Default Timeout Period', class: 'col-form-label col-sm-2' = f.label :gitaly_timeout_default, 'Default Timeout Period', class: 'label-light'
.col-sm-10 = f.number_field :gitaly_timeout_default, class: 'form-control'
= f.number_field :gitaly_timeout_default, class: 'form-control' .form-text.text-muted
.form-text.text-muted Timeout for Gitaly calls from the GitLab application (in seconds). This timeout is not enforced
Timeout for Gitaly calls from the GitLab application (in seconds). This timeout is not enforced for git fetch/push operations or Sidekiq jobs.
for git fetch/push operations or Sidekiq jobs. .form-group
.form-group.row = f.label :gitaly_timeout_fast, 'Fast Timeout Period', class: 'label-light'
= f.label :gitaly_timeout_fast, 'Fast Timeout Period', class: 'col-form-label col-sm-2' = f.number_field :gitaly_timeout_fast, class: 'form-control'
.col-sm-10 .form-text.text-muted
= f.number_field :gitaly_timeout_fast, class: 'form-control' Fast operation timeout (in seconds). Some Gitaly operations are expected to be fast.
.form-text.text-muted If they exceed this threshold, there may be a problem with a storage shard and 'failing fast'
Fast operation timeout (in seconds). Some Gitaly operations are expected to be fast. can help maintain the stability of the GitLab instance.
If they exceed this threshold, there may be a problem with a storage shard and 'failing fast' .form-group
can help maintain the stability of the GitLab instance. = f.label :gitaly_timeout_medium, 'Medium Timeout Period', class: 'label-light'
.form-group.row = f.number_field :gitaly_timeout_medium, class: 'form-control'
= f.label :gitaly_timeout_medium, 'Medium Timeout Period', class: 'col-form-label col-sm-2' .form-text.text-muted
.col-sm-10 Medium operation timeout (in seconds). This should be a value between the Fast and the Default timeout.
= f.number_field :gitaly_timeout_medium, class: 'form-control'
.form-text.text-muted
Medium operation timeout (in seconds). This should be a value between the Fast and the Default timeout.
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,26 +2,22 @@ ...@@ -2,26 +2,22 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
= f.label :help_text, class: 'col-form-label col-sm-2' = f.label :help_text, class: 'label-light'
.col-sm-10 = f.text_area :help_text, class: 'form-control', rows: 4
= f.text_area :help_text, class: 'form-control', rows: 4 .form-text.text-muted Markdown enabled
.form-text.text-muted Markdown enabled .form-group
.form-group.row = f.label :help_page_text, class: 'label-light'
= f.label :help_page_text, class: 'col-form-label col-sm-2' = f.text_area :help_page_text, class: 'form-control', rows: 4
.col-sm-10 .form-text.text-muted Markdown enabled
= f.text_area :help_page_text, class: 'form-control', rows: 4 .form-group
.form-text.text-muted Markdown enabled .form-check
.form-group.row = f.check_box :help_page_hide_commercial_content, class: 'form-check-input'
.offset-sm-2.col-sm-10 = f.label :help_page_hide_commercial_content, class: 'form-check-label' do
.form-check Hide marketing-related entries from help
= f.check_box :help_page_hide_commercial_content, class: 'form-check-input' .form-group
= f.label :help_page_hide_commercial_content, class: 'form-check-label' do = f.label :help_page_support_url, 'Support page URL', class: 'label-light'
Hide marketing-related entries from help = f.text_field :help_page_support_url, class: 'form-control', placeholder: 'http://company.example.com/getting-help', :'aria-describedby' => 'support_help_block'
.form-group.row %span.form-text.text-muted#support_help_block Alternate support URL for help page
= f.label :help_page_support_url, 'Support page URL', class: 'col-form-label col-sm-2'
.col-sm-10
= f.text_field :help_page_support_url, class: 'form-control', placeholder: 'http://company.example.com/getting-help', :'aria-describedby' => 'support_help_block'
%span.form-text.text-muted#support_help_block Alternate support URL for help page
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -8,61 +8,53 @@ ...@@ -8,61 +8,53 @@
= link_to 'restart', help_page_path('administration/restart_gitlab') = link_to 'restart', help_page_path('administration/restart_gitlab')
to take effect. to take effect.
= link_to icon('question-circle'), help_page_path('administration/monitoring/performance/introduction') = link_to icon('question-circle'), help_page_path('administration/monitoring/performance/introduction')
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :metrics_enabled, class: 'form-check-input'
= f.check_box :metrics_enabled, class: 'form-check-input' = f.label :metrics_enabled, class: 'form-check-label' do
= f.label :metrics_enabled, class: 'form-check-label' do Enable InfluxDB Metrics
Enable InfluxDB Metrics .form-group
.form-group.row = f.label :metrics_host, 'InfluxDB host', class: 'label-light'
= f.label :metrics_host, 'InfluxDB host', class: 'col-form-label col-sm-2' = f.text_field :metrics_host, class: 'form-control', placeholder: 'influxdb.example.com'
.col-sm-10 .form-group
= f.text_field :metrics_host, class: 'form-control', placeholder: 'influxdb.example.com' = f.label :metrics_port, 'InfluxDB port', class: 'label-light'
.form-group.row = f.text_field :metrics_port, class: 'form-control', placeholder: '8089'
= f.label :metrics_port, 'InfluxDB port', class: 'col-form-label col-sm-2' .form-text.text-muted
.col-sm-10 The UDP port to use for connecting to InfluxDB. InfluxDB requires that
= f.text_field :metrics_port, class: 'form-control', placeholder: '8089' your server configuration specifies a database to store data in when
.form-text.text-muted sending messages to this port, without it metrics data will not be
The UDP port to use for connecting to InfluxDB. InfluxDB requires that saved.
your server configuration specifies a database to store data in when .form-group
sending messages to this port, without it metrics data will not be = f.label :metrics_pool_size, 'Connection pool size', class: 'label-light'
saved. = f.number_field :metrics_pool_size, class: 'form-control'
.form-group.row .form-text.text-muted
= f.label :metrics_pool_size, 'Connection pool size', class: 'col-form-label col-sm-2' The amount of InfluxDB connections to open. Connections are opened
.col-sm-10 lazily. Users using multi-threaded application servers should ensure
= f.number_field :metrics_pool_size, class: 'form-control' enough connections are available (at minimum the amount of application
.form-text.text-muted server threads).
The amount of InfluxDB connections to open. Connections are opened .form-group
lazily. Users using multi-threaded application servers should ensure = f.label :metrics_timeout, 'Connection timeout', class: 'label-light'
enough connections are available (at minimum the amount of application = f.number_field :metrics_timeout, class: 'form-control'
server threads). .form-text.text-muted
.form-group.row The amount of seconds after which an InfluxDB connection will time
= f.label :metrics_timeout, 'Connection timeout', class: 'col-form-label col-sm-2' out.
.col-sm-10 .form-group
= f.number_field :metrics_timeout, class: 'form-control' = f.label :metrics_method_call_threshold, 'Method Call Threshold (ms)', class: 'label-light'
.form-text.text-muted = f.number_field :metrics_method_call_threshold, class: 'form-control'
The amount of seconds after which an InfluxDB connection will time .form-text.text-muted
out. A method call is only tracked when it takes longer to complete than
.form-group.row the given amount of milliseconds.
= f.label :metrics_method_call_threshold, 'Method Call Threshold (ms)', class: 'col-form-label col-sm-2' .form-group
.col-sm-10 = f.label :metrics_sample_interval, 'Sampler Interval (sec)', class: 'label-light'
= f.number_field :metrics_method_call_threshold, class: 'form-control' = f.number_field :metrics_sample_interval, class: 'form-control'
.form-text.text-muted .form-text.text-muted
A method call is only tracked when it takes longer to complete than The sampling interval in seconds. Sampled data includes memory usage,
the given amount of milliseconds. retained Ruby objects, file descriptors and so on.
.form-group.row .form-group
= f.label :metrics_sample_interval, 'Sampler Interval (sec)', class: 'col-form-label col-sm-2' = f.label :metrics_packet_size, 'Metrics per packet', class: 'label-light'
.col-sm-10 = f.number_field :metrics_packet_size, class: 'form-control'
= f.number_field :metrics_sample_interval, class: 'form-control' .form-text.text-muted
.form-text.text-muted The amount of points to store in a single UDP packet. More points
The sampling interval in seconds. Sampled data includes memory usage, results in fewer but larger UDP packets being sent.
retained Ruby objects, file descriptors and so on.
.form-group.row
= f.label :metrics_packet_size, 'Metrics per packet', class: 'col-form-label col-sm-2'
.col-sm-10
= f.number_field :metrics_packet_size, class: 'form-control'
.form-text.text-muted
The amount of points to store in a single UDP packet. More points
results in fewer but larger UDP packets being sent.
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,53 +2,44 @@ ...@@ -2,53 +2,44 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :throttle_unauthenticated_enabled, class: 'form-check-input'
= f.check_box :throttle_unauthenticated_enabled, class: 'form-check-input' = f.label :throttle_unauthenticated_enabled, class: 'form-check-label' do
= f.label :throttle_unauthenticated_enabled, class: 'form-check-label' do Enable unauthenticated request rate limit
Enable unauthenticated request rate limit %span.form-text.text-muted
%span.form-text.text-muted Helps reduce request volume (e.g. from crawlers or abusive bots)
Helps reduce request volume (e.g. from crawlers or abusive bots) .form-group
.form-group.row = f.label :throttle_unauthenticated_requests_per_period, 'Max requests per period per IP', class: 'label-light'
= f.label :throttle_unauthenticated_requests_per_period, 'Max requests per period per IP', class: 'col-form-label col-sm-2' = f.number_field :throttle_unauthenticated_requests_per_period, class: 'form-control'
.col-sm-10 .form-group
= f.number_field :throttle_unauthenticated_requests_per_period, class: 'form-control' = f.label :throttle_unauthenticated_period_in_seconds, 'Rate limit period in seconds', class: 'label-light'
.form-group.row = f.number_field :throttle_unauthenticated_period_in_seconds, class: 'form-control'
= f.label :throttle_unauthenticated_period_in_seconds, 'Rate limit period in seconds', class: 'col-form-label col-sm-2' .form-group
.col-sm-10 .form-check
= f.number_field :throttle_unauthenticated_period_in_seconds, class: 'form-control' = f.check_box :throttle_authenticated_api_enabled, class: 'form-check-input'
.form-group.row = f.label :throttle_authenticated_api_enabled, class: 'form-check-label' do
.offset-sm-2.col-sm-10 Enable authenticated API request rate limit
.form-check %span.form-text.text-muted
= f.check_box :throttle_authenticated_api_enabled, class: 'form-check-input' Helps reduce request volume (e.g. from crawlers or abusive bots)
= f.label :throttle_authenticated_api_enabled, class: 'form-check-label' do .form-group
Enable authenticated API request rate limit = f.label :throttle_authenticated_api_requests_per_period, 'Max requests per period per user', class: 'label-light'
%span.form-text.text-muted = f.number_field :throttle_authenticated_api_requests_per_period, class: 'form-control'
Helps reduce request volume (e.g. from crawlers or abusive bots) .form-group
.form-group.row = f.label :throttle_authenticated_api_period_in_seconds, 'Rate limit period in seconds', class: 'label-light'
= f.label :throttle_authenticated_api_requests_per_period, 'Max requests per period per user', class: 'col-form-label col-sm-2' = f.number_field :throttle_authenticated_api_period_in_seconds, class: 'form-control'
.col-sm-10 .form-group
= f.number_field :throttle_authenticated_api_requests_per_period, class: 'form-control' .form-check
.form-group.row = f.check_box :throttle_authenticated_web_enabled, class: 'form-check-input'
= f.label :throttle_authenticated_api_period_in_seconds, 'Rate limit period in seconds', class: 'col-form-label col-sm-2' = f.label :throttle_authenticated_web_enabled, class: 'form-check-label' do
.col-sm-10 Enable authenticated web request rate limit
= f.number_field :throttle_authenticated_api_period_in_seconds, class: 'form-control' %span.form-text.text-muted
.form-group.row Helps reduce request volume (e.g. from crawlers or abusive bots)
.offset-sm-2.col-sm-10 .form-group
.form-check = f.label :throttle_authenticated_web_requests_per_period, 'Max requests per period per user', class: 'label-light'
= f.check_box :throttle_authenticated_web_enabled, class: 'form-check-input' = f.number_field :throttle_authenticated_web_requests_per_period, class: 'form-control'
= f.label :throttle_authenticated_web_enabled, class: 'form-check-label' do .form-group
Enable authenticated web request rate limit = f.label :throttle_authenticated_web_period_in_seconds, 'Rate limit period in seconds', class: 'label-light'
%span.form-text.text-muted = f.number_field :throttle_authenticated_web_period_in_seconds, class: 'form-control'
Helps reduce request volume (e.g. from crawlers or abusive bots)
.form-group.row
= f.label :throttle_authenticated_web_requests_per_period, 'Max requests per period per user', class: 'col-form-label col-sm-2'
.col-sm-10
= f.number_field :throttle_authenticated_web_requests_per_period, class: 'form-control'
.form-group.row
= f.label :throttle_authenticated_web_period_in_seconds, 'Rate limit period in seconds', class: 'col-form-label col-sm-2'
.col-sm-10
= f.number_field :throttle_authenticated_web_period_in_seconds, class: 'form-control'
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,23 +2,21 @@ ...@@ -2,23 +2,21 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :koding_enabled, class: 'form-check-input'
= f.check_box :koding_enabled, class: 'form-check-input' = f.label :koding_enabled, class: 'form-check-label' do
= f.label :koding_enabled, class: 'form-check-label' do Enable Koding
Enable Koding .form-text.text-muted
.form-text.text-muted Koding integration has been deprecated since GitLab 10.0. If you disable your Koding integration, you will not be able to enable it again.
Koding integration has been deprecated since GitLab 10.0. If you disable your Koding integration, you will not be able to enable it again. .form-group
.form-group.row = f.label :koding_url, 'Koding URL', class: 'label-light'
= f.label :koding_url, 'Koding URL', class: 'col-form-label col-sm-2' = f.text_field :koding_url, class: 'form-control', placeholder: 'http://gitlab.your-koding-instance.com:8090'
.col-sm-10 .form-text.text-muted
= f.text_field :koding_url, class: 'form-control', placeholder: 'http://gitlab.your-koding-instance.com:8090' Koding has integration enabled out of the box for the
.form-text.text-muted %strong gitlab
Koding has integration enabled out of the box for the team, and you need to provide that team's URL here. Learn more in the
%strong gitlab = succeed "." do
team, and you need to provide that team's URL here. Learn more in the = link_to "Koding administration documentation", help_page_path("administration/integration/koding")
= succeed "." do
= link_to "Koding administration documentation", help_page_path("administration/integration/koding")
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,35 +2,31 @@ ...@@ -2,35 +2,31 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :sentry_enabled, class: 'form-check-input'
= f.check_box :sentry_enabled, class: 'form-check-input' = f.label :sentry_enabled, class: 'form-check-label' do
= f.label :sentry_enabled, class: 'form-check-label' do Enable Sentry
Enable Sentry .form-text.text-muted
.form-text.text-muted %p This setting requires a restart to take effect.
%p This setting requires a restart to take effect. Sentry is an error reporting and logging tool which is currently not shipped with GitLab, get it here:
Sentry is an error reporting and logging tool which is currently not shipped with GitLab, get it here: %a{ href: 'https://getsentry.com', target: '_blank', rel: 'noopener noreferrer' } https://getsentry.com
%a{ href: 'https://getsentry.com', target: '_blank', rel: 'noopener noreferrer' } https://getsentry.com
.form-group.row .form-group
= f.label :sentry_dsn, 'Sentry DSN', class: 'col-form-label col-sm-2' = f.label :sentry_dsn, 'Sentry DSN', class: 'label-light'
.col-sm-10 = f.text_field :sentry_dsn, class: 'form-control'
= f.text_field :sentry_dsn, class: 'form-control'
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :clientside_sentry_enabled, class: 'form-check-input'
= f.check_box :clientside_sentry_enabled, class: 'form-check-input' = f.label :clientside_sentry_enabled, class: 'form-check-label' do
= f.label :clientside_sentry_enabled, class: 'form-check-label' do Enable Clientside Sentry
Enable Clientside Sentry .form-text.text-muted
.form-text.text-muted Sentry can also be used for reporting and logging clientside exceptions.
Sentry can also be used for reporting and logging clientside exceptions. %a{ href: 'https://sentry.io/for/javascript/', target: '_blank', rel: 'noopener noreferrer' } https://sentry.io/for/javascript/
%a{ href: 'https://sentry.io/for/javascript/', target: '_blank', rel: 'noopener noreferrer' } https://sentry.io/for/javascript/
.form-group.row .form-group
= f.label :clientside_sentry_dsn, 'Clientside Sentry DSN', class: 'col-form-label col-sm-2' = f.label :clientside_sentry_dsn, 'Clientside Sentry DSN', class: 'label-light'
.col-sm-10 = f.text_field :clientside_sentry_dsn, class: 'form-control'
= f.text_field :clientside_sentry_dsn, class: 'form-control'
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,11 +2,10 @@ ...@@ -2,11 +2,10 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :allow_local_requests_from_hooks_and_services, class: 'form-check-input'
= f.check_box :allow_local_requests_from_hooks_and_services, class: 'form-check-input' = f.label :allow_local_requests_from_hooks_and_services, class: 'form-check-label' do
= f.label :allow_local_requests_from_hooks_and_services, class: 'form-check-label' do Allow requests to the local network from hooks and services
Allow requests to the local network from hooks and services
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,21 +2,19 @@ ...@@ -2,21 +2,19 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
= f.label :max_pages_size, 'Maximum size of pages (MB)', class: 'col-form-label col-sm-2' = f.label :max_pages_size, 'Maximum size of pages (MB)', class: 'label-light'
.col-sm-10 = f.number_field :max_pages_size, class: 'form-control'
= f.number_field :max_pages_size, class: 'form-control' .form-text.text-muted 0 for unlimited
.form-text.text-muted 0 for unlimited .form-group
.form-group.row .form-check
.offset-sm-2.col-sm-10 = f.check_box :pages_domain_verification_enabled, class: 'form-check-input'
.form-check = f.label :pages_domain_verification_enabled, class: 'form-check-label' do
= f.check_box :pages_domain_verification_enabled, class: 'form-check-input' Require users to prove ownership of custom domains
= f.label :pages_domain_verification_enabled, class: 'form-check-label' do .form-text.text-muted
Require users to prove ownership of custom domains Domain verification is an essential security measure for public GitLab
.form-text.text-muted sites. Users are required to demonstrate they control a domain before
Domain verification is an essential security measure for public GitLab it is enabled
sites. Users are required to demonstrate they control a domain before = link_to icon('question-circle'), help_page_path('user/project/pages/getting_started_part_three.md', anchor: 'dns-txt-record')
it is enabled
= link_to icon('question-circle'), help_page_path('user/project/pages/getting_started_part_three.md', anchor: 'dns-txt-record')
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,18 +2,17 @@ ...@@ -2,18 +2,17 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :authorized_keys_enabled, class: 'form-check-input'
= f.check_box :authorized_keys_enabled, class: 'form-check-input' = f.label :authorized_keys_enabled, class: 'form-check-label' do
= f.label :authorized_keys_enabled, class: 'form-check-label' do Write to "authorized_keys" file
Write to "authorized_keys" file .form-text.text-muted
.form-text.text-muted By default, we write to the "authorized_keys" file to support Git
By default, we write to the "authorized_keys" file to support Git over SSH without additional configuration. GitLab can be optimized
over SSH without additional configuration. GitLab can be optimized to authenticate SSH keys via the database file. Only uncheck this
to authenticate SSH keys via the database file. Only uncheck this if you have configured your OpenSSH server to use the
if you have configured your OpenSSH server to use the AuthorizedKeysCommand. Click on the help icon for more details.
AuthorizedKeysCommand. Click on the help icon for more details. = link_to icon('question-circle'), help_page_path('administration/operations/fast_ssh_key_lookup')
= link_to icon('question-circle'), help_page_path('administration/operations/fast_ssh_key_lookup')
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,15 +2,13 @@ ...@@ -2,15 +2,13 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :performance_bar_enabled, class: 'form-check-input'
= f.check_box :performance_bar_enabled, class: 'form-check-input' = f.label :performance_bar_enabled, class: 'form-check-label' do
= f.label :performance_bar_enabled, class: 'form-check-label' do Enable the Performance Bar
Enable the Performance Bar .form-group
.form-group.row = f.label :performance_bar_allowed_group_path, 'Allowed group', class: 'label-light'
= f.label :performance_bar_allowed_group_path, 'Allowed group', class: 'col-form-label col-sm-2' = f.text_field :performance_bar_allowed_group_path, class: 'form-control', placeholder: 'my-org/my-group', value: @application_setting.performance_bar_allowed_group&.full_path
.col-sm-10
= f.text_field :performance_bar_allowed_group_path, class: 'form-control', placeholder: 'my-org/my-group', value: @application_setting.performance_bar_allowed_group&.full_path
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,19 +2,17 @@ ...@@ -2,19 +2,17 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :plantuml_enabled, class: 'form-check-input'
= f.check_box :plantuml_enabled, class: 'form-check-input' = f.label :plantuml_enabled, class: 'form-check-label' do
= f.label :plantuml_enabled, class: 'form-check-label' do Enable PlantUML
Enable PlantUML .form-group
.form-group.row = f.label :plantuml_url, 'PlantUML URL', class: 'label-light'
= f.label :plantuml_url, 'PlantUML URL', class: 'col-form-label col-sm-2' = f.text_field :plantuml_url, class: 'form-control', placeholder: 'http://gitlab.your-plantuml-instance.com:8080'
.col-sm-10 .form-text.text-muted
= f.text_field :plantuml_url, class: 'form-control', placeholder: 'http://gitlab.your-plantuml-instance.com:8080' Allow rendering of
.form-text.text-muted = link_to "PlantUML", "http://plantuml.com"
Allow rendering of diagrams in Asciidoc documents using an external PlantUML service.
= link_to "PlantUML", "http://plantuml.com"
diagrams in Asciidoc documents using an external PlantUML service.
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -11,18 +11,17 @@ ...@@ -11,18 +11,17 @@
= link_to 'restart', help_page_path('administration/restart_gitlab') = link_to 'restart', help_page_path('administration/restart_gitlab')
to take effect. to take effect.
= link_to icon('question-circle'), help_page_path('administration/monitoring/prometheus/index') = link_to icon('question-circle'), help_page_path('administration/monitoring/prometheus/index')
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :prometheus_metrics_enabled, class: 'form-check-input'
= f.check_box :prometheus_metrics_enabled, class: 'form-check-input' = f.label :prometheus_metrics_enabled, class: 'form-check-label' do
= f.label :prometheus_metrics_enabled, class: 'form-check-label' do Enable Prometheus Metrics
Enable Prometheus Metrics - unless Gitlab::Metrics.metrics_folder_present?
- unless Gitlab::Metrics.metrics_folder_present? .form-text.text-muted
.form-text.text-muted %strong.cred WARNING:
%strong.cred WARNING: Environment variable
Environment variable %code prometheus_multiproc_dir
%code prometheus_multiproc_dir does not exist or is not pointing to a valid directory.
does not exist or is not pointing to a valid directory. = link_to icon('question-circle'), help_page_path('administration/monitoring/prometheus/gitlab_metrics', anchor: 'metrics-shared-directory')
= link_to icon('question-circle'), help_page_path('administration/monitoring/prometheus/gitlab_metrics', anchor: 'metrics-shared-directory')
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,18 +2,17 @@ ...@@ -2,18 +2,17 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
= f.label :polling_interval_multiplier, 'Polling interval multiplier', class: 'col-form-label col-sm-2' = f.label :polling_interval_multiplier, 'Polling interval multiplier', class: 'label-light'
.col-sm-10 = f.text_field :polling_interval_multiplier, class: 'form-control'
= f.text_field :polling_interval_multiplier, class: 'form-control' .form-text.text-muted
.form-text.text-muted Change this value to influence how frequently the GitLab UI polls for updates.
Change this value to influence how frequently the GitLab UI polls for updates. If you set the value to 2 all polling intervals are multiplied
If you set the value to 2 all polling intervals are multiplied by 2, which means that polling happens half as frequently.
by 2, which means that polling happens half as frequently. The multiplier can also have a decimal value.
The multiplier can also have a decimal value. The default value (1) is a reasonable choice for the majority of GitLab
The default value (1) is a reasonable choice for the majority of GitLab installations. Set to 0 to completely disable polling.
installations. Set to 0 to completely disable polling. = link_to icon('question-circle'), help_page_path('administration/polling')
= link_to icon('question-circle'), help_page_path('administration/polling')
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,9 +2,8 @@ ...@@ -2,9 +2,8 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
= f.label :container_registry_token_expire_delay, 'Authorization token duration (minutes)', class: 'col-form-label col-sm-2' = f.label :container_registry_token_expire_delay, 'Authorization token duration (minutes)', class: 'label-light'
.col-sm-10 = f.number_field :container_registry_token_expire_delay, class: 'form-control'
= f.number_field :container_registry_token_expire_delay, class: 'form-control'
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -4,59 +4,53 @@ ...@@ -4,59 +4,53 @@
%fieldset %fieldset
.sub-section .sub-section
%h4 Repository checks %h4 Repository checks
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :repository_checks_enabled, class: 'form-check-input'
= f.check_box :repository_checks_enabled, class: 'form-check-input' = f.label :repository_checks_enabled, class: 'form-check-label' do
= f.label :repository_checks_enabled, class: 'form-check-label' do Enable Repository Checks
Enable Repository Checks
.form-text.text-muted
GitLab will periodically run
%a{ href: 'https://git-scm.com/docs/git-fsck', target: 'blank' } 'git fsck'
in all project and wiki repositories to look for silent disk corruption issues.
.form-group.row
.offset-sm-2.col-sm-10
= link_to 'Clear all repository checks', clear_repository_check_states_admin_application_settings_path, data: { confirm: 'This will clear repository check states for ALL projects in the database. This cannot be undone. Are you sure?' }, method: :put, class: "btn btn-sm btn-remove"
.form-text.text-muted .form-text.text-muted
If you got a lot of false alarms from repository checks you can choose to clear all repository check information from the database. GitLab will periodically run
%a{ href: 'https://git-scm.com/docs/git-fsck', target: 'blank' } 'git fsck'
in all project and wiki repositories to look for silent disk corruption issues.
.form-group
= link_to 'Clear all repository checks', clear_repository_check_states_admin_application_settings_path, data: { confirm: 'This will clear repository check states for ALL projects in the database. This cannot be undone. Are you sure?' }, method: :put, class: "btn btn-sm btn-remove"
.form-text.text-muted
If you got a lot of false alarms from repository checks you can choose to clear all repository check information from the database.
.sub-section .sub-section
%h4 Housekeeping %h4 Housekeeping
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :housekeeping_enabled, class: 'form-check-input'
= f.check_box :housekeeping_enabled, class: 'form-check-input' = f.label :housekeeping_enabled, class: 'form-check-label' do
= f.label :housekeeping_enabled, class: 'form-check-label' do Enable automatic repository housekeeping (git repack, git gc)
Enable automatic repository housekeeping (git repack, git gc)
.form-text.text-muted
If you keep automatic housekeeping disabled for a long time Git
repository access on your GitLab server will become slower and your
repositories will use more disk space. We recommend to always leave
this enabled.
.form-check
= f.check_box :housekeeping_bitmaps_enabled, class: 'form-check-input'
= f.label :housekeeping_bitmaps_enabled, class: 'form-check-label' do
Enable Git pack file bitmap creation
.form-text.text-muted
Creating pack file bitmaps makes housekeeping take a little longer but
bitmaps should accelerate 'git clone' performance.
.form-group.row
= f.label :housekeeping_incremental_repack_period, 'Incremental repack period', class: 'col-form-label col-sm-2'
.col-sm-10
= f.number_field :housekeeping_incremental_repack_period, class: 'form-control'
.form-text.text-muted .form-text.text-muted
Number of Git pushes after which an incremental 'git repack' is run. If you keep automatic housekeeping disabled for a long time Git
.form-group.row repository access on your GitLab server will become slower and your
= f.label :housekeeping_full_repack_period, 'Full repack period', class: 'col-form-label col-sm-2' repositories will use more disk space. We recommend to always leave
.col-sm-10 this enabled.
= f.number_field :housekeeping_full_repack_period, class: 'form-control' .form-check
= f.check_box :housekeeping_bitmaps_enabled, class: 'form-check-input'
= f.label :housekeeping_bitmaps_enabled, class: 'form-check-label' do
Enable Git pack file bitmap creation
.form-text.text-muted .form-text.text-muted
Number of Git pushes after which a full 'git repack' is run. Creating pack file bitmaps makes housekeeping take a little longer but
.form-group.row bitmaps should accelerate 'git clone' performance.
= f.label :housekeeping_gc_period, 'Git GC period', class: 'col-form-label col-sm-2' .form-group
.col-sm-10 = f.label :housekeeping_incremental_repack_period, 'Incremental repack period', class: 'label-light'
= f.number_field :housekeeping_gc_period, class: 'form-control' = f.number_field :housekeeping_incremental_repack_period, class: 'form-control'
.form-text.text-muted .form-text.text-muted
Number of Git pushes after which 'git gc' is run. Number of Git pushes after which an incremental 'git repack' is run.
.form-group
= f.label :housekeeping_full_repack_period, 'Full repack period', class: 'label-light'
= f.number_field :housekeeping_full_repack_period, class: 'form-control'
.form-text.text-muted
Number of Git pushes after which a full 'git repack' is run.
.form-group
= f.label :housekeeping_gc_period, 'Git GC period', class: 'label-light'
= f.number_field :housekeeping_gc_period, class: 'form-control'
.form-text.text-muted
Number of Git pushes after which 'git gc' is run.
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,16 +2,15 @@ ...@@ -2,16 +2,15 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
= f.label :mirror_available, 'Enable mirror configuration', class: 'control-label col-sm-4' = f.label :mirror_available, 'Enable mirror configuration', class: 'label-light'
.col-sm-8 .form-check
.form-check = f.check_box :mirror_available, class: 'form-check-input'
= f.check_box :mirror_available, class: 'form-check-input' = f.label :mirror_available, class: 'form-check-label' do
= f.label :mirror_available, class: 'form-check-label' do Allow mirrors to be setup for projects
Allow mirrors to be setup for projects %span.form-text.text-muted
%span.form-text.text-muted If disabled, only admins will be able to setup mirrors in projects.
If disabled, only admins will be able to setup mirrors in projects. = link_to icon('question-circle'), help_page_path('workflow/repository_mirroring')
= link_to icon('question-circle'), help_page_path('workflow/repository_mirroring')
- if Gitlab.com? && License.feature_available?(:repository_mirrors) - if Gitlab.com? && License.feature_available?(:repository_mirrors)
= render 'mirror_settings', f: f = render 'mirror_settings', f: f
......
...@@ -3,56 +3,49 @@ ...@@ -3,56 +3,49 @@
%fieldset %fieldset
.sub-section .sub-section
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :hashed_storage_enabled, class: 'form-check-input'
= f.check_box :hashed_storage_enabled, class: 'form-check-input' = f.label :hashed_storage_enabled, class: 'form-check-label' do
= f.label :hashed_storage_enabled, class: 'form-check-label' do Create new projects using hashed storage paths
Create new projects using hashed storage paths
.form-text.text-muted
Enable immutable, hash-based paths and repository names to store repositories on disk. This prevents
repositories from having to be moved or renamed when the Project URL changes and may improve disk I/O performance.
%em (EXPERIMENTAL)
.form-group.row
= f.label :repository_storages, 'Storage paths for new projects', class: 'col-form-label col-sm-2'
.col-sm-10
= f.select :repository_storages, repository_storages_options_for_select(@application_setting.repository_storages),
{include_hidden: false}, multiple: true, class: 'form-control'
.form-text.text-muted .form-text.text-muted
Manage repository storage paths. Learn more in the Enable immutable, hash-based paths and repository names to store repositories on disk. This prevents
= succeed "." do repositories from having to be moved or renamed when the Project URL changes and may improve disk I/O performance.
= link_to "repository storages documentation", help_page_path("administration/repository_storage_paths") %em (EXPERIMENTAL)
.form-group
= f.label :repository_storages, 'Storage paths for new projects', class: 'label-light'
= f.select :repository_storages, repository_storages_options_for_select(@application_setting.repository_storages),
{include_hidden: false}, multiple: true, class: 'form-control'
.form-text.text-muted
Manage repository storage paths. Learn more in the
= succeed "." do
= link_to "repository storages documentation", help_page_path("administration/repository_storage_paths")
.sub-section .sub-section
%h4 Circuit breaker %h4 Circuit breaker
.form-group.row .form-group
= f.label :circuitbreaker_check_interval, _('Check interval'), class: 'col-form-label col-sm-2' = f.label :circuitbreaker_check_interval, _('Check interval'), class: 'label-light'
.col-sm-10 = f.number_field :circuitbreaker_check_interval, class: 'form-control'
= f.number_field :circuitbreaker_check_interval, class: 'form-control' .form-text.text-muted
.form-text.text-muted = circuitbreaker_check_interval_help_text
= circuitbreaker_check_interval_help_text .form-group
.form-group.row = f.label :circuitbreaker_access_retries, _('Number of access attempts'), class: 'label-light'
= f.label :circuitbreaker_access_retries, _('Number of access attempts'), class: 'col-form-label col-sm-2' = f.number_field :circuitbreaker_access_retries, class: 'form-control'
.col-sm-10 .form-text.text-muted
= f.number_field :circuitbreaker_access_retries, class: 'form-control' = circuitbreaker_access_retries_help_text
.form-text.text-muted .form-group
= circuitbreaker_access_retries_help_text = f.label :circuitbreaker_storage_timeout, _('Seconds to wait for a storage access attempt'), class: 'label-light'
.form-group.row = f.number_field :circuitbreaker_storage_timeout, class: 'form-control'
= f.label :circuitbreaker_storage_timeout, _('Seconds to wait for a storage access attempt'), class: 'col-form-label col-sm-2' .form-text.text-muted
.col-sm-10 = circuitbreaker_storage_timeout_help_text
= f.number_field :circuitbreaker_storage_timeout, class: 'form-control' .form-group
.form-text.text-muted = f.label :circuitbreaker_failure_count_threshold, _('Maximum git storage failures'), class: 'label-light'
= circuitbreaker_storage_timeout_help_text = f.number_field :circuitbreaker_failure_count_threshold, class: 'form-control'
.form-group.row .form-text.text-muted
= f.label :circuitbreaker_failure_count_threshold, _('Maximum git storage failures'), class: 'col-form-label col-sm-2' = circuitbreaker_failure_count_help_text
.col-sm-10 .form-group
= f.number_field :circuitbreaker_failure_count_threshold, class: 'form-control' = f.label :circuitbreaker_failure_reset_time, _('Seconds before reseting failure information'), class: 'label-light'
.form-text.text-muted = f.number_field :circuitbreaker_failure_reset_time, class: 'form-control'
= circuitbreaker_failure_count_help_text .form-text.text-muted
.form-group.row = circuitbreaker_failure_reset_time_help_text
= f.label :circuitbreaker_failure_reset_time, _('Seconds before reseting failure information'), class: 'col-form-label col-sm-2'
.col-sm-10
= f.number_field :circuitbreaker_failure_reset_time, class: 'form-control'
.form-text.text-muted
= circuitbreaker_failure_reset_time_help_text
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,59 +2,51 @@ ...@@ -2,59 +2,51 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :password_authentication_enabled_for_web, class: 'form-check-input'
= f.check_box :password_authentication_enabled_for_web, class: 'form-check-input' = f.label :password_authentication_enabled_for_web, class: 'form-check-label' do
= f.label :password_authentication_enabled_for_web, class: 'form-check-label' do Password authentication enabled for web interface
Password authentication enabled for web interface .form-text.text-muted
.form-text.text-muted When disabled, an external authentication provider must be used.
When disabled, an external authentication provider must be used. .form-group
.form-group.row .form-check
.offset-sm-2.col-sm-10 = f.check_box :password_authentication_enabled_for_git, class: 'form-check-input'
.form-check = f.label :password_authentication_enabled_for_git, class: 'form-check-label' do
= f.check_box :password_authentication_enabled_for_git, class: 'form-check-input' Password authentication enabled for Git over HTTP(S)
= f.label :password_authentication_enabled_for_git, class: 'form-check-label' do .form-text.text-muted
Password authentication enabled for Git over HTTP(S) When disabled, a Personal Access Token
.form-text.text-muted - if Gitlab::Auth::LDAP::Config.enabled?
When disabled, a Personal Access Token or LDAP password
- if Gitlab::Auth::LDAP::Config.enabled? must be used to authenticate.
or LDAP password
must be used to authenticate.
- if omniauth_enabled? && button_based_providers.any? - if omniauth_enabled? && button_based_providers.any?
.form-group.row .form-group
= f.label :enabled_oauth_sign_in_sources, 'Enabled OAuth sign-in sources', class: 'col-form-label col-sm-2' = f.label :enabled_oauth_sign_in_sources, 'Enabled OAuth sign-in sources', class: 'label-light'
= hidden_field_tag 'application_setting[enabled_oauth_sign_in_sources][]' = hidden_field_tag 'application_setting[enabled_oauth_sign_in_sources][]'
.col-sm-10 .btn-group{ data: { toggle: 'buttons' } }
.btn-group{ data: { toggle: 'buttons' } } - oauth_providers_checkboxes.each do |source|
- oauth_providers_checkboxes.each do |source| = source
= source .form-group
.form-group.row = f.label :two_factor_authentication, 'Two-factor authentication', class: 'label-light'
= f.label :two_factor_authentication, 'Two-factor authentication', class: 'col-form-label col-sm-2' .form-check
.col-sm-10 = f.check_box :require_two_factor_authentication, class: 'form-check-input'
.form-check = f.label :require_two_factor_authentication, class: 'form-check-label' do
= f.check_box :require_two_factor_authentication, class: 'form-check-input' Require all users to setup Two-factor authentication
= f.label :require_two_factor_authentication, class: 'form-check-label' do .form-group
Require all users to setup Two-factor authentication = f.label :two_factor_authentication, 'Two-factor grace period (hours)', class: 'label-light'
.form-group.row = f.number_field :two_factor_grace_period, min: 0, class: 'form-control', placeholder: '0'
= f.label :two_factor_authentication, 'Two-factor grace period (hours)', class: 'col-form-label col-sm-2' .form-text.text-muted Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication
.col-sm-10 .form-group
= f.number_field :two_factor_grace_period, min: 0, class: 'form-control', placeholder: '0' = f.label :home_page_url, 'Home page URL', class: 'label-light'
.form-text.text-muted Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication = f.text_field :home_page_url, class: 'form-control', placeholder: 'http://company.example.com', :'aria-describedby' => 'home_help_block'
.form-group.row %span.form-text.text-muted#home_help_block We will redirect non-logged in users to this page
= f.label :home_page_url, 'Home page URL', class: 'col-form-label col-sm-2' .form-group
.col-sm-10 = f.label :after_sign_out_path, class: 'label-light'
= f.text_field :home_page_url, class: 'form-control', placeholder: 'http://company.example.com', :'aria-describedby' => 'home_help_block' = f.text_field :after_sign_out_path, class: 'form-control', placeholder: 'http://company.example.com', :'aria-describedby' => 'after_sign_out_path_help_block'
%span.form-text.text-muted#home_help_block We will redirect non-logged in users to this page %span.form-text.text-muted#after_sign_out_path_help_block We will redirect users to this page after they sign out
.form-group.row .form-group
= f.label :after_sign_out_path, class: 'col-form-label col-sm-2' = f.label :sign_in_text, class: 'label-light'
.col-sm-10 = f.text_area :sign_in_text, class: 'form-control', rows: 4
= f.text_field :after_sign_out_path, class: 'form-control', placeholder: 'http://company.example.com', :'aria-describedby' => 'after_sign_out_path_help_block' .form-text.text-muted Markdown enabled
%span.form-text.text-muted#after_sign_out_path_help_block We will redirect users to this page after they sign out
.form-group.row
= f.label :sign_in_text, class: 'col-form-label col-sm-2'
.col-sm-10
= f.text_area :sign_in_text, class: 'form-control', rows: 4
.form-text.text-muted Markdown enabled
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,57 +2,49 @@ ...@@ -2,57 +2,49 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :signup_enabled, class: 'form-check-input'
= f.check_box :signup_enabled, class: 'form-check-input' = f.label :signup_enabled, class: 'form-check-label' do
= f.label :signup_enabled, class: 'form-check-label' do Sign-up enabled
Sign-up enabled .form-group
.form-group.row .form-check
.offset-sm-2.col-sm-10 = f.check_box :send_user_confirmation_email, class: 'form-check-input'
.form-check = f.label :send_user_confirmation_email, class: 'form-check-label' do
= f.check_box :send_user_confirmation_email, class: 'form-check-input' Send confirmation email on sign-up
= f.label :send_user_confirmation_email, class: 'form-check-label' do .form-group
Send confirmation email on sign-up = f.label :domain_whitelist, 'Whitelisted domains for sign-ups', class: 'label-light'
.form-group.row = f.text_area :domain_whitelist_raw, placeholder: 'domain.com', class: 'form-control', rows: 8
= f.label :domain_whitelist, 'Whitelisted domains for sign-ups', class: 'col-form-label col-sm-2' .form-text.text-muted ONLY users with e-mail addresses that match these domain(s) will be able to sign-up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com
.col-sm-10 .form-group
= f.text_area :domain_whitelist_raw, placeholder: 'domain.com', class: 'form-control', rows: 8 = f.label :domain_blacklist_enabled, 'Domain Blacklist', class: 'label-light'
.form-text.text-muted ONLY users with e-mail addresses that match these domain(s) will be able to sign-up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com .form-check
.form-group.row = f.check_box :domain_blacklist_enabled, class: 'form-check-input'
= f.label :domain_blacklist_enabled, 'Domain Blacklist', class: 'col-form-label col-sm-2' = f.label :domain_blacklist_enabled, class: 'form-check-label' do
.col-sm-10 Enable domain blacklist for sign ups
.form-check .form-group
= f.check_box :domain_blacklist_enabled, class: 'form-check-input' .form-check
= f.label :domain_blacklist_enabled, class: 'form-check-label' do = radio_button_tag :blacklist_type, :file, false, class: "form-check-input"
Enable domain blacklist for sign ups = label_tag :blacklist_type_file, class: 'form-check-label' do
.form-group.row .option-title
.offset-sm-2.col-sm-10 Upload blacklist file
.form-check .form-check
= radio_button_tag :blacklist_type, :file, false, class: "form-check-input" = radio_button_tag :blacklist_type, :raw, @application_setting.domain_blacklist.present? || @application_setting.domain_blacklist.blank?, class: 'form-check-input'
= label_tag :blacklist_type_file, class: 'form-check-label' do = label_tag :blacklist_type_raw, class: 'form-check-label' do
.option-title .option-title
Upload blacklist file Enter blacklist manually
.form-check .form-group.blacklist-file
= radio_button_tag :blacklist_type, :raw, @application_setting.domain_blacklist.present? || @application_setting.domain_blacklist.blank?, class: 'form-check-input' = f.label :domain_blacklist_file, 'Blacklist file', class: 'label-light'
= label_tag :blacklist_type_raw, class: 'form-check-label' do = f.file_field :domain_blacklist_file, class: 'form-control', accept: '.txt,.conf'
.option-title .form-text.text-muted Users with e-mail addresses that match these domain(s) will NOT be able to sign-up. Wildcards allowed. Use separate lines or commas for multiple entries.
Enter blacklist manually .form-group.blacklist-raw
.form-group.row.blacklist-file = f.label :domain_blacklist, 'Blacklisted domains for sign-ups', class: 'label-light'
= f.label :domain_blacklist_file, 'Blacklist file', class: 'col-form-label col-sm-2' = f.text_area :domain_blacklist_raw, placeholder: 'domain.com', class: 'form-control', rows: 8
.col-sm-10 .form-text.text-muted Users with e-mail addresses that match these domain(s) will NOT be able to sign-up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com
= f.file_field :domain_blacklist_file, class: 'form-control', accept: '.txt,.conf'
.form-text.text-muted Users with e-mail addresses that match these domain(s) will NOT be able to sign-up. Wildcards allowed. Use separate lines or commas for multiple entries.
.form-group.row.blacklist-raw
= f.label :domain_blacklist, 'Blacklisted domains for sign-ups', class: 'col-form-label col-sm-2'
.col-sm-10
= f.text_area :domain_blacklist_raw, placeholder: 'domain.com', class: 'form-control', rows: 8
.form-text.text-muted Users with e-mail addresses that match these domain(s) will NOT be able to sign-up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com
.form-group.row .form-group
= f.label :after_sign_up_text, class: 'col-form-label col-sm-2' = f.label :after_sign_up_text, class: 'label-light'
.col-sm-10 = f.text_area :after_sign_up_text, class: 'form-control', rows: 4
= f.text_area :after_sign_up_text, class: 'form-control', rows: 4 .form-text.text-muted Markdown enabled
.form-text.text-muted Markdown enabled
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,64 +2,56 @@ ...@@ -2,64 +2,56 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :recaptcha_enabled, class: 'form-check-input'
= f.check_box :recaptcha_enabled, class: 'form-check-input' = f.label :recaptcha_enabled, class: 'form-check-label' do
= f.label :recaptcha_enabled, class: 'form-check-label' do Enable reCAPTCHA
Enable reCAPTCHA %span.form-text.text-muted#recaptcha_help_block Helps prevent bots from creating accounts
%span.form-text.text-muted#recaptcha_help_block Helps prevent bots from creating accounts
.form-group
.form-group.row = f.label :recaptcha_site_key, 'reCAPTCHA Site Key', class: 'label-light'
= f.label :recaptcha_site_key, 'reCAPTCHA Site Key', class: 'col-form-label col-sm-2' = f.text_field :recaptcha_site_key, class: 'form-control'
.col-sm-10 .form-text.text-muted
= f.text_field :recaptcha_site_key, class: 'form-control' Generate site and private keys at
.form-text.text-muted %a{ href: 'http://www.google.com/recaptcha', target: 'blank' } http://www.google.com/recaptcha
Generate site and private keys at
%a{ href: 'http://www.google.com/recaptcha', target: 'blank' } http://www.google.com/recaptcha .form-group
= f.label :recaptcha_private_key, 'reCAPTCHA Private Key', class: 'label-light'
.form-group.row = f.text_field :recaptcha_private_key, class: 'form-control'
= f.label :recaptcha_private_key, 'reCAPTCHA Private Key', class: 'col-form-label col-sm-2'
.col-sm-10 .form-group
= f.text_field :recaptcha_private_key, class: 'form-control' .form-check
= f.check_box :akismet_enabled, class: 'form-check-input'
.form-group.row = f.label :akismet_enabled, class: 'form-check-label' do
.offset-sm-2.col-sm-10 Enable Akismet
.form-check %span.form-text.text-muted#akismet_help_block Helps prevent bots from creating issues
= f.check_box :akismet_enabled, class: 'form-check-input'
= f.label :akismet_enabled, class: 'form-check-label' do .form-group
Enable Akismet = f.label :akismet_api_key, 'Akismet API Key', class: 'label-light'
%span.form-text.text-muted#akismet_help_block Helps prevent bots from creating issues = f.text_field :akismet_api_key, class: 'form-control'
.form-text.text-muted
.form-group.row Generate API key at
= f.label :akismet_api_key, 'Akismet API Key', class: 'col-form-label col-sm-2' %a{ href: 'http://www.akismet.com', target: 'blank' } http://www.akismet.com
.col-sm-10
= f.text_field :akismet_api_key, class: 'form-control' .form-group
.form-text.text-muted .form-check
Generate API key at = f.check_box :unique_ips_limit_enabled, class: 'form-check-input'
%a{ href: 'http://www.akismet.com', target: 'blank' } http://www.akismet.com = f.label :unique_ips_limit_enabled, class: 'form-check-label' do
Limit sign in from multiple ips
.form-group.row %span.form-text.text-muted#unique_ip_help_block
.offset-sm-2.col-sm-10 Helps prevent malicious users hide their activity
.form-check
= f.check_box :unique_ips_limit_enabled, class: 'form-check-input' .form-group
= f.label :unique_ips_limit_enabled, class: 'form-check-label' do = f.label :unique_ips_limit_per_user, 'IPs per user', class: 'label-light'
Limit sign in from multiple ips = f.number_field :unique_ips_limit_per_user, class: 'form-control'
%span.form-text.text-muted#unique_ip_help_block .form-text.text-muted
Helps prevent malicious users hide their activity Maximum number of unique IPs per user
.form-group.row .form-group
= f.label :unique_ips_limit_per_user, 'IPs per user', class: 'col-form-label col-sm-2' = f.label :unique_ips_limit_time_window, 'IP expiration time', class: 'label-light'
.col-sm-10 = f.number_field :unique_ips_limit_time_window, class: 'form-control'
= f.number_field :unique_ips_limit_per_user, class: 'form-control' .form-text.text-muted
.form-text.text-muted How many seconds an IP will be counted towards the limit
Maximum number of unique IPs per user
.form-group.row
= f.label :unique_ips_limit_time_window, 'IP expiration time', class: 'col-form-label col-sm-2'
.col-sm-10
= f.number_field :unique_ips_limit_time_window, class: 'form-control'
.form-text.text-muted
How many seconds an IP will be counted towards the limit
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,12 +2,11 @@ ...@@ -2,12 +2,11 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
= f.label :terminal_max_session_time, 'Max session time', class: 'col-form-label col-sm-2' = f.label :terminal_max_session_time, 'Max session time', class: 'label-light'
.col-sm-10 = f.number_field :terminal_max_session_time, class: 'form-control'
= f.number_field :terminal_max_session_time, class: 'form-control' .form-text.text-muted
.form-text.text-muted Maximum time for web terminal websocket connection (in seconds).
Maximum time for web terminal websocket connection (in seconds). 0 for unlimited.
0 for unlimited.
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,21 +2,18 @@ ...@@ -2,21 +2,18 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.col-sm-12 .form-check
.form-check = f.check_box :enforce_terms, class: 'form-check-input'
= f.check_box :enforce_terms, class: 'form-check-input' = f.label :enforce_terms, class: 'form-check-label' do
= f.label :enforce_terms, class: 'form-check-label' do = _("Require all users to accept Terms of Service and Privacy Policy when they access GitLab.")
= _("Require all users to accept Terms of Service and Privacy Policy when they access GitLab.")
.form-text.text-muted
= _("When enabled, users cannot use GitLab until the terms have been accepted.")
.form-group.row
.col-sm-12
= f.label :terms do
= _("Terms of Service Agreement and Privacy Policy")
.col-sm-12
= f.text_area :terms, class: 'form-control', rows: 8
.form-text.text-muted .form-text.text-muted
= _("Markdown enabled") = _("When enabled, users cannot use GitLab until the terms have been accepted.")
.form-group
= f.label :terms do
= _("Terms of Service Agreement and Privacy Policy")
= f.text_area :terms, class: 'form-control', rows: 8
.form-text.text-muted
= _("Markdown enabled")
= f.submit _("Save changes"), class: "btn btn-success" = f.submit _("Save changes"), class: "btn btn-success"
...@@ -2,36 +2,34 @@ ...@@ -2,36 +2,34 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
.offset-sm-2.col-sm-10 .form-check
.form-check = f.check_box :version_check_enabled, class: 'form-check-input'
= f.check_box :version_check_enabled, class: 'form-check-input' = f.label :version_check_enabled, class: 'form-check-label' do
= f.label :version_check_enabled, class: 'form-check-label' do Enable version check
Enable version check .form-text.text-muted
.form-text.text-muted GitLab will inform you if a new version is available.
GitLab will inform you if a new version is available. = link_to 'Learn more', help_page_path("user/admin_area/settings/usage_statistics", anchor: "version-check")
= link_to 'Learn more', help_page_path("user/admin_area/settings/usage_statistics", anchor: "version-check") about what information is shared with GitLab Inc.
about what information is shared with GitLab Inc. .form-group
.form-group.row - can_be_configured = @application_setting.usage_ping_can_be_configured?
.offset-sm-2.col-sm-10 .form-check
- can_be_configured = @application_setting.usage_ping_can_be_configured? = f.check_box :usage_ping_enabled, disabled: !can_be_configured, class: 'form-check-input'
.form-check = f.label :usage_ping_enabled, class: 'form-check-label' do
= f.check_box :usage_ping_enabled, disabled: !can_be_configured, class: 'form-check-input' Enable usage ping
= f.label :usage_ping_enabled, class: 'form-check-label' do .form-text.text-muted
Enable usage ping - if can_be_configured
.form-text.text-muted To help improve GitLab and its user experience, GitLab will
- if can_be_configured periodically collect usage information.
To help improve GitLab and its user experience, GitLab will = link_to 'Learn more', help_page_path("user/admin_area/settings/usage_statistics", anchor: "usage-ping")
periodically collect usage information. about what information is shared with GitLab Inc. Visit
= link_to 'Learn more', help_page_path("user/admin_area/settings/usage_statistics", anchor: "usage-ping") = link_to 'Cohorts', admin_cohorts_path(anchor: 'usage-ping')
about what information is shared with GitLab Inc. Visit to see the JSON payload sent.
= link_to 'Cohorts', admin_cohorts_path(anchor: 'usage-ping') - else
to see the JSON payload sent. The usage ping is disabled, and cannot be configured through this
- else form. For more information, see the documentation on
The usage ping is disabled, and cannot be configured through this = succeed '.' do
form. For more information, see the documentation on = link_to 'deactivating the usage ping', help_page_path('user/admin_area/settings/usage_statistics', anchor: 'deactivate-the-usage-ping')
= succeed '.' do
= link_to 'deactivating the usage ping', help_page_path('user/admin_area/settings/usage_statistics', anchor: 'deactivate-the-usage-ping')
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -2,80 +2,70 @@ ...@@ -2,80 +2,70 @@
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group.row .form-group
= f.label :default_branch_protection, class: 'col-form-label col-sm-2' = f.label :default_branch_protection, class: 'label-light'
.col-sm-10 = f.select :default_branch_protection, options_for_select(Gitlab::Access.protection_options, @application_setting.default_branch_protection), {}, class: 'form-control'
= f.select :default_branch_protection, options_for_select(Gitlab::Access.protection_options, @application_setting.default_branch_protection), {}, class: 'form-control'
= render partial: 'admin/application_settings/ee/project_creation_level', locals: { form: f, application_setting: @application_setting } = render partial: 'admin/application_settings/ee/project_creation_level', locals: { form: f, application_setting: @application_setting }
.form-group.row.visibility-level-setting .form-group.visibility-level-setting
= f.label :default_project_visibility, class: 'col-form-label col-sm-2' = f.label :default_project_visibility, class: 'label-light'
.col-sm-10 = render('shared/visibility_radios', model_method: :default_project_visibility, form: f, selected_level: @application_setting.default_project_visibility, form_model: Project.new)
= render('shared/visibility_radios', model_method: :default_project_visibility, form: f, selected_level: @application_setting.default_project_visibility, form_model: Project.new) .form-group.visibility-level-setting
.form-group.row.visibility-level-setting = f.label :default_snippet_visibility, class: 'label-light'
= f.label :default_snippet_visibility, class: 'col-form-label col-sm-2' = render('shared/visibility_radios', model_method: :default_snippet_visibility, form: f, selected_level: @application_setting.default_snippet_visibility, form_model: ProjectSnippet.new)
.col-sm-10 .form-group.visibility-level-setting
= render('shared/visibility_radios', model_method: :default_snippet_visibility, form: f, selected_level: @application_setting.default_snippet_visibility, form_model: ProjectSnippet.new) = f.label :default_group_visibility, class: 'label-light'
.form-group.row.visibility-level-setting = render('shared/visibility_radios', model_method: :default_group_visibility, form: f, selected_level: @application_setting.default_group_visibility, form_model: Group.new)
= f.label :default_group_visibility, class: 'col-form-label col-sm-2' .form-group
.col-sm-10 = f.label :restricted_visibility_levels, class: 'label-light'
= render('shared/visibility_radios', model_method: :default_group_visibility, form: f, selected_level: @application_setting.default_group_visibility, form_model: Group.new) - checkbox_name = 'application_setting[restricted_visibility_levels][]'
.form-group.row = hidden_field_tag(checkbox_name)
= f.label :restricted_visibility_levels, class: 'col-form-label col-sm-2' - restricted_level_checkboxes('restricted-visibility-help', checkbox_name, class: 'form-check-input').each do |level|
.col-sm-10 .form-check
- checkbox_name = 'application_setting[restricted_visibility_levels][]' = level
= hidden_field_tag(checkbox_name) %span.form-text.text-muted#restricted-visibility-help
- restricted_level_checkboxes('restricted-visibility-help', checkbox_name, class: 'form-check-input').each do |level| Selected levels cannot be used by non-admin users for groups, projects or snippets.
.form-check If the public level is restricted, user profiles are only visible to logged in users.
= level .form-group
%span.form-text.text-muted#restricted-visibility-help = f.label :import_sources, class: 'label-light'
Selected levels cannot be used by non-admin users for groups, projects or snippets. = hidden_field_tag 'application_setting[import_sources][]'
If the public level is restricted, user profiles are only visible to logged in users. - import_sources_checkboxes('import-sources-help', class: 'form-check-input').each do |source|
.form-group.row .form-check= source
= f.label :import_sources, class: 'col-form-label col-sm-2' %span.form-text.text-muted#import-sources-help
.col-sm-10 Enabled sources for code import during project creation. OmniAuth must be configured for GitHub
= hidden_field_tag 'application_setting[import_sources][]' = link_to "(?)", help_page_path("integration/github")
- import_sources_checkboxes('import-sources-help', class: 'form-check-input').each do |source| , Bitbucket
.form-check= source = link_to "(?)", help_page_path("integration/bitbucket")
%span.form-text.text-muted#import-sources-help and GitLab.com
Enabled sources for code import during project creation. OmniAuth must be configured for GitHub = link_to "(?)", help_page_path("integration/gitlab")
= link_to "(?)", help_page_path("integration/github")
, Bitbucket
= link_to "(?)", help_page_path("integration/bitbucket")
and GitLab.com
= link_to "(?)", help_page_path("integration/gitlab")
-# EE-only -# EE-only
- if ldap_enabled? - if ldap_enabled?
.form-group.row .form-group
= f.label :allow_group_owners_to_manage_ldap, 'LDAP settings', class: 'col-form-label col-sm-2' = f.label :allow_group_owners_to_manage_ldap, 'LDAP settings', class: 'label-light'
.col-sm-10
.form-check
= f.check_box :allow_group_owners_to_manage_ldap, class: 'form-check-input'
= f.label :allow_group_owners_to_manage_ldap, class: 'form-check-label' do
Allow group owners to manage LDAP-related settings
%span.form-text.text-muted
If checked, group owners can manage LDAP group links and LDAP member overrides
= link_to icon('question-circle'), help_page_path('administration/auth/ldap-ee')
.form-group.row
.offset-sm-2.col-sm-10
.form-check .form-check
= f.check_box :project_export_enabled, class: 'form-check-input' = f.check_box :allow_group_owners_to_manage_ldap, class: 'form-check-input'
= f.label :project_export_enabled, class: 'form-check-label' do = f.label :allow_group_owners_to_manage_ldap, class: 'form-check-label' do
Project export enabled Allow group owners to manage LDAP-related settings
%span.form-text.text-muted
If checked, group owners can manage LDAP group links and LDAP member overrides
= link_to icon('question-circle'), help_page_path('administration/auth/ldap-ee')
.form-group
.form-check
= f.check_box :project_export_enabled, class: 'form-check-input'
= f.label :project_export_enabled, class: 'form-check-label' do
Project export enabled
.form-group.row .form-group
%label.col-form-label.col-sm-2 Enabled Git access protocols %label.label-light Enabled Git access protocols
.col-sm-10 = select(:application_setting, :enabled_git_access_protocol, [['Both SSH and HTTP(S)', nil], ['Only SSH', 'ssh'], ['Only HTTP(S)', 'http']], {}, class: 'form-control')
= select(:application_setting, :enabled_git_access_protocol, [['Both SSH and HTTP(S)', nil], ['Only SSH', 'ssh'], ['Only HTTP(S)', 'http']], {}, class: 'form-control') %span.form-text.text-muted#clone-protocol-help
%span.form-text.text-muted#clone-protocol-help Allow only the selected protocols to be used for Git access.
Allow only the selected protocols to be used for Git access.
- ApplicationSetting::SUPPORTED_KEY_TYPES.each do |type| - ApplicationSetting::SUPPORTED_KEY_TYPES.each do |type|
- field_name = :"#{type}_key_restriction" - field_name = :"#{type}_key_restriction"
.form-group.row .form-group
= f.label field_name, "#{type.upcase} SSH keys", class: 'col-form-label col-sm-2' = f.label field_name, "#{type.upcase} SSH keys", class: 'label-light'
.col-sm-10 = f.select field_name, key_restriction_options_for_select(type), {}, class: 'form-control'
= f.select field_name, key_restriction_options_for_select(type), {}, class: 'form-control'
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
- if @gitaly_servers.any? - if @gitaly_servers.any?
.table-holder .table-holder
%table.table.responsive-table %table.table.responsive-table
%thead.d-none.d-sm-none.d-md-block %thead
%tr %tr
%th= _("Storage") %th= _("Storage")
%th= n_("Gitaly|Address") %th= s_("Gitaly|Address")
%th= _("Server version") %th= _("Server version")
%th= _("Git version") %th= _("Git version")
%th= _("Up to date") %th= _("Up to date")
......
%h3.page-title %h3.page-title
= @service.title = @service.title
%p #{@service.description} template %p #{@service.description} template.
= form_for :service, url: admin_application_settings_service_path, method: :put, html: { class: 'fieldset-form' } do |form| = form_for :service, url: admin_application_settings_service_path, method: :put, html: { class: 'fieldset-form' } do |form|
= render 'shared/service_settings', form: form, subject: @service = render 'shared/service_settings', form: form, subject: @service
......
...@@ -43,8 +43,6 @@ ...@@ -43,8 +43,6 @@
%span.toggle-icon %span.toggle-icon
= sprite_icon('status_success_borderless', size: 16, css_class: 'toggle-icon-svg toggle-status-checked') = sprite_icon('status_success_borderless', size: 16, css_class: 'toggle-icon-svg toggle-status-checked')
= sprite_icon('status_failed_borderless', size: 16, css_class: 'toggle-icon-svg toggle-status-unchecked') = sprite_icon('status_failed_borderless', size: 16, css_class: 'toggle-icon-svg toggle-status-unchecked')
-# EE-specific start = render_if_exists 'ci/variables/environment_scope', form_field: form_field, variable: variable
= render 'ci/variables/environment_scope', form_field: form_field, variable: variable
-# EE-specific end
%button.js-row-remove-button.ci-variable-row-remove-button{ type: 'button', 'aria-label': s_('CiVariables|Remove variable row') } %button.js-row-remove-button.ci-variable-row-remove-button{ type: 'button', 'aria-label': s_('CiVariables|Remove variable row') }
= icon('minus-circle') = icon('minus-circle')
...@@ -27,9 +27,10 @@ ...@@ -27,9 +27,10 @@
%span.badge= @members.total_count %span.badge= @members.total_count
= form_tag group_group_members_path(@group), method: :get, class: 'form-inline member-search-form flex-project-members-form' do = form_tag group_group_members_path(@group), method: :get, class: 'form-inline member-search-form flex-project-members-form' do
.form-group .form-group
= search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false } .position-relative.append-right-8
%button.member-search-btn{ type: "submit", "aria-label" => "Submit search" } = search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false }
= icon("search") %button.member-search-btn{ type: "submit", "aria-label" => "Submit search" }
= icon("search")
- if can_manage_members - if can_manage_members
= render 'shared/members/filter_2fa_dropdown' = render 'shared/members/filter_2fa_dropdown'
= render 'shared/members/sort_dropdown' = render 'shared/members/sort_dropdown'
......
...@@ -37,6 +37,6 @@ ...@@ -37,6 +37,6 @@
.form-group .form-group
= file_field_tag :file, class: '' = file_field_tag :file, class: ''
.row .row
.form-actions .form-actions.col-sm-12
= submit_tag 'Import project', class: 'btn btn-create' = submit_tag 'Import project', class: 'btn btn-create'
= link_to 'Cancel', new_project_path, class: 'btn btn-cancel' = link_to 'Cancel', new_project_path, class: 'btn btn-cancel'
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
- if header_link?(:sign_in) - if header_link?(:sign_in)
%li.nav-item %li.nav-item
%div %div
= link_to "Sign in / Register", new_session_path(:user, redirect_to_referer: 'yes'), class: 'nav-link btn btn-sign-in' = link_to "Sign in / Register", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in'
%button.navbar-toggler.d-block.d-sm-none{ type: 'button' } %button.navbar-toggler.d-block.d-sm-none{ type: 'button' }
%span.sr-only Toggle navigation %span.sr-only Toggle navigation
......
...@@ -20,18 +20,18 @@ ...@@ -20,18 +20,18 @@
%span{ "aria-hidden": true } &times; %span{ "aria-hidden": true } &times;
.modal-body .modal-body
- if description - if description
%p.append-bottom-20= description %p= description
= form_tag [type.underscore, @project.namespace.becomes(Namespace), @project, commit], method: :post, remote: false, class: "js-#{type}-form js-requires-input" do = form_tag [type.underscore, @project.namespace.becomes(Namespace), @project, commit], method: :post, remote: false, class: "js-#{type}-form js-requires-input" do
.form-group.row.branch .form-group.branch
= label_tag 'start_branch', branch_label, class: 'col-form-label col-sm-2' = label_tag 'start_branch', branch_label, class: 'label-light'
.col-sm-10
= hidden_field_tag :start_branch, @project.default_branch, id: 'start_branch'
= dropdown_tag(@project.default_branch, options: { title: s_("BranchSwitcherTitle|Switch branch"), filter: true, placeholder: s_("BranchSwitcherPlaceholder|Search branches"), toggle_class: 'js-project-refs-dropdown dynamic', dropdown_class: 'dropdown-menu-selectable', data: { field_name: "start_branch", selected: @project.default_branch, start_branch: @project.default_branch, refs_url: project_branches_path(@project), submit_form_on_click: false } })
- if can?(current_user, :push_code, @project) = hidden_field_tag :start_branch, @project.default_branch, id: 'start_branch'
= render 'shared/new_merge_request_checkbox' = dropdown_tag(@project.default_branch, options: { title: s_("BranchSwitcherTitle|Switch branch"), filter: true, placeholder: s_("BranchSwitcherPlaceholder|Search branches"), toggle_class: 'js-project-refs-dropdown dynamic', dropdown_class: 'dropdown-menu-selectable', data: { field_name: "start_branch", selected: @project.default_branch, start_branch: @project.default_branch, refs_url: project_branches_path(@project), submit_form_on_click: false } })
- else
= hidden_field_tag 'create_merge_request', 1, id: nil - if can?(current_user, :push_code, @project)
= render 'shared/new_merge_request_checkbox'
- else
= hidden_field_tag 'create_merge_request', 1, id: nil
.form-actions .form-actions
= submit_tag label, class: 'btn btn-create' = submit_tag label, class: 'btn btn-create'
= link_to _("Cancel"), '#', class: "btn btn-cancel", "data-dismiss" => "modal" = link_to _("Cancel"), '#', class: "btn btn-cancel", "data-dismiss" => "modal"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
- if @branches.any? || @tags.any? || @tags_limit_exceeded - if @branches.any? || @tags.any? || @tags_limit_exceeded
%span %span
= link_to "#", class: "js-details-expand label label-gray ref-name" do = link_to "#", class: "js-details-expand badge badge-gray ref-name" do
= sprite_icon('ellipsis_h', size: 12, css_class: 'vertical-align-middle') = sprite_icon('ellipsis_h', size: 12, css_class: 'vertical-align-middle')
%span.js-details-content.hide %span.js-details-content.hide
= commit_branches_links(@project, @branches) = commit_branches_links(@project, @branches)
......
#js-pipeline-header-vue.pipeline-header-container #js-pipeline-header-vue.pipeline-header-container
- sast_artifact = @pipeline.sast_artifact - sast_artifact = @pipeline.sast_artifact
- dependency_artifact = @pipeline.dependency_scanning_artifact - dependency_artifact = @pipeline.dependency_scanning_artifact
- dast_artifact = @pipeline.dast_artifact
- sast_container_artifact = @pipeline.sast_container_artifact
- if @commit.present? - if @commit.present?
.commit-box .commit-box
...@@ -36,5 +38,5 @@ ...@@ -36,5 +38,5 @@
= link_to @pipeline.sha, project_commit_path(@project, @pipeline.sha), class: "commit-sha commit-hash-full" = link_to @pipeline.sha, project_commit_path(@project, @pipeline.sha), class: "commit-sha commit-hash-full"
= clipboard_button(text: @pipeline.sha, title: "Copy commit SHA to clipboard") = clipboard_button(text: @pipeline.sha, title: "Copy commit SHA to clipboard")
- if sast_artifact || dependency_artifact - if sast_artifact || dependency_artifact || dast_artifact || sast_container_artifact
.js-sast-summary .js-sast-summary
- expose_sast_data = @pipeline.expose_sast_data? - expose_sast_data = @pipeline.expose_sast_data?
- expose_dependency_data = @pipeline.expose_dependency_scanning_data? - expose_dependency_data = @pipeline.expose_dependency_scanning_data?
- expose_dast_data = @pipeline.expose_dast_data?
- expose_sast_container_data = @pipeline.expose_sast_container_data?
- expose_container_scanning_data = @pipeline.expose_container_scanning_data?
- blob_path = project_blob_path(@project, @pipeline.sha) - blob_path = project_blob_path(@project, @pipeline.sha)
.tabs-holder .tabs-holder
...@@ -84,13 +87,17 @@ ...@@ -84,13 +87,17 @@
%pre.build-trace.build-trace-rounded %pre.build-trace.build-trace-rounded
%code.bash.js-build-output %code.bash.js-build-output
= build_summary(build) = build_summary(build)
- if expose_sast_data || expose_dependency_data - if expose_sast_data || expose_dependency_data || expose_dast_data || expose_sast_container_data || expose_container_scanning_data
#js-tab-security.build-security.tab-pane #js-tab-security.build-security.tab-pane
#js-security-report-app{ data: { endpoint: expose_sast_data ? sast_artifact_url(@pipeline) : nil, #js-security-report-app{ data: { endpoint: expose_sast_data ? sast_artifact_url(@pipeline) : nil,
blob_path: blob_path, blob_path: blob_path,
dependency_scanning_endpoint: expose_dependency_data ? dependency_scanning_artifact_url(@pipeline) : nil, dependency_scanning_endpoint: expose_dependency_data ? dependency_scanning_artifact_url(@pipeline) : nil,
dast_endpoint: expose_dast_data ? dast_artifact_url(@pipeline) : nil,
sast_container_endpoint: expose_sast_container_data ? sast_container_artifact_url(@pipeline) : (expose_container_scanning_data ? container_scanning_artifact_url(@pipeline) : nil),
pipeline_id: @pipeline.id, pipeline_id: @pipeline.id,
vulnerability_feedback_path: project_vulnerability_feedback_index_path(@project), vulnerability_feedback_path: project_vulnerability_feedback_index_path(@project),
vulnerability_feedback_help_path: help_page_path("user/project/merge_requests/index", anchor: "interacting-with-security-reports-ultimate"), vulnerability_feedback_help_path: help_page_path("user/project/merge_requests/index", anchor: "interacting-with-security-reports-ultimate"),
sast_help_path: help_page_path('user/project/merge_requests/sast'), sast_help_path: help_page_path('user/project/merge_requests/sast'),
dependency_scanning_help_path: help_page_path('user/project/merge_requests/dependency_scanning')} } dependency_scanning_help_path: help_page_path('user/project/merge_requests/dependency_scanning'),
dast_help_path: help_page_path('user/project/merge_requests/dast'),
sast_container_help_path: help_page_path('user/project/merge_requests/sast_container')} }
...@@ -9,9 +9,10 @@ ...@@ -9,9 +9,10 @@
%span.badge.badge-pill= members.total_count %span.badge.badge-pill= members.total_count
= form_tag project_project_members_path(project), method: :get, class: 'form-inline member-search-form flex-project-members-form' do = form_tag project_project_members_path(project), method: :get, class: 'form-inline member-search-form flex-project-members-form' do
.form-group .form-group
= search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false } .position-relative
%button.member-search-btn{ type: "submit", "aria-label" => "Submit search" } = search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false }
= icon("search") %button.member-search-btn{ type: "submit", "aria-label" => "Submit search" }
= icon("search")
= render 'shared/members/sort_dropdown' = render 'shared/members/sort_dropdown'
%ul.content-list.members-list %ul.content-list.members-list
= render partial: 'shared/members/member', collection: members, as: :member = render partial: 'shared/members/member', collection: members, as: :member
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
= form_for(@release, method: :put, url: project_tag_release_path(@project, @tag.name), html: { class: 'common-note-form release-form js-quick-submit' }) do |f| = form_for(@release, method: :put, url: project_tag_release_path(@project, @tag.name), html: { class: 'common-note-form release-form js-quick-submit' }) do |f|
= render layout: 'projects/md_preview', locals: { url: preview_markdown_path(@project), referenced_users: true } do = render layout: 'projects/md_preview', locals: { url: preview_markdown_path(@project), referenced_users: true } do
= render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: "Write your release notes or drag files here..." = render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: "Write your release notes or drag files here"
= render 'shared/notes/hints' = render 'shared/notes/hints'
.error-alert .error-alert
.prepend-top-default .prepend-top-default
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
= @service.title = @service.title
= boolean_to_icon @service.activated? = boolean_to_icon @service.activated?
%p= @service.description %p= #{@service.description}.
- if @service.respond_to?(:detailed_description) - if @service.respond_to?(:detailed_description)
%p= @service.detailed_description %p= @service.detailed_description
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
= label_tag :release_description, s_('TagsPage|Release notes'), class: 'col-form-label col-sm-2' = label_tag :release_description, s_('TagsPage|Release notes'), class: 'col-form-label col-sm-2'
.col-sm-10 .col-sm-10
= render layout: 'projects/md_preview', locals: { url: preview_markdown_path(@project), referenced_users: true } do = render layout: 'projects/md_preview', locals: { url: preview_markdown_path(@project), referenced_users: true } do
= render 'projects/zen', attr: :release_description, classes: 'note-textarea', placeholder: s_('TagsPage|Write your release notes or drag files here...'), current_text: @release_description = render 'projects/zen', attr: :release_description, classes: 'note-textarea', placeholder: s_('TagsPage|Write your release notes or drag files here'), current_text: @release_description
= render 'shared/notes/hints' = render 'shared/notes/hints'
.form-text.text-muted .form-text.text-muted
= s_('TagsPage|Optionally, add release notes to the tag. They will be stored in the GitLab database and displayed on the tags page.') = s_('TagsPage|Optionally, add release notes to the tag. They will be stored in the GitLab database and displayed on the tags page.')
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
.col-sm-12= f.label :content, class: 'control-label-full-width' .col-sm-12= f.label :content, class: 'control-label-full-width'
.col-sm-12 .col-sm-12
= render layout: 'projects/md_preview', locals: { url: project_wiki_preview_markdown_path(@project, @page.slug) } do = render layout: 'projects/md_preview', locals: { url: project_wiki_preview_markdown_path(@project, @page.slug) } do
= render 'projects/zen', f: f, attr: :content, classes: 'note-textarea', placeholder: s_("WikiPage|Write your content or drag files here...") = render 'projects/zen', f: f, attr: :content, classes: 'note-textarea', placeholder: s_("WikiPage|Write your content or drag files here")
= render 'shared/notes/hints' = render 'shared/notes/hints'
.clearfix .clearfix
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
= import_will_timeout_message(ci_cd_only) = import_will_timeout_message(ci_cd_only)
%li %li
= import_svn_message(ci_cd_only) = import_svn_message(ci_cd_only)
%li
The Git LFS objects will be ignored.
- unless ci_cd_only - unless ci_cd_only
%li %li
- ssh_link = link_to _('here'), help_page_path('/workflow/repository_mirroring.md', anchor: 'ssh-authentication') - ssh_link = link_to _('here'), help_page_path('/workflow/repository_mirroring.md', anchor: 'ssh-authentication')
......
.form-check .form-check.prepend-top-8
- nonce = SecureRandom.hex - nonce = SecureRandom.hex
= check_box_tag 'create_merge_request', 1, true, class: 'js-create-merge-request form-check-input', id: "create_merge_request-#{nonce}" = check_box_tag 'create_merge_request', 1, true, class: 'js-create-merge-request form-check-input', id: "create_merge_request-#{nonce}"
= label_tag "create_merge_request-#{nonce}", class: 'form-check-label' do = label_tag "create_merge_request-#{nonce}", class: 'form-check-label' do
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
= render layout: 'projects/md_preview', locals: { url: preview_url, referenced_users: true } do = render layout: 'projects/md_preview', locals: { url: preview_url, referenced_users: true } do
= render 'projects/zen', f: form, attr: :description, = render 'projects/zen', f: form, attr: :description,
classes: 'note-textarea qa-issuable-form-description', classes: 'note-textarea qa-issuable-form-description',
placeholder: "Write a comment or drag your files here...", placeholder: "Write a comment or drag your files here",
supports_quick_actions: supports_quick_actions supports_quick_actions: supports_quick_actions
= render 'shared/notes/hints', supports_quick_actions: supports_quick_actions = render 'shared/notes/hints', supports_quick_actions: supports_quick_actions
.clearfix .clearfix
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
.selectbox.hide-collapsed .selectbox.hide-collapsed
= f.hidden_field 'milestone_id', value: issuable.milestone_id, id: nil = f.hidden_field 'milestone_id', value: issuable.milestone_id, id: nil
= dropdown_tag('Milestone', options: { title: _('Assign milestone'), toggle_class: 'js-milestone-select js-extra-options', filter: true, dropdown_class: 'dropdown-menu-selectable', placeholder: _('Search milestones'), data: { show_no: true, field_name: "#{issuable.to_ability_name}[milestone_id]", project_id: @project.id, issuable_id: issuable.id, milestones: project_milestones_path(@project, :json), ability_name: issuable.to_ability_name, issue_update: issuable_json_path(issuable), use_id: true, default_no: true, selected: (issuable.milestone.name if issuable.milestone), null_default: true }}) = dropdown_tag('Milestone', options: { title: _('Assign milestone'), toggle_class: 'js-milestone-select js-extra-options', filter: true, dropdown_class: 'dropdown-menu-selectable', placeholder: _('Search milestones'), data: { show_no: true, field_name: "#{issuable.to_ability_name}[milestone_id]", project_id: @project.id, issuable_id: issuable.id, milestones: project_milestones_path(@project, :json), ability_name: issuable.to_ability_name, issue_update: issuable_json_path(issuable), use_id: true, default_no: true, selected: (issuable.milestone.name if issuable.milestone), null_default: true, display: 'static' }})
- if issuable.has_attribute?(:time_estimate) - if issuable.has_attribute?(:time_estimate)
#issuable-time-tracker.block #issuable-time-tracker.block
// Fallback while content is loading // Fallback while content is loading
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
.selectbox.hide-collapsed .selectbox.hide-collapsed
= f.hidden_field :due_date, value: issuable.due_date.try(:strftime, 'yy-mm-dd') = f.hidden_field :due_date, value: issuable.due_date.try(:strftime, 'yy-mm-dd')
.dropdown .dropdown
%button.dropdown-menu-toggle.js-due-date-select{ type: 'button', data: { toggle: 'dropdown', field_name: "#{issuable.to_ability_name}[due_date]", ability_name: issuable.to_ability_name, issue_update: issuable_json_path(issuable) } } %button.dropdown-menu-toggle.js-due-date-select{ type: 'button', data: { toggle: 'dropdown', field_name: "#{issuable.to_ability_name}[due_date]", ability_name: issuable.to_ability_name, issue_update: issuable_json_path(issuable), display: 'static' } }
%span.dropdown-toggle-text %span.dropdown-toggle-text
= _('Due date') = _('Due date')
= icon('chevron-down', 'aria-hidden': 'true') = icon('chevron-down', 'aria-hidden': 'true')
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
- selected_labels.each do |label| - selected_labels.each do |label|
= hidden_field_tag "#{issuable.to_ability_name}[label_names][]", label.id, id: nil = hidden_field_tag "#{issuable.to_ability_name}[label_names][]", label.id, id: nil
.dropdown .dropdown
%button.dropdown-menu-toggle.js-label-select.js-multiselect.js-label-sidebar-dropdown{ type: "button", data: {toggle: "dropdown", default_label: "Labels", field_name: "#{issuable.to_ability_name}[label_names][]", ability_name: issuable.to_ability_name, show_no: "true", show_any: "true", namespace_path: @project.try(:namespace).try(:full_path), project_path: @project.try(:path), issue_update: issuable_json_path(issuable), labels: (labels_filter_path(false) if @project) } } %button.dropdown-menu-toggle.js-label-select.js-multiselect.js-label-sidebar-dropdown{ type: "button", data: {toggle: "dropdown", default_label: "Labels", field_name: "#{issuable.to_ability_name}[label_names][]", ability_name: issuable.to_ability_name, show_no: "true", show_any: "true", namespace_path: @project.try(:namespace).try(:full_path), project_path: @project.try(:path), issue_update: issuable_json_path(issuable), labels: (labels_filter_path(false) if @project), display: 'static' } }
%span.dropdown-toggle-text{ class: ("is-default" if selected_labels.empty?) } %span.dropdown-toggle-text{ class: ("is-default" if selected_labels.empty?) }
= multi_label_name(selected_labels, "Labels") = multi_label_name(selected_labels, "Labels")
= icon('chevron-down', 'aria-hidden': 'true') = icon('chevron-down', 'aria-hidden': 'true')
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
- issuable.assignees.each do |assignee| - issuable.assignees.each do |assignee|
= hidden_field_tag "#{issuable.to_ability_name}[assignee_ids][]", assignee.id, id: nil, data: { avatar_url: assignee.avatar_url, name: assignee.name, username: assignee.username } = hidden_field_tag "#{issuable.to_ability_name}[assignee_ids][]", assignee.id, id: nil, data: { avatar_url: assignee.avatar_url, name: assignee.name, username: assignee.username }
- options = { toggle_class: 'js-user-search js-author-search', title: _('Assign to'), filter: true, dropdown_class: 'dropdown-menu-user dropdown-menu-selectable dropdown-menu-author', placeholder: _('Search users'), data: { first_user: current_user&.username, current_user: true, project_id: @project&.id, author_id: issuable.author_id, field_name: "#{issuable.to_ability_name}[assignee_ids][]", issue_update: issuable_json_path(issuable), ability_name: issuable.to_ability_name, null_user: true } } - options = { toggle_class: 'js-user-search js-author-search', title: _('Assign to'), filter: true, dropdown_class: 'dropdown-menu-user dropdown-menu-selectable dropdown-menu-author', placeholder: _('Search users'), data: { first_user: current_user&.username, current_user: true, project_id: @project&.id, author_id: issuable.author_id, field_name: "#{issuable.to_ability_name}[assignee_ids][]", issue_update: issuable_json_path(issuable), ability_name: issuable.to_ability_name, null_user: true, display: 'static' } }
- title = _('Select assignee') - title = _('Select assignee')
- if issuable.is_a?(Issue) - if issuable.is_a?(Issue)
......
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
%hr %hr
.form-group .form-group.row
.col-form-label %label.col-form-label.col-sm-2
= _('Contribution') = _('Contribution')
.col-sm-10 .col-sm-10
.form-check .form-check.prepend-top-5
= form.check_box :allow_collaboration, disabled: !issuable.can_allow_collaboration?(current_user), class: 'form-check-input' = form.check_box :allow_collaboration, disabled: !issuable.can_allow_collaboration?(current_user), class: 'form-check-input'
= form.label :allow_collaboration, class: 'form-check-label' do = form.label :allow_collaboration, class: 'form-check-label' do
= _('Allow commits from members who can merge to the target branch.') = _('Allow commits from members who can merge to the target branch.')
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
= hidden_field_tag :target_id, '', class: 'js-form-target-id' = hidden_field_tag :target_id, '', class: 'js-form-target-id'
= hidden_field_tag :target_type, '', class: 'js-form-target-type' = hidden_field_tag :target_type, '', class: 'js-form-target-type'
= render layout: 'projects/md_preview', locals: { url: preview_markdown_path(project), referenced_users: true } do = render layout: 'projects/md_preview', locals: { url: preview_markdown_path(project), referenced_users: true } do
= render 'projects/zen', attr: 'note[note]', classes: 'note-textarea js-note-text js-task-list-field', placeholder: "Write a comment or drag your files here..." = render 'projects/zen', attr: 'note[note]', classes: 'note-textarea js-note-text js-task-list-field', placeholder: "Write a comment or drag your files here"
= render 'shared/notes/hints' = render 'shared/notes/hints'
.note-form-actions.clearfix .note-form-actions.clearfix
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
= render 'projects/zen', f: f, = render 'projects/zen', f: f,
attr: :note, attr: :note,
classes: 'note-textarea js-note-text', classes: 'note-textarea js-note-text',
placeholder: "Write a comment or drag your files here...", placeholder: "Write a comment or drag your files here",
supports_quick_actions: supports_quick_actions, supports_quick_actions: supports_quick_actions,
supports_autocomplete: supports_autocomplete supports_autocomplete: supports_autocomplete
= render 'shared/notes/hints', supports_quick_actions: supports_quick_actions = render 'shared/notes/hints', supports_quick_actions: supports_quick_actions
......
...@@ -23,10 +23,11 @@ class RepositoryForkWorker ...@@ -23,10 +23,11 @@ class RepositoryForkWorker
source_repository_storage_path, source_disk_path = *args source_repository_storage_path, source_disk_path = *args
source_repository_storage_name = Gitlab.config.repositories.storages.find do |_, info| source_repository_storage_name = Gitlab::GitalyClient::StorageSettings.allow_disk_access do
info.legacy_disk_path == source_repository_storage_path Gitlab.config.repositories.storages.find do |_, info|
end&.first || raise("no shard found for path '#{source_repository_storage_path}'") info.legacy_disk_path == source_repository_storage_path
end&.first || raise("no shard found for path '#{source_repository_storage_path}'")
end
fork_repository(target_project, source_repository_storage_name, source_disk_path) fork_repository(target_project, source_repository_storage_name, source_disk_path)
end end
end end
......
---
title: Make avatars/icons hidden on mobile
merge_request: 19585
author: Takuya Noguchi
type: fixed
---
title: Fix overflowing Failed Jobs table in sm viewports on IE11
merge_request:
author:
type: fixed
---
title: Add CI job to check Gemfile.rails5.lock
merge_request: 19605
author: "@blackst0ne"
type: other
---
title: Fix bug where maintainer would not be allowed to push to forks with merge requests
that have `Allow maintainer edits` enabled.
merge_request: 18968
author:
type: fixed
---
title: Add Gitlab::SQL:CTE for easily building CTE statements
merge_request:
author:
type: added
---
title: Add CI_PIPELINE_URL and CI_JOB_URL
merge_request: 19618
author:
type: added
---
title: mergeError message has been binded using v-html directive
merge_request: 19058
author: Murat Dogan
type: fixed
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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