discourse/plugins/chat/app/services/chat
Martin Brennan 3f1024de76
DEV: Refactor DM channel creation into new service pattern (#22144)
This will be used when we move the channel creation for DMs
to happen when we first send a message in a DM channel to avoid
a double-request. For now we can just have a new API endpoint
for creating this that the existing frontend code can use,
that uses the new service pattern.

This also uses the new policy pattern for services where the policy
can be defined in a class so a more dynamic reason for the policy
failing can be sent to the controller.

Co-authored-by: Loïc Guitaut <loic@discourse.org>
2023-07-03 10:18:37 +10:00
..
action FEATURE: Create and update thread memberships (#21501) 2023-05-11 14:35:26 +02:00
auto_remove
channel_view_builder.rb FEATURE: Track last_viewed_at datetime for channel members (#22294) 2023-06-29 09:22:17 +10:00
create_category_channel.rb FEATURE: allows to enable/disable threading in UI (#22307) 2023-06-29 07:19:12 +02:00
create_direct_message_channel.rb DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
lookup_channel_threads.rb FIX: Chat threads N1 (#22322) 2023-06-28 15:41:51 +10:00
lookup_thread.rb FEATURE: Sort thread list by unread threads first (#22272) 2023-06-28 13:14:01 +10:00
mark_all_user_channels_read.rb FEATURE: Initial chat thread unread indicators (#21694) 2023-05-25 09:56:19 +02:00
message_destroyer.rb FIX: Incorrect unread count shown in channel when message deleted (#21410) 2023-05-05 15:28:48 +02:00
publisher.rb FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00
restore_message.rb FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00
tracking_state.rb DEV: Chat API channel#show changes for threading (#21632) 2023-05-22 13:59:46 +02:00
trash_channel.rb
trash_message.rb FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00
update_channel_status.rb
update_channel.rb FEATURE: allows to enable/disable threading in UI (#22307) 2023-06-29 07:19:12 +02:00
update_thread_notification_settings.rb FEATURE: Allow users to manually track threads without replying (#22100) 2023-06-16 12:08:26 +10:00
update_thread.rb FEATURE: Thread list initial UI (#21412) 2023-05-10 11:42:32 +02:00
update_user_last_read.rb FEATURE: Track last_viewed_at datetime for channel members (#22294) 2023-06-29 09:22:17 +10:00
update_user_thread_last_read.rb FEATURE: Allow users to manually track threads without replying (#22100) 2023-06-16 12:08:26 +10:00