discourse/spec/requests
Selase Krakani 87ebbec9b2
FIX: Pending post deletion by creator ()
`ReviewableQueuedPost` got refactored a while back to use the more
appropriate `target_created_by` for the user of the post being queued
instead of `created_by`. The change was not extended to the `DELETE
/review/:id` endpoint leading to error responses for a user attempting
to deleting their own queued post.

This fix extends the `Reviewable` lookup implementation in
`ReviewablesController#destroy` and Guardian implementation to account
for this change.
2023-08-18 15:30:59 +00:00
..
admin SECURITY: Impose a upper bound on limit params in various controllers 2023-07-28 12:53:46 +01:00
api DEV: Fix user update api docs () 2023-08-09 16:56:10 -06:00
examples SECURITY: Impose a upper bound on limit params in various controllers 2023-07-28 12:53:46 +01:00
about_controller_spec.rb
application_controller_spec.rb SECURITY: Don't reuse CSP nonce between anonymous requests 2023-07-28 12:53:44 +01:00
associate_accounts_controller_spec.rb
badges_controller_spec.rb
bookmarks_controller_spec.rb DEV: Remove Discourse.redis.delete_prefixed () 2023-06-16 12:44:35 +10:00
bootstrap_controller_spec.rb DEV: Eliminate flakiness in specs that depend on plugins from fixtures () 2023-06-05 08:06:00 +08:00
categories_controller_spec.rb DEV: Switch over category settings to new table - Part 2 () 2023-08-04 10:53:22 +08:00
clicks_controller_spec.rb
composer_controller_spec.rb
composer_messages_controller_spec.rb
csp_reports_controller_spec.rb
directory_columns_controller_spec.rb DEV: Refactored and moved Edit Directory Column tests out of directory_columns_controller_spec () 2023-06-08 18:00:01 -05:00
directory_items_controller_spec.rb FIX: Validate page/limit params for directory, user-badges and groups () 2023-07-31 15:00:05 +01:00
do_not_disturb_controller_spec.rb
drafts_controller_spec.rb SECURITY: Impose a upper bound on limit params in various controllers 2023-07-28 12:53:46 +01:00
edit_directory_columns_controller_spec.rb DEV: Refactored and moved Edit Directory Column tests out of directory_columns_controller_spec () 2023-06-08 18:00:01 -05:00
email_controller_spec.rb
embed_controller_spec.rb FEATURE: Serve RTL versions of admin and plugins CSS bundles for RTL locales () 2023-06-01 05:27:11 +03:00
exceptions_controller_spec.rb
export_csv_controller_spec.rb
extra_locales_controller_spec.rb
finish_installation_controller_spec.rb
form_templates_controller_spec.rb DEV: Remove setting explicit `id` on Fabricated property () 2023-05-30 09:34:01 -07:00
forums_controller_spec.rb
groups_controller_spec.rb FIX: Validate page/limit params for directory, user-badges and groups () 2023-07-31 15:00:05 +01:00
hashtags_controller_spec.rb DEV: Remove enable_experimental_hashtag_autocomplete logic () 2023-08-08 11:18:55 +10:00
inline_onebox_controller_spec.rb
invites_controller_spec.rb SECURITY: Handle concurrent invite accepts 2023-07-28 12:53:48 +01:00
list_controller_spec.rb FEATURE: New topics vs replies toggle for the new new view () 2023-08-18 12:44:04 +08:00
metadata_controller_spec.rb
notifications_controller_spec.rb SECURITY: Impose a upper bound on limit params in various controllers 2023-07-28 12:53:46 +01:00
offline_controller_spec.rb
omniauth_callbacks_controller_spec.rb
onebox_controller_spec.rb
permalinks_controller_spec.rb
post_action_users_controller_spec.rb SECURITY: Impose a upper bound on limit params in various controllers 2023-07-28 12:53:46 +01:00
post_actions_controller_spec.rb
post_readers_controller_spec.rb
posts_controller_spec.rb SECURITY: Impose a upper bound on limit params in various controllers 2023-07-28 12:53:46 +01:00
presence_controller_spec.rb
published_pages_controller_spec.rb
push_notification_controller_spec.rb
qunit_controller_spec.rb
reviewable_claimed_topics_controller_spec.rb
reviewables_controller_spec.rb FIX: Pending post deletion by creator () 2023-08-18 15:30:59 +00:00
robots_txt_controller_spec.rb
safe_mode_controller_spec.rb
search_controller_spec.rb FIX: Search by tag context was broken () 2023-08-08 15:15:34 -04:00
session_controller_spec.rb WIP: Rename Webauthn to DiscourseWebauthn () 2023-08-18 08:39:10 -04:00
sidebar_sections_controller_spec.rb SECURITY: limit amount of links in custom sidebar section () 2023-07-11 15:25:01 -06:00
similar_topics_controller_spec.rb DEV: Disable SearchIndexer after fabrication () 2023-05-04 09:20:52 +08:00
site_controller_spec.rb
sitemap_controller_spec.rb
slugs_controller_spec.rb DEV: Remove Discourse.redis.delete_prefixed () 2023-06-16 12:44:35 +10:00
static_controller_spec.rb DEV: Avoid leaking new site setting states in test environment () 2023-05-25 07:53:57 +08:00
steps_controller_spec.rb
stylesheets_controller_spec.rb DEV: Eliminate flakiness in specs that depend on plugins from fixtures () 2023-06-05 08:06:00 +08:00
svg_sprite_controller_spec.rb DEV: Avoid multiple fabrications in spec () 2023-05-17 14:28:31 +08:00
tag_groups_controller_spec.rb SECURITY: Impose a upper bound on limit params in various controllers 2023-07-28 12:53:46 +01:00
tags_controller_spec.rb SECURITY: Impose a upper bound on limit params in various controllers 2023-07-28 12:53:46 +01:00
theme_javascripts_controller_spec.rb
topics_controller_spec.rb FIX: TopicSummarization workaround for Postgres' discrete range types () 2023-08-15 14:16:06 -03:00
uploads_controller_multisite_spec.rb
uploads_controller_spec.rb DEV: Remove Discourse.redis.delete_prefixed () 2023-06-16 12:44:35 +10:00
user_actions_controller_spec.rb
user_api_keys_controller_spec.rb
user_avatars_controller_spec.rb FEATURE: reduce avatar sizes to 6 from 20 () 2023-06-01 10:00:01 +10:00
user_badges_controller_spec.rb FIX: Validate page/limit params for directory, user-badges and groups () 2023-07-31 15:00:05 +01:00
user_status_controller_spec.rb
users_controller_spec.rb WIP: Rename Webauthn to DiscourseWebauthn () 2023-08-18 08:39:10 -04:00
users_email_controller_spec.rb DEV: Remove Discourse.redis.delete_prefixed () 2023-06-16 12:44:35 +10:00
webhooks_controller_spec.rb FEATURE: Add Mailpace webhook () 2023-06-08 20:06:20 +03:00
wizard_controller_spec.rb