Commit Graph

12 Commits

Author SHA1 Message Date
John Oleksowicz
df119d18a0 Refactor duplicate segment name checks
This creates a single method we can rely on to check for the uniqueness
of a segment name and refactors places where we had duplicate code to
use the new method.

[MAILPOET-3998]
2021-12-22 09:36:56 +01:00
Rostislav Wolny
73a9bed483 Replace deprecated doctrine methods in lib directory
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Jan Lysý
2490396a9e Allow saving more than one dynamic filter per segment
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Rostislav Wolny
9fdebdb4d7 Refactor api for creating/updating dynamic segments
[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
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
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