Commit Graph

644 Commits

Author SHA1 Message Date
9eeeb10415 Add a button for recalculating score
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
74f9505772 Add score to stats page
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
a2c1b4f8bc Display subscribers score on the listings page
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
f63865b94c Add dynamic filter for WC total spent
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
4f3738b0b1 Implement new WooCommerce dynamic segment based on the number of orders
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
deb6b9315e Add new segment to data mapper
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
8b8578d2ca Error messages for product and category segments were inverted
Users creating a product based WooCommerce segment without specifying a
product were getting an error message asking them to select a category,
and the inverse was happening for users creating a category based
WooCommerce segment. This commit simply makes sure the proper error
message is displayed.

[MAILPOET-3561]
2021-04-19 09:21:23 +02:00
02e1ce7e4d Remove getFields method from FormEntity
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
a715aa9b76 Replace usages of StatisticsForms with Doctrine
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
52b3e34839 Create controller for subscribe Subscribers
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
5ceb084c64 Refactor Forms::delete() to use Doctrine
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
49f0c054fd Refactor Forms::restore() to use Doctrine
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
e054f05222 Refactor Forms::trash() to use Doctrine
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
57900f46e6 Display a message when WooCommerce is disabled
[MAILPOET-3477]
2021-04-12 11:11:25 +02:00
b3f82cccc5 Refactor Forms::duplicate() to use Doctrine instead of Paris
[MAILPOET-3038]
2021-04-07 09:48:53 +02:00
a18ae06f8a Rewrite Forms::listing() API to use Doctrine
This commit replaces the usage of Paris with Doctrine inside
MailPoet\API\JSON\v1\Forms::listing(). It also introduces a new class
MailPoet\Form\Listing\FormListingRepository that is used by listing() to
prepare the query that is executed by Doctrine and a new
MailPoet\API\JSON\ResponseBuilders\FormsResponseBuilder::buildForListing()
method to prepare the response that is returned by listing(). A few tests were
adjusted and new tests were added for the new class.

[MAILPOET-3036]
2021-03-31 11:37:07 +02:00
2360fe0a5a Check existence panels shen creating debugger
[MAILPOET-3420]
2021-03-29 15:40:30 +02:00
dcc70b3865 Use doctrine for save Subscriber
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
wxa
37ac7fd381 Remove unused imports
[MAILPOET-3484]
2021-03-29 14:31:44 +02:00
3f434aae76 Add acceptance tests for blocking trashing active segments
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
fc66381da2 Remove client side checks for trashing lists
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
271c0a0ec6 Block trashing of a active used single list on API
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
666be344db Unify JS check and API error message for blocking trashing
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
f066bc8fdd Disallow trashing single dynamic segment with active email
[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
e4eab6cbae Add method for returning count of dynamic subscribers
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
cb0d3c70ad Use Doctrine for update success message in Settings
[MAILPOET-3034]
2021-03-11 11:46:16 +01:00
90295b3c3a Use Doctrine for update ScheduledTask in Settings
[MAILPOET-3034]
2021-03-11 11:46:16 +01:00
1b74c3e195 Improve email action filter api data validation
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
6bc557ecb0 Refactor dynamic segments bulk actions endpoint
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
2db223daf7 Refactor dynamic segments delete endpoint
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
e1eea57d32 Refactor dynamic segments trash and restore
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
9fdebdb4d7 Refactor api for creating/updating dynamic segments
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
40c9f047be Refactor segment filter data to embedded object
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
bd63ae508f Refactor dynamic segments get endpoint to doctrine
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
f2655c40aa Use doctrine for exporting subscribers
[MAILPOET-3376]
2021-03-08 09:09:00 +01:00
878e3eb28f Simplify newsletter body data repair
[MAILPOET-3430]
2021-03-02 13:48:07 +01:00
9441d32bdd Use service for fix newsletter API data
[MAILPOET-3430]
2021-03-02 13:48:07 +01:00
0347e44893 Use importExportRepository in import
[MAILPOET-3378]
2021-02-18 10:13:44 +01:00
09acbb0d07 Use Doctrine instead of Paris in Import
[MAILPOET-3378]
2021-02-18 10:13:44 +01:00
aad1495262 Prevent deleting lists with emails that are being sent
[MAILPOET-3417]
2021-02-17 16:31:31 +01:00
6a63ac26c7 Fix naming sanitiser > sanitizer
[MAILPOET-3415]
2021-02-15 13:30:08 +01:00
d00e667b96 Check Custom HTML in form on save
[MAILPOET-3415]
2021-02-15 13:30:08 +01:00
08b5fae173 Use api data fix service for save form api
[MAILPOET-3415]
2021-02-15 13:30:08 +01:00
349918e45d Allow re-subscribe functionality in third party API
[MAILPOET-3307]
2021-02-03 11:01:38 +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