Commit Graph

16368 Commits

Author SHA1 Message Date
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
Sam Najian
668dabfe4c Add the packages needed for the overriden webpack
[MAILPOET-4222]
2022-07-11 11:55:49 +02:00
Sam Najian
069bfa09ba Override packages with vulnerability
[MAILPOET-4222]
2022-07-11 11:55:49 +02:00
Sam Najian
0fabc52905 Enforce npm 8.3+ to support package overrides
[MAILPOET-4222]
2022-07-11 11:55:49 +02:00
David Remer
2afdb234cf naming colors
[MAILPOET-4305]
2022-07-11 11:04:52 +02:00
David Remer
28c0f9ffff Place admin notices at the correct position when created from 3rd party
When an admin notice is created using 'admin_notices', JavaScript (wp-admin/js/common.js) tries to move those to the end
of the header. We need to signal WordPress where this header end is.

[MAILPOET-4305]
2022-07-11 11:04:52 +02:00
David Remer
87144af6ba Fix uppercase in acceptance test
[MAILPOET-4305]
2022-07-11 11:04:52 +02:00
David Remer
5ccc12a784 Adjust padding of th element in listing
[MAILPOET-4305]
2022-07-11 11:04:52 +02:00
David Remer
94b9402a53 Update text style of unknown status texts
[MAILPOET-4305]
2022-07-11 11:04:52 +02:00
David Remer
34de0e839e Remove uppercase rule in thead
[MAILPOET-4305]
2022-07-11 11:04:52 +02:00
David Remer
b1597b7766 Adjust table borders, border/background greyscales, color of headers
[MAILPOET-4305]
2022-07-11 11:04:52 +02:00
David Remer
b54796119f Adjust padding of .mailpoet-listing-pages-num with table
[MAILPOET-4305]
2022-07-11 11:04:52 +02:00
David Remer
44d5dde99e Exchange Updates icon, move global translations
[MAILPOET-4305]
2022-07-11 11:04:52 +02:00
David Remer
3a3b3934c2 Use gutenberg plus icon
[MAILPOET-4305]
2022-07-11 11:04:52 +02:00