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
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
alex-mailpoet
3b2d60bb4f
Fix counts cache update for below minimum subscribers
...
[MAILPOET-5390]
2023-06-21 10:33:00 +02:00
alex-mailpoet
5203eb5268
Don't cache if subscribers count is below minimum value
...
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
Rostislav Wolny
77e64a7c57
Return plan limit data also for underprivileged keys
...
When a key is underprivileged it is still considered valid and
we can use the state data about limits.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
600c83943c
Change login of MailPoet.hasValidApiKey key JS property
...
The API key that is underprivileged for MSS and Premium
is still considered as valid because the API can still authenticate the key
and the key can be used reporting subscriber stats etc.
I've check places where we use the property and in all cases we use
to distinguish if the plugin uses a subscription plan (free or paid) or no plan.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
6aaa56466e
Display subscribers limit reached also when API reports restricted access
...
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
20a8afa2f1
Fix logic for detecting emails volume reached error
...
The values we have in key state might be missing or outdated.
We need to check also if the key check on MSS returned error
about access being restricted due email volume limit.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
48f1034180
Read email volume limit from and send emails count from MSS key data
...
Currently the starter plan has no access to premium so the plugin is
not able to fetch email volume limit using premium key endpoint.
Also the data are related to sending so it makes more sense to read those
from MSS key state.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Jan Lysý
a9d8a2b164
Add condition for displaying
...
[MAILPOET-4830]
2023-02-15 12:19:35 +01:00
Jan Jakes
926620e8f8
Ignore strict types rule in all existing files that don't have it
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Jan Jakes
24cca1ba04
Cache total subscribers count, add tests
...
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Lysý
6d920d8c69
Store email volume limit to window
...
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
69769697ab
Add handling new type of error for email volume limit
...
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
3f07e591c8
Fix integration tests compatibility with PHP 8.1
...
[MAILPOET-4053]
2022-01-19 13:14:42 +01:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00