Commit Graph

50 Commits

Author SHA1 Message Date
Jan Jakes
89b10e7504 Avoid ignoring PHPCS checks in automation field factories
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Lysý
c6caee6f7a Add comments to the WPDB queries in Automation Integrations
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Mike Jolley
435f638011 Apply rules on lib dir 2024-03-21 16:57:59 +01:00
Jan Jakes
7df37c88f6 Apply "in the last X" parameter to fields backfilled from orders for guests
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
Jan Jakes
516d719111 Fallback on order categories/tags in order fields
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
Jan Jakes
4b1027fcc7 Fallback on order date in first/last order date fields
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
Jan Jakes
bae1f44378 Use the new getters in field value factories
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
Jan Jakes
8ba4335dfb Optimize and cache term loading
[MAILPOET-5942]
2024-03-18 11:53:16 +01:00
David Remer
1a753ca2af Order explicitly by name
[MAILPOET-5942]
2024-03-12 14:27:21 +01:00
Jan Jakes
9327485441 Use "comment_date_gmt" for "in the last" condition
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
b5b21c9f7a Add check for product post type when fetching customer review data
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
5439db1e5a Unify parameter naming
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
1a0eb90402 Mark which fields support the "in the last" parameter for UI
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
7cb75e77c5 Add explicit casts for WordPressDotOrg.sniffs.DirectDB.UnescapedDBParameter
None of these are needed, but the sniff reports them as false positives, so this is a workaround.

[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
d4fd0bec71 Check for empty array when getting parent term IDs
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
5b2d75dc1f Add "in the last" parameter to "woocommerce:customer:purchased-tags" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
176b2dbd53 Add "in the last" parameter to "woocommerce:customer:purchased-categories" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
399e61d7b9 Add "in the last" parameter to "woocommerce:customer:review-count" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
3dbe1bd049 Add "in the last" parameter to "woocommerce:customer:spent-average" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
adff3b61a6 Add "in the last" parameter to "woocommerce:customer:order-count" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
d9be326aa7 Add "in the last" parameter to "woocommerce:customer:spent-total" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Lysý
525c80bac4 Fix PHPStan warnings in lib
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
David Remer
787e4d32b2 Return parent product for variations
[MAILPOET-5553]
2023-10-02 14:24:42 +02:00
Jan Jakes
c09410af94 Include parent category IDs in customer order fields
[MAILPOET-5377]
2023-08-14 16:41:29 +02:00
Jan Jakes
6414cc832c Include parent category IDs in order category field
[MAILPOET-5377]
2023-08-14 16:41:29 +02:00
Jan Jakes
8e640acaf1 Fix is-first-order for guest customers
[MAILPOET-5459]
2023-08-14 13:59:38 +02:00
Jan Jakes
245c433650 Make TermOptionsBuilder a universal service
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
e9dc3d8b12 Make sure "wc-" prefixes are removed from order status options
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
e1cb32dd5a Use post title for coupon name
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
82e2025e83 Use enums for countries also for customer fields
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
0199786a0e Use enums for countries
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
f9e7b38894 Add products field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
84c00e98d9 Add tags field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
f3a6708562 Add categories field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
7818ff645d Add is-first-order field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
9375d8cab7 Add coupon field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
15746341c0 Add total field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
6c270b88e7 Add status field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
01b13e27bc Add payment method field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
75adee5d23 Add customer note field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
0e7c26885d Add paid date field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
13e7afdc2a Add created date field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
e6795ca91e Add shipping info fields
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
3ddc8a6a3d Add billing info fields
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
364479cc4f Extract building category and tag field options to a service
[MAILPOET-5169]
2023-06-19 11:06:23 +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
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