Jan Lysý
d3ee546518
Add support for more product ids in filter
...
[MAILPOET-3954]
2021-12-01 09:13:20 +01:00
Pavel Dohnal
e2aef203d2
Make sure segment id is always number
...
[MAILPOET-3502]
2021-11-30 12:33:38 +01:00
Pavel Dohnal
f759057fa8
Add filter
...
[MAILPOET-3502]
2021-11-30 12:33:38 +01:00
Pavel Dohnal
ec390b2131
Add list segment to data mapper
...
[MAILPOET-3502]
2021-11-30 12:33:38 +01:00
Pavel Dohnal
5fc8d51720
Add a filter for lists dynamic segment
...
[MAILPOET-3502]
2021-11-30 12:33:38 +01:00
wxa
aa4ecb2645
Add subscriber score segment back-end
...
[MAILPOET-3607]
2021-11-29 13:02:49 +01:00
Rodrigo Primo
120aa74511
Fix query to get subscribers of the "has WC subscription" segment
...
There was an issue in the old query used to get subscribers of the "has WooCommerce subscription" segment. When getting the IDs of the users
that purchased a given subscription, it would get all the entries from wp_woocommerce_order_items without checking the value of ordem_item_type.
The problem is that wp_woocommerce_order_items contains entries for the purchased product, but also other things like shipping and tax information. The WooCommerce Subscriptions extension uses wp_woocommerce_order_items to store data when a user switches from one subscription to another. This was causing users to be included in the "has WooCommerce subscription" segment even after they had switched from the subscription that belonged to the segment to another one.
This problem was fixed by adding another condition to the part of the query that joins with wp_woocommerce_order_items to get only entries that have the value 'line_item' for the field 'order_item_type'. This excludes entries where the value of 'order_item_type' is 'line_item_switched', which is what WC Subscriptions uses to track subscriptions that a user used to have before switching to something else.
[MAILPOET-3898]
2021-11-22 12:53:39 +01:00
Jan Lysý
6e6ba3e7a1
Use new signature of the dynamicSegmentFilterData constructor
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
cc05b945b4
Use new properties in repository
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
02ad7c9c8e
Add repository for DynamicSegmentFilters
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Pavel Dohnal
21839fc30b
Fix indentation of multiline function declarations
...
[MAILPOET-3732]
2021-09-17 12:17:36 +02:00
Pavel Dohnal
cdda3480ca
Make all constructor signatures multiline
...
[MAILPOET-3732]
2021-09-16 14:19:40 +02:00
Pavel Dohnal
b0b6f1ff35
Remove unnecessary check
...
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
d1b2458227
Add # of machine opens segment
...
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
2ab5f04f46
Add segment for machine opens
...
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
cdd3ff5178
Use only non-machine opens for segment # open
...
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
49c9dd5f79
Use only non-machine opens for segment open
...
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Rostislav Wolny
aa4312dd3c
Fix incorrect counts in dynamic segments form
...
[MAILPOET-3761]
2021-09-08 12:02:26 +02:00
Rostislav Wolny
65b834a9ff
Update renamed NotCamelCaps rule
...
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Jan Lysý
3a1e057e67
Move the aggregate function count to the having clause
...
[MAILPOET-3668]
2021-06-22 11:58:45 +02:00
Jan Lysý
62d6881966
Fix name of getter in SegmentEntity
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
3fdbb050cd
Add getter for connect operand to SegmentEntity
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
7332fdcd6e
Use random string as suffix when filter id is null
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
ddcf35eeff
Add constant with type for segment of type UserRole
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
2490396a9e
Allow saving more than one dynamic filter per segment
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
f4c2e4880a
Add dynamic filter connect type to response
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Pavel Dohnal
33ced0d9a1
Fix checkbox field
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
ede9f3d995
Use snake case for data that are transfered on server
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
0a1fc128b7
Add a code comment
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
42ada2df95
Add an acceptance test
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
251bb872f6
Fix connecting query
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
cb8d88c0c3
Fix passing data
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
1e65c88035
Add field for date
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
a5f3a06110
Add backend mapping and validation
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
7e477a4c9c
Register filter service in filter handler
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
e3bd23a2ee
Refactor filter factory into multiple functions
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
4fff3ff56c
Add filter for year month day date
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
8881e1d96c
Add filter for year month date
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
09167e1440
Unify saving values with custom fields table
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
67c2289f4b
Add filter for year date
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
28013b2987
Add filter for month date
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
f1934b3753
Add filter for checkbox custom fields
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
246d323174
Add filter for radio custom fields
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Pavel Dohnal
ce6348cb71
Add filter for text custom fields
...
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Jan Lysý
673436bc3f
Fix calculating email opens for dynamic segments
...
[MAILPOET-3612]
2021-05-17 10:22:41 +02:00
Rostislav Wolny
d4fbe95aef
Refactor SQL for segment in country to use join instead subselect
...
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
a3935d3e04
Add strict_types check to WooCommerce country filter class
...
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
47eb085d2a
Add backend mapping and validation for customer country segment
...
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
b54eb9af41
Register country filter service in filter handler
...
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
846f51c5d6
Refactor filter selection from filter handler to factory class
...
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00