Commit Graph

186 Commits

Author SHA1 Message Date
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
wxa
4661eab49e Merge WC email initialization into newsletters listing page [MAILPOET-2433] 2020-11-11 14:27:36 +01:00
4134e6e882 Use doctrine in Shortcodes Helper
[MAILPOET-2993]
2020-11-11 11:34:55 +01:00
df1f00f4df Add Test 14 form based templates
[MAILPOET-3208]
2020-10-26 12:31:50 +01:00
b9e5c12697 Add Test 13 form based templates
[MAILPOET-3208]
2020-10-26 12:31:50 +01:00
3c5dc77889 Add Test 18 form based templates
[MAILPOET-3209]
2020-10-22 16:15:56 +02:00
150743a533 Add Test 17 form based templates
[MAILPOET-3209]
2020-10-22 16:15:56 +02:00
eaa94c5ce8 Update description
[MAILPOET-2335] [MAILPOET-2334]
2020-10-22 11:54:41 +02:00
4a2e61aeb5 Add <TopBar> to forms listing
[MAILPOET-2780]
2020-10-21 12:14:18 +02:00
e8891dd2b1 Add Test 12 based templates
[MAILPOET-3190]
2020-10-05 17:24:33 +02:00
5b08451809 Add Test 11 based templates
[MAILPOET-3190]
2020-10-05 17:24:33 +02:00
1664a0fb30 Add temporary template thumbnails 2020-10-01 15:44:41 +02:00
448565603b Unify naming of template files
[MAILPOET-2988]
2020-10-01 15:44:41 +02:00
85a729ed86 Divide form templates data into categories
[MAILPOET-2988]
2020-10-01 15:44:41 +02:00
fbe4444737 Prevent loading whole posts on form editor page
The whole post can take a lot of memory, we only need name and id

[MAILPOET-3187]
2020-10-01 09:49:17 +02:00
82ce309df1 Rename property used for a dynamic segments service
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
331e40a137 Remove filter mailpoet_segments_with_subscriber_count
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
dd4bf486a6 Load dynamic segments for list directly without hook
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
0ed20f0d3e Pass woocommerce data to template
[MAILPOET-3120]
2020-09-17 13:41:31 +02:00
bbde9cf36d Split sending pages to form editor
[MAILPOET-3120]
2020-09-17 13:41:31 +02:00
5c21da80d5 Add data to template
[MAILPOET-3120]
2020-09-17 13:41:31 +02:00
8e83eb3493 Add form templates based on template 7
[MAILPOET-3076]
2020-09-14 14:22:11 +02:00
24fbeeb05f Add form templates based on template1
[MAILPOET-3076]
2020-09-14 14:22:11 +02:00