discourse/spec/requests
Juan David Martínez Cubillos 5072615290
FEATURE: Add the group show endpoint to search groups by id instead of only the slug name (#32442)
**Description**
As part of a customer request, we have added the option to search groups
by ID when doing API calls. However, in doing so we have decided to
correct the confusion around the group's routes. Previously the route
would look like `g/:id` while taking the `name` of the group as the
param. For example, when getting a group the route would be like this:

```
GET /g/admins
```

This would make the code in the controller seem as if it was handling
the group IDs instead of names. With these changes, this should be
addressed.
2025-05-13 14:22:06 -05:00
..
admin PERF: Improve performance of the new themes listing page (#32641) 2025-05-08 19:18:07 +03:00
api FEATURE: Add the group show endpoint to search groups by id instead of only the slug name (#32442) 2025-05-13 14:22:06 -05:00
examples
about_controller_spec.rb FIX: crawler view with unicode usernames (#27051) 2024-05-16 17:11:24 +02:00
application_controller_spec.rb Revert "DEV: Show login-required screen in root route (#32350)" (#32562) 2025-05-02 11:50:43 -04:00
associate_accounts_controller_spec.rb
badges_controller_spec.rb
bookmarks_controller_spec.rb DEV: Call Discourse.redis.flushdb after the end of each test (#29117) 2024-10-09 07:19:31 +08:00
categories_controller_spec.rb FIX: Don't null out category attributes if no param keys (#32483) 2025-04-28 11:28:23 +08:00
clicks_controller_spec.rb
composer_controller_spec.rb
composer_messages_controller_spec.rb
csp_reports_controller_spec.rb DEV: Don’t replace Rails logger in specs (#29721) 2024-11-13 08:47:39 +08:00
custom_homepage_controller_spec.rb DEV: Fix custom homepage crawler display and override (#31841) 2025-03-17 13:06:09 -04:00
default_headers_spec.rb DEV: Disallow the use of `Rails.logger=` in RSpec tests (#31920) 2025-03-21 08:48:38 +08:00
directory_columns_controller_spec.rb
directory_items_controller_spec.rb FIX: Allow user directory searches to return more than 20 matching results (#31032) 2025-01-29 11:02:42 -04:00
do_not_disturb_controller_spec.rb
drafts_controller_spec.rb FIX: corrently handle hidden tags when checking for edit conflicts 2024-12-09 19:17:16 +01:00
edit_directory_columns_controller_spec.rb
email_controller_spec.rb
embed_controller_spec.rb DEV: Upgrade Rails to version 7.1 2024-07-04 10:58:21 +02:00
emojis_controller_spec.rb DEV: explicit json for emojis/search-aliases (#31582) 2025-03-03 15:21:16 +01:00
exceptions_controller_spec.rb
export_csv_controller_spec.rb FEATURE: Allow admins to export users (#30918) 2025-01-24 08:13:25 +11:00
extra_locales_controller_spec.rb DEV: Clear extra-locales cache between tests (#31488) 2025-02-24 22:10:43 +00:00
finish_installation_controller_spec.rb
form_templates_controller_spec.rb DEV: fix form template flaky (#32360) 2025-04-17 19:54:38 -03:00
forums_controller_spec.rb
groups_controller_spec.rb FEATURE: Add the group show endpoint to search groups by id instead of only the slug name (#32442) 2025-05-13 14:22:06 -05:00
hashtags_controller_spec.rb FEATURE: add icons and emojis to category (#31795) 2025-03-26 09:46:17 +04:00
highlightjs_controller_spec.rb
inline_onebox_controller_spec.rb SECURITY: Limit /inline-onebox to 10 URLs at a time 2025-02-04 13:32:53 -03:00
invites_controller_spec.rb FIX: automatically redirect logged in users to topic when... (#31301) 2025-02-12 17:48:59 +01:00
list_controller_spec.rb DEV: Add per_page as public param for TopicQuery (#30716) 2025-01-14 09:19:19 -06:00
metadata_controller_spec.rb DEV: Add support for `.well-known/apple-app-site-association` (#31798) 2025-03-13 10:49:47 -04:00
net_http_header_spec.rb DEV: Add a user agent to all HTTP requests that Discourse makes. (#31555) 2025-03-03 16:32:25 +11:00
net_http_timeout_spec.rb FIX: Set sane default for `Net::HTTP` when processing a request (#28141) 2024-08-06 07:12:42 +08:00
noscript_escape_spec.rb
notifications_controller_spec.rb Add dedicated user_api_key_clients table to allow for 1:many use cases (#28119) 2024-11-08 12:05:03 -05:00
offline_controller_spec.rb
omniauth_callbacks_controller_spec.rb FEATURE: Allow admins to opt-in to seamless redirects on `/auth/*` (#31235) 2025-02-07 11:43:39 +00:00
onebox_controller_spec.rb
permalinks_controller_spec.rb FIX: `Permalink.create` didn't work as expected anymore (#29895) 2024-11-22 21:11:26 +01:00
post_action_users_controller_spec.rb
post_actions_controller_spec.rb
post_localizations_controller_spec.rb FEATURE: Add translations to posts (#32564) 2025-05-08 10:40:36 -07:00
post_readers_controller_spec.rb
posts_controller_spec.rb FIX: Ensure ordering is enforced in `PostsController#replies` (#31826) 2025-03-14 17:56:26 +08:00
presence_controller_spec.rb DEV: Call Discourse.redis.flushdb after the end of each test (#29117) 2024-10-09 07:19:31 +08:00
published_pages_controller_spec.rb
push_notification_controller_spec.rb
qunit_controller_spec.rb DEV: Fix broken `request/qunit_controller_spec.rb` (#32376) 2025-04-21 13:46:25 +08:00
reviewable_claimed_topics_controller_spec.rb DEV: Don't allow context-free system post destruction (#32523) 2025-05-05 09:58:29 +08:00
reviewables_controller_spec.rb FEATURE: Allow rejected user details to be scrubbed (#31987) 2025-03-31 12:40:35 +11:00
robots_txt_controller_spec.rb
safe_mode_controller_spec.rb DEV: Compile 'common' CSS into own assets (#31416) 2025-05-01 10:44:49 +01:00
search_controller_spec.rb Revert "DEV: Prevent crawlers from loading search results. (#31535)" (#31540) 2025-02-27 10:34:18 +01:00
session_controller_spec.rb DEV: better error message when "becoming" an inactive user (#32689) 2025-05-13 11:10:12 +02:00
sidebar_sections_controller_spec.rb DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00
similar_topics_controller_spec.rb
site_controller_spec.rb DEV: Introduce stylelint (#29852) 2025-01-20 15:27:42 +00:00
sitemap_controller_spec.rb
slugs_controller_spec.rb DEV: Call Discourse.redis.flushdb after the end of each test (#29117) 2024-10-09 07:19:31 +08:00
static_controller_spec.rb DEV: Stop using sprockets to compile service-worker js (#31796) 2025-03-13 12:49:33 +00:00
steps_controller_spec.rb
stylesheets_controller_spec.rb
svg_sprite_controller_spec.rb DEV: enable raise_error in test envs for deprecated icons in svg_sprite.rb (#30980) 2025-02-04 21:21:20 +08:00
tag_groups_controller_spec.rb FEATURE: Log tag group changes in staff action log (#28787) 2024-09-09 10:50:48 +08:00
tags_controller_spec.rb FIX: redirect to parent tag when synonym page visited (#31688) 2025-03-10 09:45:38 +11:00
theme_javascripts_controller_spec.rb
topic_localizations_controller_spec.rb FEATURE: Add translations to posts (#32564) 2025-05-08 10:40:36 -07:00
topic_view_stats_controller_spec.rb FEATURE: topic_view_stats table with daily fidelity (#27197) 2024-05-27 15:25:32 +10:00
topics_controller_spec.rb DEV: Don't allow context-free system post destruction (#32523) 2025-05-05 09:58:29 +08:00
uploads_controller_multisite_spec.rb DEV: Upgrade Rails to version 7.1 2024-07-04 10:58:21 +02:00
uploads_controller_spec.rb FIX: Extension-less secure uploads (#29914) 2024-11-25 12:18:21 +00:00
user_actions_controller_spec.rb FEATURE: Restrict profile visibility of low-trust users (#29981) 2024-12-09 13:07:59 +03:00
user_api_key_clients_controller_spec.rb Add user api key client rate limit settings (#30402) 2024-12-30 11:10:48 -05:00
user_api_keys_controller_spec.rb Require permitted scopes when registering a client (#29718) 2024-11-19 15:28:04 -05:00
user_avatars_controller_spec.rb
user_badges_controller_spec.rb FIX: error when trying to un-favorite badge (#32369) 2025-04-22 15:36:48 +08:00
user_status_controller_spec.rb DEV: discourse-emojis gem (#31408) 2025-03-03 13:09:08 +01:00
users_controller_spec.rb Don't require password to create users with previous authentication (#32201) 2025-04-15 10:35:49 -05:00
users_email_controller_spec.rb DEV: Fix flaky users_email_controller_spec test case (#30318) 2024-12-17 18:20:01 +08:00
webhooks_controller_spec.rb FIX: No method error in `WebhooksController#sendgrid` (#31495) 2025-02-25 13:08:59 +08:00
wizard_controller_spec.rb