Commit Graph

231 Commits

Author SHA1 Message Date
7d596e3407 Extract unrelated date conversion functionality from date block
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
6827eb93e6 Add block renderers to DI container
[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
fd33a53d50 Fix display under pages
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
1a1099013e Rename function
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
f001542b3e Use underscore to unify naming
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
1c1f0313f0 Add code comment
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
fd1e8ee915 Display forms only on default post types
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
c6aa1311ad Refactor
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
e644675046 Use cache for forms rendering to
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
d06fc2d00d Append form bellow content
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
5917582f46 Create form entity and repository
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
b77447103c Fix today preselect in date field
[MAILPOET-2652]
2020-01-27 10:34:15 +00:00
ffc82eff69 Fix custom select rendering
[MAILPOET-2652]
2020-01-27 10:34:15 +00:00
447e01b0aa Remove new form editor feature flag
[MAILPOET-2549]
2020-01-27 10:08:31 +00:00
6d683a41b0 Fix form widget rendering
Originally the extract produced snake cased variables.
[MAILPOET-2654]
2020-01-22 12:35:47 +00:00
2d957c3836 Remove redundant keyword
[MAILPOET-2632]
2020-01-14 18:47:39 +00:00
685b4885c0 Exclude WordPress and WooCommerce variables from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
d0292f8624 Convert variable names to camel case in PHPDoc
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
03e8dd860c Fix font-weight css property value
[MAILPOET-2592]
2020-01-09 09:20:33 +01:00
58a48ea36a Change default labels style in form custom CSS
[MAILPOET-2592]
2020-01-09 09:20:33 +01:00
9e5b7b0320 Rename public.css to mailpoet-public.css
[MAILPOET-2482]
2020-01-08 15:36:25 +00:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
a9fb644d44 Render label only if not hidden
[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
fa4ecaa445 Set full width text inputs as a default for newly created forms
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
effd37a0ad Refactor Form\Utils\Styles to injectable service
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
b0ef65a1eb Allow saving forms without name
[MAILPOET-2450]
2019-11-06 16:54:40 +00:00
d970dda637 Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
bb4bc76e78 Refactor form assets handling to separate class
[MAILPOET-2250]
2019-10-03 09:14:09 +01:00
5214e93787 Add sniff for use empty line spacing, fix found occurences
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
ade1cc4d8e Autofix alphabetically sorted use statements
[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
9ecd712fba Fix form error position when no list is selected
[MAILPOET-2032]
2019-06-20 07:11:31 -04:00
879a36e0f2 Rename translation functions 2019-05-21 09:04:00 -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