Commit Graph

483 Commits

Author SHA1 Message Date
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
Ján Mikláš
5621d1df25 Set newsletter's ID when sending preview or actual newsletter
[MAILPOET-1882]
2019-03-21 13:15:29 -04:00
Amine Ben hammou
f10014d864 Remove unnecessary filtering 2019-03-21 10:03:21 -04:00
Amine Ben hammou
4fc53d2b36 Make all users able to edit flags [MAILOET-1677] 2019-03-21 10:03:21 -04:00
Amine Ben hammou
dd497d93c6 Filter flags values before saving them 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
Pavel Dohnal
032e5a20ba Add forceSync link to woocommerce segment
[MAILPOET-1790]
2019-03-13 16:10:09 -04:00
Rostislav Wolny
e3741def1d Refactor NPS tracking data fetching to use API call
[MAILPOET-1815]
2019-03-12 10:45:46 -04:00
Amine Ben hammou
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
Rostislav Wolny
a657554f66 Do not wait for template to confirm being saved on send page
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
Rostislav Wolny
65b5f355fa Change thumbnail generating at send page to start earlier
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
wxa
fb77167a1f Remove unused imports [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
wxa
2f487fd300 Inject subscribe() action instead of calling it statically [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áš
a935b091d3 Add space between elseif/else 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áš
a8972ca281 Add space between switch 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
Rostislav Wolny
0a93a0905d Fix outdated updated_at value in newsletter save API response
[MAILPOET-1778]
2019-02-07 09:17:06 -05:00
Rostislav Wolny
3b5962d36a Refactor MailPoet\API to use new settings
[MAILPOET-1757]
2019-01-31 15:57:46 +01:00
Amine Ben hammou
f1c7e48176 Remove debugging code 2019-01-31 13:28:29 +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
M. Shull
59418efa99 Merge pull request #1746 from mailpoet/phpstan-cleanup
Raise PHPStan strictness level to 1
2019-01-28 10:47:24 -05:00
Tautvidas Sipavičius
3db4de6ec6 Move the private property definition to the top of the class 2019-01-24 15:16:53 +02:00
Tautvidas Sipavičius
44bc27df90 Define default variable values in cases when they can be undefined 2019-01-23 21:29:46 +02:00
Tautvidas Sipavičius
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
wxa
5bf968fbc6 Address PR review remarks [MAILPOET-1721] 2019-01-22 12:25:59 +03:00
wxa
a4ff9822ad Add WooCommerce customers list [MAILPOET-1721] 2019-01-17 21:42:57 +03:00
Rostislav Wolny
26220f73ee Inject WP Functions to newsletters API endpoint using DI container 2019-01-02 11:02:08 +01:00
wxa
93f5bc0bf1 Fix a duplicate constructor after merging encapsulated WP functions 2018-12-27 11:15:07 +03:00
wxa
0573a7915e Merge pull request #1689 from mailpoet/wp-functions
Encapsulating WP calls
2018-12-27 11:05:08 +03: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
a69ae0eea7 Refactor listing handler to reusable service
[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
2839c86017 Refactor bulk action into reusable controller
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
Rostislav Wolny
de5385ed03 Get rid of static instantiation of JSON API
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
Amine Ben hammou
a46d98ec44 Refactor WPFunctions to be injectable with DI 2018-12-12 16:43:52 +01:00
Rostislav Wolny
525fb5289b Add check that API endpoint class is a registered service in DI
[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
b5bc4b2609 Replace symfony container types by PSR interface
[PREMIUM-99]
2018-12-12 08:52:11 +01:00
wxa
758711c722 Fix Mailer error messages not displaying in previews [MAILPOET-1662] 2018-11-28 10:36:29 +03:00
M. Shull
936696cde3 Merge pull request #1642 from mailpoet/vendor-cleanup
Vendor cleanup [MAILPOET-1642]
2018-11-26 14:28:27 -05:00
wxa
467bef1d61 Do not require pluggable.php [MAILPOET-1650] 2018-11-22 17:01:33 +03: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
528f223a70 Add fallback for API endpoint instantiation for endpoints which are not in DI
[MAILPOET-1639]
2018-11-15 18:03:51 +01:00
M. Shull
3af3c46fde Merge pull request #1618 from mailpoet/more-tags
Implement pagination to tags and categories query [MAILPOET-1613]
2018-11-15 10:57:45 -05: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
Pavel Dohnal
141cb09a54 Implement pagination to tags and categories query
[MAILPOET-1613]
2018-11-15 09:50:13 +01:00