Commit Graph

16613 Commits

Author SHA1 Message Date
31a5c20af8 Add TopBar with Beamer
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
6a9e8abb88 Add template listing functionality
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
9f24579155 Add template listing page
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
6da06c2e5e Add URL to the automation editor to access in JS
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
1591700e71 Return created workflow with ID when using create-from-template endpoint
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
87ced17813 Use submit button label of form for captcha submit button
[MAILPOET-4496]
2022-09-14 11:44:09 +02:00
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
69bc8f01d8 Add method to Newsletter data factor to set the GA Tracking property
[MAILPOET-4592]
2022-09-14 10:38:01 +02:00
9b30ed0d8b Release 3.97.0 2022-09-14 10:37:43 +03:00
7c3d3fbf12 Only allow storing scalar data
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
0008beaafd Add ORDER BY to always retrieve logs in order created
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
61504d65c0 Update tests to be compatible with new storage format
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
c828b7245d Remove redundant step args from log
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
d0f8d0f2bb Use native type hint
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
e769273c8d Add index for workflow_run_id
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
4687a8c515 Rename created_at to started_at
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
bf0f8a4dc5 Don't allow setting data that couldn't be retrieved
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
f126bdb2b9 Only allow a single error per log
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
3356bb855d Remove optional and unused user facing error message
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
8cbbe5aa6e Use Throwable instead of \Exception
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
2c2f15a562 Use completedAt timestamp for success and failures
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
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
6f8edfaec4 Make workflow run logs immutable
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
cdeea173b9 Add logging of workflow steps
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
2bcef7629c Mention that shortcodes can be used for subject/preheader
[MAILPOET-4622]
2022-09-13 16:17:50 +02:00
5c1d515375 Change Email content heading to Email
[MAILPOET-4622]
2022-09-13 16:17:50 +02:00
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
de24ad4a85 Ensure HelpScout icon doesn't cover sidebar content
[MAILPOET-4622]
2022-09-13 16:17:50 +02:00
4a231ff35b Fix comment with translation info
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
ea9a410e70 Simplify condition
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
9678d4f71a Remove duplicit method call
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
ba35ddf6e6 Extract automation API to MailPoet REST API
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
1b5d6bd974 Remove no longer needed empty trigger
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
fe87404850 Update automation frontend to new workflow format
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
fa9bbaf9e8 Allow at most 1 next step for now
[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
9028ea96ec Implement root step
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
55e4e53a35 Fix exception message
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
ecfc289eca Add full workflow schema definition & introduce a new root step
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
8691efdb65 Fix mutating workflow in a redux action
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
a1945925de Move trash action to redux store
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
c8c07c470d Add middleware for displaying API errors as notices
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
becf82ef8c Use confirmation dialog from WP components
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
11816b7800 Remove usage of @wordpress/editor, fix notice styles
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
8743e5654b Remove leftover MP2 migration file that is not needed anymore
This file was loaded inside the MP2MigratorTest class that was removed (https://github.com/mailpoet/mailpoet/pull/4235/files#diff-fa71dea302390fbf7c04d9d882a5a66a70d3daa432883d4ba6951e2ec5abe287L123) and thus it is not needed anymore.

[MAILPOET-4612]
2022-09-12 14:46:41 +02:00
43ece08227 Remove errors to be ignored by PHPStan that don't exist anymore
Fixing the logic to load the PHPStan baseline in the previous commit,
uncovered some ignored errors in phpstan-8.1-baseline.neon that don't
exist anymore.

[MAILPOET-4626]
2022-09-12 10:28:59 +01:00
76501d89d2 Fix logic to decide which PHPStan baseline file to use
There was a bug in the code that is used to decide which version of
the PHPStan baseline file should be loaded depending on the PHP
version that is being used.

The if condition for PHP 8.1 was `$phpVersion == 80100` which means
that it matched only PHP 8.1.0 and not any of the 8.1 patch
versions (like 8.1.1 and 8.1.2).

This commit fixes this problem and it also changes the order of the
checks so that they follow the version numbers in ascending order.
Before the checks where unordered.

[MAILPOET-4626]
2022-09-12 10:28:59 +01:00
f62229eff4 Update file to pass prettier check 2022-09-09 15:14:52 +02:00
8e20366ede Add New Pull Request Template 2022-09-09 15:14:52 +02:00