discourse/plugins/chat/spec
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
..
components/chat DEV: more tests for mentions when updating chat messages (#21185) 2023-04-21 16:58:01 +04:00
fabricators DEV: Refactor STI/polymorphic associations in chat (#20789) 2023-04-17 15:41:56 +02:00
integration Revert "FEATURE: Better thread reply counter cache (#21108)" (#21192) 2023-04-20 15:09:47 -05:00
jobs Revert "FEATURE: Better thread reply counter cache (#21108)" (#21192) 2023-04-20 15:09:47 -05:00
lib DEV: Move channel creation for category into service (#21167) 2023-04-24 09:15:16 +10:00
mailers DEV: Skip channel-wide mention chat specs (#20770) 2023-03-22 12:44:01 +10:00
models Revert "FEATURE: Better thread reply counter cache (#21108)" (#21192) 2023-04-20 15:09:47 -05:00
queries/chat FIX: Do not count thread messages for channel unreads (#21126) 2023-04-19 08:53:51 +10:00
requests DEV: Move channel creation for category into service (#21167) 2023-04-24 09:15:16 +10:00
serializer FIX: Do not serialize thread data if threading disabled (#21107) 2023-04-17 14:29:06 +10:00
services DEV: Move channel creation for category into service (#21167) 2023-04-24 09:15:16 +10:00
support DEV: Move channel creation for category into service (#21167) 2023-04-24 09:15:16 +10:00
system FIX: Chat composer shortcuts should respect context (#21130) 2023-04-19 09:07:52 +10:00
validators DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
plugin_helper.rb FEATURE: Reacting to MessageBus in chat thread panel (#21070) 2023-04-13 14:45:50 +02:00
plugin_spec.rb UX: update chat icon to d-chat (#20744) 2023-03-21 10:40:42 -04:00