Commit Graph

15281 Commits

Author SHA1 Message Date
Oluwaseun Olorunsola
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
Oluwaseun Olorunsola
d18d510bbd Verify authorized email address on newsletter sending page
MAILPOET-4245
2022-07-12 14:21:15 +02:00
Oluwaseun Olorunsola
c7712abc56 Add authorized_emails to newsletters data
MAILPOET-4245
2022-07-12 14:21:15 +02:00
Jan Jakes
d7506fc8a4 Check email type in automation email scheduler
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
da43849c30 Use more descriptive method name
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
ce5bbc6c15 Use single quotes
[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
971da8a943 Add automation email scheduler service
[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
Jan Jakes
aaf8cb5d51 Rename "wait" action to "delay"
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
3a2c4924d9 Handle workflow not found state in workflow editor
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
7df8342a18 Define manage automation capability in automation code
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
a073f05ffe Shorten automation table names
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Lysý
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
Jan Lysý
6b2445e8ec Move plugin style loading into assets loader
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
071595c8f2 Extend test case with saving tags
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
6a0108edd0 Remove subscriberTag when tag doesn't exist
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
3cd8f83979 Add comment
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
a1c2d7a6a4 Improve token field style compatibility
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
94524f5447 Move wordpress/components styles to higher level
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
5cc41c4c62 Remove enqueue wp-component styles
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
08870b516d Add saving tags into acceptance test
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
fe527ca3f0 Add check for saving tags
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
3009570640 Add integration test for SubscribersResponseBuilder
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
fc64639cde Add tag factory into tests
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
6baf4b21c3 Save or update subscriber's tags
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
79b27e005d Add SubscriberTagRepository
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
37c681259f Use data factories for generating entities
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
8399f37860 Reuse NewsletterOption factory
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
37e627e0cb Reuse NewsletterOption factory
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
586a5b8b8e Fix typo in const name
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
a4b45368de Add loading tags into subscriber edit form
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
a289972a82 Add repository for tags
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
32ad2f7939 Add tokenField component to the subscribers form
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
8c3595b124 Add token field form component
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
40912185fe Add tags entities
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
2a74f92e10 Create tables for subscriber tags
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Jakes
875272f3c8 Release 3.91.1 2022-07-12 13:11:09 +02:00
Rodrigo Primo
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
Rodrigo Primo
2721c7919e Add robots meta tag with noindex/nofollow to preview newsletter page
[MAILPOET-4263]
2022-07-11 12:31:54 +02:00
Sam Najian
9766d5a88c Revert update of @wordpress/scripts back
[MAILPOET-4222]
2022-07-11 11:55:49 +02:00
Sam Najian
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
Sam Najian
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
Sam Najian
3501723086 Update stylelint and override meow with a secure version
[MAILPOET-4222]
2022-07-11 11:55:49 +02:00
Sam Najian
20d703eaf3 Update to glob-parent package without ReDoS issu
This package is only used by storybook, so safe for prod

[MAILPOET-4222]
2022-07-11 11:55:49 +02:00
Sam Najian
f6a8bd0014 Update to trim package without ReDoS issue
This package is only used by storybook, so safe for prod

[MAILPOET-4222]
2022-07-11 11:55:49 +02:00
Sam Najian
8816a12016 Update @wordpress/scripts
Updating it is safe since we only use the webpack.config
provided by this package

[MAILPOET-4222]
2022-07-11 11:55:49 +02:00