mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
This is to help generate random channels and chat
messages for local dev. This was removed in 12a18d4d553b6c11a7f45f686ab699aa72c3312f
presumably because it was not worth refactoring at the
time.
I've only added these tasks:
- `rake chat:message:populate\[113,20\]` (channel_id, count)
- Generates the count of messages for a channel ID provided,
otherwise uses a random channel and 200 count.
- `rake chat:category_channel:populate`
- Creates a chat channel for a random category.
- `rake chat🧵populate\[132,5\]` (channel_id, message_count)
- Creates a thread with N messages in the specified channel,
and enables threading in that channel if necessary