discourse/app
Blake Erickson 61248652cd
DEV: Allow params to be passed on topic redirects (#16218)
* DEV: Allow params to be passed on topic redirects

There are several places where we redirect a url to a standard topic url
like `/t/:slug/:topic_id` but we weren't always passing query parameters
to the new url.

This change allows a few more query params to be included on the
redirect. The new params that are permitted are page, print, and
filter_top_level_replies. Any new params will need to be specified.

This also prevents the odd trailing empty page param that would
sometimes appear on a redirect. `/t/:slug/:id.json?page=`

* rubocop: fix missing space after comma

* fix another page= reference
2022-03-17 19:27:51 -06:00
..
assets FEATURE: Allow users to paste animated gifs into composer (#16204) 2022-03-17 10:47:54 -03:00
controllers DEV: Allow params to be passed on topic redirects (#16218) 2022-03-17 19:27:51 -06:00
helpers FEATURE: use canonical links in posts.rss feed (#16190) 2022-03-15 20:17:06 +11:00
jobs DEV: Log more when verbose_upload_logging is enabled (#16177) 2022-03-15 23:55:05 +02:00
mailers FEATURE: Allow sending group SMTP emails with from alias (#15687) 2022-02-07 13:52:01 +10:00
models DEV: Reserve assigned notification type (#16207) 2022-03-16 17:08:10 -03:00
serializers FEATURE: Highlight expired bookmark reminders (#15317) 2022-03-08 19:44:18 +02:00
services FIX: Update group inbox notifications on archive/unarchive (#16152) 2022-03-11 11:57:47 +01:00
views FEATURE: use canonical links in posts.rss feed (#16190) 2022-03-15 20:17:06 +11:00