Commit Graph

28 Commits

Author SHA1 Message Date
David Remer
24849afb7a Make name a property of Step.args instead of Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
Jan Jakes
3886dd83d1 Unify naming of sender name and email address
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
697e7eba9a Add Google Analytics setting panel to automation email sidbar
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
922beb790f Add reply-to setting panel to automation email sidebar
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
d1fddb85f7 Add before step save hook per step key to simplify usage
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
1f6ce667e5 Add schema definition for automation steps
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
4389d3ca5f Sync automation email step settings to newsletter entity
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
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
Jan Jakes
da43849c30 Use more descriptive method name
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
d447702941 Convert welcome email action to a generic send email action
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
578fa65122 Simplify fetching data from subjects
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
3cccc52515 Require subjects by class name to have them type checked and autocompleted
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
841ee97203 Add require subject helper method
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
494cc7b780 Allow multiple subjects of the same type
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
John Oleksowicz
f032bedffe Move private method after public methods
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
ff8a2926a8 Avoid unnecessary duplicate call
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
250dd441b4 Add step based validations
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
da144a3778 Include all possibilities for validation
Although not required at the moment, validation could certainly involve
the current step as well as the workflow itself.

[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
7ec1bcccc4 Alphabetize dependencies
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
78352d410d Keep subject entities private
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
253a32413c Add exception messages
I'm leaving these strings untranslated for now because I'm not sure that
 we'll want all of them as-is, and I don't want to have our translators
 translate strings we might not even need.

[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
5227481a42 Revert to a simpler approach
Having separate objects for validation results is unnecessary and overly
 complicated at this point, and we should wait to introduce that kind of
  complexity only when/if it's clearly needed.

[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
d6895ebbc2 More efficient method for checking segment status
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
954b23d151 State-independent validation
We need to be able to validate an action in a workflow in the UI,
outside the context of a specific workflow run, so the validation can't
check things like the specific entities loaded in a subject.

[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
2cce9bf7ad An idea for splitting validation and running
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
66564d3b7d Refactor action to use subjects directly
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
b2f2f2665c Add getValue method to Field
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
69b523171f Initial stab at a welcome email action
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00