Commit Graph

1121 Commits

Author SHA1 Message Date
Rostislav Wolny
43dde40393 Add type, status index to newsletters table
Type is used for listings tabs and type in combination with status is used in analytics + a few other not that frequent queries
[MAILPOERT-1815]
2019-03-12 10:45:46 -04:00
Rostislav Wolny
e3741def1d Refactor NPS tracking data fetching to use API call
[MAILPOET-1815]
2019-03-12 10:45:46 -04:00
Rostislav Wolny
429671f78f Add new items to NPS traits
[MAILPOET-1815]
2019-03-12 10:45:46 -04:00
Rostislav Wolny
2ede5caad0 Releasing 3.21.0 2019-03-11 14:01:45 -04:00
Amine Ben hammou
ab097d356a Fix PHPStan errors 2019-03-07 08:30:14 -05:00
Amine Ben hammou
3ff55d85a9 Fix tests 2019-03-07 08:30:14 -05:00
Amine Ben hammou
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
wxa
2ccfe14708 Add an index to the newsletter links url [PREMIUM-114] 2019-03-04 07:50:00 -05:00
Ján Mikláš
602929356c Show unauthorized address right after sending email
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
af39ae89c4 Use DI for ServicesChecker
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
b5224927d0 Remove unused optional parameters, make function private, since it's not used outside
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
a79b60b17a Check if key exists
[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
Pavel Dohnal
6b0f7c70ad Update LAST_ANNOUNCEMENT_DATE
[MAILPOET-1833]
2019-02-25 11:17:38 -05:00
Rostislav Wolny
ccc300cd80 Remove container dependency from Initializer
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
6048ccba85 Inject CronTrigger into Initializer
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
096359741d Inject Hooks, Changelog and Menu into Initializer
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
db8c68460d Inject Router into Initializer
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
4a6fb923e0 Inject Activator and SettingsController into Initializer
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
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
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
Ján Mikláš
c9c6c0651e Replace Stylus with SCSS, update watch and compile tasks
[MAILPOET-1813]
2019-02-21 08:26:32 -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
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
6258ea6d1f Use encapsulated WP function [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
65df4327dd Refactor code to work with prefixed Sabberworm\CSS\Parser
[MAILPOET-1761]
2019-02-11 10:29:05 -05:00
Pavel Dohnal
82bdd343bd Add new fonts
[MAILPOET-1733]
2019-02-10 18:39:59 -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
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
Jan Jakeš
5495e4c2eb Add test to ensure unwated migrations are not produced
[MAILPOET-1717]
2019-01-31 15:11:46 +01:00
Jan Jakeš
fc4f0a2851 Fix DB changes being detected on every upgrade
[MAILPOET-1717]
2019-01-31 15:11:46 +01:00
Amine Ben hammou
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
Ján Mikláš
b663d9761e Encapsulate is_user_logged_in function 2019-01-30 13:59:49 +01:00