mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
9825bde811
* DEV: WIP generic bulk chat import support This first iteration implements bulk import for: * direct_messages * chat_channels * user_chat_channel_memberships * chat_threads * user_chat_thread_memberships * chat_messages * chat_reactions * chat_mentions * DEV: Refactor raw placeholder interpolation to support chat messages This change adds support for chat message placeholder interpolation and switches to using `Chat::Message.cook` for cooking in the interim instead of hand-cooking chat messages like we currently do for posts * DEV: Extend upload references import to support chat message uploads * DEV: Explicity set chat retention - Set both channel and dm chats to 0 - Add temporary workaround for testing only chat imports * DEV: Compute channel and thread membership metadata Compute and set various user channel/thread membership stats and remove hardcoded test index seed data * FIX: Fix chat reactions import Allow multiple reactions on a message by a user