Commit Graph

5129 Commits

Author SHA1 Message Date
Pavel Dohnal
06d2cc8cb7 Recalculate engagement score after open
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
5d4916efc3 Create score columns
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Jan Lysý
9bd2ec5f6a Check valid data on save a dynamic segment
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Jan Lysý
f63865b94c Add dynamic filter for WC total spent
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Jan Lysý
d471e19f92 Use the currency symbol from WC instead of string
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Jan Lysý
5b194018fc Add getter for currency symbol to WC helper
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Jan Lysý
5347714bbe Use AssetsLoader for enqueue css in formEditor
[MAILPOET-3556]
2021-04-21 14:19:27 +02:00
Rostislav Wolny
bf882e3c92 Add validation support for multiple plugins dependency per segment
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
0909b406bc Unify code formatting in segment filter SAL query code
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
85d0851909 Hide subscriptions segment options when the plugin is not active
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
db562645e8 Register WooCommerce Subscriptions as a segment dependency
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
cccafb1481 Update segments API data mapper to support subscriptions segments
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
0728bc2e12 Load subscription products for segments form
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
6a7cf8677f Add subscriptions filter into filter handler
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
2f7f4536a2 Add filter class for WooCommerce subscriptions filter
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rodrigo Primo
d410746a8c Make sure parameters in WooCommerceNumberOfOrders are unique
This commit simply makes sure parameters in WooCommerceNumberOfOrders
are unique by prefixing their name with the filter ID. This is to avoid
conflicts when combining segments.

[MAILPOET-3228]
2021-04-20 08:42:21 +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
Pavel Dohnal
860444c246 Add new segment to filter handler
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
c1a51d8be4 Add filter class
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Jan Lysý
dbbe0266ec Calculate batch size for import custom fields
[MAILPOET-3570]
2021-04-19 12:44:43 +02:00
Pavel Dohnal
9bca7cc169 Prevent breaking woocommerce in hooks
[MAILPOET-3563]
2021-04-19 11:59:19 +02:00
Rostislav Wolny
da42a0e5af Simplify Woo Segment update name methods
[MAILPOET-3565]
2021-04-19 09:37:26 +02:00
Rostislav Wolny
53cb51b5dd Update customer names on checkout using order/user data
This change replaces slow SQL queries used for updating customer names
with modification of those names using loaded data and subscriber model.
[MAILPOET-3565]
2021-04-19 09:37:26 +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
Pavel Dohnal
65c9bad64c Fix pre-selecting date value
[MAILPOET-3470]
2021-04-15 15:47:57 +02:00
Jan Lysý
b739d44f1b Add usage StatisticsForms from Populator
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
fc455d7cfa Add saving custom fields on subscribe
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
02e1ce7e4d Remove getFields method from FormEntity
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
5af29f8aac Use Carbon::instance method in DateTimeTzToStringType
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
24264544ec Mark old model SubscriberIP as deprecated
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
31bff0efb4 Remove rest of usage old model SubscriberIP
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
4d56020071 Remove usage old model from Throttling
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
4631fb7320 Add SubscriberIP entity and repository
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
67f648279f Mark old StatisticsForms model as deprecated
[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ý
6a8dbc6123 Add StatisticsFormsRepository
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
d530b02843 Add StatisticsFormEntity
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
e1994e64b8 Set default label in CustomFieldsRepository
[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
Jan Lysý
d5de54b1d5 Refactor Throttling to service
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
13b4c74c00 Use Doctrine in SubscriberActions integration tests
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
7db23849f7 Use Doctrine in SubscriberActions
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
f92d31fdb6 Reset subscriber's unconfirmed data on save
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
ce6c38cfd3 Fix default status for new subscriber
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
69d5eb42f7 Use Doctrine in RequiredCustomFieldValidator
[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
Pavel Dohnal
86fa574ce8 Fix exhausted memory during woocommerce sync 2021-04-12 11:42:00 +02:00