discourse/plugins/chat/app
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
..
controllers/chat DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
helpers/chat FEATURE: Mark all chat channels read with a shortcut (#20629) 2023-03-22 13:24:07 +10:00
jobs FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00
models FEATURE: Track last_viewed_at datetime for channel members (#22294) 2023-06-29 09:22:17 +10:00
policies DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
queries/chat FEATURE: Scroll to first message when clicking date in chat (#21926) 2023-06-20 15:58:38 +02:00
serializers/chat DEV: Use same excerpt everywhere in chat (#22319) 2023-06-29 09:20:20 +10:00
services DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
validators/chat DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
views