Commit Graph

677 Commits

Author SHA1 Message Date
Pavel Dohnal
464f23c82b Display machine opens
[MAILPOET-3740]
2021-08-30 14:04:29 +02:00
Pavel Dohnal
e4aca4f6de Refactor endpoint to doctrine
[MAILPOET-3626]
2021-08-25 09:22:44 +02:00
Pavel Dohnal
5d967f3457 Use a single string instead of array of strings
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Pavel Dohnal
3b7752daed Refactor creating new list to Doctrine
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Pavel Dohnal
3d1e2c5a2e Refactor setupWooCommerceInitialImport to Doctrine
[MAILPOET-3625]
2021-08-23 14:18:57 +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
Jan Lysý
19fad073d0 Add cleanup subscribers counts cache
[MAILPOET-3714]
2021-08-09 10:38:37 +02:00
Jan Lysý
a6dc552cdc Use new controller with subscribers counts
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
759cea0f97 Add calling API on the click
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
5abee92122 Add better error message when name is empty
[MAILPOET-3559]
2021-06-28 11:29:46 +02:00
Jan Lysý
62d6881966 Fix name of getter in SegmentEntity
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
3fdbb050cd Add getter for connect operand to SegmentEntity
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
97dd402d21 Change error message when request is almost empty
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
c88659076f Fix property filters_connect in response
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
f4c2e4880a Add dynamic filter connect type to response
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
eb0e7e317f Allow returning more filters in response for dynamic segments
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
aeeceeeb8d Use Newsletter\Url as service
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
Jan Lysý
f7b77cf75d Remove FormRepository from SettingsController
[MAILPOET-3643]
2021-06-07 14:14:50 +02:00
Jan Lysý
4d5630b1ca Remove ScheduledTaskRepository from SettingsController
[MAILPOET-3643]
2021-06-07 14:14:50 +02:00
Pavel Dohnal
9174bbb6fd Refactor form bulk action to docrine
[MAILPOET-3630]
2021-06-02 14:09:12 +02:00
Pavel Dohnal
ad40585da4 Refactor form save to doctrine
[MAILPOET-3037]
2021-05-19 11:00:18 +02:00
Pavel Dohnal
bf1598cb4e Refactor code
[MAILPOET-3037]
2021-05-19 11:00:18 +02:00
Pavel Dohnal
d89512932f Use Doctrine in Form create
[MAILPOET-3037]
2021-05-19 11:00:18 +02:00
Pavel Dohnal
61d73c1b6c Remove unused method
[MAILPOET-3037]
2021-05-19 11:00:18 +02:00
Jan Lysý
28060c8e12 Reschedule existing subscriber score task on reset
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Jan Lysý
62cb468525 Rename method and variables
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Jan Lysý
6d0486cfc5 Add calculation segment score
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Jan Lysý
f4ce284e5c Add engagement score into segment list
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Rostislav Wolny
5f5e5d0860 Fix backend error messages
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
c4406d6bbe Fix typo in error message and data factory method name
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
47eb085d2a Add backend mapping and validation for customer country segment
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Pavel Dohnal
17c0e26b02 Fix code style
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
9eeeb10415 Add a button for recalculating score
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
74f9505772 Add score to stats page
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
a2c1b4f8bc Display subscribers score on the listings page
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Jan Lysý
f63865b94c Add dynamic filter for WC total spent
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Rodrigo Primo
4f3738b0b1 Implement new WooCommerce dynamic segment based on the number of orders
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Pavel Dohnal
deb6b9315e Add new segment to data mapper
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Rodrigo Primo
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
Jan Lysý
02e1ce7e4d Remove getFields method from FormEntity
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
a715aa9b76 Replace usages of StatisticsForms with Doctrine
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
52b3e34839 Create controller for subscribe Subscribers
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Rodrigo Primo
5ceb084c64 Refactor Forms::delete() to use Doctrine
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
Rodrigo Primo
49f0c054fd Refactor Forms::restore() to use Doctrine
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
Rodrigo Primo
e054f05222 Refactor Forms::trash() to use Doctrine
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
Jan Lysý
57900f46e6 Display a message when WooCommerce is disabled
[MAILPOET-3477]
2021-04-12 11:11:25 +02:00
Rodrigo Primo
b3f82cccc5 Refactor Forms::duplicate() to use Doctrine instead of Paris
[MAILPOET-3038]
2021-04-07 09:48:53 +02:00
Rodrigo Primo
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
Pavel Dohnal
2360fe0a5a Check existence panels shen creating debugger
[MAILPOET-3420]
2021-03-29 15:40:30 +02:00