global "Run now" scheduler button on new Settings page (v1.3)

This commit is contained in:
2026-07-08 16:09:06 -03:00
parent d02f49e293
commit c74a52346c
5 changed files with 63 additions and 2 deletions

View File

@@ -20,6 +20,10 @@ class Plugin extends Base
// Board card icon: black on a recurring template, white (inverse) on a generated copy.
$this->template->hook->attach('template:board:task:icons', 'recoReco:board/task_icon');
// Global settings page (Settings -> RecoReco) with a manual "Run now" button that triggers
// the same scheduler pass as cron. Admin-only for free via the shared 'ConfigController' ACL.
$this->template->hook->attach('template:config:sidebar', 'recoReco:config/sidebar');
// The scheduling engine runs from the CLI (cron). Registered CLI-only so web requests do
// not build the console app.
if (php_sapi_name() === 'cli') {
@@ -51,7 +55,7 @@ class Plugin extends Base
public function getPluginVersion()
{
return '1.2.0';
return '1.3.0';
}
public function getPluginHomepage()