catstodon/spec/controllers/admin
Claire 21a1a8ee88
Fix crash when marking statuses as sensitive while some statuses are deleted (#22134)
* Do not offer to mark statuses as sensitive if there is no undeleted status with media attachments

* Fix crash when marking statuses as sensitive while some statuses are deleted

Fixes #21910

* Fix multiple strikes being created for a single report when selecting “Mark as sensitive”

* Add tests
2023-01-13 10:46:52 +01:00
..
disputes Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
reports Fix crash when marking statuses as sensitive while some statuses are deleted (#22134) 2023-01-13 10:46:52 +01:00
settings Change settings area to be separated into categories in admin UI (#19407) 2022-10-22 11:44:41 +02:00
users Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
account_moderation_notes_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
accounts_controller_spec.rb Log admin approve and reject account (#22088) 2022-12-07 00:25:18 +01:00
action_logs_controller_spec.rb Fix admin action logs page (#19649) 2022-11-03 16:06:42 +01:00
base_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
change_email_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
confirmations_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
custom_emojis_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
dashboard_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
domain_allows_controller_spec.rb Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 2022-11-17 11:05:09 +01:00
domain_blocks_controller_spec.rb Fix changing domain block severity not undoing individual account effects (#22135) 2022-12-15 17:45:02 +01:00
email_domain_blocks_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
export_domain_allows_controller_spec.rb Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 2022-11-17 11:05:09 +01:00
export_domain_blocks_controller_spec.rb Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 2022-11-17 11:05:09 +01:00
instances_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
invites_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
report_notes_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
reports_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
resets_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
roles_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00
statuses_controller_spec.rb Fix style for hashes (#20518) 2022-11-17 11:05:39 +01:00
tags_controller_spec.rb Add customizable user roles (#18641) 2022-07-05 02:41:40 +02:00