Commit Graph

158 Commits

Author SHA1 Message Date
Rostislav Wolny
c5f4962645 Add column/columns block renderers
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Pavel Dohnal
ec8adcae73 Move form wrapping to widget
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
691a8a45f3 Render font size
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
ce127eadc1 Render styles for the form
[MAILPOET-2600]

Signed-off-by: Pavel Dohnal <pavel@mailpoet.com>
2020-03-02 20:52:38 +00:00
Jan Jakeš
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Rostislav Wolny
ede14fc661 Exclude deleted form from display below post/page check
[MAILPOET-2710]
2020-02-18 08:11:59 +00:00
Rostislav Wolny
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
Rostislav Wolny
7f631a1166 Fix rendering and assets loading for forms below page/post
[MAILPOET-2706]
2020-02-17 17:49:16 +00:00
Rostislav Wolny
490a72aed3 Allow but ignore not string content in MailPoet\Form\DisplayFormInWPContent
[MAILPOET-2699]
2020-02-13 18:51:24 +00:00
Rostislav Wolny
866167b597 Rename Base to BlockRendererHelper
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
314ce6ed8a Remove renderer render method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
92fade57e4 Remove unnecessary inheritance in test helper
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
6f3ebc5791 Fix and unify formatting in php doc for mocks
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
d5bf33c49a Move dateConverter to common utils namespace
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
268fe0f2ad Add date input renderer test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
0e6a894977 Add submit button renderer test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
204af78a56 Add radio buttons input renderer test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
9238f3fd68 Add test for segments renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
778576e674 Add divider and custom html tests
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
4460a802db Add text and textarea renderers tests
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
072c6e48a0 Add basic checkbox test
[MAILPOET-265]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
c8663c3b79 Add test for base renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
c6ca749cdc Refactor form blocks to use composition instead of inheritance
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
20926d56b7 Inject form renderer into DisplayFormInWPContent
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
b38bd63bc5 Add unit test for form renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
f0c1c3e424 Move select block integration test to unit test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
d0acad5c3b Inject WPFunctions to FieldNameObfuscator using DI
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
7d596e3407 Extract unrelated date conversion functionality from date block
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
6827eb93e6 Add block renderers to DI container
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Pavel Dohnal
f001542b3e Use underscore to unify naming
[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
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
Rostislav Wolny
447e01b0aa Remove new form editor feature flag
[MAILPOET-2549]
2020-01-27 10:08:31 +00:00
Jan Jakeš
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Rostislav Wolny
17dc239578 Fix mock object php doc
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
fa4ecaa445 Set full width text inputs as a default for newly created forms
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
effd37a0ad Refactor Form\Utils\Styles to injectable service
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Jan Jakeš
eb02627a98 Fix PHPStan errors in unit tests
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Jan Jakeš
45c2464e50 Use site-specific form field obfuscation hash
[MAILPOET-1999]
2019-05-03 08:56:28 -04:00
wxa
2fd244528d Move assorted tests from integration to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
wxa
0fbbcf3f9e Fix conflicts for test coverage to work [MAILPOET-1607] 2018-11-14 17:51:20 +03:00
wxa
8944fdbf1e Move tests without dependencies to unit folder [MAILPOET-1607] 2018-11-14 17:38:17 +03:00
wxa
87e515b89d Move current unit tests to integration tests 2018-10-29 17:57:47 +03:00
Pavel Dohnal
364dd1b2a3 Move field obfuscation into own class
[MAILPOET-1014]
2017-08-16 14:58:31 +02:00
Vlad
bf7e7e414f Adds hook to modify rendered form widget 2017-08-15 09:49:38 +02:00