Jan Jakes
e2d658e5fc
Rewrite .eslintrc.premium.js to new config format
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
542ac60626
Increase JS heap size for eslint
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
635a23bd87
Exclude irrelevant files from linting early to save memory
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
3d25b73fc6
Remove no longer used .eslintignore
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
989fd7d1cb
Rewrite .eslintrc.tests_newsletter_editor.js to new config format
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
3b321de91e
Rewrite .eslintrc.ts.js to new config format
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
afb5456759
Rewrite .eslintrc.es6.js to new config format
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
d37292ff13
Rewrite .eslintrc.es5.js to new config format
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
c7c06d0a21
Install @eslint/eslintrc explicitly
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
2b5826d417
Install globals explicitly
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
1d3722b6d3
Fix errors reported by ESLint
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
a919275c24
Allow passing async function to JSX attributes
...
The new default seems to be a bit too strict.
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
d902ec446c
Update eslint-plugin-import
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
d1b691f69c
Update eslint-plugin-jsx-a11y
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
d2d12e30ec
Update eslint-plugin-no-only-tests
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
bd66929731
Update eslint-config-prettier
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
84ef2f1427
Update eslint-config-airbnb-typescript
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
80d5d35e25
Update eslint-plugin-react and eslint-plugin-react-hooks
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
45b473a53f
Update @typescript-eslint/parser and @typescript-eslint/eslint-plugin
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
ba90249cc2
Update @babel/eslint-parser and lint-staged (needed for update of the former one)
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
afbaac8439
Update ESLint
...
[MAILPOET-5061]
2023-03-27 15:24:38 +02:00
Jan Jakes
0cb684151f
Use JS ESLint configs instead of JSON
...
This is to avoid ERR_IMPORT_ASSERTION_TYPE_MISSING on recent Node.js with updated ESLint.
Fixes errors like the following: ".eslintrc.es6.json" needs an import assertion of type "json"
[MAILPOET-5061]
2023-03-27 15:24:38 +02:00
Sam Najian
4836a4c66f
Try to show only one form of the same id
...
Since we are using hooks to add form html to the page
other plugins can cause MailPoet to add the form several
times, this commit adjusts the JS to show the forms of the
same id at only once
[MAILPOET-5136]
2023-03-27 13:27:06 +02:00
alex-mailpoet
7cc6765493
Fix minutes text
...
[MAILPOET-4602]
2023-03-27 12:54:02 +02:00
Jan Lysý
9a3a7f420c
Add minutes scheduling for purchased product
...
[MAILPOET-4602]
2023-03-27 12:54:02 +02:00
Jan Lysý
dfc4334a1d
Add minutes scheduling for purchased in category
...
[MAILPOET-4602]
2023-03-27 12:54:02 +02:00
Jan Lysý
8603de7124
Add minutes scheduling for first purchase
...
[MAILPOET-4602]
2023-03-27 12:54:02 +02:00
Jan Lysý
354ed92076
Add minutes scheduling for abandoned Cart
...
[MAILPOET-4602]
2023-03-27 12:54:02 +02:00
Jan Lysý
7f1ef637cc
Change scheduling post notification from an hour precision to 15 minutes
...
[MAILPOET-4602]
2023-03-27 12:54:02 +02:00
Jan Lysý
77b83ff188
Change scheduling newsletters from an hour precision to 15 minutes
...
[MAILPOET-4602]
2023-03-27 12:54:02 +02:00
Jan Lysý
c63434fa1c
Add welcome email scheduling with minute resolution
...
[MAILPOET-4602]
2023-03-27 12:54:02 +02:00
Rostislav Wolny
e1be576525
Fix coding style issue in Woo Subscriptions filter test
...
[MAILPOET-4568]
2023-03-27 12:26:35 +02:00
Rostislav Wolny
f0e954e356
Fix usage of status parameter in Woo Subscriptions data factory
...
[MAILPOET-4568]
2023-03-27 12:26:35 +02:00
Rostislav Wolny
58b2ac4a60
Add collation check to WooSubscriptions filter
...
We join using a string column and it may cause errors when the columns
using different collation. This commit adds collation check so that we can alter
collation in the join condition in case it is needed.
[MAILPOET-4568]
2023-03-27 12:26:35 +02:00
Rostislav Wolny
3a627f4d99
Re-enable acceptance test for Woo Subscriptions segment
...
[MAILPOET-4568]
2023-03-27 12:26:35 +02:00
Rostislav Wolny
78fbb7d6bc
Update WooCommerce and plugins in tests on CI
...
We need to use HPOS compatible Woo Subscriptions
[MAILPOET-4568]
2023-03-27 12:26:35 +02:00
Rostislav Wolny
4200781a56
Remove temporary action for disabling Woo compatibility check in test
...
WooSubscriptions declared compatibility with HPOS in version 4.9.0
[MAILPOET-4568]
2023-03-27 12:26:35 +02:00
Rostislav Wolny
bb9b04ecc8
Update WooSubscription filter to work with HPOS data
...
The wc_orders table doesn't contain user_id but has billing_email and customer_id.
These were two options I could use for joining subscribers table.
I could use the customer_id but I would have to join wc_customer_lookup table and then
the orders table. Instead of customer_id I chose the billing_email. Both tables have
indexes on the email columns and it is one join instead of two.
[MAILPOET-4568]
2023-03-27 12:26:35 +02:00
Rostislav Wolny
78feddd30a
Enable WooSubscriptions test when HPOS is active
...
We need to temporarily turn off plugin compatibility check in Woo
because current Woo Subscriptions are still officially not marked as
HPOS compatible.
[MAILPOET-4568]
2023-03-27 12:26:35 +02:00
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