discourse/app/jobs
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
..
concerns DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
onceoff FIX: Fix Jobs::Onceoff.enqueue_all undefined method for nilClass error (#28073) 2024-07-25 15:52:42 +08:00
regular FEATURE: Support designating multiple groups as mods on category (#28655) 2024-09-04 04:38:46 +03:00
scheduled FIX: Ensure JsLocaleHelper to not output deprecated translations (#28037) 2024-07-29 15:21:25 +08:00
base.rb FIX: chat mailer log noise (#28616) 2024-08-29 11:39:08 -03:00