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
Jan Lysý
c579a35980
Use DB transaction when duplicating Segment
...
[MAILPOET-3170]
2021-01-26 17:03:48 +01:00
Jan Lysý
544abf5b22
Fix status of new subscribers in duplicated Segment
...
[MAILPOET-3170]
2021-01-26 17:03:48 +01:00
Jan Lysý
e08e19902b
Use Doctrine for Segment duplication
...
[MAILPOET-3170]
2021-01-26 17:03:48 +01:00
Rostislav Wolny
b7914a3ff6
Fix subscribers without segments count in subscribers filter
...
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
Rostislav Wolny
8456581695
Refactor segment lists fetching methods to separate repository
...
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
Rostislav Wolny
cd578e6475
Refactor fetching list of subscribers for export
...
[MAILPOET-3146]
2021-01-25 09:17:17 +01:00
Rostislav Wolny
6c7000430d
Refactor getting count of subscribers without segment to repository
...
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
Rostislav Wolny
ade48fc359
Load list of segments on form editor page using doctrine
...
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
Rostislav Wolny
28acdd629e
Add method for fetching list of segments with subscribers count
...
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
Pavel Dohnal
15528d84e0
Fix displaying woocommerce static segment in dynamic segments
...
[MAILPOET-3361]
2021-01-11 13:24:12 +01:00
Pavel Dohnal
822550f3c0
Refactor dynamic segments listings to doctrine
...
[MAILPOET-3361]
2021-01-11 13:24:12 +01:00
Pavel Dohnal
1d6cf56fd9
Refactor subscriber statistics to doctrine
...
[MAILPOET-3168]
2021-01-08 10:37:50 +01:00
Pavel Dohnal
de6e0e5adb
Move groups definitions
...
[MAILPOET-3168]
2021-01-08 10:37:50 +01:00
Pavel Dohnal
d93b168116
Refactor segments listings to doctrine
...
[MAILPOET-3168]
2021-01-08 10:37:50 +01:00
Jan Lysý
b67c216e31
Fix update segment when the name is the same
...
[MAILPOET-3343]
2020-12-21 10:03:08 +01:00
Jan Lysý
79abec8f13
Move method for create or update Segment to repository
...
[MAILPOET-3167]
2020-12-07 14:48:58 +01:00
Jan Lysý
a75575baf9
Use SegmentEntity in endpoint Segment::save()
...
[MAILPOET-3167]
2020-12-07 14:48:58 +01:00
Rostislav Wolny
d684dc0543
Remove unnecessary new user caching from WP segment
...
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
Rostislav Wolny
48ba20602e
Handle batch sync of new users for disabled WP users segment
...
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
Rostislav Wolny
6fcb485e61
Forbid scheduling of welcome email form trashed segment or subscriber
...
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
Rostislav Wolny
65ca040a20
Always inject welcome emails scheduler
...
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
Rostislav Wolny
3dcb939432
Handle adding new WP users to disabled WP segment
...
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
Rostislav Wolny
f960f7f928
Add ability to distinguish new subscriber in WP user sync
...
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
Rostislav Wolny
645f888186
Refactor WP Users segment controller to injectable service
...
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
Jan Lysý
b8d66c8cd8
Disable restore trashed WooCommerce subscribers
...
[MAILPOET-3138]
2020-10-20 17:22:06 +02:00
Jan Lysý
d5abc80346
Disable restore trashed WP subscribers
...
[MAILPOET-3138]
2020-10-20 17:22:06 +02:00
Pavel Dohnal
9e8ccd2c17
Use native array_column
...
[MAILPOET-3173]
2020-10-12 10:10:03 +02:00
Rostislav Wolny
946a17ed93
Fix subscribers in segment count query
...
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
b37d1f8c03
Allow all subscription statuses in WC segments
...
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
cd295c7aec
Allow fetching count of subscribers with status
...
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
694d1fae10
Refactor SubscribersFinder to be always injected by container
...
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00