Commit Graph

707 Commits

Author SHA1 Message Date
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
M. Shull
65a0357d67 Merge pull request #1739 from mailpoet/move-assets-to-dist
Move generated assets to dist [MAILPOET-1687]
2019-01-29 09:04:23 -05:00
M. Shull
0e3f27add3 Merge pull request #1728 from mailpoet/stats-notifications
Stats notifications [ MAILPOET-1571]
2019-01-28 13:22:21 -05:00
M. Shull
59418efa99 Merge pull request #1746 from mailpoet/phpstan-cleanup
Raise PHPStan strictness level to 1
2019-01-28 10:47:24 -05:00
Pavel Dohnal
d7db761f73 Add text template
[MAILPOET-1571]
2019-01-28 14:16:43 +01:00
Pavel Dohnal
3eb640597b Fix rates
[MAILPOET-1571]
2019-01-28 11:09:06 +01:00
Pavel Dohnal
06370ea245 Fix links
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
9eeda50b07 Render newsletters without clicked links
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
e76f8d5159 Prevent sending stats newsletter if tracking is disabled
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
b66c724c4a Fix tests
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
1db75f40fb Add statistics to template
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
ef5eba31d1 Add test
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
96f2f79d48 Refactor Stats notifications to spearate classes
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
6452e83476 Only schedule notification for standard newsletters
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
1d34613b17 Schedule a notification
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
d346a44974 Use a separate table instead of sending_queue
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
423341abb0 Add stats notifications email scheduler
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
75761d57ed Refactor Daemon to use DI
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Tautvidas Sipavičius
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
wxa
5bf968fbc6 Address PR review remarks [MAILPOET-1721] 2019-01-22 12:25:59 +03:00
Amine Ben hammou
65cb1b2750 Fix tests [MAILPOET-1687] 2019-01-21 17:52:21 +01:00
wxa
a4ff9822ad Add WooCommerce customers list [MAILPOET-1721] 2019-01-17 21:42:57 +03:00
Jan Jakeš
afb61700a3 Improve PHP 5.6 warning
[MAILPOET-1690]
2019-01-03 14:34:22 +01:00
wxa
0573a7915e Merge pull request #1689 from mailpoet/wp-functions
Encapsulating WP calls
2018-12-27 11:05:08 +03:00
M. Shull
da27680224 Merge pull request #1695 from mailpoet/di-hacking-refactor
Hacking day - DI Refactor [MAILPOET-1689]
2018-12-20 11:13:05 -05:00
M. Shull
a0a5d2b76e Merge pull request #1690 from mailpoet/tests-fixes
Fix acceptance tests that failed locally  [MAILPOET-1694]
2018-12-19 10:42:56 -05:00