Commit Graph

22694 Commits

Author SHA1 Message Date
6bc9e3da19 Replace deprecated Query with direct access to DataStore
Automattic\WooCommerce\Admin\API\Reports\Customers\Stats\Query is deprecated and the recommendation is to access DataStore directly, which is what Query would do previously

[MAILPOET-6253]
2024-09-25 10:52:51 +02:00
4d0e0e6ee6 Don't generate SCSS source maps in release build
[MAILPOET-6247]
2024-09-24 18:38:36 +02:00
8a9680120c Update new email editor acceptance tests to run with WP6.6 and above
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
6af7711e3a Update schema version in the core integration
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
85c028f6b1 Fix positioning of email content
This was overwriting the margin: 0 auto; and was causing the content
not being properly centered in canvas.
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
9bec9c9e33 Update classes of inserter sidebar
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
a35a1dccbf Fix positioning of the spinner on editor startup
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
ac6474d809 Let the visual editor component handle preview on devices
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
3b81924625 Reintroduce support for default font sizes
[MAILPOET-6015]
2024-09-24 12:07:24 +02:00
b4219eb6fe Fix the appearance of tools in the header and list view sidebar
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
d608e8c066 Fix top vs inline block toolbar setting in more menu
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
e7dd854bbb Fix fetching patterns for editor
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
f8d990863c Fix inserter sidebar close button
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
a4d0361f37 Add simplified visual editor component
This is a copy of a compoponent from wordpres/editor package.
I tried to remove as much as possible to make it easier to read.
There is a known issue with layout that we don't suppport Align property properly.§
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
69e7b543dc Update private APIs unlock optin message to match wp6.6
[MAILPOET-6105]
2024-09-24 12:07:24 +02:00
048f3cfbc1 Release 5.2.2 2024-09-24 11:54:37 +02:00
ce75318f8b Fix linting error that only happens on CI
[MAILPOET-4326]
2024-09-23 16:08:16 +02:00
d586694cea Customize hints for form placement
This changes the hint that we display to help customers place a
subscription form on their website. Not all themes support widgets, but
not all themes support FSE either.

[MAILPOET-4326]
2024-09-23 16:08:16 +02:00
cd5386825f Expose theme support feature to TS
[MAILPOET-4326]
2024-09-23 16:08:16 +02:00
50b48267cc Expose WP theme features in form editor
[MAILPOET-4326]
2024-09-23 16:08:16 +02:00
457c16e5f8 Use site-editor to configure widget forms
We used widgets.php previously, but not all themes support widgets.

[MAILPOET-4326]
2024-09-23 16:08:16 +02:00
37a9c4e32e Fix List-Unsubscribe URL for non-MSS methods when tracking enabled
Previously, we were using the value of $extraParams['unsubscribe_url'],
which points to a tracking link when tracking is enabled. However, with
1-click unsubscribe, redirects are not allowed.
2024-09-23 16:01:40 +02:00
a4e063f8fc Improve annotation in EmailEditor\Container
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
7a793f11f1 Remove redundant methods from email editor IntegrationTester
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
d6b3ebddb8 Add GitHub action for email editor tests
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
8dc9c28fdf Fix namespace in integration tests
This commit also removed the redundant directory EmailEditor from integration tests directory.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
99a6541ffb Fix namespace in unit tests
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
246a10f058 Copy Validator to email-editor package
Because the email-editor package should be independent. We copy Validator to the package, at least for now.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
b2e8a9c82b Remove usage of constant from NewsletterEntity
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
45a8233a1e Copy CdnAssetUrl to email-editor package
For independence of the email-editor package, I copied the class to the package.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
4424a33624 Add Container class
This class is used as DI Container for easier injecting classes in integration tests.
It can be also reused during a standalone usage.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
1af3c09422 Bootstrap email-editor integration tests
I tried to minimize the code repetition.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
d38e6bb1b9 Bootstrap email-editor unit tests
I also replaced using verify function by asserts, which will be removed in the higher version of phpunit.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
98712db36d Add composer files for email-editor package
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
d0c1ad4aba Move email editor integration tests
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
0860f7c45f Move email editor unit tests
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
09a8d7445b Use composer env variable for copying local packages
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
9c926fd99f Update composer.json and docker-compose.yml
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
ea71b6c967 Move EmailEditor PHP files into a packages directory
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
fe4eeb0049 Fix send email step time-out happening too early
This was an off-by-one error — the first step run is the email scheduling run.

[MAILPOET-6246]
2024-09-23 13:00:48 +02:00
e609adf408 Update used WooCommerce plugin in Circle CI
- latest version: 9.3.2
 - previous version: 9.2.3
2024-09-23 08:53:41 +02:00
0198eae41a Update WC action when setting cart item to zero
[MAILPOET-6069]
2024-09-23 08:32:06 +02:00
a90997ea1f Remove spacing in test and update code 2024-09-18 09:44:13 +02:00
8fa109571f Fix php linting 2024-09-18 09:44:13 +02:00
ce0937b880 Update tests to add subscriber and stats page newsletter timezone check 2024-09-18 09:44:13 +02:00
a085b76b4c Update existing schedule newsletter test to include timezone scenario 2024-09-18 09:44:13 +02:00
70b4602e94 Release 5.2.1 2024-09-18 09:34:16 +02:00
981e64b57f Remove deprecated version from docker-compose file
[MAILPOET-6233]
2024-09-18 07:52:26 +02:00
1a0fecf2db Rename docker-compose to docker compose
[MAILPOET-6233]
2024-09-18 07:52:26 +02:00
0efe8e0204 Set no-cache headers for pulic MailPoet router
This includes open and click tracking, cron daemon, view in browser,
form previews, subscription management, and image proxy for thumbnails.
2024-09-17 17:27:37 +02:00