Commit Graph

37 Commits

Author SHA1 Message Date
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
d9186e4230 Prevent deleting a list if attached to a form
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
271c0a0ec6 Block trashing of a active used single list on API
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
wxa
9872eca80f Redirect to segments listing after segment editing
[MAILPOET-3490]
2021-03-24 09:41:36 +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
c579a35980 Use DB transaction when duplicating 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
de6e0e5adb Move groups definitions
[MAILPOET-3168]
2021-01-08 10:37:50 +01:00
761e57bdd2 Remove old code
[MAILPOET-3168]
2021-01-08 10:37:50 +01:00
6f0171373c Add email subjects to the response
[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
8f41628d29 Add scheduled emails subjects into segments API response
[MAILPOET-3142]
2021-01-05 13:17:46 +01:00
5c20af3384 Move and restore subscribers from WP Users list
[MAILPOET-3142]
2021-01-05 13:17:46 +01:00
a75575baf9 Use SegmentEntity in endpoint Segment::save()
[MAILPOET-3167]
2020-12-07 14:48:58 +01:00
645f888186 Refactor WP Users segment controller to injectable service
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
1ac4678169 Add SegmentsResponseBuilder used in Segments::get()
[MAILPOET-3166]
2020-10-05 10:55:31 +02:00
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
dad381c74d Add automated emails subjects to segments response
[MAILPOET-2352]
2019-09-18 16:29:42 +02:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
3e66e9e1dd Fix phpstan level 6
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
032e5a20ba Add forceSync link to woocommerce segment
[MAILPOET-1790]
2019-03-13 16:10:09 -04:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
66a05e1b19 Inject Listing Handler and Segments Subscriber Listing using DI
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
a69ae0eea7 Refactor listing handler to reusable service
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
fd4bcee5f5 Inject bulk action controller using DI
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
2839c86017 Refactor bulk action into reusable controller
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
a241d0c7bc Modifies JSON API to use AccessControl 2017-08-22 09:06:19 -04:00
8b13889c7a Adds one entry point for both JSON and MP APIs
Removes endpoints folder and moves versions to the root
JSON API folder
2017-05-16 20:56:55 -04:00