Commit Graph

208 Commits

Author SHA1 Message Date
d6e709ff53 Use cache oldest created at in template
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
fabebcbea6 Add scheduling cache recalculation for admins
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
65b834a9ff Update renamed NotCamelCaps rule
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
59c8dfe0a7 Force Woo email settings filters for woo template editor
In order to load correct global styles even when the feature for using MailPoet's Woo template is off, we need to make sure we always apply filters before we load woo styles.
[MAILPOET-3645]
2021-06-14 14:30:01 +02:00
75c22f5f5f Create a component for custom field
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
d4f165747f Load Custom Fields for segment form
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
f4ce284e5c Add engagement score into segment list
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
0a0c63cd1f Show only allowed countries in options for customer country segment
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
173a4a124c Load WooCommerce countries for segment form
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
a2c1b4f8bc Display subscribers score on the listings page
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
d471e19f92 Use the currency symbol from WC instead of string
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
85d0851909 Hide subscriptions segment options when the plugin is not active
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
0728bc2e12 Load subscription products for segments form
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
7ef0f7a600 Create simple router with newsletters redirect
[MAILPOET-3536]
2021-04-05 10:26:53 +02:00
2360fe0a5a Check existence panels shen creating debugger
[MAILPOET-3420]
2021-03-29 15:40:30 +02:00
6469e0bf5b Fix response in NewsletterEditor
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
dffaab10a2 Use getCurrentWPUser from SubscribersRepository
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
61c8b3702a Add offset/limit to logs page
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
4481444282 Filter data
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
f1b2f01fee Refactor logs to javascript
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
1d8a5d42ee Format the date
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
a164ce8c8a Display shorter message
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
74367ae40e Display data in table
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
7f599dbf8a Pass data to template
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
c3372dfee8 Load logs
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
174583cc84 Create repository for logs
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
de47ec9c7f Add an empty logs page
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
37f5ec190b Display the HelpScout chat for all plans with premium support
This commit fixes a problem in the logic used to decide whether or not
the HelpScout chat should be available on the MailPoet admin pages. Before,
we were displaying the chat for plans that include premium support and access
to MSS. But we also have plans, like the Blogger plan, that include
premium support, and should see the chat, but don't include access to
MSS. Those plans were not seeing the chat.

This was happening because the code was checking just for
`mailpoet_api_key_state.data.support_tier == 'premium'`. The
mailpoet_api_key_state setting is added to the database based on the
response from the bridge.mailpoet.com/me endpoint. This endpoint returns
a 403 error for plans that don't include the sending service.

In this commit, to fix this problem, the code now checks for both
`mailpoet_api_key_state.data.support_tier == 'premium'` and
`premium_key_state.data.support_tier == 'premium'`. The former setting
is added to the database based on the response of the
bridge.mailpoet.com/premium endpoint. This endpoint works for plans that
have access to MailPoet Premium, but don't have access to MSS. We need to
check for both settings as we also have some plans that include the
sending service, but don't include MailPoet Premium.

[MAILPOET-3438]
2021-02-25 13:35:54 +03:00
0d6a068351 Add condition for adding custom HTML block to inserter
[MAILPOET-3415]
2021-02-15 13:30:08 +01:00
ab5720b4ca Allow WooCommerce and WP segments in shortcodes settings
[MAILPOET-3419]
2021-02-15 11:40:43 +01:00
8698fd944f Remove the Update page
[MAILPOET-3406]
2021-02-08 13:01:06 +01:00
8456581695 Refactor segment lists fetching methods to separate repository
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
0ee10fe2f9 Load list of segments on subscribers page using doctrine
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
ee6eea5f99 Load list of segments on settings page using doctrine
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
ade48fc359 Load list of segments on form editor page using doctrine
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
09fa34f6e6 Load list of segments on newsletters page using doctrine
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
bdb6477b4b Replace usages of Subscriber::getTotalCount by Subscribers service
[MAILPOET-3143]
2021-01-11 14:55:44 +01:00
2c3f6488c2 Remove no longer needed fetching of WP user count
[MAILPOET-3143]
2021-01-11 14:55:44 +01:00
7c8f29a90d Get rid of premium_subscriber_count and load count using doctrine
[MAILPOET-3143]
2021-01-11 14:55:44 +01:00
e576002d70 Append subscribers limit notice with info about WP users segment
[MAILPOET-3143]
2021-01-11 14:55:44 +01:00
35a25e119f Remove unnecessary type checks
These were added during initial testing of php8 compatibility using PHPStan and were false positive due PHPStan issues.
[MAILPOET-2837]
2021-01-04 12:28:53 +01:00
d13f63b3e2 Fix other minor type issues in libs
[MAILPOET-3926]
2020-12-07 11:36:01 +01:00
15ae8ae369 Use the data loader in form editor
[MAILPOET-2553]
2020-12-03 10:09:51 +01:00
344a338376 Move data selection to a reusable service
[MAILPOET-2553]
2020-12-03 10:09:51 +01:00
daaeada3da Match select boxes with same select boxes in segments
[MAILPOET-2553]
2020-12-03 10:09:51 +01:00
5f05495fa0 Display tutorial to all users
[MAILPOET-3206]
2020-11-26 13:51:58 +01:00
bfaa1bbec4 Display tutorial only to new users
[MAILPOET-3206]
2020-11-26 13:51:58 +01:00
e52a2af475 Add data about form editor tutorial into store
[MAILPOET-3206]
2020-11-26 13:51:58 +01:00
bf13d08a22 Download premium plugin
[MAILPOET-3315]
2020-11-26 11:16:17 +01:00
dfc4c286df Use init form template settings as fallback for corrupted data
[MAILPOET-3924]
2020-11-19 09:55:28 +01:00