Commit Graph

112 Commits

Author SHA1 Message Date
Rodrigo Primo
d07b45c83b Fix minor coding style error
[MAILPOET-4225]
2022-04-11 09:20:21 +02:00
Rodrigo Primo
e00d71b781 Remove WP < 4.5.0 compatibility code
This commit removes the method Posts::getTerms() as it existed to add a
compatibility layer for sites running WP < 4.5.0 and we don't support
this version anymore. The signature of the WP get_terms() function was
changed in version 4.5.0 and that is why this compatibility layer was
needed.

The integration test class for this method was also removed. The only
place where this method was used, AutomatedLatestContent::getTerms(),
now call WPFunctions->getTerms() directly. A very basic integration test
was added to cover the happy path of AutomatedLatestContent::getTerms().

[MAILPOET-4225]
2022-04-11 09:20:21 +02:00
Rostislav Wolny
d1b8ddee91 Refactor SendingTaskSubscriber API Test to doctrine
[MAILPOET-4006]
2022-04-04 15:33:52 +02:00
Rostislav Wolny
86164fd32e Use scheduled task subscriber listing repository in API endpoint
[MAILPOET-4006]
2022-04-04 15:33:52 +02:00
Rodrigo Primo
54ecb6065c Replace old ScheduledTask model with ScheduledTaskEntity in SubscribersFinder
[MAILPOET-3925]
2022-03-28 08:13:53 +02:00
David Remer
ac52f2af99 Introduce phpstan-type for MailerLog data
[MAILPOET-4122]
2022-03-21 10:17:37 +01:00
David Remer
d89edb27c0 Test if filter returns correct subscribers without segments 2022-02-09 16:31:51 +01:00
David Remer
57c842f37f Simplyfy error throwing 2022-02-09 15:06:58 +01:00
David Remer
0e48d3e2d1 Add integration test for before_subscribe action hook 2022-02-09 15:06:58 +01:00
John Oleksowicz
00f3e3787d New service for handling setting changes
[MAILPOET-4061]
2022-02-07 14:37:08 +01:00
John Oleksowicz
82a6fb8ac7 Refactor migrator to be a DI service
[MAILPOET-4061]
2022-02-07 14:37:08 +01:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00