Commit Graph

20858 Commits

Author SHA1 Message Date
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
Sam Najian
372306e739 Add missing code back
Some part of code had been removed by mistake for solving
merge conflicts

[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
0c1ff84fe7 Fix issue with newsletter form fields not getting translated
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
55153719e9 Manually bump version to beta.3
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
2adc7fbc5e Add commons.js via wp_enqueue_script
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
a24b510e82 Use @wordpress/i18n for rest of common folder
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
8adcdf76e4 Use @wordpress/i18n for template boxes
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
60e38b9b40 Wait for coupon settings panel to close before proceeding
This should fix the flakiness of EditorCouponCest::addCoupon

[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
441d998bab Manually bump version to beta.1
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
d26083a655 Fix the issue in image block not working with lodash
As per import of @wordpress/i18n, and since it's using lodash
We'll need to reset window._ to underscore where we have a hard
dependency to underscore

[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
b007f5ede2 Fix code formatting issue
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
54f0d414d3 Add missing translatable messages
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00