Commit Graph

266 Commits

Author SHA1 Message Date
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
Rostislav Wolny
c952ef9542 Use only Listing repository in subscribers listing API
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
5aa4e880e6 Refactor static/dynamic condition to match old behavior
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
0437236cf1 Refactor subscriber finder to use new repository
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
231b7eb2a9 Add SegmentSubscriberRepository with basic methods
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
a1b3677223 Implement WooCommerce category purchase segment filter in Doctrine
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
750014716e Implement WooCommerce product segment filter using Doctrine
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
00db901d94 Implement email actions filter in Doctrine
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
cf76480ab3 Implement userRole filter using Doctrine
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
d2e46c17ed Add dummy dynamic segments filters
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
bf053edbfb Refactor mailpoet_subscribers_in_segment_apply_bulk_action_handlers to direct calls
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
1a56b2534e Refactor mailpoet_get_subscribers_listings_in_segment_handlers to direct calls
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
dd7390ec73 Refactor mailpoet_get_subscribers_in_segment_finders hook to direct calls
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
4f50c94dcb Use new confirmation mailer send method with duplicate check
[MAILPOET-2876]
2020-09-09 13:09:06 +02:00
Lysy Jan
ba4fd9eb1b Fix subscriber status resetting on WP user creation
Fixes:#2960
[MAILPOET-3016]
2020-08-04 13:41:48 +02:00
Jan Jakeš
4279e642b5 Use Doctrine for segment analytics
[MAILPOET-2903]
2020-05-28 14:54:11 +02:00
Jan Jakeš
86a24ad674 Use PHPStan generics
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Pavel Dohnal
9cf73d00b3 Make sure the types are correct
[MAILPOET-2716]
2020-04-24 11:44:09 +02:00
Rostislav Wolny
9701f46a77 Render segment names in form using actual segment names
[MAILPOET-2801]
2020-04-09 10:09:57 +02:00
Pavel Dohnal
d166e4b51f Synchronise guest woocommerce users as unconfirmed
[MAILPOET-2799]
2020-04-02 14:24:38 +02:00