1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-16 21:20:54 +00:00
Commit Graph

1877 Commits

Author SHA1 Message Date
JessonChan
da8c3c3910 zero timeout means wait until resp 2015-04-26 02:17:46 +08:00
JessonChan
0c1bb6409a typo fixed 2015-04-26 02:06:19 +08:00
JessonChan
cddb4fdb60 typo fixed 2015-04-26 02:05:50 +08:00
JessonChan
e1d20aea5d better code and fixed 2015-04-26 02:04:34 +08:00
JessonChan
4498a02c15 better go style 2015-04-26 01:23:18 +08:00
Wyatt Fang
5534258e22 remove useless comments 2015-04-24 11:17:12 +08:00
Wyatt Fang
73650e1f2b remove the double isStruct/isStructPtr check 2015-04-24 11:14:49 +08:00
Wyatt Fang
d0e7dd686b add Recursively validation 2015-04-24 10:58:46 +08:00
astaxie
dc58ec8316 remove unreached code 2015-04-19 15:40:23 +08:00
Trần Văn Thanh
6d72fc63ab fixed: when RelatedSel have multi string/relation, it only get last string 2015-04-15 17:41:41 +07:00
astaxie
dd4afac5dc Merge pull request #1125 from wuranbo/dev_track
*feature) add BeeLogger.GetLogFuncCallDepth make simple wrapper log method aviable.
2015-04-13 12:49:51 +08:00
wuranbo
e229a4762f *feature) 增加logcalldepth接口,使得能简单再次封装log系列函数。 2015-04-13 12:17:44 +08:00
astaxie
ecb27f34e6 no output the dump 2015-04-09 00:18:02 +08:00
astaxie
d55997e520 fix the init struct 2015-04-09 00:12:41 +08:00
astaxie
44c8534477 fix the dump has no body 2015-04-09 00:11:25 +08:00
astaxie
44a39a6b3e fix the params 2015-04-08 23:00:08 +08:00
astaxie
cc5ca458ab add DumpRequest 2015-04-08 22:58:37 +08:00
astaxie
6f6b412709 httplib support gzip 2015-04-08 21:45:00 +08:00
astaxie
642a69de02 add sethost 2015-04-08 20:12:10 +08:00
astaxie
466f3c49c1 Merge pull request #1120 from peeped/develop
Update validators.go
2015-04-07 18:48:44 +08:00
peeped
d1c9cb2281 Update validators.go
//176 中国联通
//177 中国电信
//145 中国联通
//147 中国移动
//149 中国电信
2015-04-07 17:48:51 +08:00
astaxie
9c9ffa202a Merge pull request #1119 from lionel0806/develop
fix a comment error.
2015-04-07 11:12:54 +08:00
Lionel Lee
56dfe418dd fix a comment error. 2015-04-07 10:35:18 +08:00
astaxie
7caeb91f9b improve the defaultval 2015-04-05 23:23:35 +08:00
astaxie
47848fa77b config read and set support Runmode 2015-04-05 23:21:13 +08:00
astaxie
e0e8b98622 fix #1112 2015-04-05 23:12:29 +08:00
astaxie
5c84ada389 Merge pull request #1106 from peeped/develop
Update validators.go
2015-04-04 20:46:43 +08:00
astaxie
ac6203b81b Merge pull request #1114 from ElvizLai/patch-2
Patch 2
2015-04-04 13:03:44 +08:00
Yongzheng Lai
5e1e618d0f Update session.go
remove = in if statement
2015-04-04 00:44:22 +08:00
Yongzheng Lai
a5124a1d45 Update session.go
move expire in line 154 to 247, because it will cause session_cookie not writen to explorer
2015-04-03 17:41:09 +08:00
astaxie
e675594e46 session cookie support IE 2015-04-02 14:02:39 +08:00
astaxie
d02e32fa51 Merge pull request #1103 from ElvizLai/patch-1
Update output.go
2015-04-02 13:35:08 +08:00
peeped
8a82e25e85 Update validators.go
edit mobile regular expression ; add 184 Section No.
2015-04-02 12:07:12 +08:00
astaxie
49c0f8906f fix #1081 2015-04-01 23:31:40 +08:00
Yongzheng Lai
9261c80509 Update output.go 2015-03-31 12:36:39 +08:00
Yongzheng Lai
217e24815b Update output.go
fix cookie not work in IE
2015-03-31 12:30:47 +08:00
astaxie
840fd3b64f Merge pull request #1083 from supiyun/patch-1
验证码reload问题
2015-03-30 21:40:57 +08:00
astaxie
eedaea2fea fix #1073 2015-03-30 20:35:57 +08:00
astaxie
a002f78443 Merge pull request #1097 from pylemon/develop
form required validate for bool field bugfix
2015-03-27 23:04:07 +08:00
astaxie
cdf9ff401f Merge pull request #1096 from byrnedo/develop
Set ErrorsMap to nil in Validation.Clear function
2015-03-27 14:46:45 +08:00
pylemon
caa260f053 add tests to ensure bool value require test always return true. 2015-03-27 13:43:20 +08:00
pylemon
5fa55ca2d3 bugfix: if a form field type is bool, valid Required should always return true instead of return its value. 2015-03-27 13:30:59 +08:00
Donal Byrne
260b5b1951 Set ErrorsMap to nil in Validation.Clear function 2015-03-26 20:23:00 +01:00
astaxie
54ae4bc25b Merge pull request #1094 from toalexjin/check_log_level
For enhancing performance, check log level before fmt.Sprintf()
2015-03-26 21:51:23 +08:00
astaxie
162bee1b43 Merge pull request #1095 from byrnedo/develop
Added AcceptHtml/Json/Xml function to input
2015-03-26 21:50:41 +08:00
Donal Byrne
533b00ae56 Merge branch 'master' into develop 2015-03-26 08:40:28 +01:00
toalexjin
d3cdebbee2 Do not check log level in writerMsg() because the check is already done outside. 2015-03-26 14:40:12 +08:00
Donal Byrne
06b5c7f644 Remove unnecessary optional group flag '?' since has to match one of comma or end of string 2015-03-25 14:54:39 +01:00
Donal Byrne
185ee872c4 Added to input.go: AcceptHtml, AcceptsXml and AcceptsJson functions which check the header agains a regex for simpler mult-content-type handling. 2015-03-25 14:47:20 +01:00
toalexjin
74e0af4a9a For enhancing performance, check log level before fmt.Sprintf() 2015-03-25 15:14:57 +08:00