summaryrefslogtreecommitdiff
path: root/textproc/p5-Data-FormValidator
AgeCommit message (Collapse)AuthorFilesLines
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-02-03Update testproc/p5-Data-FormValidator to 4.12abs2-7/+6
Changes since 3.63 4.12 Thu Jan 5 21:07:50 EST 2006 [INTERNALS] - Fix test suite to pass when CGI::Simple is not installed (Lee Carmichael, Davide Dente) 4.11 Tue Jan 3 18:38:23 EST 2006 [ENHANCEMENTS] - A new constraint for minimum image dimensions was added in Data::FormValidator::Constraints::Upload (Lee Carmichael) [INTERNALS] - refactoring of Upload.pm and t/upload.t (Lee Carmichael) 4.10 Thu Dec 22 19:55:34 EST 2005 [ENHANCEMENTS] - The msgs key can now take a callback, allow users to override how error message generation is done. Some alternative message generate routines will hopefully be published soon. (Cees Hek, Chris Laco and others) - New profile key: untaint_regexp_map (Michael Peters) [BUG FIXES] - bug was fixed for dependent fields that had false values, but were valid (Emanuele Zeppieri) - Failed constraints for multiple fields with the same name no longer return duplicate error messages (Will Hawes) - value of any_errors was wrongly added to msgs even when there are no errors (RT#14942, report and test script by Michael Graham) [INTERNALS] - bump Date::Calc requirement (RT#15715) 4.02 Wed Aug 31 21:22:58 EST 2005 [ENHANCEMENTS] - the use of custom signal handers for "die" has now been localized to avoid interfering with other applications. (Josh Miller). - initial support for qr in constraint_method profile key [BUG FIXES] - Updated ::Constraints example docs to be accurate: recommend :closures, not :all [INTERNALS] - provide a more accurate debugging message for constraint_method_regexp_map 4.01 Sat Aug 20 13:16:47 EST 2005 [ENHANCEMENTS] - get_input_data() now supports the parameters "as_hashref => 1" to return the input data in a uniform way. [INTERNALS] - Constraints may refer to fields that are 'unknown' to Data::FormValidator. These unknown values will remain unfiltered as before. (Michael Peters). - _get_data() was renamed to _get_input_as_hash(). You shouldn't care. 4.00 Sun Aug 14 10:57:25 EST 2005 *** NOTE *** This a major update with a significant code changes. While the test suite indicates we have 100% compatibility with 3.x, you are encouraged to test this release with your own applications before deploying it in a production environment. [ENHANCEMENTS] - The constraints interface has been overhauled to be more intuitive to use with parameterized constraints. This included added new two new profile keys: 'constraint_methods' and 'constraint_method_regexp_map'. All of the old syntax is still supported, but de-emphasized in the documentation. See RELEASE_NOTES for details. - A new method has been added to help building custom constraints: "set_current_constraint_name('foo')" will set the name of a constraint from within itself. An alias named 'name_this()' is provided for brevity. See the section on "Writing your own constraints" in DFV::Constraints for details. - success() method added to Results object. This is an easy way to check that there were no missing or invalid fields. (Michael Peters). - 'separator' was misspelled consistently in the the docs, code and tests. The proper spelling as well as the legacy typo spelling are now supported, although the typo'ed version is no longer documented, except for here. :) Thanks to Terrence Brannon for spotting this. - The 'msgs' hash in the profile is now validated to make sure it includes only valid keys. This should help to spot some errors faster. - ::Constraints::Upload now supports CGI::Simple, thanks to David Emery. - Documentation for required_regexp has been improved. (William McKee) - support for coderefs as default values (Marcello) - Improved field_filters documentation, thanks to Andrew Brosnan. [BUG FIXES] - RT#12220: Canadian Province RE were updated. (Steve Simms). - The preferred MIME type was not being returned by the 'file_format' constraint for file uploads. This would have only affected cases where the mime type sent by the browser differed from the one detected by DFV. Thanks to Randal Schwartz for spotting this. (RT#12744). - Profile re-use when constraint_regexp_map is used is now fixed (Thanks to Cees Hek). - The date_and_time constraint now understands this format: MMDDYYYY. (RT#12111, thanks to JMAY) - This one is worth a brief explanation. When this old syntax was used: my ( $valid, $missing, $invalid, $unknown ) = Data::FormValidator->validate({}, {} ); $invalid would be returned as an empty arrayref if there were no invalids. This return value was undocumented, and was later changed to be 'undef' sometime between 3.50 and 3.70. However, I found that some applications, including Cascade, depended on the undocumented return value (which they shouldn't have). I have now reverted the behavior to returning an empty arrayref in this case, added a test for it, and updated the docs to be explicit about the return value. This will save some people unexpected breakages when upgrading DFV from a very old version with very old applications. Those who use the $results object are unaffected. [INTERALS] - Add many failing TODO tests for built-in filters. See t/filters_builtin.t - A new test was added to check that no warnings are emitted when an untainted constraint returns undef (Michael Peters)
2005-08-06Bump the PKGREVISIONs of all (638) packages that hardcode the locationsjlam1-2/+2
of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories.
2005-07-13Turn PERL5_PACKLIST into a relative path instead of an absolute path.jlam1-2/+2
These paths are now relative to PERL5_PACKLIST_DIR, which currently defaults to ${PERL5_SITEARCH}. There is no change to the binary packages.
2005-05-23Removed trailing white-space.rillig1-3/+3
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 digests to the SHA1 ones.agc1-1/+2
2004-12-20since perl is now built with threads on most platforms, the perl archlibgrant1-1/+2
module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-05Update p5-Data-FormValidator from version 3.59 to 3.63.he2-5/+5
Change log: 3.63 [BUG FIXES] - email validation was beefed up to not permit spaces with e-mails or semi-colons to get through. Thanks to Jason Crome for some tests to this, and the Mail::VRFY module, which was the source of the improved RE. [INTERNALS] - Added a couple more test to the distribution which were missing in the MANIFEST 3.62 Fri Oct 8 22:55:49 EST 2004 [INTERNALS] - Removed experimental label from 'msgs' functionality. - Beefed up test suite for dependencies and dependency_groups (Drew Taylor) 3.61 Mon Sep 20 18:10:23 EST 2004 [BUG FIXES] - file_format from ::Constraints::Upload now handles non-existent files more gracefully. (Evan A. Zacks) 3.60 Mon Sep 20 18:10:23 EST 2004 [BUG FIXES] - file_max_bytes seemed to never be reporting failure.
2004-07-13Add package p5-Data-FormValidator version 3.59erh4-0/+37
Validates used input based on input profile