Commit Graph

153 Commits

Author SHA1 Message Date
Jan Jakeš
3c69700a6b Make WooCommercePurchases non-public in DI container
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
Jan Jakeš
079bd337c7 Rename WooCommerce "orders" to more exact "purchases"
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
Jan Jakeš
481f5b9344 Add tracking of WooCommerce oders after payment
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
Rostislav Wolny
ebc44082e6 Add inactive subscribers worker to factory
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Pavel Dohnal
bdaff6fc30 Add tracking cookie
[MAILPOET-1961]
2019-04-16 11:20:56 +02:00
Rostislav Wolny
65ade03fb0 Register ServiceChecker to DI container
[MAILPOET-1938]
2019-03-28 11:15:33 -04:00
Pavel Dohnal
f3f769316a Upgrade PHPStan level to 5
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
Pavel Dohnal
21766421d5 Upgrade PHPStan level to 4
I had to add some ignore errors until phpstan/phpstan#1482 is resolved

[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
Amine Ben hammou
fee3b58e4e Fix small bugs 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
22fc3089e6 Rename UserFlags to UserFlagsController 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
wxa
a822114c6d Add bulk action factory to be able to use custom classes for actions [MAILPOET-1922] 2019-03-21 08:30:45 -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
efc5aa5900 Enhance Analytics\Reporter to fetch tracking data
[MAILPOET-1815]
2019-03-12 10:45:46 -04:00
Rostislav Wolny
db8c68460d Inject Router into Initializer
[MAILPOET-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
Pavel Dohnal
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -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
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
f60898557e Hotfix passing constants to renderer
[MAILPOET-1780]
2019-02-05 10:00:07 +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
f7aecf1d63 Add new settings service
[MAILPOET-1757]
2019-01-31 14:48:01 +01:00
M. Shull
0e3f27add3 Merge pull request #1728 from mailpoet/stats-notifications
Stats notifications [ MAILPOET-1571]
2019-01-28 13:22:21 -05:00
Pavel Dohnal
3bd80aecd3 Move dependencies creation to DI container
[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
Tautvidas Sipavičius
f719ae69c5 Fix the PHPStan report about passing in arguments into empty constructor 2019-01-24 15:20:29 +02:00
Rostislav Wolny
26220f73ee Inject WP Functions to newsletters API endpoint using DI container 2019-01-02 11:02:08 +01: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
Rostislav Wolny
acc4c89255 Add ability to additionally initialize mailpoet-premium container
[MAILPOET-1696]
2018-12-19 12:37:27 +01:00
Rostislav Wolny
f13c340d87 Inject dependencies to hooks directly
[MAILPOET-1689]
2018-12-17 15:29:50 +01:00
Rostislav Wolny
66a05e1b19 Inject Listing Handler and Segments Subscriber Listing using DI
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
Rostislav Wolny
fd4bcee5f5 Inject bulk action controller using DI
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
Rostislav Wolny
ece5e9a9d1 Refactor subscription form processing
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
Rostislav Wolny
fc61377fd8 Move container dump from application code to Robofile and to generated dir
[PREMIUM-99]
2018-12-12 08:53:28 +01:00
Rostislav Wolny
c73741e727 Add ability to register premium service as a dependency of free plugin
[PREMIUM-99]
2018-12-12 08:53:28 +01:00
Rostislav Wolny
26472d8b9a Introduce ContainerWrapper
Container wrapper wraps both premium and free containers and adds ability for free plugin to use premium plugin services directly.
[PREMIUM-99]
2018-12-12 08:52:11 +01:00
Rostislav Wolny
884cabb51f Introduce Container Configurator
Container factory is now responsible only for building or loading cached container. Container configuration is done within the ContainerConfigurator
[PREMIUM-99]
2018-12-12 08:52:11 +01:00
Jan Jakeš
bf7e6a601e Move prefixed dependencies from lib/Dependencies to vendor-prefixed
[MAILPOET-1642]
2018-11-20 14:11:33 +01:00
Rostislav Wolny
38e9d806b8 Refactor ALC endpoint to follow DI
[MAILPOET-1637]
2018-11-15 09:04:46 +01:00
Rostislav Wolny
e0863e4b7e Reorder services in container factory by namespace
[MAILPOET-1637]
2018-11-15 09:04:27 +01:00
Rostislav Wolny
d49b2a72a9 Refactor JSON API to use container for creating endpoints
[MAILPOET-1637]
2018-11-15 09:04:15 +01:00
Rostislav Wolny
a42787d10d Refactor MP v1 API to obtain services via constructor
[MAILPOET-1637]
2018-11-15 09:03:43 +01:00
Rostislav Wolny
b6e0b7ceb0 Make all services registered in DI public
In ideal application one needs only on public service some bootstrap and that is why all services are private as default. Our code is not ideal yet so we have to declare services as public.
[MAILPOET-1621]
2018-11-08 16:13:40 +01:00
Rostislav Wolny
f39c0c58c2 Add dumpContainer to container factory
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00