Commit Graph

18419 Commits

Author SHA1 Message Date
Rostislav Wolny
14515c4140 Refactor WooSubscriptions integration test to use factory instead post
The factory uses wcs_create_subscription and creates the subscription order
in proper table according to HPOS setting.
[MAILPOET-4568]
2023-03-27 12:26:35 +02:00
Pavel Dohnal
ab708359d1 Ensure plugin functions are loaded
[MAILPOET-5085]
2023-03-27 11:35:48 +02:00
Pavel Dohnal
535f880c8d Use a better transient key
[MAILPOET-5085]
2023-03-27 11:35:48 +02:00
Pavel Dohnal
0f4ffd7849 Use get_plugin_data from WPFunctions
[MAILPOET-5085]
2023-03-27 11:35:48 +02:00
Pavel Dohnal
cf88a3fab2 Display warning for unsupported WooCommerce version
[MAILPOET-5085]
2023-03-27 11:35:48 +02:00
Pavel Dohnal
46b3c65fdf Enforce the minimum working version of WooCommerce
[MAILPOET-5085]
2023-03-27 11:35:48 +02:00
Rostislav Wolny
6a53b9b808 Fix strange 0 being rendered when there are no changes in lists
[MAILPOET-5150]
2023-03-27 10:58:19 +02:00
Jan Jakes
695c387210 Use better wayt to determine email ID existence
[MAILPOET-5138]
2023-03-23 16:23:40 -05:00
Jan Jakes
d6d46ec57a Fix wrong type assertion
[MAILPOET-5138]
2023-03-23 16:23:40 -05:00
Jan Jakes
32951c050d Define missing Tooltip property
[MAILPOET-5138]
2023-03-23 16:23:40 -05:00
Jan Jakes
403ea6022e Remove no longer needed hotfixes
[MAILPOET-5138]
2023-03-23 16:23:40 -05:00
Jan Jakes
d7ccd75744 Fix type in comparison
[MAILPOET-5138]
2023-03-23 16:23:40 -05:00
Jan Jakes
997fc06c5d Ensure number comparison
[MAILPOET-5138]
2023-03-23 16:23:40 -05:00
Jan Jakes
c9922d32d8 Fix invalid check for an empty array
[MAILPOET-5138]
2023-03-23 16:23:40 -05:00
Jan Jakes
d58373fa61 Allow object-like types in withBoundary
[MAILPOET-5138]
2023-03-23 16:23:40 -05:00
Jan Jakes
7bf7b182f9 Remove redundant extensions in imports
[MAILPOET-5138]
2023-03-23 16:23:40 -05:00
Jan Jakes
2be8952824 Update TypeScript to version 5.0
[MAILPOET-5138]
2023-03-23 16:23:40 -05:00
Jan Jakes
2d0228e4e4 Add top-level build and start scripts
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
65fefd3d73 Add composite tsconfig option for faster rebuilds
Due to https://github.com/microsoft/TypeScript/issues/33827 we need to explicitly
name JSON files in the "include" array, until we upgrade to a more recent TypeScript.

[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
41aa211ee6 Add incremental tsconfig option for faster rebuilds
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
b97f2d5850 Use "esnext" module as a default in tsconfig
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
900a03756f Use (S)CSS setup from @worpress/scripts
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
995f61f6fd Add @mailpoet/components to the mailpoet plugin
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
8fbe37dc4d Add TypeScript config for @mailpoet/components
This handles both type checking and type declaration emitting.

[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
2aaf01fe11 Add Webpack config for @mailpoet/components
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
093814eaa7 Add Babel config for @mailpoet/components
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
790f3f4974 Add @mailpoet/components package with a dummy testing component
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
a31af24205 Add type "module" to monorepo root
This will allow us using ES modules in scripts and config files.

[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
dd1abb909a Hoist @wordpress/scripts to monorepo root
This way the same version will be used by all packages and tools.

[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Jakes
cdf4cd759b Hoist typescript to monorepo root
This way the same version will be used by all packages and tools.

[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
Jan Lysý
7fbb53e452 Fix possible scrollbar in forms
[MAILPOET-5116]
2023-03-22 09:20:57 +01:00
Jan Lysý
2547f4bfbd Replace old model usages by Doctrine
[MAILPOET-4303]
2023-03-22 09:20:11 +01:00
Jan Lysý
2ead4214cd Move query with inserting task subscribers to repository
[MAILPOET-4303]
2023-03-22 09:20:11 +01:00
Jan Lysý
f80dfec1fb Remove old model from Bounce worker integration test
[MAILPOET-4303]
2023-03-22 09:20:11 +01:00
Jan Lysý
5978baf5fa Extend integration test for Bounce worker
[MAILPOET-4303]
2023-03-22 09:20:11 +01:00
Rostislav Wolny
bc1711f35f Fix plugin release version 2023-03-22 08:24:04 +01:00
Rostislav Wolny
c77e78152b Release 4.9.0 2023-03-22 08:24:04 +01:00
Rostislav Wolny
942dd5d538 Add missing CSS for the form editor
The CSS is needed for some inner parts of the block editor like
displaying block placeholders.
[MAILPOET-5146]
2023-03-21 21:06:26 +01:00
David Remer
29f02344c5 Execute mailpoet_scripts_admin_before hook
[PREMIUM-229]
2023-03-21 11:34:30 +01:00
Rostislav Wolny
d14ce5410b Fix bold labels in forms
We save the falsy value for bold as "0" which was causing that labels
were rendered bold in front end also when the checkbox was disabled.
[MAILPOET-5139]
2023-03-20 17:24:31 +01:00
Rostislav Wolny
274a77ea92 Update from front end rendering to support font sizes with units
[MAILPOET-5139]
2023-03-20 17:24:31 +01:00
Rostislav Wolny
ce41438d65 Fix loading saved global font size in the form editor
We now support also strings containing value and unit.
[MAILPOET-5139]
2023-03-20 17:24:31 +01:00
David Remer
70f30a54f1 Scale icon
[PREMIUM-222]
2023-03-20 15:16:18 +01:00
David Remer
f802eb0978 Remove period at end of subtitle
[PREMIUM-222]
2023-03-20 15:16:18 +01:00
David Remer
645bd7945d Add Unsubscribe Action Stub
[PREMIUM-222]
2023-03-20 15:16:18 +01:00
Sam Najian
3756a9b696 Add missing translation domains
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
afe5bc6571 Fix translation for frequency in for re-engagement emails
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
6ec3b33ecc Add a missing translations
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
ba619fb7ac Exclude irrelevant files from being parsed for translations
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
cac89e472a Adjust translations:build command to use wp from vendor dir
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00