discourse/app
Andrei Prigorshnev be2eb3df44
FIX: user got notified about a mention inside a chat message quote (#24229)
When quoting a chat message in a post, if that message contains a mention, 
that mention should be ignored. But we've been detecting them and sending 
notifications to users. This PR fixes the problem. Since this fix is for 
the chat plugin, I had to introduce a new API for plugins:

    # We strip posts before detecting mentions, oneboxes, attachments etc. 
    # We strip those elements that shouldn't be detected. For example, 
    # a mention inside a quote should be ignored, so we strip it off. 
    # Using this API plugins can register their own post strippers. 
    def register_post_stripper(&block) 
    end
2023-11-08 23:13:25 +04:00
..
assets DEV: remove wrapping `span` from discovery-above (#24297) 2023-11-08 13:53:08 -05:00
controllers DEV: Standardize session confirmation prompt (#24212) 2023-11-07 11:26:10 -05:00
helpers DEV: remove markdown-it-bundle and custom build code (#23859) 2023-11-06 16:59:49 +00:00
jobs FIX: Deleting/recovering a post in topics caused bookmark side effects (#24226) 2023-11-07 12:54:05 +10:00
mailers FIX: Order tags shown in email subject by topics count and name (#22586) 2023-07-13 15:39:58 +08:00
models FIX: user got notified about a mention inside a chat message quote (#24229) 2023-11-08 23:13:25 +04:00
serializers FEATURE: Add custom fields to members on group index (#24232) 2023-11-07 10:06:47 -04:00
services FIX: Replace watched words with wildcards (#24279) 2023-11-08 18:51:11 +02:00
views DEV: Use WebPack stats plugin to map entrypoints to chunks (#24239) 2023-11-07 10:24:49 +00:00