discourse/spec/services
Osama Sayegh 4aea12fdcb
DEV: Allow fetching specific site settings and introduce a service for updating site settings (#27481)
This commit adds ability to fetch a subset of site settings from the `/admin/site_settings` endpoint so that it can be used in all places where the client app needs access to a subset of the site settings.

Additionally, this commit also introduces a new service class called `UpdateSiteSetting` that encapsulates all the logic that surrounds updating a site setting so that it can be used to update site setting(s) anywhere in the backend. This service comes in handy with, for example, the controller for the flags admin config area which may need to update some site settings related to flags.

Internal topic: t/130713.
2024-06-14 13:07:27 +03:00
..
notifications FEATURE: Consolidate link notifications (#26567) 2024-04-09 11:53:37 -06:00
problem_check DEV: Catch missing translations during test runs (#26258) 2024-05-24 22:15:53 +08:00
anonymous_shadow_creator_spec.rb
auto_silence_spec.rb DEV: move post flags into database (#27125) 2024-05-23 12:19:07 +10:00
badge_granter_spec.rb DEV: Catch missing translations during test runs (#26258) 2024-05-24 22:15:53 +08:00
base_bookmarkable_spec.rb
category_hashtag_data_source_spec.rb
color_scheme_revisor_spec.rb
destroy_task_spec.rb
email_settings_exception_handler_spec.rb
email_settings_validator_spec.rb
email_style_updater_spec.rb
external_upload_manager_spec.rb
flag_sockpuppets_spec.rb
group_action_logger_spec.rb
group_mentions_updater_spec.rb
group_message_spec.rb FIX: crawler view with unicode usernames (#27051) 2024-05-16 17:11:24 +02:00
hashtag_autocomplete_service_spec.rb
heat_settings_updater_spec.rb
inline_uploads_multisite_spec.rb
inline_uploads_spec.rb
notification_emailer_spec.rb FIX: Avoid sending user emails if @ mentioning a staged user in a topic (#26102) 2024-03-13 11:05:34 +08:00
post_action_notifier_spec.rb
post_alerter_spec.rb FIX: Avoid sending user emails if @ mentioning a staged user in a topic (#26102) 2024-03-13 11:05:34 +08:00
post_bookmarkable_spec.rb DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
post_owner_changer_spec.rb
problem_check_spec.rb DEV: Database backed admin notices (#26192) 2024-05-23 09:29:08 +08:00
push_notification_pusher_spec.rb
random_topic_selector_spec.rb
reorder_flag_spec.rb FIX: move something else flag to the bottom (#27366) 2024-06-06 15:45:30 +10:00
search_indexer_spec.rb
sidebar_site_settings_backfiller_spec.rb
site_settings_spec.rb
staff_action_logger_spec.rb SECURITY: Prevent large staff actions causing DoS 2024-03-15 14:24:04 +08:00
tag_hashtag_data_source_spec.rb
theme_settings_migrations_runner_spec.rb FIX: Make `getCategoryIdByName` theme migration helper case insensitive (#26878) 2024-05-06 12:42:58 +08:00
themes_spec.rb
toggle_flag_spec.rb FIX: flaky specs related to flags (#27380) 2024-06-07 13:53:40 +10:00
topic_bookmarkable_spec.rb DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
topic_status_updater_spec.rb FIX: Better tracking of topic visibility changes (#26709) 2024-04-29 10:34:46 +10:00
topic_summarization_spec.rb
topic_timestamp_changer_spec.rb
trust_level_granter_spec.rb
update_site_setting_spec.rb DEV: Allow fetching specific site settings and introduce a service for updating site settings (#27481) 2024-06-14 13:07:27 +03:00
user_activator_spec.rb
user_anonymizer_spec.rb
user_authenticator_spec.rb
user_destroyer_spec.rb DEV: Make all admins TL4 in tests (#25435) 2024-03-26 11:41:12 +08:00
user_merger_spec.rb FEATURE: Merge user associated accounts, favouring the target user upon conflict (#26645) 2024-04-16 17:37:33 +08:00
user_notification_schedule_processor_spec.rb
user_password_expirer_spec.rb DEV: Avoid unique validation in `UserPasswordExpirer.expire_user_password` (#27343) 2024-06-05 15:22:40 +08:00
user_silencer_spec.rb
user_stat_count_updater_spec.rb
user_updater_spec.rb UX: Improvements to user tips (#26480) 2024-04-03 11:43:56 -04:00
username_changer_spec.rb
username_checker_service_spec.rb
wildcard_domain_checker_spec.rb
wildcard_url_checker_spec.rb
word_watcher_spec.rb