Commit Graph

138 Commits

Author SHA1 Message Date
5b4600193d Make feature defaults array private
[MAILPOET-2008]
2019-05-16 10:45:55 -04:00
4b0beecdfb Convert 'display_revenues' setting to feature flag
[MAILPOET-2008]
2019-05-16 10:45:55 -04:00
aa4a442a29 Add tests for feature flags API
[MAILPOET-2008]
2019-05-16 10:45:55 -04:00
2435cc556f Inject WooCommerce helper for statistics
[MAILPOET-1853]
2019-05-13 12:26:23 -04:00
wxa
2fd244528d Move assorted tests from integration to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
wxa
9f2eb3547c Add integration tests for WC checkout opt-in [MAILPOET-1483] 2019-04-29 09:33:12 -04:00
ae70f7ae9b Display subscribers with correct status
[MAILPOET-1944]
2019-04-29 06:52:36 -04:00
bfcc499b10 Add inactive subscribers status job scheduling on settings change
[MAILPOET-2003]
2019-04-25 11:41:02 -04:00
58d2bbab1a Add WooCommerce list import scheduling
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
6493f7ceb4 Validate only fields in form
[MAILPOET-1828]
2019-04-08 10:35:20 -04:00
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
17949d06d5 Clean DB on _before() 2019-03-21 10:03:21 -04:00
92cf0cc7db Refactor UserFlagsController 2019-03-21 10:03:21 -04:00
114a8281a9 Fix tests, code typos and style 2019-03-21 10:03:21 -04:00
6218166ca1 Add user flags API endpoint [MAILPOET-1677] 2019-03-21 10:03:21 -04:00
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
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
fba2914392 Add space between for and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
2c921a16aa Move default setting values from Setting model to new controller
[MAILPOET-1757]
2019-01-31 15:57:59 +01:00
3b5962d36a Refactor MailPoet\API to use new settings
[MAILPOET-1757]
2019-01-31 15:57:46 +01:00
4c6e76dd44 Add SettingsController cache reset to integration tests
[MAILPOET-1757]
2019-01-31 14:51:07 +01:00
f83b7453fc Use DI container whever possible 2019-01-31 13:25:00 +01:00
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
fd4bcee5f5 Inject bulk action controller using DI
[MAILPOET-1689]
2018-12-17 15:02:42 +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
1370c0939b Try to fix flaky SubscribersTest
[MAILPOET-1582]
2018-12-05 09:06:43 +01:00
wxa
758711c722 Fix Mailer error messages not displaying in previews [MAILPOET-1662] 2018-11-28 10:36:29 +03:00
bf7e6a601e Move prefixed dependencies from lib/Dependencies to vendor-prefixed
[MAILPOET-1642]
2018-11-20 14:11:33 +01:00
64513f400f Merge pull request #1628 from mailpoet/mp-api-di
Introduce DI to plugin API [MAILPOET-1637]
2018-11-15 07:55:11 -05:00
38e9d806b8 Refactor ALC endpoint to follow DI
[MAILPOET-1637]
2018-11-15 09:04:46 +01:00
d49b2a72a9 Refactor JSON API to use container for creating endpoints
[MAILPOET-1637]
2018-11-15 09:04:15 +01:00
a4e90929b8 Try to fix test flakiness
[MAILPOET-1580]
2018-11-13 11:35:35 +01:00
5e16bc4184 Add test and remove redundant call
[MAILPOET-1560]
2018-11-12 08:33:00 +01:00
35f59cdcc0 Fix flaky segments test
This is hard to debug, but the id was NULL in the previous implementation
and that sometimes returned an object instead of expected
Now the id is always a number and that will hopefully fix the flakyness.

[MAILPOET-1578]
2018-11-01 09:58:44 +01:00
wxa
87e515b89d Move current unit tests to integration tests 2018-10-29 17:57:47 +03:00