Commit Graph

45 Commits

Author SHA1 Message Date
Rostislav Wolny
f86c0c9612 Refactor authorized emails validation from Bridge to Controller
[MAILPOET-2022]
2019-06-03 12:54:24 -04:00
Ján Mikláš
a55d2fc69f Fix tests
[MAILPOET-2080]
2019-05-21 11:18:33 -04:00
Rostislav Wolny
e7b2b9aee9 Add authorized emails check to resume sending endpoint
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Pavel Dohnal
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Jan Jakeš
5b4600193d Make feature defaults array private
[MAILPOET-2008]
2019-05-16 10:45:55 -04:00
Jan Jakeš
4b0beecdfb Convert 'display_revenues' setting to feature flag
[MAILPOET-2008]
2019-05-16 10:45:55 -04:00
Jan Jakeš
aa4a442a29 Add tests for feature flags API
[MAILPOET-2008]
2019-05-16 10:45:55 -04:00
Jan Jakeš
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
Pavel Dohnal
ae70f7ae9b Display subscribers with correct status
[MAILPOET-1944]
2019-04-29 06:52:36 -04:00
Rostislav Wolny
bfcc499b10 Add inactive subscribers status job scheduling on settings change
[MAILPOET-2003]
2019-04-25 11:41:02 -04:00
Rostislav Wolny
58d2bbab1a Add WooCommerce list import scheduling
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
Pavel Dohnal
6493f7ceb4 Validate only fields in form
[MAILPOET-1828]
2019-04-08 10:35:20 -04:00
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
Amine Ben hammou
17949d06d5 Clean DB on _before() 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
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
Ján Mikláš
3ee58aea10 Add space between 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áš
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
Rostislav Wolny
2c921a16aa Move default setting values from Setting model to new controller
[MAILPOET-1757]
2019-01-31 15:57:59 +01:00
Rostislav Wolny
3b5962d36a Refactor MailPoet\API to use new settings
[MAILPOET-1757]
2019-01-31 15:57:46 +01:00
Rostislav Wolny
4c6e76dd44 Add SettingsController cache reset to integration tests
[MAILPOET-1757]
2019-01-31 14:51:07 +01:00
Amine Ben hammou
f83b7453fc Use DI container whever possible 2019-01-31 13:25:00 +01:00
Amine Ben hammou
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
Rostislav Wolny
fd4bcee5f5 Inject bulk action controller using DI
[MAILPOET-1689]
2018-12-17 15:02:42 +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š
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
Jan Jakeš
bf7e6a601e Move prefixed dependencies from lib/Dependencies to vendor-prefixed
[MAILPOET-1642]
2018-11-20 14:11:33 +01:00
M. Shull
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
Rostislav Wolny
38e9d806b8 Refactor ALC endpoint to follow DI
[MAILPOET-1637]
2018-11-15 09:04:46 +01:00
Rostislav Wolny
d49b2a72a9 Refactor JSON API to use container for creating endpoints
[MAILPOET-1637]
2018-11-15 09:04:15 +01:00
Pavel Dohnal
a4e90929b8 Try to fix test flakiness
[MAILPOET-1580]
2018-11-13 11:35:35 +01:00
Pavel Dohnal
5e16bc4184 Add test and remove redundant call
[MAILPOET-1560]
2018-11-12 08:33:00 +01:00
Pavel Dohnal
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