1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-28 15:41:30 +00:00
Commit Graph

78 Commits

Author SHA1 Message Date
pylemon
2c9363d29b add tests to ensure bool value require test always return true. 2015-05-25 09:10:35 +08:00
pylemon
91886a4547 bugfix: if a form field type is bool, valid Required should always return true instead of return its value. 2015-05-25 09:10:35 +08:00
Donal Byrne
a7e60c93dc Set ErrorsMap to nil in Validation.Clear function 2015-05-25 09:10:35 +08:00
astaxie
1d8afdc9c9 gofmt -s & go_vet 2015-05-25 09:10:34 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
008ae39ff6 Merge branch 'master' into develop 2014-08-01 17:04:22 +08:00
Kevin Fourie
daf8b1101f Fixed docs: HasErrors is a method not a variable 2014-07-29 15:05:04 +02:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
S.W.H
ad8418720f bug fixed 2014-03-14 14:47:52 +08:00
asta.xie
7389f0507e fix #505 2014-03-12 15:56:04 +08:00
傅小黑
ce2984f09a add comments for testing, utils and validation packages 2014-02-07 16:07:31 +08:00
slene
83e6079ff7 fix MinSize / MaxSize / Length should use Rune Count 2013-10-16 22:49:06 +08:00
slene
278f8eb13e add ValidFormer interface, can custom valid 2013-10-09 20:26:23 +08:00
slene
ea9c2cebfd validation add more info to ValidationError, and put all messages tmpl to a map 2013-09-10 21:51:25 +08:00
miraclesu
97d99fcef2 Change tag valid func default key 2013-08-06 23:15:20 +08:00
miraclesu
6662eef2fd Support Match validate function for tag 2013-07-28 19:22:09 +08:00
miraclesu
dcdfaf36f1 Accept parameters more types 2013-07-28 16:59:35 +08:00
miraclesu
f490141217 Add some validate functions 2013-07-27 20:40:15 +08:00
miraclesu
d23700b919 update README 2013-07-24 12:36:46 +08:00
miraclesu
92db56c0cb add struct tag support 2013-07-24 12:20:42 +08:00
miraclesu
4c6163baa0 add funcmap 2013-07-24 01:20:24 +08:00
miraclesu
aba1728bc3 add some util funcs 2013-07-23 14:42:14 +08:00
miraclesu
ddb9ed39a5 add validation README 2013-07-22 17:40:32 +08:00
miraclesu
d19de30d9c add test 2013-07-21 23:46:18 +08:00
miraclesu
6d05163c9f add validation funcs 2013-07-21 01:37:24 +08:00
miraclesu
a41cd17092 add validators 2013-07-19 16:49:28 +08:00