Commit Graph

9623 Commits

Author SHA1 Message Date
Pavel Dohnal
f25a744a57 Move Simple text template to a correct category
[MAILPOET-2399]
2019-09-30 14:09:19 +01:00
Amine Ben hammou
a95e03cb01 Edit the structure of the context
[MAILPOET-2388]
2019-09-30 10:19:00 +01:00
Amine Ben hammou
84708f5154 Fix ESlint errors
[MAILPOET-2388]
2019-09-30 10:19:00 +01:00
Amine Ben hammou
95b09f7637 Use GlobalContext instead of ImportContext
[MAILPOET-2388]
2019-09-30 10:19:00 +01:00
Amine Ben hammou
e39d56a826 Use GlobalContext instead of FeaturesContext
[MAILPOET-2388]
2019-09-30 10:19:00 +01:00
Amine Ben hammou
a5c5e99383 Create the global context
[MAILPOET-2388]
2019-09-30 10:19:00 +01:00
Pavel Dohnal
63f126c7c7 Use better function to check url parametter
On some nginx installations we got null as
an array value and isset returned false

[MAILPOET-2393]
2019-09-26 13:52:38 +01:00
Pavel Dohnal
c244bc8072 Pre connect to 3rd party to speed up loading
[MAILPOET-2376]
2019-09-25 20:21:41 +01:00
Pavel Dohnal
c885a395c2 Pre-fetch editor script
[MAILPOET-2376]
2019-09-25 20:21:41 +01:00
Rami Yushuvaev
f0afcbcdce i18n: use %s placeholders instead of [number]
Replace `[number]` with `%s` using `sprintf()` function.

Old string:

**Good news! MailPoet won’t send emails to your [number] inactive subscribers. This is a standard practice to maintain good deliverability and open rates. But if you want to disable it, you can do so in settings. [link]Read more.[/link]**

New string:

**Good news! MailPoet won’t send emails to your %s inactive subscribers. This is a standard practice to maintain good deliverability and open rates. But if you want to disable it, you can do so in settings. [link]Read more.[/link]**
2019-09-25 20:03:21 +01:00
Rami Yushuvaev
6ee104a8fc Fix typo 2019-09-25 20:02:42 +01:00
Ján Mikláš
efcd7d6e1d Hide setting behind feature flag
[MAILPOET-2284]
2019-09-25 20:01:06 +01:00
Ján Mikláš
452552b14a Fix woocommerce.transactional_email_id setting getting removed on settings save
[MAILPOET-2284]
2019-09-25 20:01:06 +01:00
Ján Mikláš
7559c4306d Add setting to use editor for WooCommerce emails
[MAILPOET-2284]
2019-09-25 20:01:06 +01:00
Rostislav Wolny
a6db3dceed Remove unused mailpoet cookie session
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Rostislav Wolny
8cef633548 Refactor captcha rendering to use updated captcha session
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Rostislav Wolny
de3c519fbf Refactor subscribers API to use updated captcha session
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Rostislav Wolny
fa4c2c8b8f Add ability to pass session_id in within captcha related urls
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Rostislav Wolny
704117d37d Refactor captcha session to use internal session id
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Ján Mikláš
5a33946ea8 Rename de translation as de_DE-formal
[MAILPOET-2384]
2019-09-25 19:19:33 +01:00
Jan Jakeš
e5bfa1e4f8 Add plugin-root .htaccess to ZIP build
[MAILPOET-1949]
2019-09-25 19:07:58 +01:00
Jan Jakeš
9bf8b5bb61 Upgrade acceptance tests to WP image with .htaccess support
[MAILPOET-1949]
2019-09-25 19:07:58 +01:00
Jan Jakeš
4e7d0252e6 Add .htaccess files with access settings
[MAILPOET-1949]
2019-09-25 19:07:58 +01:00
Pavel Dohnal
910b62cd70 Replace constant in tests
[MAILPOET-2367]
2019-09-25 13:21:17 +01:00
Pavel Dohnal
1bedf1fd1a Allow modifing cron limits
[MAILPOET-2367]
2019-09-25 13:21:17 +01:00
Rostislav Wolny
4d3a005b20 Inject LinkTokens dependency to SubscriptionUrlFactory using DI
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
0dd7b5fb7a Remove unnecessary aliases for SubcriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
7dba4d900c Rename Subscription\Url to Subscription\SubscriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
653dbe5783 Remove aspect mock from Confirmation mailer test
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
9b8da1f172 Refactor private Url::getPost to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
ae83364297 Refactor getSubscriptionUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
d90d5c6385 Refactor getUnsubscribeUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
4e75f8883e Refactor getManageUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
21fba11893 Add static factory method for Subscription Url
This method is temporary needed in for usage in fully static classes
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
3c4b60ede9 Refactor getConfirmationUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
14cf67d556 Refactor getCaptchaImageUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
54632b20c2 Refactor getCaptchaUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
3d78d6b550 Add \MailPoet\Subscription\Url to DI config
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Amine Ben hammou
173a80b3da Remove unused class import
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
02683ee87b Fix tests
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
e588ebcee9 Use verifyToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
bc31ca6c6d Remove Subscriber::generateToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
692ff1ed22 Use getToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
ab63bde9ed Add LinkTokens service
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Pavel Dohnal
b16cec570e Rename confusing name
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
5c59b96646 Typo
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
30c67f59c0 Prevent default on link to make sure
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
4154d0b928 Use feature flag for the MSS Pitch feature
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
a222d91d71 Display pitch correctly on congratulations page
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
81f1db2336 Move translations to a single place
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00