Commit Graph

15970 Commits

Author SHA1 Message Date
David Remer
a07052c834 Use automation prefix for classNames
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
0748e64ac0 Make 'From scratch' button secondary
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
227b0a9b81 Activate mailpoet-automation submenu
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
eb5b21410e Link automation templates
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
32f5e3873e Expose @wordpress/url and @wordpress/i18n
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
7803b7938f Add FromScratchListItem
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
a05da8adad Adjust layout of templates listing
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
31a5c20af8 Add TopBar with Beamer
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
6a9e8abb88 Add template listing functionality
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
9f24579155 Add template listing page
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
6da06c2e5e Add URL to the automation editor to access in JS
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
1591700e71 Return created workflow with ID when using create-from-template endpoint
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
87ced17813 Use submit button label of form for captcha submit button
[MAILPOET-4496]
2022-09-14 11:44:09 +02:00
Rodrigo Primo
538647946e Refactor GATracking to use Doctrine instead of Paris
The test class was also refactored.

[MAILPOET-4592]
2022-09-14 10:38:01 +02:00
Rodrigo Primo
69bc8f01d8 Add method to Newsletter data factor to set the GA Tracking property
[MAILPOET-4592]
2022-09-14 10:38:01 +02:00
John Oleksowicz
9b30ed0d8b Release 3.97.0 2022-09-14 10:37:43 +03:00
John Oleksowicz
7c3d3fbf12 Only allow storing scalar data
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
0008beaafd Add ORDER BY to always retrieve logs in order created
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
61504d65c0 Update tests to be compatible with new storage format
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
c828b7245d Remove redundant step args from log
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
d0f8d0f2bb Use native type hint
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
e769273c8d Add index for workflow_run_id
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
4687a8c515 Rename created_at to started_at
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
bf0f8a4dc5 Don't allow setting data that couldn't be retrieved
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
f126bdb2b9 Only allow a single error per log
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
3356bb855d Remove optional and unused user facing error message
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
8cbbe5aa6e Use Throwable instead of \Exception
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
2c2f15a562 Use completedAt timestamp for success and failures
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
57cf547a8a Only expose log in post-step hook
The log has step ID and workflow run ID in case an integration needs to
retrieve them.

[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
6f8edfaec4 Make workflow run logs immutable
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
cdeea173b9 Add logging of workflow steps
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
2bcef7629c Mention that shortcodes can be used for subject/preheader
[MAILPOET-4622]
2022-09-13 16:17:50 +02:00
John Oleksowicz
5c1d515375 Change Email content heading to Email
[MAILPOET-4622]
2022-09-13 16:17:50 +02:00
John Oleksowicz
44840f3d34 Skip rendering email preview for now
I decided to extract the email buttons out of the thumbnail component
because it didn't seem to make sense to have those things tied together.

[MAILPOET-4622]
2022-09-13 16:17:50 +02:00
John Oleksowicz
de24ad4a85 Ensure HelpScout icon doesn't cover sidebar content
[MAILPOET-4622]
2022-09-13 16:17:50 +02:00
Jan Jakes
4a231ff35b Fix comment with translation info
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
ea9a410e70 Simplify condition
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
9678d4f71a Remove duplicit method call
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
ba35ddf6e6 Extract automation API to MailPoet REST API
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
1b5d6bd974 Remove no longer needed empty trigger
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
fe87404850 Update automation frontend to new workflow format
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
fa9bbaf9e8 Allow at most 1 next step for now
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
6d91251d6c Update workflow execution control to the new format
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
1677cc2842 Save and load workflows in the new format, update API
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
9028ea96ec Implement root step
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
55e4e53a35 Fix exception message
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
ecfc289eca Add full workflow schema definition & introduce a new root step
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
8691efdb65 Fix mutating workflow in a redux action
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
a1945925de Move trash action to redux store
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Jan Jakes
c8c07c470d Add middleware for displaying API errors as notices
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00