Commit Graph

91 Commits

Author SHA1 Message Date
79c60ff7a1 Make step args that need to be set required
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
a052cdcceb Allow custom validation for all step types
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
7425c73d9e Add error messages to action validation, use step validation args
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
a2948efc46 Rename namespace with defs for 3rd-party integrations to "Integration"
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
caf3160060 Remove 'email_id' property
[MAILPOET-4520]
2022-10-11 11:14:58 +02:00
b657a1eee0 Account for email_id being 0
[MAILPOET-4520]
2022-10-11 11:14:58 +02:00
bd12d23a4f Delete newsletter entity
[MAILPOET-4520]
2022-10-11 11:14:58 +02:00
b7e80b60ab Disconnect empty emails before workflow loads
[MAILPOET-4520]
2022-10-11 11:14:58 +02:00
4ba1d3a5b5 segment_ids should not be a required argument
[MAILPOET-4689]
2022-10-03 11:22:34 +02:00
617f256e8d roles argument should not be required
[MAILPOET-4689]
2022-10-03 11:22:34 +02:00
64a8c3700c Fix loading of WpUserSegment
[MAILPOET-4690]
2022-09-30 15:28:03 +02:00
02aaba1ded Pass full step map to automation workflow so it can be validated
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
d911166637 Use new data structures in someone subscribes trigger & simplify it
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
5920810ac6 Use step args for triggers
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
3c651c940b Add convenience by-class getter for payloads (& use it)
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
fe3d719a13 Use step run args in existing actions
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
00e8c4f3e5 Make steps specify required/provided subject keys
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
b0aad2216a Split subscriber subject to Subject & Payload
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
18aedf3d1a Split segment subject to Subject & Payload
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
757f1dc01a Use subject data type for workflow runs, remove subject loading from storage
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
e1e5749eca Change isTriggeredBy signature for clarity
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
b914a1d2ec Rename SomeoneSubscribesTrigger key and class
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
c0e8a70f06 Turn no item selected to former 'any item' behavior
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
bb5da626ba Add UserRegistrationTrigger
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
e2c9356f4c Execute WorkflowRun only when trigger criteria are met
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
9d2720f504 Extend arguments schema with segment_ids
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
1b5d6bd974 Remove no longer needed empty trigger
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
6d91251d6c Update workflow execution control to the new format
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
1677cc2842 Save and load workflows in the new format, update API
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
6e6d0e725a Set automation newsletters always as active
Their scheduling and validity will handled by the workflow engine so this should be OK.
We can also consider syncing the state based on the workflow state, somehow.

[PREMIUM-194]
2022-09-08 09:20:20 +02:00
a6d5b0d5c5 Add empty trigger type to automations core
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
c601aaa3eb Autofix issues detected by CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
34d94edd3e Add author to Workflow
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
26a6f1be32 Use step key when building workflows from sequence
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
53434d23b8 Use default args when building the Workflow from sequence
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
baa4d369af Introduce template storage and rebuild create form template endpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
1e1153bd77 Fix codestyle issue
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
24849afb7a Make name a property of Step.args instead of Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
33fb02e2ce Add missing spaces and remove double spaces around "null,"
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
d4bc448ac6 Add name property to Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
3886dd83d1 Unify naming of sender name and email address
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
697e7eba9a Add Google Analytics setting panel to automation email sidbar
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
922beb790f Add reply-to setting panel to automation email sidebar
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
97e160bf67 Fix WordPress.WP.I18n.MissingArgDomain
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
76048224d1 Fix WordPress.WP.I18n.NonSingularStringLiteralText errors
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
218de96024 Fix WordPress.WP.I18n.MissingTranslatorsComment errors
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
d1fddb85f7 Add before step save hook per step key to simplify usage
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
08e8e88502 Use step defaults from schema in template generation
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
1f6ce667e5 Add schema definition for automation steps
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
72b392fcd5 Do not hardcode email IDs in workflow templates
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00