Jan Lysý
41a55262fe
Fix PHPStan warnings in tests
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01: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
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
Rodrigo Primo
0d2f6e0776
Replace expect()->stringContainsString() with verify()->stringContainsString()
...
codeception/verify 2.1 removed support for expect()->stringContainsString() so we need
to replace it with verify()->stringContainsString().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
709be1d541
Replace expect()->null() with verify()->null()
...
codeception/verify 2.1 removed support for expect()->null() so we need
to replace it with verify()->null().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
9adbf81a78
Replace expect()->true() with verify()->true()
...
codeception/verify 2.1 removed support for expect()->true() so we need
to replace it with verify()->true().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
afe378ba22
Replace expect()->equals() with verify()->equals()
...
codeception/verify 2.1 removed support for expect()->equals() so we need
to replace it with verify()->equals().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rostislav Wolny
f56b58a5fe
Fix warnings and errors in integration tests
...
[PREMIUM-191]
2023-09-22 16:20:11 +02:00
Jan Lysý
577a82ca49
Add bulk action for removing tag from subscribers
...
[MAILPOET-5454]
2023-07-13 13:12:56 +02:00
Jan Lysý
aa12fd57d7
Add bulk action for tagging subscribers
...
[MAILPOET-5454]
2023-07-13 13:12:56 +02:00
John Oleksowicz
c75bc388c9
Remove unnecessary cleanup code
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
David Remer
7db40b27b5
Fix errors automatically with phpcbf
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
4832771185
Refactor the captcha system
...
The current Captcha class has a lot of responsibilities. It renders the captcha
image, can check if a certain captcha type is a Google captcha, if a captcha is
required for a certain email. The SubscriberSubscribeController is not only in
charge of "controlling" the subscription process but also validates, whether a
captcha is correct or not. This architecture made it difficult to extend the
functionality and introduce the audio captcha feature.
Therefore this commit refactors the captcha architecture and tries to seperate
the different concerns into several classes and objects. Validation is now done
by validators.
The CaptchaPhrase now is in charge of keeping the captcha phrase consistent
between the image and the new audio, so that you can renew the captcha and both
captchas are in sync.
[MAILPOET-4514]
2022-11-24 09:20:39 +01:00
Rodrigo Primo
df8ba7351c
Replace old SendingQueue model with Doctrine code in SubscribersTest
...
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Rodrigo Primo
85d317015f
Replace old Segment model with Doctrine code in SubscribersTest
...
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Rodrigo Primo
4157a864e5
Replace old Subscriber and SubscriberSegment models with Doctrine code in SubscribersTest
...
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Rodrigo Primo
929e5e6081
Replace old CustomField model with Doctrine code in SubscribersTest
...
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Jan Lysý
37c681259f
Use data factories for generating entities
...
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Brezo Cordero
3d1365595b
Remove catch block and change quotes
...
Remove catch block to log unexpected exceptions and change quotes for consistency on error message.
[MAILPOET-4259]
2022-06-06 11:59:27 +02:00
Brezo Cordero
2e5e8e808f
Verify that new email is unique when editing a subscriber
...
Throws an exception with information message if email already exists.
[MAILPOET-4259]
2022-06-06 11:59:27 +02:00
Rodrigo Primo
c1bd52b964
Add code to display the invisible ReCaptcha in the frontend
...
This commit adds the required code to display the invisible ReCaptcha in
the frontend when a form is rendered and this type of captcha is
selected in the admin.
[MAILPOET-4145]
2022-05-19 09:22:30 +02:00
David Remer
fce14358bf
Revert "Replace NewsletterOption and NewsletterOptionField models"
...
This reverts commit 9b087f719f
.
2022-05-17 12:27:46 +02:00
Rodrigo Primo
d89067854c
Replace NewsletterOption and NewsletterOptionField models
...
This commit repleaces the old NewsletterOption and NewsletterOptionField
models with Doctrine code in several test classes.
[MAILPOET-4150]
2022-05-16 13:18:21 +02:00
Rostislav Wolny
62c7022227
Improve message for confirmation emails when confirmation is disabled
...
[MAILPOET-4149]
2022-05-02 13:47:54 +02: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
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00