Skip to content

Commit 0cc9828

Browse files
author
Gauvain Pocentek
committed
Update the settings attributes
1 parent 71368e7 commit 0cc9828

File tree

1 file changed

+41
-9
lines changed

1 file changed

+41
-9
lines changed

gitlab/v4/objects.py

Lines changed: 41 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -379,16 +379,48 @@ class ApplicationSettingsManager(GetWithoutIdMixin, UpdateMixin, RESTManager):
379379
_obj_cls = ApplicationSettings
380380
_update_attrs = (
381381
tuple(),
382-
('after_sign_out_path', 'container_registry_token_expire_delay',
383-
'default_branch_protection', 'default_project_visibility',
382+
('admin_notification_email', 'after_sign_out_path',
383+
'after_sign_up_text', 'akismet_api_key', 'akismet_enabled',
384+
'circuitbreaker_access_retries', 'circuitbreaker_check_interval',
385+
'circuitbreaker_failure_count_threshold',
386+
'circuitbreaker_failure_reset_time', 'circuitbreaker_storage_timeout',
387+
'clientside_sentry_dsn', 'clientside_sentry_enabled',
388+
'container_registry_token_expire_delay',
389+
'default_artifacts_expire_in', 'default_branch_protection',
390+
'default_group_visibility', 'default_project_visibility',
384391
'default_projects_limit', 'default_snippet_visibility',
385-
'domain_blacklist', 'domain_blacklist_enabled', 'domain_whitelist',
386-
'enabled_git_access_protocol', 'gravatar_enabled', 'home_page_url',
387-
'max_attachment_size', 'repository_storage',
388-
'restricted_signup_domains', 'restricted_visibility_levels',
389-
'session_expire_delay', 'sign_in_text', 'signin_enabled',
390-
'signup_enabled', 'twitter_sharing_enabled',
391-
'user_oauth_applications')
392+
'disabled_oauth_sign_in_sources', 'domain_blacklist_enabled',
393+
'domain_blacklist', 'domain_whitelist', 'dsa_key_restriction',
394+
'ecdsa_key_restriction', 'ed25519_key_restriction',
395+
'email_author_in_body', 'enabled_git_access_protocol',
396+
'gravatar_enabled', 'help_page_hide_commercial_content',
397+
'help_page_support_url', 'home_page_url',
398+
'housekeeping_bitmaps_enabled', 'housekeeping_enabled',
399+
'housekeeping_full_repack_period', 'housekeeping_gc_period',
400+
'housekeeping_incremental_repack_period', 'html_emails_enabled',
401+
'import_sources', 'koding_enabled', 'koding_url',
402+
'max_artifacts_size', 'max_attachment_size', 'max_pages_size',
403+
'metrics_enabled', 'metrics_host', 'metrics_method_call_threshold',
404+
'metrics_packet_size', 'metrics_pool_size', 'metrics_port',
405+
'metrics_sample_interval', 'metrics_timeout',
406+
'password_authentication_enabled_for_web',
407+
'password_authentication_enabled_for_git',
408+
'performance_bar_allowed_group_id', 'performance_bar_enabled',
409+
'plantuml_enabled', 'plantuml_url', 'polling_interval_multiplier',
410+
'project_export_enabled', 'prometheus_metrics_enabled',
411+
'recaptcha_enabled', 'recaptcha_private_key', 'recaptcha_site_key',
412+
'repository_checks_enabled', 'repository_storages',
413+
'require_two_factor_authentication', 'restricted_visibility_levels',
414+
'rsa_key_restriction', 'send_user_confirmation_email', 'sentry_dsn',
415+
'sentry_enabled', 'session_expire_delay', 'shared_runners_enabled',
416+
'shared_runners_text', 'sidekiq_throttling_enabled',
417+
'sidekiq_throttling_factor', 'sidekiq_throttling_queues',
418+
'sign_in_text', 'signup_enabled', 'terminal_max_session_time',
419+
'two_factor_grace_period', 'unique_ips_limit_enabled',
420+
'unique_ips_limit_per_user', 'unique_ips_limit_time_window',
421+
'usage_ping_enabled', 'user_default_external',
422+
'user_oauth_applications', 'version_check_enabled', 'enforce_terms',
423+
'terms')
392424
)
393425

394426
@exc.on_http_error(exc.GitlabUpdateError)

0 commit comments

Comments
 (0)