Jan Lysý
9bd2ec5f6a
Check valid data on save a dynamic segment
...
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Jan Lysý
f63865b94c
Add dynamic filter for WC total spent
...
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Rostislav Wolny
bf882e3c92
Add validation support for multiple plugins dependency per segment
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
0909b406bc
Unify code formatting in segment filter SAL query code
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
85d0851909
Hide subscriptions segment options when the plugin is not active
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
db562645e8
Register WooCommerce Subscriptions as a segment dependency
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
cccafb1481
Update segments API data mapper to support subscriptions segments
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
6a7cf8677f
Add subscriptions filter into filter handler
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
2f7f4536a2
Add filter class for WooCommerce subscriptions filter
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rodrigo Primo
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
Rodrigo Primo
4f3738b0b1
Implement new WooCommerce dynamic segment based on the number of orders
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Pavel Dohnal
deb6b9315e
Add new segment to data mapper
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
860444c246
Add new segment to filter handler
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
c1a51d8be4
Add filter class
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Rostislav Wolny
da42a0e5af
Simplify Woo Segment update name methods
...
[MAILPOET-3565]
2021-04-19 09:37:26 +02:00
Rostislav Wolny
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
Pavel Dohnal
86fa574ce8
Fix exhausted memory during woocommerce sync
2021-04-12 11:42:00 +02:00
Jan Lysý
57900f46e6
Display a message when WooCommerce is disabled
...
[MAILPOET-3477]
2021-04-12 11:11:25 +02:00
Jan Lysý
afd62b5b9e
Add missing column collation detection for single sync
...
[MAILPOET-3543]
2021-04-05 10:58:30 +02:00
wxa
42adfa784a
Remove old dynamic segments code
...
[MAILPOET-3484]
2021-03-29 14:31:44 +02:00
Rostislav Wolny
a264951904
Skip used segments when bulk trashing segments
...
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
Jan Lysý
e9080ec0f3
Add dynamic segments support to count shortcode
...
[MAILPOET-3425]
2021-03-29 12:10:05 +02:00
wxa
791c3f7a53
Remove unused currentFilter argument
...
[MAILPOET-3499]
2021-03-24 09:58:25 +01:00
wxa
872ff71f17
Fix first and last name sync on WooCommerce checkout
...
[MAILPOET-3499]
2021-03-24 09:58:25 +01:00
Pavel Dohnal
dc2a06601f
Fix calculating segments before saving
...
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
Pavel Dohnal
5013a24eca
Use array key instead of security
...
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
Pavel Dohnal
ce48153b12
Fix code using the combined segments
...
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
Pavel Dohnal
5b45bdac1e
Enable joining segments using and/or
...
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
Pavel Dohnal
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
Pavel Dohnal
7a98abdead
Connect dynamic segments filters using UNION select
...
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
Jan Lysý
c7eb9df3da
Unify counting dynamic subscribers
...
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
Jan Lysý
e4eab6cbae
Add method for returning count of dynamic subscribers
...
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
Jan Lysý
529ff8969b
Add method for getWooCommerceSegment to Segment repository
...
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Rostislav Wolny
1b74c3e195
Improve email action filter api data validation
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
2db223daf7
Refactor dynamic segments delete endpoint
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
de9b3689bd
Use correct exception in dynamic segment filter handler
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
9fdebdb4d7
Refactor api for creating/updating dynamic segments
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
64b078c7be
Add dynamic segments filter data mapper
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
ccd9041b79
Fix typo in segment save controller name
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
40c9f047be
Refactor segment filter data to embedded object
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
wxa
10bf0d006d
Unify subscribers without segment queries for listing & export counting
...
[MAILPOET-3462]
2021-03-10 13:16:48 +01:00
wxa
19dd9180bd
Rename 'not in a list' option
...
[MAILPOET-3462]
2021-03-10 13:16:48 +01:00
Jan Lysý
fb68f1a7d8
Fix count returned from shortcode mailpoet_subscribers_count
...
[MAILPOET-3424]
2021-03-08 10:24:59 +01:00
Rodrigo Primo
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
Jan Lysý
dc1ba7ede4
Add type casting for counts in groups of segments
...
[MAILPOET-3372]
2021-02-05 14:25:47 +01:00
Jan Lysý
9e53afb1c1
Use Carbon from MailPoetVendor namespace in SegmentsRepository
...
[MAILPOET-3400]
2021-02-02 12:45:34 +01:00
Jan Lysý
6299d2736e
Forbid restore and trash action for WP list in bulk action
...
[MAILPOET-3169]
2021-02-01 15:39:35 +01:00
Jan Lysý
b03f301a5a
Use Doctrine model in trash, restore and delete
...
[MAILPOET-3169]
2021-02-01 15:39:35 +01:00
Jan Lysý
aff7de4659
Use Doctrine in bulk actions for Segments
...
[MAILPOET-3169]
2021-02-01 15:39:35 +01:00
Jan Lysý
b9474700b8
Use a query for duplication of segment subscribers
...
[MAILPOET-3170]
2021-01-26 17:03:48 +01:00