John Oleksowicz
644e0f3e0f
Confirm in editor if not already confirmed
...
MAILPOET-4397
2023-03-27 17:24:03 +02:00
John Oleksowicz
b30a9af4ad
Display deactivation warning when clicking subjects
...
MAILPOET-4397
2023-03-27 17:24:03 +02:00
Jan Jakes
62dcee8ae9
Merge newsletter tests config into ES5 config
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
8d311f2d9f
Rexpose globals for usage in config overrides
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
263e8f6f4d
Remove redundant rule exception (same value as from parent configs)
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
ccbd239009
Remove premium-specific TS config, move free-specific rules to its config
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
7dd5ca91c5
Remove premium-specific ES config, move free-specific rules to its config
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
5d03be50f3
Remove rule definition that's already included in parent configs
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
30f5a48b9d
Use the new ESLint config for ./do qa:fix-file
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
f04f7755fd
Reexport eslint bin in @mailpoet/eslint-config explicitly
...
We're using @mailpoet/eslint-config to share eslint itself so it's
correct to reexport the executable that's being used. This also makes
the command work in the premium plugin without need to address the
".bin" paths within "node_modules".
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
ed8a3344af
Rewrite .eslintrc.premium.ts.js to new config format
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
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