Commit Graph

10452 Commits

Author SHA1 Message Date
Pavel Dohnal
0fd954184d Create a new form for the user
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
3443f082ef Fixes after I messed up rebase :( sorry
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
fd2c13a2e3 Refactor block registering
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
f4b9836332 Use subscription in the block name
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
4da5b2e5c4 Add type hints
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
55da20c8ce Make the order stable
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
62c5a8cc84 Rename block attribute
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
831a865c9e Use explicit code instead of PHP magic
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
8da7330a8d Use wp class intead of calling functions directly
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
5ad6016a60 Add KB link
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
43f628e580 Add translations
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
7f2f4e0296 Render form on frontend
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
8b878e98d2 Add settings
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
1dbf4714b1 Add link to the new form
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
9877fed216 Add icon
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
6befd09423 Render form after it is added to the page
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
9fcb189295 Save form selection
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
eb4ea14744 Add forms select
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
5b84c0cfad Add block icon
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
261624c2bb Create basic block
[MAILPOET-1798]
2020-02-17 19:20:36 +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
Pavel Dohnal
dc6e2009b0 Update readme
[MAILPOET-2670]
2020-02-13 19:04:09 +00:00
Pavel Dohnal
4c86b5468a Reduce beamer frequency
[MAILPOET-2704]
2020-02-13 19:01:46 +00:00
Pavel Dohnal
064a83ed9b Offer concierge migration to users with large list
[MAILPOET-2629]
2020-02-13 19:00:42 +00:00
Pavel Dohnal
c7d7d88028 Remove freemail override on MSS activation
[MAILPOET-2594]
2020-02-13 18:57:44 +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
57d480c6e4 Disable duplication for email and submit blocks 2020-02-13 18:49:06 +00:00
Rostislav Wolny
3868baf126 Fix block editor keyboard shortcuts support
[MAILPOET-2571]
2020-02-13 18:49:06 +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
4afc47463f Add form renderer integration test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
f8a86bc877 Set FromRenderer service as public
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Rostislav Wolny
f959be13dd Add typehints to form block renderers
[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
2e5fd69658 Remove unused variable from form select block
[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