Commit Graph

67 Commits

Author SHA1 Message Date
Jan Jakes
1fe42a2afc Improve WP-Cron notice by checking whether the cron is running 2024-09-12 10:06:14 +02:00
Pavel Dohnal
c039b220a7 Check the tables engine once per day
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
Pavel Dohnal
e9969b64ae Only display two table names
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
Pavel Dohnal
12cdba005c Add a warning if a table with incorrect engine detected
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
Pavel Dohnal
3c9cde6a45 Add an empty test
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
Rostislav Wolny
5fdba0e170 Replace current_time usage in tests
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Rostislav Wolny
5a7462a152 Delete max 10000 rows from scheduled task subscribers in cleanup.
DB may crash when deleting too many rows in one query.
The scheduled_task_subscribers has the potential to contain many records.
This commit adds limit when cleaning up inconsistent data from scheduled task subscribers.
[MAILPOET-6155]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
9b8af4cafd Add check for orphaned newsletter posts
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
45114e4da2 Add check for orphaned newsletter links
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
fe66e31b5f Add check for orphaned subscriptions
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
0d7898b3a5 Add inconsistency check and fix for sending queues without newsletter
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
bbed9c35d2 Add check and cleanup for Orphaned sending task subscribers 2024-08-08 15:37:32 +02:00
Rostislav Wolny
34feae9f1f Delete also task subscribers when fixing orphaned scheduled tasks
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
b68e6b7639 Add method for cleaning up orphaned sending tasks
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
54c21df3a6 Add backend classes for fetching inconsistent data
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
alex-mpoet
4e218708b9 Show notice when WP-cron is disabled
[MAILPOET-6027]
2024-06-10 10:18:05 +02:00
Brezo Cordero
48465a7152 Refactor CapabilitiesManager
capabilities is an associate array of new class Capability  to make it more generic

[MAILPOET-5938]
2024-03-22 11:01:01 +01:00
Brezo Cordero
7c4c825d4e Fix preconditions for detailed analytics
[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
a4aefbc7e7 Handle individual capabilities when there is no tier
[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
d6a66c4b89 Remove duplication and fix condition for logo requirement.
[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
9c9a85d029 Backward compatibility for automationSteps and segmentFilters
[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
0ca2146801 Add capability check on newsletters detailed stats
Moves existing check to the capability manager and implements backward compatibility for products without capabilities.

[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
e185df3765 Add capability check on logo display
Moves existing check to the capability manager and implements backward compatibility for products without capabilities.

[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
931fae7691 Add basic capabilities manager class
Backwards compatibility will be handled later

[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
01afa2ef31 Update Sender Domain page banners
Remove unused notices displayed before enforcement date.

[MAILPOET-5844]
2024-02-05 10:52:56 +01:00
Brezo Cordero
aa88b73d28 Update tests
[MAILPOET-5856]
2024-01-30 10:40:33 +01:00
Brezo Cordero
4323723fd4 Remove DmarcPolicyChecker
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
45423a8e62 Refactor functions to AuthorizedSenderDomainController
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
John Oleksowicz
efe4c47568 Display different notices before Feb 1st
MAILPOET-5819
2024-01-11 20:13:59 +05:00
John Oleksowicz
862c0d26b2 Don't display banner notices to new users
MAILPOET-5783
2024-01-03 18:54:01 +01:00
John Oleksowicz
0d83836b68 Add banner notices for unverified sender domains
MAILPOET-5783
2024-01-03 18:54:01 +01:00
 Ján Mikláš
e2a849ceb9 Display the PHP outdated version warning for sites running PHP < 8.0
[MAILPOET-5727]
2023-11-27 13:23:29 +01:00
John Oleksowicz
50e1bce74c Update pending subscription notice
MAILPOET-5631
2023-11-02 18:15:55 +01: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
5bc5b5ebd2 Replace expect()->notEmpty() with verify()->notEmpty()
codeception/verify 2.1 removed support for expect()->notEmpty() so we need
to replace it with verify()->notEmpty().

[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
5d839277d6 Replace expect()->same() with verify()->same()
codeception/verify 2.1 removed support for expect()->same() so we need
to replace it with verify()->same().

[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
eba025a345 Replace expect()->stringNotContainsString() with verify()->stringNotContainsString()
codeception/verify 2.1 removed support for expect()->stringNotContainsString() so we need
to replace it with verify()->stringNotContainsString().

[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
997f635d4a Replace expect()->false() with verify()->false()
codeception/verify 2.1 removed support for expect()->false() so we need
to replace it with verify()->false().

[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
8ce8524ee3 Adjust conditions for displaying pending approval notice
The method was displayed even when MSS was set but key was not valid.
This may happen when a key loses the access to MSS.
[MAILPOET-5103]
2023-04-26 10:57:40 +02:00
Jan Jakes
c1babe49db Remove more no longer necessary test cleanups
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
e7f766aedf Remove empty _afters
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
376dca1098 Remove unnecessary truncating
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
cd0b795ac8 Extract customer creation/cleanup
This also ensures that cleanup always runs after all integration tests

MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
c75bc388c9 Remove unnecessary cleanup code
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Jan Lysý
22b0278003 Add notice when the subscription is waiting on approval
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Rodrigo Primo
5d56a0368a Update outdated PHP version message
Changing the message to make it more clear that PHP >= 7.2 and <= 7.3 is
not recommended but still supported.

[MAILPOET-4933]
2023-01-31 13:58:52 +01:00