Commit Graph

15684 Commits

Author SHA1 Message Date
b2ba612145 Fix: don't run the code to enable third party libraries for new installs
This commit fixes the logic of the code that enables third party
libraries by default. It was meant to enable those libraries only for
existing installs when the code was introduced in cfae753601
to avoid breaking functionality. But due to a bug, it was also enabling
those libraries for new installs.

To fix this issue, this commit moves the code to the Migrator class and
makes sure it is only executed for existing installs and only once when
doing a version update.

[MAILPOET-4285]
2022-07-12 16:01:39 +02:00
deb38a3e02 Add onBlurEvent, show warning message after typing
Add onBlurEvent to the FormFieldText component and the sender address field

This would update the validation to show the warning message only after the user is done typing

MAILPOET-4245
2022-07-12 14:21:15 +02:00
1acc11c543 Reuse authorized email address message
MAILPOET-4245
2022-07-12 14:21:15 +02:00
dba58b032f Fix issues with CSS and https://user-images.githubusercontent.com/30554163/176655015-777259ac-5748-48b0-8f27-41befac015a9.png
MAILPOET-4245
2022-07-12 14:21:15 +02:00
d18d510bbd Verify authorized email address on newsletter sending page
MAILPOET-4245
2022-07-12 14:21:15 +02:00
c7712abc56 Add authorized_emails to newsletters data
MAILPOET-4245
2022-07-12 14:21:15 +02:00
d7506fc8a4 Check email type in automation email scheduler
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
da43849c30 Use more descriptive method name
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
ce5bbc6c15 Use single quotes
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
d447702941 Convert welcome email action to a generic send email action
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
971da8a943 Add automation email scheduler service
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
578fa65122 Simplify fetching data from subjects
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
3cccc52515 Require subjects by class name to have them type checked and autocompleted
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
841ee97203 Add require subject helper method
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
494cc7b780 Allow multiple subjects of the same type
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
aaf8cb5d51 Rename "wait" action to "delay"
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
3a2c4924d9 Handle workflow not found state in workflow editor
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
7df8342a18 Define manage automation capability in automation code
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
a073f05ffe Shorten automation table names
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
43003a0a2e Add check to prevent duplicities
We need to add a custom check to prevent duplicities in the token field with tags.
This step is necessary because the unique index in the database is not case-sensitive.
[MAILPOET-4352]
2022-07-12 13:35:00 +02:00
6b2445e8ec Move plugin style loading into assets loader
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
071595c8f2 Extend test case with saving tags
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
6a0108edd0 Remove subscriberTag when tag doesn't exist
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
3cd8f83979 Add comment
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
a1c2d7a6a4 Improve token field style compatibility
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
94524f5447 Move wordpress/components styles to higher level
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
5cc41c4c62 Remove enqueue wp-component styles
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
08870b516d Add saving tags into acceptance test
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
fe527ca3f0 Add check for saving tags
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
3009570640 Add integration test for SubscribersResponseBuilder
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
fc64639cde Add tag factory into tests
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
6baf4b21c3 Save or update subscriber's tags
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
79b27e005d Add SubscriberTagRepository
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
37c681259f Use data factories for generating entities
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
8399f37860 Reuse NewsletterOption factory
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
37e627e0cb Reuse NewsletterOption factory
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
586a5b8b8e Fix typo in const name
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
a4b45368de Add loading tags into subscriber edit form
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
a289972a82 Add repository for tags
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
32ad2f7939 Add tokenField component to the subscribers form
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
8c3595b124 Add token field form component
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
40912185fe Add tags entities
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
2a74f92e10 Create tables for subscriber tags
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
875272f3c8 Release 3.91.1 2022-07-12 13:11:09 +02:00
378156ac69 Fix nofollow tag in the preview newsletter page
Commit 1a9b2ed798 added a `follow` tag to
the preview newsletter page by mistake. The intention was to add a
`nofollow` tag. This commit fixes it.

[MAILPOET-4263]
2022-07-11 14:38:41 +02:00
2721c7919e Add robots meta tag with noindex/nofollow to preview newsletter page
[MAILPOET-4263]
2022-07-11 12:31:54 +02:00
9766d5a88c Revert update of @wordpress/scripts back
[MAILPOET-4222]
2022-07-11 11:55:49 +02:00
1117478b7d Remove storybook specific overrides.
However the overrides for webpack and react should remain
since the npm@8.3+ doesn't allow these older depencendies
of storybook to be installed at all and would bail.

[MAILPOET-4222]
2022-07-11 11:55:49 +02:00
c9cbca0264 Update to composer/composer 2.2.12 to avoid some security issues
- This fixes missing input validation which can lead to
command execution in composer
- As for this update composer/xdebug-handler needed to
update to a compatible version as well
- We can't require composer@2.3.5 yet since we support
PHP 7.2 and composer 2.3.5 requires PHP 7.2.5

[MAILPOET-4222]
2022-07-11 11:55:49 +02:00
3501723086 Update stylelint and override meow with a secure version
[MAILPOET-4222]
2022-07-11 11:55:49 +02:00