1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-27 19:15:46 +00:00
Commit Graph

1760 Commits

Author SHA1 Message Date
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
astaxie
8aa9455900 gofmt -s & go_vet 2015-03-19 22:29:01 -07:00
supiyun
2d26f7df2f 验证码reload问题
当页面放置一段时间,验证码将从缓存中失效。当用户再来刷新验证码将出现验证码404。对于reload操作应该直接生成验证码。
2015-03-16 17:40:55 +08:00
astaxie
3d6408cfc2 Merge pull request #1070 from fugr/patch-5
add JsonBody
2015-03-13 23:16:18 +08:00
Hubery
223f57bb4c add JsonBody 2015-03-06 14:12:24 +08:00
astaxie
c4aa33fb1b Merge pull request #1052 from dockercn/develop
Fix the wrong parameter bug in ledis session support cause build failure
2015-03-01 13:58:21 +08:00
Meaglith Ma
20cc5b261e Reform the ledis_session.go 2015-03-01 12:59:34 +08:00
Meaglith Ma
7ec2a077d9 Fix the wrong parameter bug in ledis session. 2015-03-01 12:03:03 +08:00
Meaglith Ma
9f70561f21 Merge remote-tracking branch 'upstream/master' into develop 2015-03-01 11:47:02 +08:00
astaxie
1c9898dee5 Merge branch 'develop' 2015-02-27 22:52:42 +08:00
astaxie
2cf7c6a58a change the jQuery URL 2015-02-27 22:51:20 +08:00
astaxie
2cee46ab2b change the jQuery URL 2015-02-27 22:50:25 +08:00
astaxie
020bfbcc9c Merge branch 'develop' 2015-02-27 22:47:59 +08:00
astaxie
3f8252bffd change the version from 1.4.2 to 1.4.3 2015-02-27 22:47:21 +08:00
astaxie
6d313aa15f fix #985 2015-02-27 22:37:41 +08:00
astaxie
2a4e2d4a71 delete the group route, because we already has namespace 2015-02-27 22:37:07 +08:00
astaxie
f96a6285bf fix #978 2015-02-27 22:21:58 +08:00
astaxie
e938876c4a fix the cycle import 2015-02-27 00:12:10 +08:00