Commit Graph

4376 Commits

Author SHA1 Message Date
Rostislav Wolny
b8dd243ec1 Refactor renderStyles method from static to instance method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
8e9c41145d Mark renderer method which is not used out of renderer as private
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
2306be6b16 Register form renderer to DI container
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
e72b1ec71d Remove unused public method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Jan Jakeš
fb7e87706b Remove unnecessary usages of $subscriber for preview links
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
b22198f599 Use only one preview link in preview modal
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
369675626c Make endpoint response method private, fix naming
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
4be306230b Fix findOne() method annotation
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
e3cc5a0ec0 Fix and refactor ViewInBrowserControllerTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
a3b8aa78a5 Refactor ViewInBrowserController to use methods and descriptive exceptions
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
88d76d5efa Rename Newsletters\ViewInBrowser to ViewInBrowserRenderer
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
edb18399a1 Extract view-in-browser logic to a controller
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
077591ae3c Use DI for Newsletter\ViewInBrowser
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
3cd5af448e Rewrite view-in-browser to always require newsletter ID and hash, refactor
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
ddfc9647dd Use array instead of \stdClass, fix coding style
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
923dc0d1dd Simplify and unify getViewInBroserUrl calls
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
e5fcf5819d Remove 'type' parameter for view-in-browser, always include hash
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
eb1c7673e3 Make $preview = true default for view-in-broser URL
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
2f59ab4c50 Add new tab link to newsletter preview
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
wxa
d41eca48b2 Fix captcha case in comparison [MAILPOET-2698] 2020-02-12 18:11:06 +00:00
wxa
42278347cc Import missing functions from polyfill-mbstring [MAILPOET-2695] 2020-02-11 18:21:48 +00:00
Amine Ben hammou
22b9103460 Fix statistics
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
Amine Ben hammou
0069380da6 Add getChildrenCount()
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
Amine Ben hammou
a92af3095b Add constructor to entity
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
Amine Ben hammou
a5679a5dbf Fix code style and small bugs
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
Amine Ben hammou
4fe760f4b1 Improve NewslettersResponseBuilder
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
Amine Ben hammou
65c8ddf6c2 Add WC revenues to NewsletterStatistics
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
Amine Ben hammou
efc2342190 Create StatisticsWooCommercePurchase entity
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
Pavel Dohnal
fd33a53d50 Fix display under pages
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
1a1099013e Rename function
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
f001542b3e Use underscore to unify naming
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
1c1f0313f0 Add code comment
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
fd1e8ee915 Display forms only on default post types
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
c6aa1311ad Refactor
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
e644675046 Use cache for forms rendering to
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
d06fc2d00d Append form bellow content
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
d667ad916e Add wp functions
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
492f30c073 Add ability to mock settings in unit tests
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
5917582f46 Create form entity and repository
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Jan Jakeš
eba441f4c1 Add SubscribersLimitNotice to mailpoet-segments page
[MAILPOET-2626]
2020-01-30 18:43:09 +00:00
Jan Jakeš
f7a1f63a28 Add SubscribersLimitNotice to mailpoet-subscribers page
[MAILPOET-2626]
2020-01-30 18:43:09 +00:00
Jan Jakeš
43873306cd Fix incompatibilities with new version of Swiftmailer
[MAILPOET-2589]
2020-01-30 18:33:48 +00:00
Pavel Dohnal
fe84b9f9fb Remove the old form editor
[MAILPOET-2625]
2020-01-30 18:29:02 +00:00
Jan Jakeš
6641842dd1 Remove unused parameter
[MAILPOET-2648]
2020-01-30 01:56:07 +00:00
Ján Mikláš
b287a6e609 Remove all success delivery polls
[MAILPOET-2596]
2020-01-28 20:21:12 +00:00
Jan Jakeš
684b533bd8 Warn users on PHP < 7.1
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
Rostislav Wolny
ab941a5514 Update legacy WooCommerce checkbox label on plugin activation/update
[MAILPOET-2296]
2020-01-28 10:46:25 +00:00
Rostislav Wolny
634b8214e2 Use updated label for WooCommerce checkout checkbox
[MAILPOET-2296]
2020-01-28 10:46:25 +00:00
Pavel Dohnal
b77447103c Fix today preselect in date field
[MAILPOET-2652]
2020-01-27 10:34:15 +00:00
Pavel Dohnal
ffc82eff69 Fix custom select rendering
[MAILPOET-2652]
2020-01-27 10:34:15 +00:00