Commit Graph

11662 Commits

Author SHA1 Message Date
Pavel Dohnal
c3686d9973 Move data from constructor
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
be631bd549 Use DI for blocks rendering
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
5f73f9ee3e Use DI in block renderer
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
7561730407 Use DI in ALC
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
wxa
2bbe597a5f Fix form style changes resetting other settings (basic, placement) [MAILPOET-2932] 2020-05-28 10:25:10 +02:00
Pavel Dohnal
00fa2379e3 Add paragraph spaces to post excerpts
[MAILPOET-2627]
2020-05-28 10:01:14 +02:00
Pavel Dohnal
cf5e761ba4 Remove duplicite button
[MAILPOET-2888]
2020-05-28 09:45:15 +02:00
Pavel Dohnal
93e574da4e Fix typo
[MAILPOET-2887]
2020-05-28 09:35:20 +02:00
Jan Jakeš
e69188c5a0 Map bigint DB type to "int" (not as DBAL historically does to "string")
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
Jan Jakeš
fb238cd531 Fix errors discovered by doctrine-phpstan
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
Jan Jakeš
f8d1439b31 Skip templates in PHPStan for now due to extreme slowness
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
Jan Jakeš
f66a8d6af3 Check Doctrine entities by PHPStan
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
Jan Jakeš
df6bf552b1 Prefix phpstan-doctrine for MailPoetVendor
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
Jan Jakeš
fb2e1c707e Update phpstan and phpstan-doctrine
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
wxa
aac8619f8f Subscribe to custom lists on WC checkout [MAILPOET-2897] 2020-05-27 13:30:05 +02:00
wxa
970827228e Add custom lists for opt-in on checkout setting [MAILPOET-2897] 2020-05-27 13:30:05 +02:00
Rostislav Wolny
3276d32b60 Add default values for form placement settings
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
5ee8dae154 Refactor accessing global window property in preview component
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
00f40b7ee4 Fix form html id to differ per display type
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
0039dec079 Add check that resize was called from correct domain
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
7a9f605fb4 Apply updated settings on iframe load
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
481508724c Allow others (widget) preview to render pixel width 2020-05-27 11:23:02 +02:00
Rostislav Wolny
e0545c48a3 Detect tight container on resize in preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
9ebd96fb6a Render form width on FE from settings
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
32f5e09d7d Make renderStyles attributes required
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
bf34a7477a Use form display types constants
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
9267cf7563 Add constants for form display type
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
63a972db4a Move inlined form styles to form styles in style element
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
2eabab4150 Move form styles rendering methods to style utils
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
2c53507a4e Update form style utils method names
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
a7cea43aac Refactor form preview specific FE functionality to extra module
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
dd1f89f4d9 Add preview sidebar visual enhancements
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
ed4ba6ec29 Remove unused Toggle component
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
4035032b2f Use Gutenberg ToggleControls in placement settings
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
54952ebfe3 Ensure numeric values for width settigns
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
f4750ac3df Add styles for preview sidebar
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
b881e5009b Replace select in preview with SelectControl component
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
eb494d5ea9 Add live preview of width/position settings to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
49ce4cfa1f Add size settings to placement settings in preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
60d70ad453 Add component for size settings
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
6615494312 Remove unused form placement component
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
bf65d72d41 Move slide in form settings to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
74a09c03b3 Move fixed bar form settings to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
71539cb5e8 Move pop forms settings to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
5d4aea2b44 Move other placements to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
b41248e5e1 Move below post form settings to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
188c00d792 Move preview component to subfolder
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
fc62ac637d Add sidebar to the form preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
8541724f45 Switch preview to tsx
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Pavel Dohnal
cfb2f1cff9 Make sure name is passed
[MAILPOET-2272]
2020-05-26 14:50:10 +02:00