Path to this page:
./
textproc/p5-Data-FormValidator,
Validates user input based on input profile
Branch: CURRENT,
Version: 4.80,
Package name: p5-Data-FormValidator-4.80,
Maintainer: pkgsrc-usersData::FormValidator's main aim is to make input validation expressible in a
simple format.
Data::FormValidator lets you define profiles which declare the required and
optional fields and any constraints they might have.
The results are provided as an object which makes it easy to handle missing
and invalid results, return error messages about which constraints failed, or
process the resulting valid data.
Required to run:[
textproc/p5-Regexp-Common] [
misc/p5-File-MMagic] [
graphics/p5-Image-Size] [
lang/perl5] [
mail/p5-Email-Valid] [
mail/p5-MIME-Types] [
devel/p5-Date-Calc] [
devel/p5-Perl6-Junction]
Required to build:[
www/p5-CGI] [
devel/p5-Module-Build]
Master sites: (Expand)
SHA1: 5a4859450ac257c204d68886a160269316fb18ec
RMD160: d9433a04efa99839c61236d5b9f1fcf2c34db2e6
Filesize: 107.29 KB
Version history: (Expand)
- (2012-12-01) Updated to version: p5-Data-FormValidator-4.80
- (2012-10-04) Updated to version: p5-Data-FormValidator-4.66nb3
- (2011-08-14) Updated to version: p5-Data-FormValidator-4.66nb2
- (2010-08-21) Updated to version: p5-Data-FormValidator-4.66nb1
- (2010-03-01) Updated to version: p5-Data-FormValidator-4.66
- (2010-02-22) Updated to version: p5-Data-FormValidator-4.65
CVS history: (Expand)
2012-12-01 14:57:18 by Wen Heping | Files touched by this commit (2) |  |
Log message:
Update to 4.80
Upstream changes:
4.80 Nov 1st, 2012
[NEW FEATURES]
- New built-in constraint_methods to test the number of values submitted for a
particular field:
FV_num_values(1),
FV_num_values_between(1,2), # inclusive
One way that garbage can get through a Data::FormValidator profile is
when two values are submitted when only one is intended. In this
case, this application could end up with a values like this:
ARRAY(0x841214c)
Using these new constraints, you can precisely control how many values
are allowed for each field.
[INTERNAL]
- Source control hosting has been moved to http://hub.darcs.net
You can now browse, pull and fork the darcs repo through this website.
4.71 Oct 2nd, 2012
[BUG FIXES]
- Custom messages for built-in constraints work again. It appears that this
was broken in 4.70, which triggered a sleeper bug.
(Thanks to Lee Carmichael, Mark Stosberg, RT##73235)
4.70 11/11/11
[NEW FEATURES]
- Built-in constraints in Constraints.pm can now be renamed:
constraint_methods => {
first_names => {
constraint_method => FV_max_length(3),
name => 'custom_length',
}
},
(Thanks to heinst@arqs.com.br for the suggestion, RT#49477)
[INTERNALS]
- modernize Constraints.pm and Results.pm a bit.
- Module::Build added to configure_requires in Build.PL
4.67 11/11/11
[INTERNALS]
- modernize FormValidator.pm internals a bit
- Update META.yml to exclude an internal package from getting indexed.
|
| 2012-10-25 08:57:09 by Aleksej Saushev | Files touched by this commit (587) |
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
|
| 2012-10-03 23:59:10 by Thomas Klausner | Files touched by this commit (2798) |
Log message:
Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.
I hope that's all of them.
|
| 2011-08-14 17:14:23 by OBATA Akio | Files touched by this commit (201) |
Log message:
Revision bump after updating perl5 to 5.14.1.
|
2010-08-21 18:37:14 by Stoned Elipot | Files touched by this commit (1724) |  |
Log message:
Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
|
| 2010-03-01 07:09:55 by Jens Rehsack | Files touched by this commit (2) |
Log message:
Updating textproc/p5-Data-FormValidator from 4.65 to 4.66
Upstream changes:
4.66 Wed Feb 24 09:30:17 EST 2010
[DOCUMENTATION]
- Typo fixes (Jonathan Yu)
[INTERNALS]
- Test suite fix for 5.11.1 and newer.
|
| 2010-02-22 16:02:22 by Jens Rehsack | Files touched by this commit (2) |
Log message:
Updating textproc/p5-Data-FormValidator from 4.63 to 4.65
pkgsrc changes:
- Adjust dependencies
Upstream changes:
4.65 Wed Dec 30 22:17:33 EST 2009
[NEW FEATURES]
- New FV_replace() filter to simplify basic find-and-replace filters:
field_filters => {
first_name => FV_replace(qr/Mark/,'Don'),
},
[BUG FIXES]
- Untainted multi-line fields are no longer truncated after the first newline.
(RT#44004, Thanks to Matthew Lawrence)
- Fix bug when the constraint_method contains a capturing parens and 0 is a \
valid value.
(RT#45177, Thanks to Junior Medina and Mark Stosberg)
[DOCUMENTATION]
- Typo fixes (Lyle)
[INTERNALS]
- Best Practice: Redundant <span> tag was removed from default error \
message formatting
(RT#42926), Thanks to girlwithglasses)
- Best Practice: eliminated some indirect object notation in the tests (Mark \
Stosberg)
- Now require a new CGI.pm for the build stage (RT#49912, thanks to \
dsteinbrunner)
- White space improvements (RT#30205, Thanks to Peter Liscovius)
- Fixed a warning in the test suite (RT#42251, Thanks to Frank Wiegand)
|
2009-01-12 06:20:42 by Takahiro Kambe | Files touched by this commit (1) |  |
Log message:
Update distinfo for p5-Data-FormValidator-4.63.
|