dde3b159ea
Add status parameter to getWorkflows method
...
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
ee54440c03
Fix intendation for SQL strings
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
ea07bbe9fa
Use INNER JOIN to combine workflows with their versions
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
f7722e4349
Rename workflowHeaderData method
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
457d361ee9
Introduce Workflow::equals() and move decision to update a record to storage
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
3885194b48
Add created and updated columns to versions table
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
7e9149f2aa
Query workflow by version in StepRunner
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
964f3ca69d
Separate workflow versionable data into workflow_version table
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
4aa323b612
Extract data-carrying classes to dedicated namespace
...
We need a separation of "Step" as an interface vs. "Step" as a serializable data structure.
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
a073f05ffe
Shorten automation table names
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
92d55362b1
Add update workflow method to storage
...
[MAILPOET-4454]
2022-07-04 14:09:00 +02:00
47c5111996
Add method to fetch list of workflows to workflow storage
...
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
cb55cae1b2
Escape SQL queries following wp org sniffs
...
[MAILPOET-4129]
2022-04-04 17:12:33 +02:00
3a22521a55
Add json encode/decode wrapper class
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
a7cd2b74b4
Fetch workflow, workflow run, and step in workflow step runner
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
a191c691f5
Add hook and basic handler for automation triggers
...
For now trigger keys are stored in the workflow as a JSON array.
This is not optimal in case someone has many workflows but as
workflows are user-created it's unlinkely someone will have thousands
of them. We can consider adding a workflow_triggers table as well.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
933ee0c8c8
Call "registerHooks" method for all triggers of all active workflows
...
This is needed so the triggers actually work – their hooks need to be
registered when the triggers are in some active workflows.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
41cb2c4034
Add storage service for workflows & create workflow method
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00