discourse/plugins/chat/app
Loïc Guitaut e94707acdf DEV: Drop WithServiceHelper
This patch removes the `with_service` helper from the code base.
Instead, we can pass a block with actions directly to the `.call` method
of a service.

This simplifies how to use services:
- use `.call` without a block to run the service and get its result
  object.
- use `.call` with a block of actions to run the service and execute
  arbitrary code depending on the service outcome.

It also means a service is now “self-contained” and can be used anywhere
without having to include a helper or whatever.
2024-09-05 09:58:20 +02:00
..
controllers/chat DEV: Drop WithServiceHelper 2024-09-05 09:58:20 +02:00
jobs DEV: Drop WithServiceHelper 2024-09-05 09:58:20 +02:00
models UX: Update Chat Group Name and Placeholder (#28703) 2024-09-04 15:52:23 +10:00
policies DEV: Migrate Chat::MessageCreator to a service (#22390) 2023-09-07 08:57:29 +02:00
queries/chat FEATURE: Add ability to watch chat threads (#28639) 2024-09-02 16:45:55 +04:00
serializers/chat fix: allow staff and direct message enabled groups to create personal chats 2024-06-25 12:17:22 +02:00
services/chat FEATURE: Add ability to watch chat threads (#28639) 2024-09-02 16:45:55 +04:00
validators/chat FIX: Remove chat default channel setting (#28170) 2024-07-31 14:12:10 -03:00
views PERF: fix performance of chat email notifications 2024-06-10 14:25:06 +02:00