discourse/plugins/chat/spec/support
Martin Brennan 21f93731a3
DEV: Move channel creation for category into service (#21167)
This commit moves the category channel creation out
of the Chat::Api::Channel controller and into a
dedicated CreateCategoryChannel service. A follow up
commit will move the DM channel creation out of
the old DirectMessageChannelCreator service.

Also includes a new on_model_errors helper
for chat service class usage, that collects model
validation errors to present in a nice way.

---------

Co-authored-by: Loïc Guitaut <loic@discourse.org>
2023-04-24 09:15:16 +10:00
..
api/schemas DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01: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_helper.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
chat_service_matcher.rb DEV: Move channel creation for category into service (#21167) 2023-04-24 09:15:16 +10:00