Commit Graph

158 Commits

Author SHA1 Message Date
oluwaseun Olorunsola
bdb262fca4 Fix custom select default value cannot be changed on Manage subscription page
[MAILPOET-3894]
2021-11-10 09:42:15 +01:00
oluwaseun Olorunsola
2d32e5013e Fixed uncheck status not saved in Manage subscriptions page
Please note: Mandatory (required) checkbox Fields can not be Empty. This means the checkbox field can not be uncheck by the user. The admin can still control the status of the checkbox

[MAILPOET-3858]
2021-11-03 11:30:52 +01:00
Jan Lysý
1701229a10 Add a full stop to messages where was missing
[MAILPOET-3846]
2021-10-18 11:03:50 +02:00
Jan Lysý
f9ba4623c6 Create custom validation for names
I had to use a custom validation because we want to different
error message for each part of validation.
I didn't find a better solution for Parsley library.

[MAILPOET-3786]
2021-09-20 09:17:43 +02:00
Pavel Dohnal
21839fc30b Fix indentation of multiline function declarations
[MAILPOET-3732]
2021-09-17 12:17:36 +02:00
Pavel Dohnal
cdda3480ca Make all constructor signatures multiline
[MAILPOET-3732]
2021-09-16 14:19:40 +02:00
Rostislav Wolny
abc965e143 Add support for colors in column block in form editor
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
8d0d2e168b Add support for custom padding in form column
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
3700003e15 Don't render form column width style if only unit is saved
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
e5c90821be Add support for isStackedOnMobile for columns
[MAILPOET-3564]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
bd41098e5e Fix saving and rendering form columns widths
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Jan Lysý
a9621875bd Fix phpstan errors from new version
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Pavel Dohnal
65c9bad64c Fix pre-selecting date value
[MAILPOET-3470]
2021-04-15 15:47:57 +02:00
Rostislav Wolny
438c9a7469 Alter data validation regexp so that is not malformed by wptexturize
[MAILPOET-3440]
2021-03-01 10:08:08 +01:00
Rostislav Wolny
6bf62ee90a Fix links in form checkbox label
[MAILPOET-3433]
2021-02-17 11:00:15 +01:00
Rostislav Wolny
76279d3148 Fix form input validations
[MAILPOET-3415]
2021-02-15 19:05:14 +01:00
Rostislav Wolny
c1aef842d2 Fix rendering issues in form blocks
[MAILPOET-3415]
2021-02-15 13:30:08 +01:00
Pavel Dohnal
5b5e01465c [MAILPOET-3408] 2021-02-10 14:52:20 +01:00
Veljko V
ec26ae15a7 Fix problem of conflicts with other tests [MAILPOET-3334]
[MAILPOET-3334]
2020-12-03 09:33:05 +01:00
Veljko V
8cf27241fc Fix problem of other test executions [MAILPOET-3334]
[MAILPOET-3334]
2020-12-03 09:33:05 +01:00
Veljko V
7d88f3eaea Update form tests to have front end checks [MAILPOET-3334]
[MAILPOET-3334](https://mailpoet.atlassian.net/browse/MAILPOET-3334)
2020-12-03 09:33:05 +01:00
Pavel Dohnal
9e8ccd2c17 Use native array_column
[MAILPOET-3173]
2020-10-12 10:10:03 +02:00
Rostislav Wolny
6c5a3f32cf Automatically apply line-height when font-size is set in form editor
[MAILPOET-3190]
2020-10-05 17:24:33 +02:00
Rostislav Wolny
c66eae74cd Enforce heading font size in mobile forms
[MAILPOET-3024]
2020-07-08 12:19:12 +02:00
Rostislav Wolny
a6b8330968 Hide spacers and limit dividers height in form on mobile
[MAILPOET-3024]
2020-07-08 12:19:12 +02:00
Rostislav Wolny
56dbf5bec1 Remove unnecessary condition for background styles render
[MAILPOET-3005]
2020-07-07 09:18:31 +02:00
Rostislav Wolny
4d1fbcd157 Add gradient rendering to columns on front end
[MAILPOET-3005]
2020-07-07 09:18:31 +02:00
Rostislav Wolny
2c33cbfa24 Render paragraph and heading typography styles on front end
[MAILPOET-3007]
2020-06-30 09:32:11 +02:00
Rostislav Wolny
f35dc468b2 Render heading background color in form on front end
[MAILPOET-2976]
2020-06-23 09:14:20 +02:00
Pavel Dohnal
f1fe28d409 Render submit font in JS
[MAILPOET-2911]
2020-06-11 14:45:24 +02:00
Pavel Dohnal
5034d313a3 Display paragraph padding
[MAILPOET-2922]
2020-06-09 14:38:07 +02:00
Rostislav Wolny
87b1b497ce Fix paragraph block style attribute rendering
Paragraph attributes may contain empty strings resulting to invalid css.
[MAILPOET-2926]
2020-06-01 13:39:25 +02:00
Rostislav Wolny
47b609e9fc Add default class for paragraph block
[MAILPOET-2926]
2020-06-01 13:39:25 +02:00
Pavel Dohnal
fbcc79b461 Move placeholder styling
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
Pavel Dohnal
419496208a Render placeholder color with set value
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
Pavel Dohnal
09ecf3e595 Fix divider height
[MAILPOET-2835]
2020-05-06 16:26:42 +02:00
Pavel Dohnal
8797b7427a Render divider with params
[MAILPOET-2835]
2020-05-06 16:26:42 +02:00
Pavel Dohnal
b5e458ee26 Enforce image dimensions
[MAILPOET-2884]
2020-05-06 12:50:33 +02:00
Pavel Dohnal
98b9e27c10 Fix rendering image block
[MAILPOET-2884]
2020-05-06 12:50:33 +02:00
Pavel Dohnal
71106cc90e Render raw html in checkbox label
[MAILPOET-2803]
2020-05-04 11:52:30 +02:00
Pavel Dohnal
d8c461f7d5 Align correctly input fields in rendered form
[MAILPOET-2809]
2020-04-29 14:31:24 +02:00
Pavel Dohnal
0d4d0c7052 Render input padding
[MAILPOET-2809]
2020-04-29 14:31:24 +02:00
Pavel Dohnal
2317412f88 Render form alignment
[MAILPOET-2809]
2020-04-29 14:31:24 +02:00
Rostislav Wolny
9701f46a77 Render segment names in form using actual segment names
[MAILPOET-2801]
2020-04-09 10:09:57 +02:00
Rostislav Wolny
b465e5205d Add srcset attribute rendering to image block renderer
Srcset is not rendered automatically when image is added in the content hook.
[MAILPOET-2750]
2020-04-08 12:04:47 +02:00
Rostislav Wolny
63d6d463cb Add support for image block link
[MAILPOET-2750]
2020-04-08 12:04:47 +02:00
Rostislav Wolny
7a604fa10e Render image block on front end
[MAILPOET-2750]
2020-04-08 12:04:47 +02:00
Rostislav Wolny
94784cfd8a Add submit button styles support to block styles renderer
[MAILPOET-2604]
2020-03-29 10:47:09 +02:00
Rostislav Wolny
2c69d07109 Render block styles for submit button block
[MAILPOET-2604]
2020-03-29 10:47:09 +02:00
Rostislav Wolny
172241e650 Rename TextInputStyleRenderer to BlockStyleRenderer
[MAILPOET-2604]
2020-03-29 10:47:09 +02:00