Commit Graph

4334 Commits

Author SHA1 Message Date
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
Amine Ben hammou
986482e34b Make WPFunctions a singleton and add WP fns 2019-03-07 08:30:14 -05:00
Amine Ben hammou
4ff8e4031a Move getImageInfo to PostTransformer 2019-03-07 08:30:14 -05:00
Pavel Dohnal
c8f2ff7f30 Update condition for better readability
[MAILPOET-1710]
2019-03-06 07:48:33 -05:00
Pavel Dohnal
6d3beaa45d Render post position
[MAILPOET-1710]
2019-03-06 07:48:33 -05:00
Rostislav Wolny
00f6a5bcd8 Add annotations to renderer
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
Rostislav Wolny
a657554f66 Do not wait for template to confirm being saved on send page
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
Rostislav Wolny
66ae3edf78 Get rid of double html parsing during render
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
Rostislav Wolny
59d960b42f Add nodes query cache for CSS inlining
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
Rostislav Wolny
4e27152c93 Add private access to internal methods in Renderer
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
Rostislav Wolny
65b5f355fa Change thumbnail generating at send page to start earlier
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
Jan Jakeš
35d39a6ac9 Implement adjustable line-height
[MAILPOET-1450]
2019-03-05 07:21:16 -05:00
Rostislav Wolny
1e658a8dc6 Fix BC compatibility for Elementor properly
[MAILPOET-1863]
2019-03-04 08:51:08 -05:00
wxa
2ccfe14708 Add an index to the newsletter links url [PREMIUM-114] 2019-03-04 07:50:00 -05:00
wxa
abaf7e5c93 Make models without 'deleted_at' field duplicable [PREMIUM-114] 2019-03-04 07:50:00 -05:00
Amine Ben hammou
b5bc6ec3c6 Remove ununsed method 2019-02-28 15:56:40 -05:00
Amine Ben hammou
4a64fff0ff Optimize queries on WordPress trigger 2019-02-28 15:56:40 -05:00
Amine Ben hammou
ef0f6c9a5a Reduce the number of SQL queries 2019-02-28 15:56:40 -05:00
Amine Ben hammou
4dbca3efb3 Remove unnecessary condition 2019-02-28 15:56:40 -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áš
bad69b0e24 Save translated message to logs, not just translation key
[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áš
b95dc9296c Move generating 403 error messages to separate methods
[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áš
5c78028232 Add rel="noopener noreferrer" to links
[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
Ján Mikláš
79bd178123 Add integration test for unauthorized email
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
1da2263d83 Allow showing error notice without "MailPoet Error:" title
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
833d197753 Allow rendering WP notices without paragraph element
[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
Pavel Dohnal
6b0f7c70ad Update LAST_ANNOUNCEMENT_DATE
[MAILPOET-1833]
2019-02-25 11:17:38 -05:00
Rostislav Wolny
1868d1e45f Add a lazy instantiation of Mailer in NewSubscriberNofiticationMailer
[MAILPOET-1823]
2019-02-25 06:38:25 -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
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