discourse/app
Alan Guo Xiang Tan b00e160dae
PERF: Don't parse posts for mentions when user status is disabled (#19915)
Prior to this change, we were parsing `Post#cooked` every time we
serialize a post to extract the usernames of mentioned users in the
post. However, the only reason we have to do this is to support
displaying a user's status beside each mention in a post on the client side when
the `enable_user_status` site setting is enabled. When
`enable_user_status` is disabled, we should avoid having to parse
`Post#cooked` since there is no point in doing so.
2023-01-20 07:58:00 +08:00
..
assets FEATURE: Allow admins to permanently delete revisions (#19913) 2023-01-19 15:09:01 -06:00
controllers FEATURE: Allow admins to permanently delete revisions (#19913) 2023-01-19 15:09:01 -06:00
helpers FEATURE: Show more context in Discourse topic oneboxes 2023-01-11 14:22:53 +01:00
jobs DEV: extract anniversary badge query (#19716) 2023-01-16 11:55:00 +01:00
mailers DEV: Apply syntax_tree formatting to `app/*` 2023-01-09 14:14:59 +00:00
models FEATURE: Allow admins to permanently delete revisions (#19913) 2023-01-19 15:09:01 -06:00
serializers PERF: Don't parse posts for mentions when user status is disabled (#19915) 2023-01-20 07:58:00 +08:00
services FEATURE: Allow admins to permanently delete revisions (#19913) 2023-01-19 15:09:01 -06:00
views FEATURE: Show more context in Discourse topic oneboxes 2023-01-11 14:22:53 +01:00