Commit Graph

125 Commits

Author SHA1 Message Date
Ján Mikláš
088a756822 Remove custom MailPoet font
[MAILPOET-3548]
2021-06-07 13:49:33 +02:00
Rostislav Wolny
1fd30d7749 Set proper classes for WP admin submenu on editor pages
[MAILPOET-3527]
2021-05-03 14:04:07 +02:00
Jan Lysý
daa0b53574 Add different error message when a request timed out
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
Pavel Dohnal
42f1aabfd6 Move DatePicker translations to layout
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Rodrigo Primo
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
Rostislav Wolny
e576002d70 Append subscribers limit notice with info about WP users segment
[MAILPOET-3143]
2021-01-11 14:55:44 +01:00
Ján Mikláš
fbf73a5ebb Fix showing "sent" status for emails without queue
[MAILPOET-3073]
2020-10-29 14:09:37 +01:00
Ján Mikláš
e875dc2e02 Remove Typekit, use bundled Nunito font instead
[MAILPOET-3073]
2020-10-29 14:09:37 +01:00
wxa
25c5b4a59c Fix menu not expanding on non-listing pages [MAILPOET-3244] 2020-10-22 13:17:50 +02:00
Ján Mikláš
4a2e61aeb5 Add <TopBar> to forms listing
[MAILPOET-2780]
2020-10-21 12:14:18 +02:00
Ján Mikláš
02460f13bd Use local date and time formats in MailPoet.Date
[MAILPOET-2780]
2020-10-21 12:14:18 +02:00
Pavel Dohnal
717bcecda3 Prevent loading 3rd party libs
[MAILPOET-3128]
2020-10-19 17:49:18 +02:00
Pavel Dohnal
97633398bf Pass 3rd party enabled value to javascript
[MAILPOET-3128]
2020-10-19 17:49:18 +02:00
Jan Lysý
7449d3df3e Move Satismeter's translations to the main layout template
[MAILPOET-3101]
2020-10-06 13:06:17 +02:00
Pavel Dohnal
5a7c58999c Send mta data to template for beacon
[MAILPOET-3043]
2020-07-09 09:35:49 +02:00
Amine Ben hammou
29a4cabc58 Fix typo 2020-06-29 10:36:04 +02:00
Amine Ben hammou
a62eaf4f69 Add NewsletterStatus component [MAILPOET-2999] 2020-06-29 10:36:04 +02:00
Jan Jakeš
f986856cdd Fix naming and coding style
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Pavel Dohnal
e5639d1adb Remove SPF notice
[MAILPOET-2867]
2020-04-27 14:25:58 +02:00
Jan Jakeš
843c521dc1 Add "Fix this!" button to display set FROM address modal
[MAILPOET-2805]
2020-04-06 10:52:10 +02:00
Jan Jakeš
3ef072b599 Add save functionality and success/error messages
[MAILPOET-2804]
2020-04-01 16:21:15 +02:00
Jan Jakeš
ae6044b6b8 Add new modal for authorizing FROM address
[MAILPOET-2804]
2020-04-01 16:21:15 +02:00
Pavel Dohnal
38a62850fc Add modal component
[MAILPOET-2602]
2020-02-24 22:42:53 +00:00
Jan Jakeš
f7a1f63a28 Add SubscribersLimitNotice to mailpoet-subscribers page
[MAILPOET-2626]
2020-01-30 18:43:09 +00:00
Ján Mikláš
b287a6e609 Remove all success delivery polls
[MAILPOET-2596]
2020-01-28 20:21:12 +00:00
Ján Mikláš
73ec75ce6f Merge admin.css, importExport.css and newsletterEditor.css into mailpoet-plugin.css
[MAILPOET-2482]
2020-01-08 15:36:25 +00:00
Ján Mikláš
b12e554735 Remove loading of non-existent rtl.css
[MAILPOET-2482]
2020-01-08 15:36:25 +00:00
Amine Ben hammou
10dfe741aa Add translation
[MAILPOET-2390]
2019-12-16 12:21:05 +00:00
wxa
7be762c462 Improve the SPF check message [MAILPOET-2511] 2019-11-28 13:23:02 +00:00
Jan Jakeš
f9e99bb041 Use support tier to display free/premium Helpscout
[MAILPOET-2403]
2019-11-07 09:31:56 +00:00
Jan Jakeš
393cd3a412 Fix line endings in layout.html
[MAILPOET-2403]
2019-11-07 09:31:56 +00:00
Rostislav Wolny
7a960ff16e Setup basic layout classes for block editor
[MAILPOET-2450]
2019-11-06 16:54:40 +00:00
Pavel Dohnal
c244bc8072 Pre connect to 3rd party to speed up loading
[MAILPOET-2376]
2019-09-25 20:21:41 +01:00
Rami Yushuvaev
9bdfabc039 i18n: use WordPress %s placeholders 2019-09-20 11:00:58 +02:00
Amine Ben hammou
af12fb0acd Hide Beacon on wizard page
[MAILPOET-2344]
2019-09-12 15:27:16 +02:00
wxa
a97376b443 Add SPF record notice [MAILPOET-2295] 2019-09-12 14:09:27 +02:00
Amine Ben hammou
025110af5d Add suggested articles to Beacon
[MAILPOET-2338]
2019-09-11 10:16:03 +01:00
Rostislav Wolny
e21515c460 Add referral id to global JS variables
[MAILPOET-2182]
2019-08-22 14:36:44 -04:00
Pavel Dohnal
be02837c5c Upgrade to Beacon 2
[MAILPOET-2180]
2019-08-22 08:38:57 -04:00
Amine Ben hammou
b18804fa6e Add Notice component 2019-07-03 12:41:55 -04:00
Rostislav Wolny
3aa382a060 Refactor resume sending js code out of PHP
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Jan Jakeš
343ad0008c Render feature flags in layout.html
[MAILPOET-2008]
2019-05-16 10:45:55 -04:00
Amine Ben hammou
6fb43bf1a5 Remove unused strings 2019-05-10 08:56:17 -04:00
Ján Mikláš
e2080eea2d Show Products widget only when WC is active
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
Pavel Dohnal
0222b764d4 Translate parsley validation messages
[MAILPOET-1933]
2019-04-03 13:07:02 -04:00
Pavel Dohnal
7067b82e06 Improve message handling
[MAILPOET-1890]
2019-03-28 07:19:22 -04:00
Pavel Dohnal
6fc68bb979 Update sender warning message
[MAILPOET-1890]
2019-03-28 07:19:22 -04:00
Ján Mikláš
e2cde798df Unify detecting free domain in JS and PHP from one source
[MAILPOET-1882]
2019-03-21 13:15:29 -04:00
Rostislav Wolny
7bc16e4ba7 Refactor nps_poll to a high order component
[MAILPOET-1815]
2019-03-12 10:45:46 -04:00
Rostislav Wolny
f91b89bba5 Move satismeter script before our scripts to handle race condition
[MAILPOET-1815]
2019-03-12 10:45:46 -04:00