docbrown/spec/requests
Jeremy Friesen d499a3727c
Ensuring only privileged users may give certain reactions (#17632)
There are 2 things going on in this pull request:

1. Reducing duplication of knowledge, by favoring constants found in
   Reaction.
2. Creating and enforcing the policies regarding the different
   categories of reactions.

I chose to conflate these two as I was working on developing the
ReactionPolicy's finder method.

Closes forem/forem-internal-eng#454
Related to forem/forem#17628
2022-05-10 16:13:23 -04:00
..
admin Update the Sidebar to include the Member Manager (#17538) 2022-05-05 12:46:47 +02:00
api/v0 Adding ID to API organization response document (#17600) 2022-05-09 09:20:44 -04:00
articles Add minimal test on rss feed response (#17221) 2022-04-12 16:59:40 -05:00
incoming_webhooks/mailchimp Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
notifications
podcasts Refactoring questions asked of user (#15762) 2021-12-21 12:45:12 -05:00
shared_examples Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
stories Removing unused feature flag reference (#17516) 2022-04-29 12:14:34 -04:00
user Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
api_secrets_create_spec.rb
api_secrets_destroy_spec.rb
article_approvals_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
async_info_spec.rb Remove Creator Onboarding Feature Flags from Codebase (#15982) 2022-01-31 11:30:43 -07:00
badges_spec.rb
collections_spec.rb Show correct number in series truncation. (#13799) 2021-05-24 15:47:06 -06:00
comments_create_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
comments_destroy_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
comments_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
comments_update_spec.rb
credits_spec.rb
dashboard_spec.rb Ensuring the same policies for analytics (#16997) 2022-03-25 14:57:01 -04:00
devices_spec.rb ForemMobile namespaced functions (#15212) 2021-11-23 15:25:29 -06:00
discussion_locks_spec.rb Spelling (#15702) 2021-12-07 06:59:10 -07:00
display_ad_events_spec.rb Extracting constants and tidying tests (#15946) 2022-01-05 09:19:39 -05:00
editor_spec.rb Ensuring /new remains a call to action end point for DEV (#17294) 2022-04-14 14:50:40 -04:00
email_subscriptions_spec.rb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
feedback_messages_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
followings_spec.rb Refactoring to add helper method (#16064) 2022-01-12 11:21:44 -05:00
follows_bulk_show_spec.rb Spelling (#15702) 2021-12-07 06:59:10 -07:00
follows_bulk_update_spec.rb Update all followed tag with one click (#11454) 2021-01-05 16:15:37 +01:00
follows_create_spec.rb Clear the cached settings before testing the rate limiter (#13669) 2021-05-05 14:34:22 -05:00
follows_show_spec.rb
ga_events_spec.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
github_repos_spec.rb ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
html_variant_successes_spec.rb
html_variant_trials_spec.rb
image_uploads_spec.rb Refactor:Change Image Article Upload Path to uploads/articles (#12668) 2021-02-15 11:52:00 -06:00
invitations_spec.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
liquid_embeds_spec.rb Move work from template to controller (#16092) 2022-01-18 11:21:25 -05:00
liquid_tags_request_spec.rb
listings_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
moderations_spec.rb Spelling (#15702) 2021-12-07 06:59:10 -07:00
notification_counts_spec.rb
notification_subscriptions_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
notifications_spec.rb Rename User.dev_account to User.staff_account (#14321) 2021-07-26 10:46:26 -04:00
onboardings_spec.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
open_search_spec.rb Clean up SiteConfig (#13738) 2021-05-18 09:38:31 +07:00
organizations_update_spec.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
page_views_spec.rb Extract page view updates into workers (#12686) 2021-02-17 09:24:05 +07:00
pages_spec.rb Remove hardcoded /badge page that is DEV-only ✂️✂️✂️ (#16303) 2022-01-27 13:29:05 -05:00
poll_skips_spec.rb
poll_votes_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
profile_field_groups_request_spec.rb Deployment Task: Update onboarding fields prior to #11629 (#11704) 2020-12-07 14:57:18 -05:00
profile_pins_spec.rb
profile_preview_cards_spec.rb Profile attribute names should be unique and non-empty (#16396) 2022-04-04 12:14:02 -05:00
profiles_request_spec.rb Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
rating_votes_spec.rb
reactions_spec.rb Ensuring only privileged users may give certain reactions (#17632) 2022-05-10 16:13:23 -04:00
reading_list_items_spec.rb
registrations_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
response_templates_spec.rb
search_spec.rb validate sort direction (#17439) 2022-04-27 08:59:13 -05:00
sidebars_spec.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
sitemaps_spec.rb Fix legacy sitemap logic (#14926) 2021-10-07 08:59:16 -04:00
social_previews_spec.rb Remove SheCoded Specific Code (#13363) 2021-04-12 11:04:58 -07:00
stories_index_spec.rb Use the canonical URLs to link from sorted pages (#16928) 2022-03-22 14:51:36 +00:00
stories_show_spec.rb Moved setting old_username from before_validation to Users::Update (#15782) 2021-12-20 11:08:09 +03:00
stripe_active_cards_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
tag_adjustments_spec.rb
tags_spec.rb Add ability to bulk search tags by name or id (#16671) 2022-02-24 12:34:50 -05:00
universal_links_spec.rb Add exclusion to AASA supported paths (#14593) 2021-08-26 10:17:39 -06:00
user_blocks_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
user_subscriptions_spec.rb Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
users_onboarding_spec.rb Refactor OnboardingsController (#17329) 2022-04-27 16:17:02 -04:00
video_states_update_spec.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
videos_spec.rb Ensuring VideoPolicy#new? is canonical (#16735) 2022-03-01 11:46:31 -05:00