Jan Jakes
f483d40c19
Clean settings cache when reinstalling the plugin
2024-09-13 10:34:55 +02:00
alex-mpoet
b77cd11c02
Update tests
...
[MAILPOET-6164]
2024-08-22 14:11:26 +02:00
Rostislav Wolny
5fdba0e170
Replace current_time usage in tests
...
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Rostislav Wolny
33f4b2d729
Replace usage of WP's current_time without gmt parameter in libs
...
This commit replaces usages by Carbon::now or in case we need a timestamp it
keeps current_time but adds the gtm parameter as true.
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Rostislav Wolny
12eabf26f2
Update Help API test
...
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
cb5f533e54
Add API for fixing inconsistent data
...
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Jan Jakes
71d7f46718
Make captcha session stateless
...
[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Pavel Dohnal
7be9ade5f4
Prevent updating WordPress users data
...
[MAILPOET-6168]
2024-07-25 15:10:57 +02:00
Pavel Dohnal
2a10a5817b
Add a test for non existing subsriber
...
[MAILPOET-6168]
2024-07-25 15:10:57 +02:00
Pavel Dohnal
2cdb12f712
Add Update Subscrber method to MP API
...
[MAILPOET-6168]
2024-07-25 15:10:57 +02:00
alex-mpoet
268330f1a0
Disallow activating emails without list specified in listing
...
[MAILPOET-5352]
2024-07-15 14:04:12 +02:00
Ján Mikláš
8b7556a479
Add more tests for rescheduling tasks
...
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
Ján Mikláš
73d302556e
Use class names instead of hardcoded classes in tests
...
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
Ján Mikláš
4af5720741
Refactor help endpoint
...
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
Ján Mikláš
ef2101ef46
Allow running tasks to be cancelled
...
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
Ján Mikláš
2117d43d6b
Add integration tests for Help API
...
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
Jan Lysý
26a98f1000
Update composer package doctrine/dbal
...
We cannot update to the latest version of the dbal 3 because there is a another package conflict.
[MAILPOET-6101]
2024-06-17 12:38:08 +02:00
alex-mpoet
a6caf0a1e6
Add bridge ping endpoint
...
[MAILPOET-6030]
2024-06-12 11:16:51 +02:00
alex-mpoet
c59ae2d82c
Add cron pinging endpoint
...
[MAILPOET-6029]
2024-06-10 17:07:31 +02:00
Oluwaseun Olorunsola
d7bad4d292
Fix failing test
...
MAILPOET-6022
2024-06-07 17:17:57 +02:00
Oluwaseun Olorunsola
f91812b1da
Allow Public API method updateList
update segment description with the same segment name
...
MAILPOET-6056
2024-05-16 18:02:01 +02:00
Oluwaseun Olorunsola
42cc65bda4
Updates tests for subscribeToLists API method
...
MAILPOET-6023
2024-04-24 12:19:08 +01:00
John Oleksowicz
6675a616b5
Display proper notices for segment actions
...
This updates some of the segment listing messages to include the name of
the segment to avoid confusion, and allows for the possibility that
bulk actions will work for some segments but not all, in which case we
need to show both success and error messages.
MAILPOET-5395
2024-04-24 12:59:37 +02:00
Jan Lysý
423ce62100
Add lastSubscribedAt to the subscribers API response
...
[MAILPOET-5894]
2024-03-22 11:09:42 +01:00
Mike Jolley
0d6fe6e5eb
Apply rules to tests and tasks
2024-03-21 16:57:59 +01:00
Jan Jakes
4b3744717f
Revert "Unify responses of newsletter editing API methods with get()"
...
This reverts commit e0b6cf7b41
.
In the next commit, I will add a different fix for this issue.
[MAILPOET-5833]
2024-02-05 13:28:15 +01:00
Rodrigo Primo
4ab07621b3
Refactor API\NewsletterTest to use Doctrine instead of Sending
...
[MAILPOET-5684]
2024-01-31 12:21:54 +01:00
Rodrigo Primo
8734d9762b
Expand intregration test coverage for API/JSON/v1/SendingQueue.php
...
Doing this before refactoring this class to use Doctrine instead of
Paris.
[MAILPOET-5684]
2024-01-31 12:21:54 +01:00
Brezo Cordero
ab23a01423
Modify the check for sender address
...
to implement rule for existing campaigns.
[MAILPOET-5832]
2024-01-20 13:39:23 +05:00
Brezo Cordero
78faadc126
Use new function to get verified domains
...
It uses the overall status set by the shop instead of checking the records.
[MAILPOET-5832]
2024-01-20 13:39:23 +05:00
Jan Jakes
e0b6cf7b41
Unify responses of newsletter editing API methods with get()
...
[MAILPOET-5779]
2024-01-16 18:15:35 +01:00
Brezo Cordero
1162b5aca1
Verify sender Address on newsletter activation
...
[MAILPOET-5786]
2024-01-15 19:34:21 +05:00
Jan Lysý
41a55262fe
Fix PHPStan warnings in tests
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Ján Mikláš
4ab52dd83f
Fix tests
...
[MAILPOET-5729]
2023-11-24 08:10:35 +02:00
Jan Jakes
b42d579b67
Remove usages of MailPoet\Tasks\Sending from welcome scheduler
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Jan Jakes
bb29f25c40
Remove simple usages of MailPoet\Tasks\Sending from integration tests
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Rodrigo Primo
d4a80c7230
Move SendingQueueEntity::toArray() to SendingQueuesResponseBuilder::build()
...
Based on a suggestion during the review of the PR, it was decided that
it makes more sense for the code that was created as
SendingQueueEntity::toArray() tp be moved to
SendingQueuesResponseBuilder::build(). It is used only to build the
format that is send in the API response.
[MAILPOET-4368]
2023-10-25 21:09:39 +02:00
Rodrigo Primo
8bc4d78c68
Replace expect()->regExp() with verify()->stringMatchesRegExp()
...
codeception/verify 2.1 removed support for expect()->regExp() so we need
to replace it with verify()->stringMatchesRegExp().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
2ced2b4afa
Replace expect()->lessThan() with verify()->lessThan()
...
codeception/verify 2.1 removed support for expect()->lessThan() so we need
to replace it with verify()->lessThan().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
a54e1f3c01
Replace expect()->greaterOrEquals() with verify()->greaterThanOrEqual()
...
codeception/verify 2.1 removed support for expect()->greaterOrEquals() so we need
to replace it with verify()->greaterThanOrEqual().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
c1c59fe392
Replace expect()->lessOrEquals() with verify()->lessThanOrEqual()
...
codeception/verify 2.1 removed support for expect()->lessOrEquals() so we need
to replace it with verify()->lessThanOrEqual().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
e4f0b89032
Replace expect()->contains() with verify()->arrayContains()
...
codeception/verify 2.1 removed support for expect()->contains() so we need
to replace it with verify()->arrayContains().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
fa9236d8c9
Replace expect()->greaterThan() with verify()->greaterThan()
...
codeception/verify 2.1 removed support for expect()->greaterThan() so we need
to replace it with verify()->greaterThan().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
4bc4e9b254
Replace expect()->startsWith() with verify()->stringStartsWith()
...
codeception/verify 2.1 removed support for expect()->startsWith() so we need
to replace it with verify()->stringStartsWith().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
a1f57361c5
Replace expect()->array() with verify()->isArray()
...
codeception/verify 2.1 removed support for expect()->array() so we need
to replace it with verify()->isArray().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
c41e5c7d0f
Replace expect()->hasNotKey() with verify()->arrayHasNotKey()
...
codeception/verify 2.1 removed support for expect()->hasNotKey() so we need
to replace it with verify()->arrayHasNotKey().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
525495409c
Replace expect()->notNull() with verify()->notNull()
...
codeception/verify 2.1 removed support for expect()->notNull() so we need
to replace it with verify()->notNull().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
9b56fdc688
Replace expect()->count() with verify()->arrayCount()
...
codeception/verify 2.1 removed support for expect()->count() so we need
to replace it with verify()->arrayCount().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
e4136fee8c
Replace expect()->isEmpty() with verify()->empty()
...
codeception/verify 2.1 removed support for expect()->isEmpty() so we need
to replace it with verify()->empty().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
1865fc8930
Replace expect()->isInstanceOf() with verify()->instanceOf()
...
codeception/verify 2.1 removed support for expect()->isInstanceOf() so we need
to replace it with verify()->instanceOf().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00