discourse/plugins/chat/spec/support
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
..
api/schemas DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
examples DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
api_schema_matcher.rb DEV: Enable unless cops 2023-02-21 10:30:48 +01:00
chat_service_matcher.rb FEATURE: Thread list initial UI (#21412) 2023-05-10 11:42:32 +02:00