activity-stream entries for spawn and native-recurrence self-disable v1.5
This commit is contained in:
@@ -24,6 +24,12 @@ class Plugin extends Base
|
||||
// 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');
|
||||
|
||||
// Activity-stream entries. The feed renders each event via event/<name-with-underscores>, so
|
||||
// map our two event names to the plugin templates (a spawn on the new card, and the yield to
|
||||
// native recurrence on the template). createEvent() writes the rows directly from the model.
|
||||
$this->template->setTemplateOverride('event/recoreco_task_spawn', 'recoReco:event/recoreco_task_spawn');
|
||||
$this->template->setTemplateOverride('event/recoreco_task_disable', 'recoReco:event/recoreco_task_disable');
|
||||
|
||||
// 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') {
|
||||
@@ -55,7 +61,7 @@ class Plugin extends Base
|
||||
|
||||
public function getPluginVersion()
|
||||
{
|
||||
return '1.4.0';
|
||||
return '1.5.0';
|
||||
}
|
||||
|
||||
public function getPluginHomepage()
|
||||
|
||||
Reference in New Issue
Block a user