Commit Graph

1275 Commits

Author SHA1 Message Date
060a6839c7 Render form block custom classes on frontend
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
72a0afa75b Refactor block renderers to use wrapper renderer
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
65afeca59e Add form block wrapper renderer
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
28327f9d0e Render input borders with custom styles as solid
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
760aed407f Render bold labels according to styles settings
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
4e8fda670c Render form input and textarea styles on frontend
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
2d4061b998 Render headings
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
1b05ea2e68 Create renderer for form headers
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
b6f704c2a8 Simply color styles rendering in form columns
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
772df80f01 Change class name for columns with background
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
d9d1f05119 Change form input wrappers to form p to div
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
6b718dfb2c Add background color indicating class also for custom backgrounds
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
cce9997084 Add custom text, background support to columns, column renderer
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
634bd391e1 Add custom class name support to columns/column
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
4acdb24af3 Add text color support to columns
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
747269d6ff Add support for basic background color
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
b036a466e5 Add vertical alignment support to columns renderer
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
c5f4962645 Add column/columns block renderers
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
ec8adcae73 Move form wrapping to widget
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
691a8a45f3 Render font size
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
ce127eadc1 Render styles for the form
[MAILPOET-2600]

Signed-off-by: Pavel Dohnal <pavel@mailpoet.com>
2020-03-02 20:52:38 +00:00
1774b48666 Autofix unused "use" statements
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
0dcdf6e9f1 Autofix line endings
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
ede14fc661 Exclude deleted form from display below post/page check
[MAILPOET-2710]
2020-02-18 08:11:59 +00:00
f11102ab34 Use DOMNodeList length property of DOMNodeList::count
DOMNodeList::count was added it php7.2
[MAILPOET-2712]
2020-02-17 17:54:11 +00:00
7f631a1166 Fix rendering and assets loading for forms below page/post
[MAILPOET-2706]
2020-02-17 17:49:16 +00:00
490a72aed3 Allow but ignore not string content in MailPoet\Form\DisplayFormInWPContent
[MAILPOET-2699]
2020-02-13 18:51:24 +00:00
866167b597 Rename Base to BlockRendererHelper
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
314ce6ed8a Remove renderer render method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
92fade57e4 Remove unnecessary inheritance in test helper
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
6f3ebc5791 Fix and unify formatting in php doc for mocks
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
d5bf33c49a Move dateConverter to common utils namespace
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
268fe0f2ad Add date input renderer test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
0e6a894977 Add submit button renderer test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
204af78a56 Add radio buttons input renderer test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
9238f3fd68 Add test for segments renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
778576e674 Add divider and custom html tests
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
4460a802db Add text and textarea renderers tests
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
072c6e48a0 Add basic checkbox test
[MAILPOET-265]
2020-02-13 18:42:55 +00:00
c8663c3b79 Add test for base renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
c6ca749cdc Refactor form blocks to use composition instead of inheritance
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
20926d56b7 Inject form renderer into DisplayFormInWPContent
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
b38bd63bc5 Add unit test for form renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
f0c1c3e424 Move select block integration test to unit test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
d0acad5c3b Inject WPFunctions to FieldNameObfuscator using DI
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
7d596e3407 Extract unrelated date conversion functionality from date block
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
6827eb93e6 Add block renderers to DI container
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
f001542b3e Use underscore to unify naming
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
fd1e8ee915 Display forms only on default post types
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00