Commit Graph

25 Commits

Author SHA1 Message Date
Rostislav Wolny
73a9bed483 Replace deprecated doctrine methods in lib directory
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Jan Lysý
8f7ef3aa51 Rename method for getting count of segments with more filters
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
0af5f111be Add new function for getting count of segments with more filters
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Brezo Cordero
b2857cbf40 Refactor code that checks for list deletion with form
Move segment deletion to new function doTrash to avoid calling methods twice on individual segment deletion. Refactor acceptance test.

[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Brezo Cordero
d9186e4230 Prevent deleting a list if attached to a form
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Rodrigo Primo
e59992cc16 Fix checkGenericClassInNonGenericObjectType PHPStan errors
This commit removes the checkGenericClassInNonGenericObjectType flag
from PHPStan configuration files and fixes all associated errors in our
code base.

[MAILPOET-3236]
2021-08-09 12:58:56 +02:00
Jan Lysý
38d643a9fd Remove irrelevant comment from SegmentsRepository
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
61fc1f1b5e Fix removing redundant filters
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
2490396a9e Allow saving more than one dynamic filter per segment
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
050688e155 Schedule segments recalculation every day
[MAILPOET-3633]
2021-05-24 09:56:38 +02:00
Jan Lysý
6d0486cfc5 Add calculation segment score
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Rostislav Wolny
a264951904 Skip used segments when bulk trashing segments
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
Jan Lysý
529ff8969b Add method for getWooCommerceSegment to Segment repository
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Rostislav Wolny
2db223daf7 Refactor dynamic segments delete endpoint
[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
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ý
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
Rostislav Wolny
6fcb485e61 Forbid scheduling of welcome email form trashed segment or subscriber
[MAILPOET-3141]
2020-11-09 12:56:17 +01: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
Rostislav Wolny
9701f46a77 Render segment names in form using actual segment names
[MAILPOET-2801]
2020-04-09 10:09:57 +02:00