Commit Graph

68 Commits

Author SHA1 Message Date
0f0472975d Refactor default form custom css to constant
[MAILPOET-3076]
2020-09-14 14:22:11 +02:00
27e0f16467 Enqueue google fonts
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
96de820440 Temporarily load all custom fonts for testing
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
9ebd96fb6a Render form width on FE from settings
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
32f5e09d7d Make renderStyles attributes required
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
63a972db4a Move inlined form styles to form styles in style element
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
2eabab4150 Move form styles rendering methods to style utils
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
2c53507a4e Update form style utils method names
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
f452da10bc Fix rendering tile background
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
4cbaf975b0 Move style rendering
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
fbd449dd6b Update position for fit placement
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
003fe50403 Render background image
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
114f6d839f Make database properties consistent
[MAILPOET-2809]
2020-04-29 14:31:24 +02:00
2317412f88 Render form alignment
[MAILPOET-2809]
2020-04-29 14:31:24 +02:00
9628463477 Render form padding
[MAILPOET-2809]
2020-04-29 14:31:24 +02:00
c1691d2c5a Render form border
[MAILPOET-2809]
2020-04-29 14:31:24 +02:00
9f7c98c5e0 Ensure honeypot field is not visible
[MAILPOET-2755]
2020-03-31 09:39:17 +02:00
b767387551 Add column/columns block renderering
[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
314ce6ed8a Remove renderer render method
[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
d9b9e13a04 Extract rendering of a single block to extra class
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
a759530b9d Refactor recatcha and honeypot rendering to extra private methods
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
73281f0851 Inject settings and style utils to renderer using constructor
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
f559d5f479 Add typehints to form renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
5193d4641c Refactor getBlocks and getBlock methods from static to instance methods
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
37423908d7 Refactor getStyles method from static to instance method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
087a610be5 Refactor renderHTML method from static to instance method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
b8dd243ec1 Refactor renderStyles method from static to instance method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
8e9c41145d Mark renderer method which is not used out of renderer as private
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
e72b1ec71d Remove unused public method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
effd37a0ad Refactor Form\Utils\Styles to injectable service
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
d970dda637 Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
5214e93787 Add sniff for use empty line spacing, fix found occurences
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
wxa
08af443c1f Add captcha page [MAILPOET-2015] 2019-07-23 08:37:46 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a8972ca281 Add space between switch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
71405a74e7 Refactor MailPoet\From, Helpscout and Logging to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
a1ba783264 reCaptcha works without javascript now 2018-01-18 10:50:07 +00:00