discourse/plugins
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
..
automation FIX: ensures global notices are destroyed on post created (#28684) 2024-09-02 21:17:10 +02:00
chat DEV: Drop `WithServiceHelper` 2024-09-05 09:58:20 +02:00
checklist Update translations (#28682) 2024-09-02 18:00:43 +02:00
discourse-details FIX: allow quote-less details BBCode 2024-06-24 14:16:36 +02:00
discourse-lazy-videos Update translations (#28577) 2024-08-29 15:37:52 -04:00
discourse-local-dates DEV: Refactor complex initializers into classes (#28661) 2024-09-02 10:08:07 +01:00
discourse-narrative-bot Update translations (#28705) 2024-09-03 11:46:50 -04:00
discourse-presence FEATURE: Support designating multiple groups as mods on category (#28655) 2024-09-04 04:38:46 +03:00
footnote Update translations (#28577) 2024-08-29 15:37:52 -04:00
poll DEV: Remove widget wrapper from poll plugin (#28666) 2024-09-04 09:38:22 +01:00
spoiler-alert Update translations (#28682) 2024-09-02 18:00:43 +02:00
styleguide Update translations (#28682) 2024-09-02 18:00:43 +02:00