Commit Graph

605 Commits

Author SHA1 Message Date
Pavel Dohnal
acbf363412 Prevent scheduling welcome emails
If subscriber is imported we don't want to send them welcome emails if their data are updated

[MAILPOET-1908]
2019-04-01 07:02:54 -04:00
Pavel Dohnal
3d69b3aeec Move Twig to prefixed dependencies
Closes #1904
[MAILPOET-1929]
2019-04-01 05:43:25 -04:00
wxa
ed775c31cd Fix subscribing old WooCommerce customers to WC list [MAILPOET-1939] 2019-03-28 11:48:15 -04:00
Amine Ben hammou
17949d06d5 Clean DB on _before() 2019-03-21 10:03:21 -04:00
Amine Ben hammou
de3d3331b0 Refactor tests [MAILOET-1677] 2019-03-21 10:03:21 -04:00
Amine Ben hammou
92cf0cc7db Refactor UserFlagsController 2019-03-21 10:03:21 -04:00
Amine Ben hammou
114a8281a9 Fix tests, code typos and style 2019-03-21 10:03:21 -04:00
Amine Ben hammou
6218166ca1 Add user flags API endpoint [MAILPOET-1677] 2019-03-21 10:03:21 -04:00
Amine Ben hammou
33847397f3 Add UserFlags controller [MAILPOET-1677] 2019-03-21 10:03:21 -04:00
Amine Ben hammou
6801204232 Add UserFlag model [MAILPOET-1677] 2019-03-21 10:03:21 -04:00
wxa
0a9e23d2c4 Add tests [MAILPOET-1922] 2019-03-21 08:30:45 -04:00
Rostislav Wolny
c7fd6a5bfe Change sender for mailer send test to use authorized sending address 2019-03-18 11:17:04 -04:00
Pavel Dohnal
c526ba97e0 Fix typos
[MAILPOET-1790]
2019-03-13 16:10:09 -04:00
Pavel Dohnal
fefcf4fed5 Synchronise subscribers status
[MAILPOET-1790]
2019-03-13 16:10:09 -04:00
Rostislav Wolny
5193df6a6d Fix unix_socket parsing from DB_HOST
[MAILPOET-1886]
2019-03-13 09:45:42 -04:00
Rostislav Wolny
a35d7dc7c6 Refactor Config\Env to accept DB constants as parameters
[MAILPOET-1886]
2019-03-13 09:45:42 -04:00
Rostislav Wolny
efc5aa5900 Enhance Analytics\Reporter to fetch tracking data
[MAILPOET-1815]
2019-03-12 10:45:46 -04:00
Pavel Dohnal
2330532f35 Use default sender
[MAILPOET-1868]
2019-03-12 07:35:00 -04:00
Amine Ben hammou
3ff55d85a9 Fix tests 2019-03-07 08:30:14 -05:00
Pavel Dohnal
6d3beaa45d Render post position
[MAILPOET-1710]
2019-03-06 07:48:33 -05:00
Amine Ben hammou
658f4a6eb1 Add tests 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
Ján Mikláš
af39ae89c4 Use DI for ServicesChecker
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
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