3f016b45f9
Don't escape table names when not needed
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
679f74e498
Unify query error checking
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
08b314e0b4
Unify table variable naming
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
cc5959805b
Use "workflow_triggers" table instead of an inline JSON
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
efd32043e3
Add workflow count to automation listing page
...
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
89c43a5cb9
Extract workflow duplication logic to a controller, fix some issues
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
6158f5a64b
Prevent duplicates from having too-long names
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
169b6c4151
Ensure createWorkflow never attempts to use ID
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
4e82c5334b
Add ability to permanently delete workflow
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
a4c8caa664
Add basic duplication ability
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
0679658d33
Rename WorkflowStorage::flush() to WorkflowStorage::truncate()
...
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
3aa0d0b910
Add flush method to WorkflowStorage
...
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
a2948efc46
Rename namespace with defs for 3rd-party integrations to "Integration"
...
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
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