Commit Graph

10452 Commits

Author SHA1 Message Date
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
Pavel Dohnal
1cd293d6ea Pass the shop url to MSS pitch
[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
bedde4994a Pass if woocommerce is active to MSS pitch
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
08f564b459 Display Body of the MSS Pitch
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
c15919a3e9 Display illustration
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
d9b968a34e Separate success into multiple files
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
a831f45909 Display the correct header
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
a202679dba Add option to disable progress bar in wizard steps
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
6246c3d48e Move wizard body to own component
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
1bdbc71f6d Move step layout to own folder
[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
dd88891532 Move pitch mss step file
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
08608bb9f2 Make cursor on link a hand
[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
daabe385c6 Open a new link and close wizard
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
9d2f7c1246 Display the correct content for each URL
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
29f1bd064b Display woocommerce benefit only if active
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
df1e058fe4 Add translation context
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
83e298159d Improve styling
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
fa04ccfbe5 Add referral id to the link
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00
Pavel Dohnal
d84ffa9f6d Add texts for users with lots of subscribers
[MAILPOET-2142]
2019-09-24 14:36:09 +01:00