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