We use kanboard internally and I would like to log some actions. I thought the easiest way was to develop a plugin that writes a file in the format I need.
However, I am missing something. I’d be happy to be pointed to the manual if the answers are there.
. To call a function when a webhook event happen I need to use the function on of the class Plugin. It takes the webhook name and a function whose parameter is a reference to a Pimple\Container. Assuming this is correct, the question is: is this Pimple\Container instance described somewhere? Where can I find the info about the action? For example if the webhook is task.move.column where can I find what task has been moved, from where to where?
. If an action does not appear in the webhook event list, how difficult would it be to add it? For example I would to add the “Add a new column” action. But as far as I saw there is no hook for it. It would be difficult to fire a new event in the app/Model/ColumnModel.php create function (or where it is more appropriate in the case) to react to it with the on function?
Thanks!