Jan Jakes
38c6880400
Unify setting no-cache headers, use WP-native nocache_headers()
2024-09-17 17:27:37 +02:00
Rostislav Wolny
30520f08fa
Fix typo in the method name in DataInconsistencyRepository
...
[MAILPOET-6213]
2024-09-17 14:04:26 +02:00
Jan Jakes
4b633ccdf6
Remove unused MailPoet\Utils\ProgressBar
...
[MAILPOET-6227]
2024-09-16 16:01:43 -06:00
Jan Jakes
1fe42a2afc
Improve WP-Cron notice by checking whether the cron is running
2024-09-12 10:06:14 +02:00
Rostislav Wolny
5781351e15
Fix deleting orphaned subscriber tasks in batches
...
[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
Jan Jakes
9960a56a75
Use temporary tables for orphaned scheduled task subscribers
...
This will ensure the intermediate results are materialized first.
[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
Rostislav Wolny
53a1664133
Optimize queries for orphaned scheduled task subscribers
...
[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
Jan Jakes
8717ecf866
Add WordPress Playground & Studio notice
...
[MAILPOET-6185]
2024-09-02 12:50:50 +02:00
Jan Jakes
8943979391
Hide send your first campaign notice in playground
...
[MAILPOET-6185]
2024-09-02 12:50:50 +02:00
Jan Jakes
0f0eb05c4e
Hide database engine notice in playground
...
[MAILPOET-6185]
2024-09-02 12:50:50 +02:00
Jan Jakes
da3a07e3a0
Fix deprecation notice about ${var} in strings
...
Fixes: Using ${var} in strings is deprecated, use {$var} instead
[MAILPOET-6207]
2024-09-01 20:45:34 +02:00
Pavel Dohnal
f960b55acb
Make sure the array contains the correct key
...
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
Pavel Dohnal
d137b55dd4
Catch errors while performing query
...
[MAILPOET-6184]
2024-08-22 14:33:54 +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
64c75fd0ca
Create a new class for database notice
...
[MAILPOET-6184]
2024-08-22 14:33:54 +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
7f1c606040
Reintroduce legacy DB table name constants for backward compatibility
...
[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
4733bde082
Annotate types for PHPStan
...
[MAILPOET-1587]
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
cb5f533e54
Add API for fixing inconsistent data
...
[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
Oluwaseun Olorunsola
0eb171ee6a
Add helper for mySqlGoneAway error handler
...
MAILPOET-6020
2024-05-27 15:11:54 +02:00
Rostislav Wolny
a1b6c41aef
Do not set cookie if we know that headers were sent
...
[MAILPOET-5269]
2024-05-24 14:27:39 +02:00
alex-mpoet
3c8f354039
Fix WPCOM debug bar styles exclusion
...
[MAILPOET-6066]
2024-05-17 15:33:40 +03:00
Brezo Cordero
e4b90d7e38
Add logic to display new upgrade page
...
that will have to be modified after results from a/b test
[MAILPOET-5906]
2024-04-03 08:40:46 +03:00
Brezo Cordero
cbff461b4d
Display upgrade page if no valid premium key
...
[MAILPOET-5905]
2024-03-25 12:36:08 +01:00
Brezo Cordero
724681d3a7
Display upgrade page for Tier 1
...
[MAILPOET-5905]
2024-03-25 12:36:08 +01: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
03abb1b4d5
Refactor capabilities
...
Make type more generic and move check to capabilities class
[MAILPOET-5938]
2024-03-22 11:01:01 +01:00
David Remer
85aec1ad77
Update banner in plugin
...
[MAILPOET-5974]
2024-03-22 10:48:01 +01:00
Mike Jolley
435f638011
Apply rules on lib dir
2024-03-21 16:57:59 +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
165ff19752
Add basic capabilities class
...
[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