discourse/script/bulk_import
Selase Krakani 9825bde811
DEV: Generic bulk chat import support (#28697)
* 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
2024-10-08 11:55:30 +00:00
..
base.rb DEV: Generic bulk chat import support (#28697) 2024-10-08 11:55:30 +00:00
discourse_merger.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
generic_bulk.rb DEV: Generic bulk chat import support (#28697) 2024-10-08 11:55:30 +00:00
phpbb_postgresql.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
uploads_importer.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
uploads_importer.yml DEV: Uploads import script can download files (#26816) 2024-05-04 22:48:16 +02:00
vanilla.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
vbulletin.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
vbulletin5.rb DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00