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

Add latest changes from gitlab-org/gitlab@master

parent 340ff214
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -53,4 +53,6 @@
.settings-content
= render 'groups/settings/advanced'
 
= render_if_exists 'shared/groups/max_pages_size_setting'
= render 'shared/confirm_modal', phrase: @group.path
= form_for @group, html: { multipart: true, class: 'gl-show-field-errors' }, authenticity_token: true do |f|
= render_if_exists 'shared/pages/max_pages_size_input', form: f
.prepend-top-10
= f.submit s_('GitLabPages|Save'), class: 'btn btn-success'
= form_for @project, url: namespace_project_pages_path(@project.namespace.becomes(Namespace), @project), html: { class: 'inline', title: pages_https_only_title } do |f|
.form-group
.form-check
= f.check_box :pages_https_only, class: 'form-check-input', disabled: pages_https_only_disabled?
= f.label :pages_https_only, class: pages_https_only_label_class do
%strong
= s_('GitLabPages|Force HTTPS (requires valid certificates)')
- unless pages_https_only_disabled?
.prepend-top-10
= f.submit s_('GitLabPages|Save'), class: 'btn btn-success'
= form_for @project, url: namespace_project_pages_path(@project.namespace.becomes(Namespace), @project), html: { class: 'inline', title: pages_https_only_title } do |f|
- if Gitlab.config.pages.external_http || Gitlab.config.pages.external_https
= render_if_exists 'shared/pages/max_pages_size_input', form: f
.form-group
.form-check
= f.check_box :pages_https_only, class: 'form-check-input', disabled: pages_https_only_disabled?
= f.label :pages_https_only, class: pages_https_only_label_class do
%strong
= s_('GitLabPages|Force HTTPS (requires valid certificates)')
.prepend-top-10
= f.submit s_('GitLabPages|Save'), class: 'btn btn-success'
Loading
Loading
@@ -10,8 +10,8 @@
 
%p.light
= s_('GitLabPages|With GitLab Pages you can host your static websites on GitLab. Combined with the power of GitLab CI and the help of GitLab Runner you can deploy static pages for your individual projects, your user or your group.')
- if Gitlab.config.pages.external_https
= render 'https_only'
= render 'pages_settings'
 
%hr.clearfix
 
Loading
Loading
Loading
Loading
@@ -8669,6 +8669,9 @@ msgstr ""
msgid "GitLabPages|Learn how to upload your static site and have it served by GitLab by following the %{link_start}documentation on GitLab Pages%{link_end}."
msgstr ""
 
msgid "GitLabPages|Maximum size of pages (MB)"
msgstr ""
msgid "GitLabPages|New Domain"
msgstr ""
 
Loading
Loading
@@ -8693,6 +8696,9 @@ msgstr ""
msgid "GitLabPages|Support for domains and certificates is disabled. Ask your system's administrator to enable it."
msgstr ""
 
msgid "GitLabPages|The total size of deployed static content will be limited to this size. 0 for unlimited. Leave empty to inherit the global value."
msgstr ""
msgid "GitLabPages|Unverified"
msgstr ""
 
Loading
Loading
@@ -16639,6 +16645,9 @@ msgstr ""
msgid "Size limit per repository (MB)"
msgstr ""
 
msgid "Size settings for static websites"
msgstr ""
msgid "Skip Trial (Continue with Free Account)"
msgstr ""
 
Loading
Loading
@@ -18239,15 +18248,18 @@ msgstr ""
msgid "There was an error fetching cycle analytics stages."
msgstr ""
 
msgid "There was an error fetching data for the chart"
msgid "There was an error fetching data for the selected stage"
msgstr ""
 
msgid "There was an error fetching data for the selected stage"
msgid "There was an error fetching data for the tasks by type chart"
msgstr ""
 
msgid "There was an error fetching label data for the selected group"
msgstr ""
 
msgid "There was an error fetching median data for stages"
msgstr ""
msgid "There was an error fetching the Designs"
msgstr ""
 
Loading
Loading
Loading
Loading
@@ -347,7 +347,7 @@ shared_examples 'pages settings editing' do
visit project_pages_path(project)
 
expect(page).to have_field(:project_pages_https_only, disabled: true)
expect(page).not_to have_button('Save')
expect(page).to have_button('Save')
end
end
 
Loading
Loading
Loading
Loading
@@ -82,8 +82,13 @@ describe('Settings Form', () => {
 
it(`${elementName} form element change updated ${modelName} with ${value}`, () => {
const element = findFormElements(elementName, formGroup);
element.vm.$emit('input', value);
expect(wrapper.vm[modelName]).toBe(value);
const modelUpdateEvent = element.vm.$options.model
? element.vm.$options.model.event
: 'input';
element.vm.$emit(modelUpdateEvent, value);
return wrapper.vm.$nextTick().then(() => {
expect(wrapper.vm[modelName]).toBe(value);
});
});
});
 
Loading
Loading
Loading
Loading
@@ -108,7 +108,9 @@ describe('Repository table row component', () => {
if (pushes) {
expect(visitUrl).not.toHaveBeenCalled();
} else {
expect(visitUrl).toHaveBeenCalledWith('https://test.com', undefined);
const [url, external] = visitUrl.mock.calls[0];
expect(url).toBe('https://test.com');
expect(external).toBeFalsy();
}
});
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment