discourse/spec/services
Ted Johansson 928a6cd143
FIX: Delete fast typer reviewable when deleting user (#23162)
In most cases, deleting a user from outside the review UI will also delete any pending reviewables for that user. This was not working in some cases, e.g. for reviewables created due to "fast typer" violations.

This was happening because UserDestroyer only automatically resolves flagged posts.

After this change, in addition to existing checks, look for ReviewablePost where the post was created by the user and reject them if present.
2023-08-21 18:03:03 +08:00
..
notifications DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
anonymous_shadow_creator_spec.rb
auto_silence_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
badge_granter_spec.rb
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 DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
email_settings_validator_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
email_style_updater_spec.rb
external_upload_manager_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
flag_sockpuppets_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
group_action_logger_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
group_mentions_updater_spec.rb
group_message_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
hashtag_autocomplete_service_spec.rb DEV: Remove enable_experimental_hashtag_autocomplete logic (#22820) 2023-08-08 11:18:55 +10:00
heat_settings_updater_spec.rb
inline_uploads_multisite_spec.rb
inline_uploads_spec.rb
notification_emailer_spec.rb
post_action_notifier_spec.rb
post_alerter_spec.rb DEV: Remove enable_experimental_hashtag_autocomplete logic (#22820) 2023-08-08 11:18:55 +10:00
post_bookmarkable_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
post_owner_changer_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
push_notification_pusher_spec.rb
random_topic_selector_spec.rb
search_indexer_spec.rb
sidebar_site_settings_backfiller_spec.rb
site_settings_spec.rb
staff_action_logger_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
tag_hashtag_data_source_spec.rb DEV: Introduce enabled? API to hashtag data sources (#22632) 2023-07-18 09:39:01 +10:00
themes_spec.rb
topic_bookmarkable_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
topic_status_updater_spec.rb
topic_summarization_spec.rb FIX: TopicSummarization workaround for Postgres' discrete range types (#23105) 2023-08-15 14:16:06 -03:00
topic_timestamp_changer_spec.rb
trust_level_granter_spec.rb
user_activator_spec.rb
user_anonymizer_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
user_authenticator_spec.rb
user_destroyer_spec.rb FIX: Delete fast typer reviewable when deleting user (#23162) 2023-08-21 18:03:03 +08:00
user_merger_spec.rb
user_notification_schedule_processor_spec.rb
user_silencer_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
user_stat_count_updater_spec.rb
user_updater_spec.rb
username_changer_spec.rb
username_checker_service_spec.rb
wildcard_domain_checker_spec.rb
wildcard_url_checker_spec.rb
word_watcher_spec.rb