forked from gitlabhq/gitlabhq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add latest changes from gitlab-org/gitlab@master
- Loading branch information
GitLab Bot
committed
Apr 2, 2024
1 parent
a4105ae
commit 9b3b164
Showing
36 changed files
with
801 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
# Cop supports --autocorrect. | ||
Gitlab/Rails/SafeFormat: | ||
Details: grace period | ||
Exclude: | ||
- 'app/controllers/profiles/two_factor_auths_controller.rb' | ||
- 'app/graphql/types/project_type.rb' | ||
- 'app/helpers/auth_helper.rb' | ||
- 'app/helpers/emails_helper.rb' | ||
- 'app/helpers/groups/group_members_helper.rb' | ||
- 'app/helpers/groups_helper.rb' | ||
- 'app/helpers/import_helper.rb' | ||
- 'app/helpers/members_helper.rb' | ||
- 'app/helpers/merge_requests_helper.rb' | ||
- 'app/helpers/profiles_helper.rb' | ||
- 'app/helpers/projects_helper.rb' | ||
- 'app/helpers/reminder_emails_helper.rb' | ||
- 'app/helpers/search_helper.rb' | ||
- 'app/helpers/sourcegraph_helper.rb' | ||
- 'app/helpers/whats_new_helper.rb' | ||
- 'app/models/integrations/apple_app_store.rb' | ||
- 'app/models/integrations/asana.rb' | ||
- 'app/models/integrations/bamboo.rb' | ||
- 'app/models/integrations/beyond_identity.rb' | ||
- 'app/models/integrations/bugzilla.rb' | ||
- 'app/models/integrations/clickup.rb' | ||
- 'app/models/integrations/confluence.rb' | ||
- 'app/models/integrations/custom_issue_tracker.rb' | ||
- 'app/models/integrations/datadog.rb' | ||
- 'app/models/integrations/discord.rb' | ||
- 'app/models/integrations/ewm.rb' | ||
- 'app/models/integrations/external_wiki.rb' | ||
- 'app/models/integrations/google_play.rb' | ||
- 'app/models/integrations/hangouts_chat.rb' | ||
- 'app/models/integrations/irker.rb' | ||
- 'app/models/integrations/jenkins.rb' | ||
- 'app/models/integrations/mattermost.rb' | ||
- 'app/models/integrations/pivotaltracker.rb' | ||
- 'app/models/integrations/redmine.rb' | ||
- 'app/models/integrations/unify_circuit.rb' | ||
- 'app/models/integrations/youtrack.rb' | ||
- 'app/presenters/ci/pipeline_presenter.rb' | ||
- 'app/presenters/key_presenter.rb' | ||
- 'app/presenters/project_presenter.rb' | ||
- 'app/services/jira/requests/base.rb' | ||
- 'app/services/security/ci_configuration/base_create_service.rb' | ||
- 'ee/app/components/namespaces/free_user_cap/enforcement_alert_component.rb' | ||
- 'ee/app/components/namespaces/free_user_cap/usage_quota_alert_component.rb' | ||
- 'ee/app/components/namespaces/free_user_cap/usage_quota_trial_alert_component.rb' | ||
- 'ee/app/helpers/ee/application_helper.rb' | ||
- 'ee/app/helpers/ee/import_helper.rb' | ||
- 'ee/app/helpers/ee/members_helper.rb' | ||
- 'ee/app/helpers/ee/search_helper.rb' | ||
- 'ee/app/helpers/push_rules_helper.rb' | ||
- 'ee/app/models/integrations/git_guardian.rb' | ||
- 'ee/app/models/integrations/github.rb' | ||
- 'ee/lib/gitlab/licenses/submit_license_usage_data_banner.rb' | ||
- 'ee/lib/gitlab/manual_quarterly_co_term_banner.rb' | ||
- 'spec/helpers/profiles_helper_spec.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
app/views/shared/namespaces/cascading_settings/_setting_checkbox.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
- attribute = local_assigns.fetch(:attribute, nil) | ||
- group = local_assigns.fetch(:group, nil) | ||
- settings_path_helper = local_assigns.fetch(:settings_path_helper, nil) | ||
- form = local_assigns.fetch(:form, nil) | ||
- setting_locked = local_assigns.fetch(:setting_locked, false) | ||
- help_text = local_assigns.fetch(:help_text, nil) | ||
- checked = local_assigns.fetch(:checked, false) | ||
- klass = local_assigns.fetch(:class, nil) | ||
|
||
- return unless attribute && group && form && settings_path_helper | ||
|
||
= form.gitlab_ui_checkbox_component attribute, checkbox_options: { checked: checked, disabled: setting_locked, class: klass } do |c| | ||
= c.with_label attribute, class: 'custom-control-label', aria: { disabled: setting_locked } do | ||
= render 'shared/namespaces/cascading_settings/setting_label_container' do | ||
= yield | ||
- if setting_locked | ||
= render 'shared/namespaces/cascading_settings/lock_icon', local_assigns | ||
- if help_text | ||
= c.with_help_text do | ||
= help_text |
17 changes: 0 additions & 17 deletions
17
app/views/shared/namespaces/cascading_settings/_setting_label_checkbox.html.haml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
config/feature_flags/gitlab_com_derisk/wiki_content_background_job.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
name: wiki_content_background_job | ||
feature_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/367628 | ||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/146973 | ||
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/452495 | ||
milestone: '16.11' | ||
group: group::knowledge | ||
type: gitlab_com_derisk | ||
default_enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.