Commit Graph

19873 Commits

Author SHA1 Message Date
Veljko
d740ef85d2 Revert back to 3 iterations for nightly tests 2023-06-16 21:43:06 +02:00
Veljko
a63cc229fc Update nightly tests with proper locator and increase max duration
[MAILPOET-5411]
2023-06-16 21:43:06 +02:00
Jan Jakes
c0bdb01965 Fix passing empty callback
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
Jan Jakes
30a3bde940 Unify add menu/submenu parameters with WP
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
Jan Jakes
bb979cd1ba Add menu page function types to analyze them statically
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
Jan Jakes
cbb1db857b Fix deprecation notice when hiding automations menu
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
Ralf Wiechers
1cd6ddd1f5 Prevent PHP notices
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
Jan Jakes
3a91801455 Update oldest test jobs to WC 7.6.0
[MAILPOET-5406]
2023-06-16 17:11:12 +02:00
Jan Jakes
c957d02108 Update WC requires at least: 7.6.0
[MAILPOET-5406]
2023-06-16 17:11:12 +02:00
Jan Jakes
ebb8ffce20 Update WC tested up to: 7.8.0
[MAILPOET-5406]
2023-06-16 17:11:12 +02:00
Pavel Dohnal
798bc320ed Make sure the doctrine parameters are unique
Previously there was a mismatch between parameters coming from the
dynamic segment and the parameters coming from the export
controller.

[MAILPOET-5382]
2023-06-16 17:00:33 +02:00
Veljko
eb69b82a6e Update test with assertCssProperty
[MAILPOET-5318] & [MAILPOET-5319]
2023-06-15 17:07:50 +02:00
Veljko
6b86fa7b9a Update tests and add new helper method
[MAILPOET-5318] & [MAILPOET-5319]
2023-06-15 17:07:50 +02:00
Jan Jakes
b711287f4d Unify locators
[MAILPOET-5408]
2023-06-15 13:13:34 +02:00
Jan Jakes
ad5b601629 Leave management of WC post types to WooCommerce
[MAILPOET-5409]
2023-06-15 13:39:38 +03:00
David Remer
0f1760dfeb Fix percentage calculation
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
e26da84c53 Fix style of tabs
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
c020b79c94 Make updateSection an action and remove boot helper
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
0154a8eece Fix prettier issue
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
c79698e767 Update pnpm lock file
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
42fc686053 Remove ts-ignore
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
520b7a42a0 Make automationHasEmails() a selector method
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
c1692de029 Make analytics endpoint a GET endpoint
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
1336cb9086 Rename to Analytics
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
a60958aef6 Throw UnexpectedValueException instead of InvalidAgumentException
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
ed5e644834 Simplify fetching Automation
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
71c3f1b283 intend 2023-06-15 12:25:12 +02:00
David Remer
702b695de9 Allow the usage of only from or only to
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
0db89c151d Fix styles
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
327fe250fd Return zero if new or previous value is zero
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
a7637c82ca use wordpress/components tabs
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
2cc0a16956 Fix typo
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
Jan Jakes
367d0331e9 Fix loading external styles 2023-06-15 12:25:12 +02:00
David Remer
f10ef78825 Add Analytics Page and backend logic
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
8115ab0382 Add frontend
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
5710796fe9 Add date between options to statistics and select which statistics to grab in batch
[MAILPOET-5090]
2023-06-15 12:25:12 +02:00
David Remer
eadbe6b66b Add packages and expose for premium
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
Jan Jakes
e265469b2f Wait for the correct notice 2023-06-15 10:00:01 +02:00
John Oleksowicz
6a0b4e55f0 Avoid issue with multiple notices 2023-06-15 10:00:01 +02:00
John Oleksowicz
33c399be63 Cleanup segmentation frontend code
- Reorganize field files into directories
- Extract woo fields/validation to match how subscriber fields work
- Fix typo in a file name
- Create new FilterProps type instead of repeating it all over the place

MAILPOET-5227
2023-06-14 12:03:59 +02:00
Jan Jakes
16c46cea39 Release 4.18.1 2023-06-13 14:12:56 +02:00
Pavel Dohnal
a308c8f3e1 Fix this.activateMode is not a function
We need to make sure that the global _ is always underscore
In certain themes Lodash's global _ is overriding the Underscore.js global of the same name, so while this segment of code was written targeting Underscore, it's in-fact using Lodash:

6e7053a6df/src/wp-includes/js/media/views/frame.js\#L76-L78

Unlike Underscore.js's each method, Lodash's equivalent does not support the third context argument. Since the above code is dependent upon the context being provided for this to be bound correctly in the call to this.activeMode, it otherwise fails.

Fixes: #4708

[MAILPOET-5380]
2023-06-12 15:26:18 +02:00
Jan Jakes
1f8b59cca1 Ensure product variations use their parent categories and tags
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
07d186d85f Do not boot Woo integration when Woo is not active
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
4a4eb45267 Add customer product categories and tags fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
916aea1e8d Add customer review fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
d259f5948c Add customer order fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
4c1f4ba073 Add basic Woo customer fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
cb56ec74fc Add WP user to Woo customer transformer
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
46d3a814e5 Add WP user fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00