be589e79bd
Add action for hook woocommerce_created_customer
...
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
631e2acda1
Change default WP subscriber status to unsubscribed
...
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
a6dcd7a22c
Exclude non-content related clicks from segment clicked any
...
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
d45fc34a4f
Add clicked any action support to segment filter data mapper
...
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
4bfbfada6e
Add support for clicked any to email type segment filter
...
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
9bd2ec5f6a
Check valid data on save a dynamic segment
...
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
f63865b94c
Add dynamic filter for WC total spent
...
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
bf882e3c92
Add validation support for multiple plugins dependency per segment
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
0909b406bc
Unify code formatting in segment filter SAL query code
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
85d0851909
Hide subscriptions segment options when the plugin is not active
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
db562645e8
Register WooCommerce Subscriptions as a segment dependency
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
cccafb1481
Update segments API data mapper to support subscriptions segments
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
6a7cf8677f
Add subscriptions filter into filter handler
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
2f7f4536a2
Add filter class for WooCommerce subscriptions filter
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
d410746a8c
Make sure parameters in WooCommerceNumberOfOrders are unique
...
This commit simply makes sure parameters in WooCommerceNumberOfOrders
are unique by prefixing their name with the filter ID. This is to avoid
conflicts when combining segments.
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
4f3738b0b1
Implement new WooCommerce dynamic segment based on the number of orders
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
deb6b9315e
Add new segment to data mapper
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
860444c246
Add new segment to filter handler
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
c1a51d8be4
Add filter class
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
da42a0e5af
Simplify Woo Segment update name methods
...
[MAILPOET-3565]
2021-04-19 09:37:26 +02:00
53cb51b5dd
Update customer names on checkout using order/user data
...
This change replaces slow SQL queries used for updating customer names
with modification of those names using loaded data and subscriber model.
[MAILPOET-3565]
2021-04-19 09:37:26 +02:00
86fa574ce8
Fix exhausted memory during woocommerce sync
2021-04-12 11:42:00 +02:00
57900f46e6
Display a message when WooCommerce is disabled
...
[MAILPOET-3477]
2021-04-12 11:11:25 +02:00
afd62b5b9e
Add missing column collation detection for single sync
...
[MAILPOET-3543]
2021-04-05 10:58:30 +02:00
42adfa784a
Remove old dynamic segments code
...
[MAILPOET-3484]
2021-03-29 14:31:44 +02:00
a264951904
Skip used segments when bulk trashing segments
...
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
e9080ec0f3
Add dynamic segments support to count shortcode
...
[MAILPOET-3425]
2021-03-29 12:10:05 +02:00
791c3f7a53
Remove unused currentFilter argument
...
[MAILPOET-3499]
2021-03-24 09:58:25 +01:00
872ff71f17
Fix first and last name sync on WooCommerce checkout
...
[MAILPOET-3499]
2021-03-24 09:58:25 +01:00
dc2a06601f
Fix calculating segments before saving
...
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
5013a24eca
Use array key instead of security
...
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
ce48153b12
Fix code using the combined segments
...
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
5b45bdac1e
Enable joining segments using and/or
...
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
ceae8e17aa
Make parameters unique
...
[MAILPOET-3212]
We need to be able to connect the same segments:
users who are editor or administrator
2021-03-23 15:58:34 +01:00
7a98abdead
Connect dynamic segments filters using UNION select
...
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
c7eb9df3da
Unify counting dynamic subscribers
...
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
e4eab6cbae
Add method for returning count of dynamic subscribers
...
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
529ff8969b
Add method for getWooCommerceSegment to Segment repository
...
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
1b74c3e195
Improve email action filter api data validation
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
2db223daf7
Refactor dynamic segments delete endpoint
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
de9b3689bd
Use correct exception in dynamic segment filter handler
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
9fdebdb4d7
Refactor api for creating/updating dynamic segments
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
64b078c7be
Add dynamic segments filter data mapper
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
ccd9041b79
Fix typo in segment save controller name
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
40c9f047be
Refactor segment filter data to embedded object
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
10bf0d006d
Unify subscribers without segment queries for listing & export counting
...
[MAILPOET-3462]
2021-03-10 13:16:48 +01:00
19dd9180bd
Rename 'not in a list' option
...
[MAILPOET-3462]
2021-03-10 13:16:48 +01:00
fb68f1a7d8
Fix count returned from shortcode mailpoet_subscribers_count
...
[MAILPOET-3424]
2021-03-08 10:24:59 +01:00
844ea3f6d8
Truncate first and last names before adding to wp_mailpoet_subscribers
...
MailPoet syncs users from wp_users to wp_mailpoet_subscribers. The
problem is that WP stores first and last names in a longtext field and
MP uses a varchar(255) field. This was causing a fatal error when
synchronizing names over 255 characters. This commit fixes this problem
by using SUBSTRING() to make sure that the 255 characters limit is
enforced when adding values to the columns first_name and last_name of
the wp_mailpoet_subscribers table. This should get rid of the fatal
error and it shouldn't be a problem to most users as it is unlikely that
a real user has a first or last name that is longer than 255 characters.
[MAILPOET-3246]
2021-03-02 16:09:47 +01:00
dc1ba7ede4
Add type casting for counts in groups of segments
...
[MAILPOET-3372]
2021-02-05 14:25:47 +01:00