From 01a8b31afeac9ac1eaf64d781de5ee8f15eb1897 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 16 Nov 2020 15:09:23 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .eslintrc.yml | 1 + .scss-lint.yml | 1 + GITALY_SERVER_VERSION | 2 +- .../clusters/components/applications.vue | 11 + .../javascripts/helpers/startup_css_helper.js | 12 +- .../edit/components/confirmation_modal.vue | 4 +- .../edit/components/integration_form.vue | 32 +- .../components/reset_confirmation_modal.vue | 61 ++ .../javascripts/integrations/edit/index.js | 2 + .../integrations/edit/store/actions.js | 2 + .../integrations/edit/store/getters.js | 2 +- .../integrations/edit/store/mutation_types.js | 1 + .../integrations/edit/store/mutations.js | 3 + .../integrations/edit/store/state.js | 1 + app/assets/javascripts/lib/utils/css_utils.js | 2 + .../javascripts/lib/utils/text_utility.js | 12 + .../stylesheets/lazy_bundles/select2.scss | 654 ++++++++++++++++++ .../lazy_bundles/select2_overrides.scss | 359 ++++++++++ app/assets/stylesheets/pages/commits.scss | 4 +- app/helpers/services_helper.rb | 3 +- .../application_setting_implementation.rb | 2 +- app/models/member.rb | 4 + app/views/projects/blob/_upload.html.haml | 2 +- app/views/projects/commits/_commit.html.haml | 2 +- .../shared/issuable/_label_dropdown.html.haml | 2 +- app/views/shared/issuable/_sidebar.html.haml | 2 +- .../shared/issuable/_sort_dropdown.html.haml | 2 +- .../issuable/form/_type_selector.html.haml | 2 +- .../224509-chevron-down-svg-issuable.yml | 5 + ...min-approval-default-for-new-instances.yml | 5 + ...-get-invitations-for-group-and-project.yml | 5 + config/application.rb | 1 + ...ter_user_signup_to_application_settings.rb | 9 + db/schema_migrations/20201107032257 | 1 + db/structure.sql | 2 +- doc/administration/sidekiq.md | 1 - doc/api/invitations.md | 43 +- .../documentation/restful_api_styleguide.md | 7 + doc/development/fe_guide/performance.md | 30 +- doc/development/fe_guide/vue.md | 24 + .../settings/sign_up_restrictions.md | 5 +- lib/api/entities/invitation.rb | 3 +- lib/api/helpers/members_helpers.rb | 11 + lib/api/invitations.rb | 19 + lib/gitlab/current_settings.rb | 4 +- lib/gitlab/gon_helper.rb | 1 + locale/gitlab.pot | 27 + qa/qa/page/main/sign_up.rb | 14 +- qa/qa/runtime/application_settings.rb | 2 +- qa/qa/runtime/env.rb | 7 +- .../1_manage/login/register_spec.rb | 41 +- .../registrations_controller_spec.rb | 5 +- spec/features/invites_spec.rb | 16 + .../projects/snippets/create_snippet_spec.rb | 2 +- .../uploads/user_uploads_file_to_note_spec.rb | 2 +- spec/features/users/signup_spec.rb | 20 + .../edit/components/integration_form_spec.js | 59 ++ .../integrations/edit/store/actions_spec.js | 27 +- .../integrations/edit/store/getters_spec.js | 32 +- .../integrations/edit/store/mutations_spec.js | 24 + .../integrations/edit/store/state_spec.js | 1 + spec/frontend/lib/utils/text_utility_spec.js | 15 + spec/requests/api/invitations_spec.rb | 98 ++- spec/requests/api/settings_spec.rb | 2 +- tooling/README.md | 4 + .../eslint-config/conditionally_ignore_ee.js | 5 + 66 files changed, 1698 insertions(+), 68 deletions(-) create mode 100644 app/assets/javascripts/integrations/edit/components/reset_confirmation_modal.vue create mode 100644 app/assets/stylesheets/lazy_bundles/select2.scss create mode 100644 app/assets/stylesheets/lazy_bundles/select2_overrides.scss create mode 100644 changelogs/unreleased/224509-chevron-down-svg-issuable.yml create mode 100644 changelogs/unreleased/267568-user-admin-approval-default-for-new-instances.yml create mode 100644 changelogs/unreleased/add-get-invitations-for-group-and-project.yml create mode 100644 db/migrate/20201107032257_add_default_true_require_admin_approval_after_user_signup_to_application_settings.rb create mode 100644 db/schema_migrations/20201107032257 create mode 100644 tooling/README.md create mode 100644 tooling/eslint-config/conditionally_ignore_ee.js diff --git a/.eslintrc.yml b/.eslintrc.yml index b8683ba803f..5529d82ccf5 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -3,6 +3,7 @@ extends: - plugin:@gitlab/i18n - plugin:no-jquery/slim - plugin:no-jquery/deprecated-3.4 + - ./tooling/eslint-config/conditionally_ignore_ee.js globals: __webpack_public_path__: true gl: false diff --git a/.scss-lint.yml b/.scss-lint.yml index 420b15274bb..ec193e2a3db 100644 --- a/.scss-lint.yml +++ b/.scss-lint.yml @@ -8,6 +8,7 @@ scss_files: exclude: - 'app/assets/stylesheets/pages/emojis.scss' - 'app/assets/stylesheets/startup/startup-*.scss' + - 'app/assets/stylesheets/lazy_bundles/select2.scss' linters: # Reports when you use improper spacing around ! (the "bang") in !default, diff --git a/GITALY_SERVER_VERSION b/GITALY_SERVER_VERSION index c0359917f4f..4862ceb7a20 100644 --- a/GITALY_SERVER_VERSION +++ b/GITALY_SERVER_VERSION @@ -1 +1 @@ -506c44cc07dcb804ce970ec1c02bb6e0d52320d8 +40d58655a42f71b6180a3cbaf369cc20b60e695a diff --git a/app/assets/javascripts/clusters/components/applications.vue b/app/assets/javascripts/clusters/components/applications.vue index 912568c8870..271d862afab 100644 --- a/app/assets/javascripts/clusters/components/applications.vue +++ b/app/assets/javascripts/clusters/components/applications.vue @@ -467,6 +467,17 @@ export default { notebooks to a class of students, a corporate data science group, or a scientific research group.`) }} + + +