Commit Graph

3736 Commits

Author SHA1 Message Date
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
Ján Mikláš
efcd7d6e1d Hide setting behind feature flag
[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
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
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
4154d0b928 Use feature flag for the MSS Pitch feature
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
1c4cb05cdf Pass the correct subscribers count to MSS pitch
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
744a6edc49 Allow MSS Pitch to be displayed on congratulate
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
9d5f43b411 Show the pitch only if key is not stored
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
20ea3359f2 Display heading based on subscriber's count
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
35c9973c85 Prevent activating email without body
[MAILPOET-2366]
2019-09-24 14:34:59 +01:00
Ján Mikláš
644e0caeeb Fix user being unsubscribed from non default lists
[MAILPOET-2292]
2019-09-23 16:50:21 +01:00
wxa
925e9ce15c Optimize the inactives sync SQL query [MAILPOET-2377] 2019-09-23 16:42:18 +01:00
Amine Ben hammou
a9d46d3ca0 Add clarification comment
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
f1ee32399f Use array_column from Util
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
777cf0bdd7 Add meta when sending newsletters
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
3dcde4170e Add meta when sending new subscriber notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
eebe6e828f Add meta when sending confirmation emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
553df6c135 Add meta when sending WP transactional emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
d40747e0ac Add meta when sending stats notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
723cb368c4 Add meta when sending previews
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
8594645e0d Add meta to test emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
5a3994ab5d Create mailer MetaInfo service
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
7a674e19b8 Add meta to extra_params
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
e9d12fb40e Move inline function to a private method
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Pavel Dohnal
1dd0c4ec70 Add Blank category to templates
[MAILPOET-2345]
2019-09-22 10:45:46 +02:00
Amine Ben hammou
5e5c744c3d Create WC transactional email
[MAILPOET-2280]
2019-09-22 10:34:06 +02:00
Amine Ben hammou
1dd8c7c1be Add new newsletter type
[MAILPOET-2280]
2019-09-22 10:34:06 +02:00