Commit Graph

2995 Commits

Author SHA1 Message Date
Rostislav Wolny
d5ea906433 Inject API into Initializer using container
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
f64e1c81fe Inject AccessControl 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
Rostislav Wolny
171b3564f9 Inject Renderer to Initializer
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
d8503cf3c2 Create Initializer using DI
[MAIPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
b7bc54a07e Move Env init out of Initializer
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Pavel Dohnal
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -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áš
c9c6c0651e Replace Stylus with SCSS, update watch and compile tasks
[MAILPOET-1813]
2019-02-21 08:26:32 -05:00
Rostislav Wolny
df40833024 Add deprecation warning for Setting::getValue
[MAILPOET-1802]
2019-02-13 12:30:33 -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áš
100db25ed9 Add space between while 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
Amine Ben hammou
102a994a81 Fix small templates issues 2019-02-13 07:00:36 -05:00
Amine Ben hammou
3c96187f63 Update some templates 2019-02-13 07:00:36 -05:00
Amine Ben hammou
9ce086f949 Add new templates [MAILPOET-1671] 2019-02-13 07:00:36 -05:00
wxa
6844317cae Remove a redundant switch statement [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
wxa
6258ea6d1f Use encapsulated WP function [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
wxa
95f162592b Move WooCommerceHelper instantiation to constructor [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
10364051ce Temporarily disable WC hooks (except for testing) [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
eb860c487b Add a scheduled task for WooCommerce sync [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
wxa
35ac4a40da Move WooCommerce detection to a helper [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
Rostislav Wolny
0cfc9055c4 Add support for social icons alignment to renderer
[MAILPOET-1731]
2019-02-11 12:28:04 -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
Rostislav Wolny
65df4327dd Refactor code to work with prefixed Sabberworm\CSS\Parser
[MAILPOET-1761]
2019-02-11 10:29:05 -05:00
Rostislav Wolny
ebca53724e Return static Setting call to fix Elementor integration
[MAILPOET-1800]
2019-02-10 19:45:34 -05:00
Pavel Dohnal
82bdd343bd Add new fonts
[MAILPOET-1733]
2019-02-10 18:39:59 -05:00
Rostislav Wolny
0a93a0905d Fix outdated updated_at value in newsletter save API response
[MAILPOET-1778]
2019-02-07 09:17:06 -05:00
Pavel Dohnal
198a8509fc Remove olark integration
[MAILPOET-1775]
2019-02-06 13:25:56 -05:00
Rostislav Wolny
f60898557e Hotfix passing constants to renderer
[MAILPOET-1780]
2019-02-05 10:00:07 +01:00
M. Shull
1b2a759297 Merge pull request #1761 from mailpoet/renderer-css-specificity
Css specificity fixes in renderer [MAILPOET-1730]
2019-01-31 15:27:06 -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
62dca415d4 Improve naming in SettingsController
[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