Commit Graph

332 Commits

Author SHA1 Message Date
Ján Mikláš
fc55e5f7ec Fix integration test
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
f5feb032fe Show error notice when email is sent from unauthorized email
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
79bd178123 Add integration test for unauthorized email
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
91c88bc93f Better error code name when not able to send mails
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Rostislav Wolny
6048ccba85 Inject CronTrigger into Initializer
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
b1c9133330 Add current_user_can WP function into WPFunctions wrapper
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
1179747324 Refactor AccessControl static methods to instance methods
[MAIPOET-1823]
2019-02-25 06:38:25 -05:00
wxa
fb77167a1f Remove unused imports [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
wxa
2f487fd300 Inject subscribe() action instead of calling it statically [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
wxa
7528f0f52b Move subscribe() method to a separate class an make it non-static [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
Ján Mikláš
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
a935b091d3 Add space between elseif/else if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
a8972ca281 Add space between switch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
fba2914392 Add space between for and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
217172711d Blacklist woocommerce and some wp_filter globals for integration tests to work with WC active
MAILPOET-1765
2019-02-12 12:11:35 -05:00
wxa
7074421a5a Test first/last names priority in WC sync [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
wxa
6e8cad2307 Use the settings controller in WooCommerce sync [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
wxa
83896d39d3 Override the source for new registered customers [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
wxa
9c7af744b3 Fix code style [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
wxa
4335872280 Add WooCommerce sync tests [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
wxa
3f1e690d90 Add WooCommerce synchronization [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
Rostislav Wolny
90d369a721 Fix fatal error with confirmation email sending thru MP API
[MAILPOET-1801]
2019-02-11 11:14:35 -05:00
Pavel Dohnal
198a8509fc Remove olark integration
[MAILPOET-1775]
2019-02-06 13:25:56 -05:00
M. Shull
ed674bef93 Merge pull request #1766 from mailpoet/settings-controller
Settings controller [MAILPOET-1757]
2019-01-31 13:39:11 -05:00
Rostislav Wolny
10e56d860d Move Setting getValue and setValue to controller as a private methods
[MAILPOET-1757]
2019-01-31 15:57:59 +01:00
Rostislav Wolny
2c921a16aa Move default setting values from Setting model to new controller
[MAILPOET-1757]
2019-01-31 15:57:59 +01:00
Rostislav Wolny
a12d0ff4bc Refactor newly added cron workers to use new settings
[MAILPOET-1757]
2019-01-31 15:57:59 +01:00
Rostislav Wolny
e060caeeba Refactor MailPoet\Twig, Utils to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
ce7ad292b8 Refactor MailPoet\Subscribers, Subscription to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
9399e19e3b Refactor MailPoet\Router, Services to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
fce709a7fc Refactor MailPoet\Newsletter to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
3a7ea60d3f Refactor MailPoet\Model to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
f4f1770b1d Refactor MailPoet\Mailer to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
71405a74e7 Refactor MailPoet\From, Helpscout and Logging to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
ff238bf69a Refactor MailPoet\Cron to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
6e79705128 Refactor MailPoet\Config to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
3b5962d36a Refactor MailPoet\API to use new settings
[MAILPOET-1757]
2019-01-31 15:57:46 +01:00
Jan Jakeš
5495e4c2eb Add test to ensure unwated migrations are not produced
[MAILPOET-1717]
2019-01-31 15:11:46 +01:00
Rostislav Wolny
3aa0926fb9 Remove setting and getting of nested values on Setting model
[MAILPOET-1757]
2019-01-31 14:51:07 +01:00
Rostislav Wolny
4c6e76dd44 Add SettingsController cache reset to integration tests
[MAILPOET-1757]
2019-01-31 14:51:07 +01:00
Rostislav Wolny
f7aecf1d63 Add new settings service
[MAILPOET-1757]
2019-01-31 14:48:01 +01:00
Rostislav Wolny
7a3de54864 Delete empty test 2019-01-31 14:48:01 +01:00
Amine Ben hammou
f83b7453fc Use DI container whever possible 2019-01-31 13:25:00 +01:00
Amine Ben hammou
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
Amine Ben hammou
d452cfcae7 Wrap calls in DateTime and Emoji classes 2019-01-31 13:23:32 +01:00
Ján Mikláš
f96e65dc15 Add integration test for limiting confirmation emails 2019-01-30 13:59:49 +01:00
Ján Mikláš
b663d9761e Encapsulate is_user_logged_in function 2019-01-30 13:59:49 +01:00
Ján Mikláš
8e51a56426 Limit number of confirmation emails sent to one email
MAILPOET-1734
2019-01-30 13:59:49 +01:00