Commit Graph

51 Commits

Author SHA1 Message Date
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
c63b7d9b91 handling multiple instances of reCaptcha 2018-01-15 10:47:25 +00:00
a8052c118a fixing minor issues and adding unit test 2018-01-15 10:46:07 +00:00
1ad0dce425 applying compact design and updating error messages 2018-01-15 10:46:06 +00:00
caa0623112 handling recaptcha on the PHP side 2018-01-15 10:46:06 +00:00
29b249de6e Remove an attribute we don't need anymore
[MAILPOET-1180]
2017-11-21 12:54:00 +00:00
883ae5b0e4 Hide honeypot field to prevent Safari autocomplete
[MAILPOET-1180]
2017-11-21 11:47:46 +00:00
8a4d5395b1 Add attribute for Chrome
[MAILPOET-1163]
2017-10-12 14:38:45 +01:00
05dca3d2ce Excludes honeypot from subscription management form 2017-08-24 11:17:40 +02:00
18f208cf47 Add honeypot field for spambot
[MAILPOET-1014]
2017-08-15 14:33:45 +02:00
2220a13399 Remove unused imports [MAILPOET-764] 2017-01-25 10:14:38 +03:00
ed886280de - Rewrites the CSS styles processor/renderer class
- Adds unit tests
2017-01-13 13:16:57 -05:00
55d48df8a4 Fix indentation issues 2016-06-30 18:50:48 +03:00
48f0c03425 Fix spacing between control structure and opening parenthesis 2016-06-30 18:46:33 +03:00
d2be407ccb rendering of edit subscription form 2016-02-29 13:34:17 +01:00
5121dbe0c8 Form Editor Round 3
- added prefix to form styles so that it does not conflict when multiple forms are on the same page
- added validation on form save for segments
2016-02-12 12:45:07 +01:00
bb1cc997cc CustomFields
- renamed form block type "input" to "text" for consistency with React
- updated CustomFields router to comply with main router
- unit tests for CF router
2016-01-29 17:16:24 +01:00
c2e7513381 Form editor
- new form with default data
- load/save in form editor
- widgets -> settings form
- widgets -> shortcode for subscribers count
- widgets -> form rendering
- added useful filters to Subscribers (for status related search)
- refactor & cleanup
2015-11-06 16:09:09 +01:00