| 1 |
0.40068 Thu Jul 20, 2017 |
| 2 |
Add RequestToken field |
| 3 |
Add build_render_list_method |
| 4 |
Zccept coderefs for date_start, date_end in Date field |
| 5 |
|
| 6 |
0.40067 Wed Oct 19, 2016 |
| 7 |
Fixed Text validation checking, to allow deflations and transformations |
| 8 |
to be applied first. |
| 9 |
change order of processing 'input_without_param' and 'use_fields_for_input_without_param' |
| 10 |
fixes problem with not using default for select field |
| 11 |
fix for deflation of undef value, from ether's pull request 122 |
| 12 |
switch from JSON.pm to JSON::MaybeXS |
| 13 |
use coercion on 'options' instead of duplicate code in _load_options |
| 14 |
use [PkgVersion] |
| 15 |
fix bug in TextCSV field caused by setting error for multiple values in Text field |
| 16 |
|
| 17 |
0.40066 Mon Jul 18, 2016 |
| 18 |
Improve Select field option list support |
| 19 |
Support arrayref-of-arrayref options in a subroutine |
| 20 |
Allow input_append_button to take input_append_button_element_class |
| 21 |
Allow attributes to be specified for input_append_button |
| 22 |
Add comma digit grouping and custom currency symbol |
| 23 |
Allow input_append_button to take input_append_button_element_class |
| 24 |
Various minor doc updates |
| 25 |
|
| 26 |
0.40065 Sat Mar 19, 2016 |
| 27 |
Ensure Text fields only contain a single value |
| 28 |
Make it easier to specify a Select field having identical labels and values. |
| 29 |
|
| 30 |
0.40064 Thu Sep 17, 2015 |
| 31 |
Don't warn about date format unless set to `date` |
| 32 |
Wrap checkbox in CheckboxGroup, if requested |
| 33 |
Create es_es.pm |
| 34 |
Create ca_es.pm |
| 35 |
select field invalid value message: encode the select value |
| 36 |
typo in link to the example app |
| 37 |
remove css_class from Captcha field |
| 38 |
|
| 39 |
0.40063 Mon Jun 29, 2015 |
| 40 |
Raised Moose prereq to 2.1403 because 2.0604 causes failing tests |
| 41 |
|
| 42 |
0.40062 Fri Jun 25, 2015 |
| 43 |
Separate out test using Type::Tiny::Enum to skip_all |
| 44 |
|
| 45 |
0.40061 Thu Jun 25, 2015 |
| 46 |
Add skip for Type::Tiny::Enum |
| 47 |
|
| 48 |
0.40060 Wed Jun 24, 2015 |
| 49 |
Field validation can use Type::Tiny subclasses |
| 50 |
Replace NoTabTests and EOLTests |
| 51 |
switch from List::AllUtils+List::MoreUtils to List::Util (in core) |
| 52 |
add render_elementx and renderx methods to allow setting attributes at render time |
| 53 |
Warning if Date field is html5 and not ISO |
| 54 |
|
| 55 |
0.40059 Thu Feb 25, 2015 |
| 56 |
Remove clear->item_id that snaked in via merge error |
| 57 |
Pass subfield name to repeatable element wrapper |
| 58 |
|
| 59 |
0.40058 Thu Feb 25, 2015 |
| 60 |
add HorizCheckboxGroup for alternative CheckboxGroup rendering |
| 61 |
minor doc typos |
| 62 |
do $class->meta->make_immutable after new_with_traits |
| 63 |
Czech translation |
| 64 |
'get_errors' synonym for 'errors' on form |
| 65 |
add repeatable_element_wrapper ability |
| 66 |
|
| 67 |
0.40057 Fri Aug 1, 2014 |
| 68 |
added support for tag 'inline' in bootstrap3 wrapper |
| 69 |
add test for inline-checkboxes |
| 70 |
add test for prefilled with init_object form reuse |
| 71 |
clear item and init_object which are required for form reuse |
| 72 |
add failing test for element_class override through build_update_subfields |
| 73 |
add a bit of doc about handling DBIC new results & 'use_default_over_obj' |
| 74 |
=encoding utf-8 in Manual/Rendering.pod |
| 75 |
remove deprecated css_class and input_class attributes |
| 76 |
add param_to_values method to convert parameters to init_object-like hashref |
| 77 |
Add code to respect the label_no_filter tag on checkboxes for Bootstrap |
| 78 |
and the Base widgets. |
| 79 |
fix bootstrap3 input_append_button |
| 80 |
Respect label_no_filter on checkbox labels. |
| 81 |
add Arabic translations |
| 82 |
use time_zone and locale options in Date field |
| 83 |
|
| 84 |
0.40056 Mon Feb 20, 2014 |
| 85 |
use sorted_fields in 'dump_validated' |
| 86 |
added Type::Tiny support |
| 87 |
Use alert-danger rather than alert-error with in Bootstrap3 |
| 88 |
Fixes RT#91966 (deprecated way to call enum warning) |
| 89 |
bug in reloading repeatable fields; skip inactive fields |
| 90 |
|
| 91 |
0.40055 Thu Jan 2, 2014 |
| 92 |
handle SelectCSV field in as_label method of Select field |
| 93 |
2014 bug in t/compound/basic.t test (rt91793) |
| 94 |
|
| 95 |
0.40054 Tue Nov 26, 2013 |
| 96 |
Check for old unimplemented parameter to wrap_checkbox, and check |
| 97 |
for existence of option_wrapper |
| 98 |
add language handle to bootstrap3 tests |
| 99 |
pass event to repeatable js click handler |
| 100 |
stop forcing undefined Checkbox fields to 0; didn't allow undef for value |
| 101 |
different inline class for Bootstrap3 for checkboxes and radios |
| 102 |
select options: add coercion of arrayref of hashrefs from arrayref of strings |
| 103 |
allow Date field to use DateTime subclasses |
| 104 |
|
| 105 |
0.40053 Tue Oct 22, 2013 |
| 106 |
Bad version number on prereq |
| 107 |
|
| 108 |
0.40052 Mon Oct 21, 2013 |
| 109 |
allow overriding layout_classes in Bootstrap3 wrapper |
| 110 |
allow passing in value to 'as_label' method in Select field |
| 111 |
|
| 112 |
0.40051 Thu Oct 17, 2013 |
| 113 |
Update Italian message file |
| 114 |
Minor doc updates |
| 115 |
add errors_by_name and errors_by_id to result |
| 116 |
add Bootstrap3 theme for those using the Bootstrap theme |
| 117 |
better form-horizontal Bootstrap 3.0 support |
| 118 |
provide method in result (form_and_field_errors) to return form and field errors |
| 119 |
|
| 120 |
0.40050 Thu Sep 26, 2013 |
| 121 |
*** 'widget_tags' in a field have been deprecated for a long time; removing. |
| 122 |
There are still widget_tags in the form and compound fields. |
| 123 |
Use 'tags' in a field instead. |
| 124 |
*** Initial support of Bootstrap3 - still EXPERIMENTAL. Do not use in |
| 125 |
production yet. Changes in interface may occur over the next few weeks. |
| 126 |
Supporting Bootstrap 3.0 required a surprising amount of minor refactoring: |
| 127 |
Bootstrap3 checkboxes and radio elements now have an additional div wrapping them. |
| 128 |
This required setting flags in the wrapper that could be seen by the |
| 129 |
field widgets. Used 'wrapper_tags' attribute, which is not the most satisfying |
| 130 |
solution but does work. The former 'controls' div now doesn't have the |
| 131 |
'controls' class, but is used for sizing. Added new attribute |
| 132 |
'element_wrapper_class' to provide these classes. Split out addition of |
| 133 |
classes to the wrapper and element into 'add_standard_wrapper_classes' and |
| 134 |
'add_standard_element_classes', because B3.0 now wants 'has-error' and |
| 135 |
'has-warning' instead of the former 'error' class. 'control-group' was |
| 136 |
changed to 'form-group'. The 'form-control' class has been added to |
| 137 |
text, password, textarea, and select fields. |
| 138 |
Add 'preserve_case' attribute to Email field |
| 139 |
|
| 140 |
0.40028 Sat Sep 21, 2013 |
| 141 |
Fixed bug when rendering blocks with 'run' (results) |
| 142 |
Sort the deflated values of SelectCSV field |
| 143 |
Allow passing Email::Valid params to Email field |
| 144 |
Typos fixed |
| 145 |
Add 'use_init_obj_when_no_accessor_in_item' flag for dual-purpose init_obj |
| 146 |
|
| 147 |
0.40027 Thu Aug 8, 2013 |
| 148 |
Add 'options_ref' method for using options in TT templates |
| 149 |
Add unique messages to field messages hash |
| 150 |
|
| 151 |
0.40026 Wed Jul 3, 2013 |
| 152 |
Add Italian message file |
| 153 |
Doc tweaks |
| 154 |
Add errors_by_id and errors_by_name convenience methods |
| 155 |
|
| 156 |
0.40025 Thu May 9, 2013 |
| 157 |
Add skip in t/setup_form_config.t unless YAML::Syck (Config::Any) |
| 158 |
|
| 159 |
0.40024 Tue May 7, 2013 |
| 160 |
Add 'no_option_validation' flag to select field. |
| 161 |
Remove HtmlArea field. (Has always been broken, and there were complaints about |
| 162 |
not prereqing HTML::Tidy, which I won't do due to difficulty of installing) |
| 163 |
Change 'use' of GD::SecurityImage to a 'require'. (Will not prereq this one either.) |
| 164 |
|
| 165 |
0.40023 Tue Apr 30, 2013 |
| 166 |
Add Brazilian Portuguese translation file |
| 167 |
Fix bug in process of re-loading repeatables without primary keys after db update |
| 168 |
Add TextCSV field for multiple values in a text field (useful with js libraries) |
| 169 |
|
| 170 |
0.40022 Mon Mar 18, 2013 |
| 171 |
Remove 'writeonly' flag from Display field, because fix to not pull |
| 172 |
values from an item/init_object with that flag meant that values were not |
| 173 |
being applied to Display fields, when people were relying on that. |
| 174 |
Switch to using github issues instead of RT |
| 175 |
|
| 176 |
0.40021 Mon Mar 4, 2013 |
| 177 |
Don't validate disabled fields |
| 178 |
check for existence of field in match_when before getting $field->fif, |
| 179 |
improve error message |
| 180 |
add type_attr to Select field; update t/render/ff.t to use it |
| 181 |
cleanup select field options_method building |
| 182 |
|
| 183 |
0.40020 Sun Feb 20, 2013 |
| 184 |
More support for repeatable javascript: |
| 185 |
Tweak Bootsrap wrapper to check do_wrapper instead of do_label when rendering |
| 186 |
'controls' div |
| 187 |
Reminder: It's always a good idea to make your own set of of widgets so that |
| 188 |
updates don't throw off your rendering. This change was hardly noticeable |
| 189 |
in the FH testcases, but it's possible you were relying on the old behavior |
| 190 |
for CSS. |
| 191 |
Add 'controls_div' to Simple wrapper. |
| 192 |
Add RmElement example field. |
| 193 |
|
| 194 |
0.40019 Fri Feb 8, 2013 |
| 195 |
Move back 'before_element' tag; breaks existing rendering. Add additional |
| 196 |
'before_element_inside_div' tag instead. |
| 197 |
|
| 198 |
0.40018 Thur Feb 7, 2013 |
| 199 |
Don't put 'control-group' on Bootstrap hidden field div because of spacing issues |
| 200 |
Support for repeatable add/remove javascript |
| 201 |
add 'setup_for_js' flag to Field::Repeatable |
| 202 |
add HTML::FormHandler::Render::RepeatableJs |
| 203 |
add HTML::FormHandler::Field::AddElement |
| 204 |
add before_wrapper and after_wrapper tags |
| 205 |
add 'id' to wrappers of compound fields |
| 206 |
update Display field to use 'render_method' |
| 207 |
allow applying wrapper widget even if field has render method |
| 208 |
Fix positioning of 'before_element' tag in Bootstrap wrapper |
| 209 |
|
| 210 |
0.40017 Sat Dec 1, 2012 |
| 211 |
Fix bad html in Span widget |
| 212 |
Fix unitialized warning processing has_field with '+' |
| 213 |
Use get_default_value in Submit/Reset field |
| 214 |
Improve doc for bootstrap theme, use BootstrapFormMessages role |
| 215 |
Add lazy to render_filter for random failures in 5.17.6 |
| 216 |
|
| 217 |
0.40016 Mon Oct 15, 2012 |
| 218 |
Fix bug with DBIC model interface |
| 219 |
|
| 220 |
0.40015 Sun Oct 14, 2012 |
| 221 |
Remove extraneous use of Data::Printer |
| 222 |
Correct spelling of PadWalker |
| 223 |
|
| 224 |
0.40014 Sat Oct 13, 2012 |
| 225 |
Add useful message and die in field widgets with no result |
| 226 |
Use string instead of object in LANGUAGE_HANDLE |
| 227 |
Fix bug in required_when when value is 0 |
| 228 |
Allow using arrayref for sort_column. |
| 229 |
Select field as_label for multiple fields. |
| 230 |
Minor doc fixes |
| 231 |
Bug - option group label attributes |
| 232 |
Add info_message to form and rendering. |
| 233 |
Add 'use_fields_for_input_without_param' flag |
| 234 |
Call inflate_default_method on repeatable elements |
| 235 |
|
| 236 |
0.40013 Sun Jun 24, 2012 |
| 237 |
Re-write elimination of PrimaryKey field from repeatable value, |
| 238 |
add 'no_value_if_empty' attribute |
| 239 |
Fix bug with labels '0' not being displayed |
| 240 |
Change 'missing' to an attribute. |
| 241 |
Submit field has 'submit' html5_type_attr |
| 242 |
Add html5_type_attr to Hidden, Reset, and Password fields |
| 243 |
Add new behavior for compound fields and 'not_nullable' flag, |
| 244 |
where compound field value is not set to undef when all |
| 245 |
subfields are empty. This is needed for some kinds of db |
| 246 |
relationships, to ensure that subfields are set to null. |
| 247 |
|
| 248 |
0.40012 Fri Jun 15, 2012 |
| 249 |
Bug cloning merging repeatable instances; form reference garbage collected |
| 250 |
Doc typos |
| 251 |
|
| 252 |
0.40011 Tue Jun 5, 2012 |
| 253 |
Remove automatic building of field results. If you have field tests, you |
| 254 |
need to add $field->build_result after creating field with 'new'. |
| 255 |
Possible memory cycle if result is accessed when not built. |
| 256 |
Add 'required_when' |
| 257 |
Add Bulgarian message file (dpetrov) |
| 258 |
Bootstrap input_append/prepend: no linefeeds between input |
| 259 |
Add input_append_button tag to Bootstrap wrapper |
| 260 |
Correct camelcase for widgets in two fields |
| 261 |
Add 'value_when_empty' for multiple select |
| 262 |
Add SelectCSV multiple field |
| 263 |
Change Select to use sort_options_method for sorting |
| 264 |
|
| 265 |
0.40010 Sun May 20, 2012 |
| 266 |
Add 'when' clause to apply actions |
| 267 |
Fix memory leak on fields with defaults due to missing 'my' causing |
| 268 |
$self to be closed over so that RAM was leaked if forms were constructed |
| 269 |
but never processed. (in default_<field_name> & validate_<field_name> |
| 270 |
methods) |
| 271 |
|
| 272 |
0.40009 Mon May 14, 2012 |
| 273 |
Re-implement improved version of 'reload_after_update'. |
| 274 |
|
| 275 |
0.40008 Fri May 11, 2012 |
| 276 |
Add 'missing' method to Field |
| 277 |
Use result in Bootstrap render_form_messages |
| 278 |
Fix Render::Table |
| 279 |
Propagate errors when they're added, so $form->has_errors |
| 280 |
works in sub validate |
| 281 |
Use do_render_label in Bootstrap wrapper to allow setting |
| 282 |
label class/attributes |
| 283 |
Add subfield convenience method. |
| 284 |
Remove 'reload_after_update'. Didn't work anyway. Bug: duplicate |
| 285 |
results with repeatables. (avoid with reload_after_update => 0) |
| 286 |
Re-factor RadioGroup widget to allow individually rendered options |
| 287 |
Support option groups in 'Select', 'RadioGroup' & 'CheckboxGroup' widgets |
| 288 |
|
| 289 |
0.40007 Tues Apr 24, 2012 |
| 290 |
Re-factor widget to provide 'render_element' method |
| 291 |
Various doc updates |
| 292 |
Move 'by_flag' processing into '_merge_updates' |
| 293 |
Handle disabled fields better; result_from_fields if no input |
| 294 |
Fix bug: html_attributes callback called with 'input' instead of 'element' |
| 295 |
|
| 296 |
0.40006 Tues Apr 10, 2012 |
| 297 |
Render::Table incorrect table start |
| 298 |
Minor doc cleanup |
| 299 |
Add 'build_label_method' |
| 300 |
Re-do merging of widget_tags |
| 301 |
Implement experimental 'include' list for Form/Compound fields |
| 302 |
Refactor merge_updates and update_subfields to handle contains |
| 303 |
Add 'by_type' to update_subfields |
| 304 |
|
| 305 |
0.40005 Mon Mar 26, 2012 |
| 306 |
prevent undef from being passed to maketext |
| 307 |
expand use of 'posted' flag to check false values |
| 308 |
add wrap_label method |
| 309 |
|
| 310 |
0.40004 Fri Mar 23, 2012 |
| 311 |
Don't put element attributes on select options |
| 312 |
Make render_list lazy |
| 313 |
Better defaults for compound fields |
| 314 |
Provide package name for die when not extending |
| 315 |
Add block_list to provide blocks |
| 316 |
Defaults for repeatable fields |
| 317 |
|
| 318 |
0.40003 Wed Mar 14, 2012 |
| 319 |
Move dfv test that fails prereqs |
| 320 |
|
| 321 |
0.40002 Tue Mar 13, 2012 |
| 322 |
Put form wrappers that are fieldsets inside form tag; outside not legal HTML |
| 323 |
Doc updates |
| 324 |
Add 'NonEditable' field and 'Span' field widget |
| 325 |
Patch HTMLAttributes (compatibility for older style custom widgets) |
| 326 |
|
| 327 |
0.40001 Wed Mar 7, 2012 |
| 328 |
Remove \K in regex for ucc_widget; doesn't work pre 5.10 |
| 329 |
Switch DateTime field to use inflate_default_method |
| 330 |
|
| 331 |
0.40000 Tue Mar 6, 2012 |
| 332 |
|
| 333 |
**** There are many changes to rendering, many of them incompatible. |
| 334 |
These changes *will* break existing form rendering. |
| 335 |
You must check that your rendering works before upgrading. Making a copy |
| 336 |
of the old code (the widget and rendering roles) may be helpful (or use |
| 337 |
the compatibility libraries -- see below). |
| 338 |
I always prefer to maintain backward compatibility if possible, but |
| 339 |
a number of the improvements were not possible without breaking |
| 340 |
compatibility, so I did a lot of changes at once. |
| 341 |
Compatibility libraries are provided to help support rendering that relied |
| 342 |
on the earlier libriaries at: |
| 343 |
git://github.com/gshank/html-formhandler_pre-0.40_compat.git |
| 344 |
README at: https://github.com/gshank/html-formhandler_pre-0.40_compat/blob/master/README |
| 345 |
|
| 346 |
Add Twitter Bootstrap 2.0 widget wrapper |
| 347 |
Add 'no_update' flag to allow skipping model_update. |
| 348 |
Remove 'deflate_to' flag; provide new inflation/deflation methods. |
| 349 |
see HTML::FormHandler::Manual::InflationDeflation |
| 350 |
New 'build_id_method' to provide different builder method for field IDs. |
| 351 |
'auto_fieldset' and 'no_auto_fieldset' no longer used. No automatic fieldsets. |
| 352 |
Can be added with do_wrapper => 1 and a tag of wrapper_tag => 'fieldset' |
| 353 |
Localize the value of the reset button. |
| 354 |
Tests and fix for form 'validate_<field_name>' and 'default_<field_name>' method |
| 355 |
for repeatables fields. |
| 356 |
Change default radiogroup rendering to not use <br /> elements. Add back |
| 357 |
with tag radio_br_after => 1 |
| 358 |
Switch to using coderef for deflate_method; custom fields with deflate sub |
| 359 |
will need to be modified. |
| 360 |
Add block rendering (HTML::FormHandler::Blocks) |
| 361 |
Re-do code for default & validate method construction; now provides |
| 362 |
'default_method' and 'validate_method' coderef setting |
| 363 |
Remove 'init_value_*' from Field (deprecated for years). |
| 364 |
Use Hash::Merge in merging update field info on creation |
| 365 |
Fix bug in copying tags to fields by cloning field definitions |
| 366 |
Switch to using name 'element_attr' in fields instead of 'html_attr' |
| 367 |
Put wrapper class 'hfh-repinst' on Repeatable Instances unless they already have a wrapper class |
| 368 |
Remove 'javascript' field attribute. Put into *_attr hashref. |
| 369 |
Automatically put 'error' on element and wrapper. |
| 370 |
Switch to having the 'class' as a separate attribute from the _attr collection. |
| 371 |
Use 'element_class', 'wrapper_class' & 'label_class' arrayrefs |
| 372 |
Switch to having widget names by default be camel case; provide convenience |
| 373 |
methods for templates - uwidget, uwrapper, twidget, twrapper. |
| 374 |
** this change will affect existing template systems, if they use the |
| 375 |
$field->widget method to get the widget name. See example templates. |
| 376 |
and conversion methods 'ucc_widget' and 'cc_widget' in HTML::FormHandler::Render::Util |
| 377 |
Create t/share/templates/form/form_in_one.tt |
| 378 |
Switch default rendering of checkbox to have label wrap input. Checkboxes are |
| 379 |
complicated. See t/render/checkbox.t for various options. |
| 380 |
Add 'build_update_subfields' to 'update_fields' processing to allow moving |
| 381 |
more of rendering settings into a separate role |
| 382 |
Change form 'html_attr' to 'form_element_attr', and use builder |
| 383 |
Change interface of html_field_attributes to also return attr (instead of just in-place) |
| 384 |
Remove 'label_no_colon', make labels without colon the default. |
| 385 |
Add widget tag 'label_after'. Use "label_after => ': '" for old behavior |
| 386 |
Add widget tag 'label_tag'. Default 'label'. |
| 387 |
Widget_tags replaced with 'form_tags' in form and 'tags' in Field. |
| 388 |
takes builder 'build_form_tags' instead of default |
| 389 |
Repeatable elements get automatic 'div' wrapper |
| 390 |
Remove attribute 'auto_fieldset'; wrapping form is no longer a default; |
| 391 |
Add back with sub build_do_form_wrapper {1}, |
| 392 |
and form_tags => { wrapper_tag => 'fieldset' } |
| 393 |
Remove automatic wrapping of compounds. |
| 394 |
Enable wrapping with do_wrapper => 1 (there's also do_label => 1) |
| 395 |
Put form wrapper around form tag instead of inside |
| 396 |
wrapper_start and wrapper_end tags not used to skip wrapper; use do_wrapper => 0 |
| 397 |
The 'get_tag' method now returns '' instead of undef if tag doesn't exist. |
| 398 |
|
| 399 |
0.36001 Tues Jan 24, 2012 |
| 400 |
Add two more widget tags: 'no_auto_fieldset' and 'no_compound_wrapper' |
| 401 |
Remove automatic addition of 'class="label"' to labels; if you want that |
| 402 |
behavior, add it in with form sub field_html_attributes. |
| 403 |
Add 'SKIP' to t/config.t test for Template. |
| 404 |
Update Captcha so it might actually work. |
| 405 |
|
| 406 |
0.36000 Sun Jan 22, 2012 |
| 407 |
Switch to using 'process_attrs' function to process attributes in rendering; |
| 408 |
*** There were lots of updates to rendering. You should verify your custom |
| 409 |
rendering, to make sure that nothing has broken. The '_add_html_attributes' |
| 410 |
method is no longer used. |
| 411 |
Add shorthand method for setting defaults in fields |
| 412 |
Add widget_tags 'label_no_colon' & 'wrapper_tag' |
| 413 |
Update and reorganize TT templates |
| 414 |
Add flags 'use_defaults_over_obj' & 'use_init_obj_over_item' |
| 415 |
Add 'num_extra' to Repeatable |
| 416 |
Update Turkish message file; add Float field |
| 417 |
Add lazy to 'html' attribute in Display field |
| 418 |
Add 'label_attr' and 'wrapper_attr' to Field |
| 419 |
Add 'Array' trait to field_name_space and widget_name_space |
| 420 |
Bug with selected/checked hash key in Multiple; switch to creating default |
| 421 |
Bug with repeatable contains; not using full name for accessor. |
| 422 |
Die if using HTML::FormHandler::Moose without HTML::FormHandler |
| 423 |
Field::TextArea extends Field::Text to reuse its validations (min/max length) |
| 424 |
Add is_html5 attribute to forms which causes forms to have the additional |
| 425 |
HTML 5 attributes which can be used by HTML 5 capable clients for validation |
| 426 |
|
| 427 |
0.35005 Sat Oct 8, 2011 |
| 428 |
Fix bug repeatable result not returned for num_when_empty |
| 429 |
Fix bug repeatable required flag not propagated |
| 430 |
Fix bug building nested compound fields |
| 431 |
Allow html attributes on radio group elements |
| 432 |
Undefined string warning in select rendering |
| 433 |
Add Japanese message file |
| 434 |
|
| 435 |
0.35004 Wed Oct 5, 2011 |
| 436 |
Fix bug setting multiple selects with init_object |
| 437 |
Provide html_attr for form attributes |
| 438 |
Use Moose type for field_name_space and widget_name_space |
| 439 |
|
| 440 |
0.35003 Wed Sep 7, 2011 |
| 441 |
Fix bug constructing classes for Class::Load, revealed by Class::Load 0.10 |
| 442 |
|
| 443 |
0.35002 Mon Aug 8, 2011 |
| 444 |
Change to use Class::Load due to speed. |
| 445 |
|
| 446 |
0.35001 Mon Jul 25, 2011 |
| 447 |
Undid setting processed flag when building result in BUILD. Breaks |
| 448 |
existing apps. Re-thinking that part for now. |
| 449 |
|
| 450 |
0.35000 Thu Jul 21, 2011 |
| 451 |
Add support for tabindex attribute. |
| 452 |
Generic html attribute setting (html_attr) |
| 453 |
Set 'processed' flag when building results in BUILD to fix problem |
| 454 |
with garbage collected results. |
| 455 |
*** it's possible that this may break code if field values were being |
| 456 |
set outside of FormHandler, or params were set on new. Pass params |
| 457 |
on process. Set fields inside FormHandler, or run clear first, then |
| 458 |
set values. In general, it works best to update fields inside a |
| 459 |
FormHandler class, in a method or method modifier. |
| 460 |
Building results in 'new' happened originally because people expected |
| 461 |
to be able to do $form->render after new, without process. But you're |
| 462 |
better off always running 'process'. |
| 463 |
Add flag 'no_preload' to skip building results in new (BUILD) if not needed |
| 464 |
Add flag 'no_widgets' to skip applying widgets to fields if not needed |
| 465 |
Fix for Date fields in compounds. |
| 466 |
Types Printable & SingleWord use class messages |
| 467 |
Add link to the bug tracker into the HELP section in the Pod. |
| 468 |
Change how field_traits work: apply traits to field objects, add |
| 469 |
new class method apply_traits (Stephen Thirlwall) |
| 470 |
|
| 471 |
0.34001 Mon May 16, 2011 |
| 472 |
Fiz another memory cycle using Select field |
| 473 |
Tweak code creating results for Field testing |
| 474 |
|
| 475 |
0.34000 Mon May 16, 2011 |
| 476 |
Fixed memory cycles; 1 in HFH code, others by requiring Moose 2.0007 |
| 477 |
Localize value of a button |
| 478 |
Allow limited use of has_many multiple select |
| 479 |
Add SimpleInline & TableInline widgets to not wrap compound fields |
| 480 |
|
| 481 |
0.33002 Tues Feb 22, 2011 |
| 482 |
Accidentally left off compatibility for 'required_message' attribute |
| 483 |
messages => { required => '...' } is new style and worked |
| 484 |
|
| 485 |
0.33001 Mon Feb 21, 2011 |
| 486 |
Remove unnecessary with of HFH::Validate::Actions |
| 487 |
|
| 488 |
0.33000 Mon Feb 21, 2011 |
| 489 |
bug - empty_select check defined |
| 490 |
Add button field, widget, template |
| 491 |
Check html attributes for definedness not truth |
| 492 |
Add ability to set field inactive on new & process |
| 493 |
in addition to setting active |
| 494 |
Move 'no_render_label' into Field |
| 495 |
Use form's language_handle in fields |
| 496 |
Improve PrimaryKey doc |
| 497 |
Return empty hashref from $form->value instead of undef |
| 498 |
Merge experimental Wizard into master |
| 499 |
Render disabled select options |
| 500 |
Repeatable contains rendering incorrectly, skipping empty elements |
| 501 |
Add rendering of form_errors to widgets and Render::Simple |
| 502 |
*** If you were using form_errors (there are none by default) |
| 503 |
and were using HFH rendering, check for compatibility |
| 504 |
Allow specifying full class for widget with '+' |
| 505 |
Document removing wrapper div from Simple wrapper |
| 506 |
Re-do how field messages are stored and accessed. Use messages => {...} |
| 507 |
instead of various _message attributes |
| 508 |
Add utilities in util to pull out class messages and check I18N |
| 509 |
Update I18N messages files (those that were provided by translators) |
| 510 |
Change render_filter Coderef setting because of leak; |
| 511 |
*** Possible incompatibility: if you have a form render_filter, |
| 512 |
change to function instead of method |
| 513 |
Change _localize to a Coderef to allow easier changing. |
| 514 |
*** If you have a custom _localize method, check for compatibility |
| 515 |
|
| 516 |
0.32005 Wed Oct 20, 2010 |
| 517 |
Removed '//'; incompatible with earlier versions of Perl |
| 518 |
|
| 519 |
0.32004 Wed Oct 20, 2010 |
| 520 |
Minor doc cleanup |
| 521 |
Switch away from MooseX::Traits; memory leak because of non-cached |
| 522 |
composed classes |
| 523 |
|
| 524 |
0.32003 Sun Oct 3, 2010 |
| 525 |
Fix syntax for 'with', excludes => -excludes |
| 526 |
Use labels in radio group widgets |
| 527 |
Add 'is_active' and 'is_inactive' convenience methods in Field |
| 528 |
Select options - check defined instead of truth |
| 529 |
Misc minor doc and test improvements |
| 530 |
Coderef allowed for messages in apply actions |
| 531 |
Limit removing of numbers when constructing method names |
| 532 |
Use html_filter when rendering labels |
| 533 |
Allow undefining min_size and max_size in upload field |
| 534 |
Return in render_filter if string is not defined |
| 535 |
Change rendering of repeatable subfields |
| 536 |
|
| 537 |
0.32002 Thu July 29, 2010 |
| 538 |
Update to handle newer Moose (error msg with Moose::Util::MetaRole API) |
| 539 |
Swich to Dist::Zilla |
| 540 |
Add customization of form tag attributes |
| 541 |
Add test prereqs |
| 542 |
|
| 543 |
0.32001 Fri June 25, 2010 |
| 544 |
Add prereqs for DateTime::Format::Strptime and Email::Valid |
| 545 |
|
| 546 |
0.32000 Fri June 25, 2010 |
| 547 |
Accept arrayref messages in add_error |
| 548 |
Add initial fieldset wrapper |
| 549 |
Flag (localize_labels) in Select field for rendering; localize empty_select |
| 550 |
Add posted flag for forms containing only fields with no params when unselected |
| 551 |
Add 'update_fields' methods and 'update_field_list' for preference-type field updates |
| 552 |
Fix incorrect error message in duration field |
| 553 |
Use LANGUAGE_HANDLE instead of LANG in tests |
| 554 |
Add 'input_class' for class attribute on input fields |
| 555 |
Allow deflation in fif, flag 'deflate_to' => 'value'/'fif' |
| 556 |
Fix bug with unselected Select field (move input_without_param & not_nullable into field) |
| 557 |
Add resultset example to cookbook |
| 558 |
Doc to look at input for multiple submit fields |
| 559 |
Fix bug in _set_dependency; use 'has_some_value' to determine emptiness |
| 560 |
Add form_errors for non-field errors |
| 561 |
Remove deprecated 'min_length' attribute ('minlength' is supported) |
| 562 |
Allow upload field to be passed a file handle |
| 563 |
Pass values to Display field (for display-only db fields) |
| 564 |
Change I18N to allow duck_type classes; add test for Data::Localize |
| 565 |
Added 'peek' diagnostic function for viewing field & result trees |
| 566 |
Fix bug with extra results in repeatable elements |
| 567 |
Strip empty pks and empty elements from repeatable values (avoid DB errors) |
| 568 |
Localize value of submit button |
| 569 |
Make '+' unnecessary in front of field name space types |
| 570 |
|
| 571 |
0.31003 Fri May 7, 2010 |
| 572 |
Change precedence of defaults over item/init_object; add 'default_over_obj' for |
| 573 |
cases where that behavior is desired. |
| 574 |
Fix errors in filtering HTML in rendering |
| 575 |
Call deflation in InitResult::_result_from_obj |
| 576 |
Split localization of labels into separate 'loc_label' method |
| 577 |
Call loc_label where label is used in error messages |
| 578 |
Enable empty strings for wrapper_start and wrapper_end |
| 579 |
Set locale to en_us where needed in test |
| 580 |
Fix widget_name_space use in fields |
| 581 |
|
| 582 |
0.31002 Wed Apr 21, 2010 |
| 583 |
Remove unused HTML::Entities from Simple form widget |
| 584 |
Move locale test file into xt because of env variable issues in test |
| 585 |
|
| 586 |
0.31001 Tues Apr 20, 2010 |
| 587 |
Use full length version number |
| 588 |
Updates to translated messages & messages in Validate::Actions |
| 589 |
|
| 590 |
0.31 Fri Apr 16, 2010 |
| 591 |
Remove use of HTML::Entities for filtering. New render_filter coderef for filering. |
| 592 |
Minor doc fixes for typos |
| 593 |
Use _html_attributes in widgets (for disabled, readonly, javascript) |
| 594 |
Localize default required field message |
| 595 |
Add 'render_upload' to Render::Simple |
| 596 |
Fix allowing array for field_name_space |
| 597 |
Selected_option for select lists |
| 598 |
Add example to cookbook and tests for setting a coderef for validation |
| 599 |
Checkbox group use 'eq' instead of '==' |
| 600 |
Fixes to tutorial to match Catalyst tutorial |
| 601 |
Allow arrayref for 'has_field' (like Moose 'has') |
| 602 |
Die on maketext errors |
| 603 |
Move deflation from fif to get_value called by '_result_from_object'. |
| 604 |
Possible incompatibility, except it was probably not working to start with... |
| 605 |
|
| 606 |
0.30003 Sun Feb 21, 2010 |
| 607 |
Partial fix for lack of defaults for compound fields |
| 608 |
Support for using model_fields roles (DBICFields) |
| 609 |
Use 'eq' instead of '==' when constructing html for multiple selects |
| 610 |
Remove deprecated 'auto' syntax |
| 611 |
|
| 612 |
0.30002 Thu Feb 11, 2010 |
| 613 |
Don't convert widget names that contain uppercase |
| 614 |
Better error messages for missing field classes |
| 615 |
Field attribute 'input_param' to allow input names different than field names |
| 616 |
Make field 'default' rw |
| 617 |
Clean up doc on init_object |
| 618 |
|
| 619 |
0.30001 Fri Feb 5, 2009 |
| 620 |
Remove unnecessary IO::All use causing dep problems |
| 621 |
Changes to Turkish messages |
| 622 |
Russian and Urkainian message files |
| 623 |
Use HTML::FormHandlerX namespace for fields and widgets |
| 624 |
Fix bug with defaults set to 0 |
| 625 |
|
| 626 |
0.30 Mon Feb 1, 2010 |
| 627 |
Improve Display Field, adding more ways to set html |
| 628 |
Add initial pass at more automatic TT rendering |
| 629 |
Change readonly, html attributes to 'rw' |
| 630 |
Set widget in Reset field |
| 631 |
Fix bugs and oddities in HFH::types |
| 632 |
Fix bug allowing hashref to be passed to constructor |
| 633 |
Improve doc on 'trim' |
| 634 |
Add more doc on dynamic form creation |
| 635 |
Allow 'options_<field_name>' attributes in form |
| 636 |
Add Turkish message file |
| 637 |
Add 'empty_select' to Select field |
| 638 |
Fix bug displaying empty repeatable element if no values from object |
| 639 |
Improvements in I18N factoring |
| 640 |
|
| 641 |
0.29002 Wed Dec 16, 2009 |
| 642 |
Remove locale.t from dist until issues solved |
| 643 |
|
| 644 |
0.29001 Tues Dec 15, 2009 |
| 645 |
Fix bug with passing widget_wrapper to fields |
| 646 |
Fix bug with generated method names for form methods |
| 647 |
|
| 648 |
0.29 Wed Dec 2, 2009 |
| 649 |
Add CheckboxGroup widget, add MooseX::Traits to Form & Field class |
| 650 |
Fix bug where defaults were not being used with an initial object |
| 651 |
Fix DateTime field to trap DateTime errors, pass hash in value |
| 652 |
Use build_label for field labels |
| 653 |
Remove use of Class::Load, instead use Class::MOP::load_class() |
| 654 |
Add set_active and make switching fields to active simpler |
| 655 |
Fix bug when options lists from db are empty |
| 656 |
Add encode_entities to rendering widgets |
| 657 |
Switch from init_value_<fieldname> to default_<fieldname> |
| 658 |
Change upload field. |
| 659 |
Improve setting of method defaults for set_default, set_validate, set_options |
| 660 |
|
| 661 |
0.28 |
| 662 |
Switched to using native traits |
| 663 |
Add Widget roles |
| 664 |
Major refactor to support result classes |
| 665 |
Reformatting source to more Perl standard |
| 666 |
Fix bug generating CSS classes in Render::Simple (mazpe) |
| 667 |
Fix POD example in ::Intro (mazpe) |
| 668 |
|
| 669 |
0.27006 Mon Aug 17, 2009 |
| 670 |
Add ability to set params class and arguments |
| 671 |
|
| 672 |
0.27005 Wed Aug 12, 2009 |
| 673 |
DateTime::Format::Strptime dep again |
| 674 |
|
| 675 |
0.27004 Tues Aug 11, 2009 |
| 676 |
Date inherits from Text. Fix loading compound fields from related. |
| 677 |
Call load_options for forms with no init_obj & params |
| 678 |
|
| 679 |
0.27003 Sat Aug 2, 2009 |
| 680 |
Indexing failure missing version in Date |
| 681 |
|
| 682 |
0.27002 Sat Aug 2, 2009 |
| 683 |
Fix missing dependency on DateTime::Format::Strptime |
| 684 |
Doc tweaks |
| 685 |
|
| 686 |
0.27001 Fri July 31, 2009 |
| 687 |
Doc fixes, fix Date field. |
| 688 |
|
| 689 |
0.27 Sat July 25, 2009 |
| 690 |
Split HTML::FormHandler::Model::DBIC into separate distribution |
| 691 |
Add 'inactive' flag. Cleanup Makefile.PL. 'size' split into 'size' and |
| 692 |
'maxlength'. 'min_length' renamed to 'minlength'. Add Catalyst pod. |
| 693 |
'html_name' used for field 'id'. Fix DateMDY field. |
| 694 |
|
| 695 |
0.26 Tues June 23, 2009 |
| 696 |
Fix dependency test failures on UNIVERSAL::require and version |
| 697 |
|
| 698 |
0.25 Sat June 20, 2009 |
| 699 |
Add dependency for DateTime::Format::SQLite |
| 700 |
|
| 701 |
0.24 Sat June 20, 2009 |
| 702 |
Refactor validation processing for api consistency |
| 703 |
Skip empty undef array elements. Update Password and PrimaryKey fields. |
| 704 |
Fix bugs: calling validate_ method, recognizing errors in repeatable fields, |
| 705 |
handling empty repeatable elements, |
| 706 |
incorrect cloning in Repeatable, rendering fixes/updates. |
| 707 |
|
| 708 |
0.23 Fri May 22, 2009 |
| 709 |
Refactor HTH to use only 'process'. Deprecate 'validate' and 'update' |
| 710 |
Add field_list array, deprecate other usages. |
| 711 |
Clean up documentation |
| 712 |
Add Repeatable field to support has_many relationships |
| 713 |
|
| 714 |
0.22 Fri May 1, 2009, 17:00 |
| 715 |
Removed development only test from distribution |
| 716 |
Expanded apply documentation. |
| 717 |
|
| 718 |
0.21 Thu Apr 30, 2009, 20:00 |
| 719 |
Removed podcoverage, added skip to generator.t test, added |
| 720 |
'apply' sugar for adding actions, doc for compound field |
| 721 |
|
| 722 |
0.20 Thu Apr 23, 2009, 17:00 |
| 723 |
Added apply constraints, transforms, checks. Refactored code for future |
| 724 |
use of nested fields. Improvements to compound fields. Bug fix for |
| 725 |
checkboxes. Added ability to redefine attributes of existing fields |
| 726 |
with '+fieldname'. |
| 727 |
|
| 728 |
0.19 Thu Mar 05, 2009, 17:00 |
| 729 |
Fix problem with empty values from form. Add Compound field. |
| 730 |
|
| 731 |
0.18 Sun Feb 22 2009, 15:00 |
| 732 |
Add missing test prereq DateTime::Format::MySQL. |
| 733 |
Add 'values' method to form. Add 'accessor' attribute |
| 734 |
to field. |
| 735 |
|
| 736 |
0.17 Thurs Feb 19 2009, 17:30 |
| 737 |
Refactor validate, adding validate_form method |
| 738 |
|
| 739 |
0.16 Thurs Feb 19 2009, 17:00 |
| 740 |
Add ability to use arrayrefs for primary key |
| 741 |
Clear 'fif' for non-db forms. Allow init_object for non-db forms. |
| 742 |
|
| 743 |
0.15 Mon Feb 16 2009, 19:00 |
| 744 |
Fix inheritance of has_field. Add ability to use has_field |
| 745 |
in roles. Some refactoring of 'clear'. If a field is not |
| 746 |
in params, don't touch in db. |
| 747 |
|
| 748 |
0.14 Fri Feb 06 2009, 18:00 |
| 749 |
Wrong version in META.yml. Fix fif for password fields. |
| 750 |
|
| 751 |
0.13 Wed Feb 04 2009, 23:00 |
| 752 |
Fix validate to set params if hash |
| 753 |
|
| 754 |
0.12 Wed Feb 04 2009, 18:00 |
| 755 |
Fix 'dump_fields'. Add more output for verbose. Change so |
| 756 |
that 'validate' doesn't require a separate 'clear' for |
| 757 |
persistent forms. The controller test will only execute |
| 758 |
with an environment variable. |
| 759 |
|
| 760 |
0.11 Mon Feb 02 2009, 17:00 |
| 761 |
Change to use BEGIN block in controllers for Catalyst 5.80. |
| 762 |
|
| 763 |
0.10 Thu Jan 29 2009, 07:00 |
| 764 |
Remove unnecessary 'use' from Render::Simple to eliminate install |
| 765 |
failures. Change handling of 'has_field'. |
| 766 |
|
| 767 |
0.09 Sun Jan 25 2009, 17:00 |
| 768 |
Minor changes. |
| 769 |
|
| 770 |
0.08 Sat Jan 24 2009, 11:00 |
| 771 |
Remove controller and role. Refactor to support persistent |
| 772 |
forms. Remove update_from_form method. Add 'process', and |
| 773 |
'update' methods. Update documentation to match. Update tutorial. |
| 774 |
|
| 775 |
0.07 Thurs Jan 22 2009, 04:00 |
| 776 |
Add prereq of DateTime. Minor doc changes. |
| 777 |
|
| 778 |
0.06 Wed Jan 21 2009, 04:00 |
| 779 |
Add prereq skip tests to controller test. Clean up Makefile.PL. |
| 780 |
Convert test controller Book.pm to use chained. Support empty |
| 781 |
rows. |
| 782 |
|
| 783 |
0.05 Mon Jan 19 2009, 15:00 |
| 784 |
Add skip test to htmlarea test. Add action, http_method, & submit to form. |
| 785 |
Add javascript to field. Create widget directory for templates. |
| 786 |
|
| 787 |
0.04 Fri Jan 16 2009, 19:00 |
| 788 |
Move example to test directory. Change controller; add controller |
| 789 |
test. Add use for HashRefInflator. Add more documentation. |
| 790 |
|
| 791 |
0.03 Tues Jan 12 2009, 16:00 |
| 792 |
Pod fix, remove failing test from htmlarea |
| 793 |
|
| 794 |
0.02 Tues Jan 12 2009, 03:00 |
| 795 |
Fixed pod formatting, naming of files |
| 796 |
|
| 797 |
0.01 Mon Jan 12 2009, 17:00 |
| 798 |
Released on an unsuspecting world |
| 799 |
Conversion of Form::Processor to Moose, including |
| 800 |
renaming many attributes and methods and refactoring |