discourse/plugins/chat/app/models/chat
Joffrey JAFFEUX ab832cc865
FEATURE: introduces group channels (#24288)
Group channels will allow users to create channels with a name and invite people. It's possible to add people even after creation of the channel. Removing users is not yet possible but will be added in the near future.

Technically a group channel is `direct_message_channel` with a group attribute set to true on its direct message (chatable). This model might evolve in the future but offers much flexibility for now without having to rely on a complex migration.

The commit essentially consists of:
- a migration to set existing direct message channels with more than 2 users to a group
- a new message creator which allows to search, add members, and create groups
- a new `AddUsersToChannel` service
- a modified `SearchChatable` service
2023-11-10 11:29:28 +01:00
..
category_channel.rb FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
channel.rb FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
channel_archive.rb DEV: add maxlength to additional chat text columns (#23505) 2023-09-12 14:52:50 +08:00
direct_message.rb FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
direct_message_channel.rb FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
direct_message_user.rb
draft.rb
incoming_webhook.rb DEV: add maxlength to additional chat text columns (#23505) 2023-09-12 14:52:50 +08:00
mention.rb
message.rb FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
message_reaction.rb DEV: add maxlength to additional chat text columns (#23505) 2023-09-12 14:52:50 +08:00
message_revision.rb DEV: add maxlength limits to chat messages and revisions (#23530) 2023-09-12 18:02:04 +08:00
null_message.rb FIX: ensures an empty last message won't cause errors (#23647) 2023-09-25 12:43:04 +02:00
null_user.rb FIX: ensures an empty last message won't cause errors (#23647) 2023-09-25 12:43:04 +02:00
reviewable_message.rb DEV: add maxlength to additional chat text columns (#23505) 2023-09-12 14:52:50 +08:00
separate_sidebar_mode_site_setting.rb FEATURE: implements user based sidebar mode (#23078) 2023-08-18 20:33:07 +02:00
thread.rb FIX: ensures an empty last message won't cause errors (#23647) 2023-09-25 12:43:04 +02:00
threads_view.rb UI: refines thread list item (#23207) 2023-08-24 18:45:20 +02:00
tracking_state_report.rb FEATURE: Show unread in sidebar for unread channel threads (#22342) 2023-07-17 13:00:49 +10:00
user_chat_channel_membership.rb FEATURE: Track last_viewed_at datetime for channel members (#22294) 2023-06-29 09:22:17 +10:00
user_chat_thread_membership.rb FIX: Backfill chat thread memberships (#21971) 2023-06-14 13:54:51 +10:00
webhook_event.rb