Jan Lysý
fc59384616
Update test for WC sync
...
[MAILPOET-4052]
2022-01-11 09:31:51 +01:00
Jan Lysý
588b18b668
Use WC lookup tables in integration tests for filters
...
[MAILPOET-3576]
2022-01-10 09:49:07 +01:00
wxa
0779372c49
Update tests
...
[MAILPOET-3929]
2021-12-23 09:53:03 +01:00
wxa
c86443a08c
Update tests
...
[MAILPOET-4007]
2021-12-23 08:48:36 +01:00
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
John Oleksowicz
c23d8cae53
Add unique name check to segments repository
...
[MAILPOET-3998]
2021-12-22 09:36:56 +01:00
Pavel Dohnal
65ef9b6572
More comparison options for custom field segment
...
[MAILPOET-4008]
2021-12-20 12:40:25 +01:00
Pavel Dohnal
c13727a02b
Process multiple newsletters with operator NONE
...
[MAILPOET-3950]
2021-12-20 09:48:56 +01:00
Pavel Dohnal
57560bddaf
Process multiple newsletters with operator ALL
...
[MAILPOET-3950]
2021-12-20 09:48:56 +01:00
Pavel Dohnal
b47842c461
Process multiple newsletters with operator ANY
...
[MAILPOET-3950]
2021-12-20 09:48:56 +01:00
Pavel Dohnal
00ed9ca920
Pass an array instead of multiple optional arguments
...
[MAILPOET-3950]
2021-12-20 09:48:56 +01:00
Pavel Dohnal
fc472396e0
Use a better assert function
...
[MAILPOET-3950]
2021-12-20 09:48:56 +01:00
Pavel Dohnal
9fc2b6fe08
Add more testing data
...
[MAILPOET-3950]
2021-12-20 09:48:56 +01:00
Pavel Dohnal
0b4614be1e
Move clicked any link to a new class
...
[MAILPOET-3950]
2021-12-20 09:48:56 +01:00
Brezo Cordero
87a540b883
Move WC lookup tables schema to Database helper
...
[MAILPOET-3952]
2021-12-20 09:29:41 +01:00
Brezo Cordero
de2b04b26e
Add instanceof check on test
...
[MAILPOET-3952]
2021-12-20 09:29:41 +01:00
Brezo Cordero
67036f5d74
Add Any and None conditions to "is in country" segment
...
[MAILPOET-3952]
2021-12-20 09:29:41 +01:00
Brezo Cordero
06a4be4214
Use WC lookup tables for improved performance
...
This commit is part of a task to allow multiple values in "is in country" segment. This commit replaces the queries with the more performant ones written by @lysyjan. It also creates the lookup tables on the integration database and updates the test.
[MAILPOET-3952]
2021-12-20 09:29:41 +01:00
Brezo Cordero
b04cb41921
Make country always array
...
This commit is part of a task to allow multiple values in "is in country" segment. This commit first changes the string value $country to Array, adding a check for backwards compatibility and an integration test.
[MAILPOET-3952]
2021-12-20 09:29:41 +01:00
Oluwaseun Olorunsola
ea23ee63ae
Allow multiple values in purchased in this category segment
...
[MAILPOET-3953]
2021-12-20 09:26:13 +01:00
Pavel Dohnal
c1f4e0bf32
Make sure the user roles is always array
...
[MAILPOET-3955]
2021-12-16 14:46:16 +01:00
Pavel Dohnal
c5d994dbf0
Make the segment work with ALL condition
...
[MAILPOET-3955]
2021-12-16 14:46:16 +01:00
Pavel Dohnal
d541edc865
Make the segment work with NONE condition
...
[MAILPOET-3955]
2021-12-16 14:46:16 +01:00
Pavel Dohnal
d43905e77e
Use a better assert
...
[MAILPOET-3955]
2021-12-16 14:46:16 +01:00
Pavel Dohnal
6d5d5ccfda
Make the segment work with ANY condition
...
[MAILPOET-3955]
2021-12-16 14:46:16 +01:00
Pavel Dohnal
c2e841fd3d
Make role always array
...
[MAILPOET-3955]
2021-12-16 14:46:16 +01:00
Rodrigo Primo
6c05b3eaf0
Pass SubscriberEntity to sendConfirmationEmail() and sendConfirmationEmailOnce()
...
This commit changes the methods sendConfirmationEmail() and
sendConfirmationEmailOnce() to accept as the first parameter an instance
of SubscriberEntity instead of the old model Subscriber. It also updates
all the places where those two methods are called.
[MAILPOET-3815]
2021-12-13 16:03:07 +01:00
Jan Lysý
a3cd53e9c2
Use lower batchSize and move constant
...
[MAILPOET-3954]
2021-12-06 14:52:34 +01:00
Jan Lysý
9bd6cb159c
Sync subscribers sequentially from orders
...
[MAILPOET-3954]
2021-12-06 14:52:34 +01:00
Jan Lysý
a78e97d349
Remove the old model usage
...
[MAILPOET-3753]
2021-12-06 14:52:34 +01:00
Jan Lysý
c0c7e23b0e
Remove the rest of the old model usage
...
[MAILPOET-3753]
2021-12-06 14:52:34 +01:00
Jan Lysý
a30d25e32f
Add new dependencies to integration test
...
[MAILPOET-3753]
2021-12-06 14:52:34 +01:00
Pavel Dohnal
5fc8d51720
Add a filter for lists dynamic segment
...
[MAILPOET-3502]
2021-11-30 12:33:38 +01:00
wxa
28061a8c8b
Add tests
...
[MAILPOET-3607]
2021-11-29 13:02:49 +01:00
Rostislav Wolny
4a76827a77
Fix fetching count of segments with multiple filters
...
We needed to get number of rows which meet the condition.
I couldn't use DQL since it doesn't allow a subquery in FROM
so I rewrote the query using DBAL level query builder.
[MAILPOET-3922]
2021-11-08 11:34:56 +01:00
Rostislav Wolny
b8d72522a2
Replace deprecated doctrine methods in tests directory
...
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Pavel Dohnal
f1101f22dd
Delete duplicities in the code
...
The old model did update already created data
But doctrine tried to create a new row but it failed
because of duplicity. We create a subscriber row
using a hook.
[MAILPOET-3821]
2021-10-28 15:19:27 +02:00
Jan Lysý
6e6ba3e7a1
Use new signature of the dynamicSegmentFilterData constructor
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
cc05b945b4
Use new properties in repository
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
8d2eed4f71
Add integration test
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Brezo Cordero
00e901cbea
Add back check on tests
...
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Brezo Cordero
cea0e98422
Add back check on tests
...
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Brezo Cordero
ff372667c2
Do not subscribe on synchronizeGuestCustomer
...
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Brezo Cordero
910e8fb3a7
Add optin option to test synchronize guest
...
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Pavel Dohnal
d1b2458227
Add # of machine opens segment
...
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
2ab5f04f46
Add segment for machine opens
...
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
cdd3ff5178
Use only non-machine opens for segment # open
...
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
49c9dd5f79
Use only non-machine opens for segment open
...
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Rostislav Wolny
12c9019939
Mark customers without optin as unsubscribed
...
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
c182e953ef
Prevent trashing customer users when WP segment is inactive
...
[MAILPOET-3695]
2021-08-09 12:36:29 +02:00