Commit Graph

106 Commits

Author SHA1 Message Date
4fff3ff56c Add filter for year month day date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
8881e1d96c Add filter for year month date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
09167e1440 Unify saving values with custom fields table
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
67c2289f4b Add filter for year date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
28013b2987 Add filter for month date
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
f1934b3753 Add filter for checkbox custom fields
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
246d323174 Add filter for radio custom fields
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
ce6348cb71 Add filter for text custom fields
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
5789dd4455 Update integration test for email opens filter
[MAILPOET-3612]
2021-05-17 10:22:41 +02:00
fb4f851cd4 Add filter for segment
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
f2e39083a5 Update tests for the new default WP subscriber status
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
a6dcd7a22c Exclude non-content related clicks from segment clicked any
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
4bfbfada6e Add support for clicked any to email type segment filter
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
36c88c40c9 Add integration test on the total spent filter
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
a983679566 Replace generic assertions with more specific ones in WooCommerceNumberOfOrdersTest
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
637a32ef77 Add integration tests for the WooCommerce number of orders segment
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
8903b04203 Improve test checks
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
c1a51d8be4 Add filter class
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
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
966d6f36ff Add integration test for SegmentDependencyValidator
[MAILPOET-3477]
2021-04-12 11:11:25 +02:00
wxa
42adfa784a Remove old dynamic segments code
[MAILPOET-3484]
2021-03-29 14:31:44 +02:00
51e5206ed8 Fix trashing check to check also welcome and automatic emails
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
a264951904 Skip used segments when bulk trashing segments
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
63a3c9b785 Add test for bulk trashing in segments repository
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
9ffc3372e6 Add test on count of subscribers by ids
[MAILPOET-3425]
2021-03-29 12:10:05 +02:00
wxa
791c3f7a53 Remove unused currentFilter argument
[MAILPOET-3499]
2021-03-24 09:58:25 +01:00
wxa
872ff71f17 Fix first and last name sync on WooCommerce checkout
[MAILPOET-3499]
2021-03-24 09:58:25 +01:00
ce48153b12 Fix code using the combined segments
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
5b45bdac1e Enable joining segments using and/or
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
ceae8e17aa Make parameters unique
[MAILPOET-3212]

We need to be able to connect the same segments:
users who are editor or administrator
2021-03-23 15:58:34 +01:00
7a98abdead Connect dynamic segments filters using UNION select
[MAILPOET-3212]
2021-03-23 15:58:34 +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
844ea3f6d8 Truncate first and last names before adding to wp_mailpoet_subscribers
MailPoet syncs users from wp_users to wp_mailpoet_subscribers. The
problem is that WP stores first and last names in a longtext field and
MP uses a varchar(255) field. This was causing a fatal error when
synchronizing names over 255 characters. This commit fixes this problem
by using SUBSTRING() to make sure that the 255 characters limit is
enforced when adding values to the columns first_name and last_name of
the wp_mailpoet_subscribers table. This should get rid of the fatal
error and it shouldn't be a problem to most users as it is unlikely that
a real user has a first or last name that is longer than 255 characters.

[MAILPOET-3246]
2021-03-02 16:09:47 +01:00
f5987359c7 Add integration test on SegmentSaveController
[MAILPOET-3170]
2021-01-26 17:03:48 +01:00
180a238b40 Use timestamp for DateTime compare in Segments WPTest
[MAILPOET-3367]
2021-01-25 11:52:25 +01:00
8456581695 Refactor segment lists fetching methods to separate repository
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
4e3dda9872 Fix flakey integration test
[MAILPOET-3336]
2021-01-25 09:04:20 +01:00
922c52f7df Remove phpstan errors from the rest of the tests
[MAILPOET-3235]
2021-01-18 14:39:42 +01:00
b64525ecc5 Migrate tests
[MAILPOET-3168]
2021-01-08 10:37:50 +01:00
83cb272555 Use method createOrUpdate from SegmentRepository in tests
[MAILPOET-3167]
2020-12-07 14:48:58 +01:00
9473579766 Fix type issues in tests
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
48ba20602e Handle batch sync of new users for disabled WP users segment
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
3dcb939432 Handle adding new WP users to disabled WP segment
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
645f888186 Refactor WP Users segment controller to injectable service
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
da15182979 Deny deleting WooCommerce subscribers
[MAILPOET-3138]
2020-10-20 17:22:06 +02:00
d5abc80346 Disable restore trashed WP subscribers
[MAILPOET-3138]
2020-10-20 17:22:06 +02:00
95af49e43f Refactor creating/deleting WordPress users in integration tests
[MAILPOET-3077]
2020-09-29 08:24:11 +02:00
2f270575f3 Make segment description mandatory
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
c78922c12e Remove unused FinderMock dummy service
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00