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
9e53afb1c1
Use Carbon from MailPoetVendor namespace in SegmentsRepository
...
[MAILPOET-3400]
2021-02-02 12:45:34 +01:00
6299d2736e
Forbid restore and trash action for WP list in bulk action
...
[MAILPOET-3169]
2021-02-01 15:39:35 +01:00
b03f301a5a
Use Doctrine model in trash, restore and delete
...
[MAILPOET-3169]
2021-02-01 15:39:35 +01:00
aff7de4659
Use Doctrine in bulk actions for Segments
...
[MAILPOET-3169]
2021-02-01 15:39:35 +01:00
b9474700b8
Use a query for duplication of segment subscribers
...
[MAILPOET-3170]
2021-01-26 17:03:48 +01:00
c579a35980
Use DB transaction when duplicating Segment
...
[MAILPOET-3170]
2021-01-26 17:03:48 +01:00
544abf5b22
Fix status of new subscribers in duplicated Segment
...
[MAILPOET-3170]
2021-01-26 17:03:48 +01:00
e08e19902b
Use Doctrine for Segment duplication
...
[MAILPOET-3170]
2021-01-26 17:03:48 +01:00
b7914a3ff6
Fix subscribers without segments count in subscribers filter
...
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
8456581695
Refactor segment lists fetching methods to separate repository
...
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
cd578e6475
Refactor fetching list of subscribers for export
...
[MAILPOET-3146]
2021-01-25 09:17:17 +01:00
6c7000430d
Refactor getting count of subscribers without segment to repository
...
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
ade48fc359
Load list of segments on form editor page using doctrine
...
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
28acdd629e
Add method for fetching list of segments with subscribers count
...
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
15528d84e0
Fix displaying woocommerce static segment in dynamic segments
...
[MAILPOET-3361]
2021-01-11 13:24:12 +01:00
822550f3c0
Refactor dynamic segments listings to doctrine
...
[MAILPOET-3361]
2021-01-11 13:24:12 +01:00
1d6cf56fd9
Refactor subscriber statistics to doctrine
...
[MAILPOET-3168]
2021-01-08 10:37:50 +01:00
de6e0e5adb
Move groups definitions
...
[MAILPOET-3168]
2021-01-08 10:37:50 +01:00
d93b168116
Refactor segments listings to doctrine
...
[MAILPOET-3168]
2021-01-08 10:37:50 +01:00
b67c216e31
Fix update segment when the name is the same
...
[MAILPOET-3343]
2020-12-21 10:03:08 +01:00
79abec8f13
Move method for create or update Segment to repository
...
[MAILPOET-3167]
2020-12-07 14:48:58 +01:00
a75575baf9
Use SegmentEntity in endpoint Segment::save()
...
[MAILPOET-3167]
2020-12-07 14:48:58 +01:00
d684dc0543
Remove unnecessary new user caching from WP segment
...
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
48ba20602e
Handle batch sync of new users for disabled WP users segment
...
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00