Add spec for managing triggers.
Add use_triggers permission to user.
Triggers spec: login once before all specs.
Triggers controller should respect User#use_triggers? permission.
Add Trigger::Event model, it has just two predefined records for now: "Task created" and "Task updated".
List events on triggers/new page.
User can create trigger without task filter.
Fix triggers spec, now "should can create trigger with event" pass.
Implement pendign triggers specs "should can create_trigger with action", failed now.
Use action names from #6455 task.
Add Trigger::Action model.
Fix uniq subdomain bug in Company.blueprint.
Implement "Set due date" action.
We will not store ruby code(triggers.action) in database anymore.
Remove old code from Trigger model.
Add action setter/getter to Trigger. This code should be removed when we will have activerecord association between trigger and actions.
Remove old trigger test.
Set/show trigger's action
Show event name on triggers/index.
Create dumb Trigger.fire action just for test. It will fire only on create triggers, only "Set due date" action, with 3 days offset.