Commit Graph

126 Commits

Author SHA1 Message Date
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
Rostislav Wolny
ad77fa547a Remove services.yaml and define services directly in PHP
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00
Rostislav Wolny
fff8176a49 Refactor lib/Router to use with container for endpoints
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00
Rostislav Wolny
71ad9f50cb Add container factory and initialize container in Initializer
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00