discourse/app
Ted Johansson e364ed2ad1
FIX: Disallow all client-side routing when action is required (#27817)
When a user action is required and enforced, such as filling up newly added required fields or adding a 2FA method, we disable routing on the client-side. However, this could be bypassed by first loading an always allowed page, such as /faq and then client-side routing away from there.

This commit fixes that by 1) moving the logic for checking if routing is restricted and if a given path is allowed into a service and 2) hoisting the willTransition hook into the application router and use the newly created service to check whether to abort transitions or not.
2024-07-10 13:33:52 +08:00
..
assets FIX: Disallow all client-side routing when action is required (#27817) 2024-07-10 13:33:52 +08:00
controllers DEV: Remove old defer_track_visit_v2 method (#27812) 2024-07-10 11:40:45 +10:00
helpers DEV: update base url links to respect subfolder installs (#27740) 2024-07-09 12:42:38 +04:00
jobs FEATURE: Add Mechanism to redeliver all failed webhook events (#27609) 2024-07-08 15:43:16 -05:00
mailers FIX: correctly compute the window for email summaries 2024-05-27 22:33:51 +02:00
models FEATURE: Topic view stats report (#27760) 2024-07-09 15:39:10 +10:00
serializers FEATURE: Add Mechanism to redeliver all failed webhook events (#27609) 2024-07-08 15:43:16 -05:00
services DEV: replace imagemagick convert commands with magick (#27767) 2024-07-08 16:55:59 +08:00
views FIX: deleted topic author in crawler view (#27788) 2024-07-09 10:44:03 +02:00