Commit Graph

49 Commits

Author SHA1 Message Date
bdaff6fc30 Add tracking cookie
[MAILPOET-1961]
2019-04-16 11:20:56 +02:00
65ade03fb0 Register ServiceChecker to DI container
[MAILPOET-1938]
2019-03-28 11:15:33 -04:00
f3f769316a Upgrade PHPStan level to 5
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
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
fee3b58e4e Fix small bugs 2019-03-21 10:03:21 -04:00
92cf0cc7db Refactor UserFlagsController 2019-03-21 10:03:21 -04:00
22fc3089e6 Rename UserFlags to UserFlagsController 2019-03-21 10:03:21 -04:00
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
e3741def1d Refactor NPS tracking data fetching to use API call
[MAILPOET-1815]
2019-03-12 10:45:46 -04:00
efc5aa5900 Enhance Analytics\Reporter to fetch tracking data
[MAILPOET-1815]
2019-03-12 10:45:46 -04:00
db8c68460d Inject Router into Initializer
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
171b3564f9 Inject Renderer to Initializer
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
d8503cf3c2 Create Initializer using DI
[MAIPOET-1823]
2019-02-25 06:38:25 -05:00
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
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
f60898557e Hotfix passing constants to renderer
[MAILPOET-1780]
2019-02-05 10:00:07 +01:00
ff238bf69a Refactor MailPoet\Cron to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
6e79705128 Refactor MailPoet\Config to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
f7aecf1d63 Add new settings service
[MAILPOET-1757]
2019-01-31 14:48:01 +01:00
0e3f27add3 Merge pull request #1728 from mailpoet/stats-notifications
Stats notifications [ MAILPOET-1571]
2019-01-28 13:22:21 -05:00
3bd80aecd3 Move dependencies creation to DI container
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
1d34613b17 Schedule a notification
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
f719ae69c5 Fix the PHPStan report about passing in arguments into empty constructor 2019-01-24 15:20:29 +02:00
26220f73ee Inject WP Functions to newsletters API endpoint using DI container 2019-01-02 11:02:08 +01:00
da27680224 Merge pull request #1695 from mailpoet/di-hacking-refactor
Hacking day - DI Refactor [MAILPOET-1689]
2018-12-20 11:13:05 -05:00
acc4c89255 Add ability to additionally initialize mailpoet-premium container
[MAILPOET-1696]
2018-12-19 12:37:27 +01:00
f13c340d87 Inject dependencies to hooks directly
[MAILPOET-1689]
2018-12-17 15:29:50 +01:00
66a05e1b19 Inject Listing Handler and Segments Subscriber Listing using DI
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
fd4bcee5f5 Inject bulk action controller using DI
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
ece5e9a9d1 Refactor subscription form processing
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
fc61377fd8 Move container dump from application code to Robofile and to generated dir
[PREMIUM-99]
2018-12-12 08:53:28 +01:00
c73741e727 Add ability to register premium service as a dependency of free plugin
[PREMIUM-99]
2018-12-12 08:53:28 +01:00
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
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
bf7e6a601e Move prefixed dependencies from lib/Dependencies to vendor-prefixed
[MAILPOET-1642]
2018-11-20 14:11:33 +01:00
38e9d806b8 Refactor ALC endpoint to follow DI
[MAILPOET-1637]
2018-11-15 09:04:46 +01:00
e0863e4b7e Reorder services in container factory by namespace
[MAILPOET-1637]
2018-11-15 09:04:27 +01:00
d49b2a72a9 Refactor JSON API to use container for creating endpoints
[MAILPOET-1637]
2018-11-15 09:04:15 +01:00
a42787d10d Refactor MP v1 API to obtain services via constructor
[MAILPOET-1637]
2018-11-15 09:03:43 +01:00
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
f39c0c58c2 Add dumpContainer to container factory
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00
ad77fa547a Remove services.yaml and define services directly in PHP
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00
fff8176a49 Refactor lib/Router to use with container for endpoints
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00
71ad9f50cb Add container factory and initialize container in Initializer
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00