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

1553 Commits

Author SHA1 Message Date
astaxie
4414659df4 fix the init struct 2015-05-25 09:10:36 +08:00
astaxie
68ccd8e5a4 fix the dump has no body 2015-05-25 09:10:36 +08:00
astaxie
6f802b0a05 fix the params 2015-05-25 09:10:36 +08:00
astaxie
743628a946 add DumpRequest 2015-05-25 09:10:36 +08:00
astaxie
d90ce15707 httplib support gzip 2015-05-25 09:10:36 +08:00
astaxie
23457ed2a0 add sethost 2015-05-25 09:10:36 +08:00
peeped
d7791ba837 Update validators.go
//176 中国联通
//177 中国电信
//145 中国联通
//147 中国移动
//149 中国电信
2015-05-25 09:10:36 +08:00
Lionel Lee
676595213f fix a comment error. 2015-05-25 09:10:36 +08:00
astaxie
d446b5b011 improve the defaultval 2015-05-25 09:10:36 +08:00
astaxie
2ba12ad1e1 config read and set support Runmode 2015-05-25 09:10:35 +08:00
astaxie
8cc57e2fc8 fix #1112 2015-05-25 09:10:35 +08:00
Yongzheng Lai
322b208566 Update session.go
remove = in if statement
2015-05-25 09:10:35 +08:00
Yongzheng Lai
fd610d6777 Update session.go
move expire in line 154 to 247, because it will cause session_cookie not writen to explorer
2015-05-25 09:10:35 +08:00
astaxie
1148359570 session cookie support IE 2015-05-25 09:10:35 +08:00
peeped
55b1d6a897 Update validators.go
edit mobile regular expression ; add 184 Section No.
2015-05-25 09:10:35 +08:00
astaxie
c4c9a50c42 fix #1081 2015-05-25 09:10:35 +08:00
Yongzheng Lai
a311d712a5 Update output.go 2015-05-25 09:10:35 +08:00
Yongzheng Lai
bb5351bb9f Update output.go
fix cookie not work in IE
2015-05-25 09:10:35 +08:00
astaxie
26130a5df6 fix #1073 2015-05-25 09:10:35 +08:00
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
toalexjin
5b1705b2d6 Do not check log level in writerMsg() because the check is already done outside. 2015-05-25 09:10:35 +08:00
Donal Byrne
34940d00c0 Remove unnecessary optional group flag '?' since has to match one of comma or end of string 2015-05-25 09:10:35 +08:00
Donal Byrne
1a6ea693b5 Added to input.go: AcceptHtml, AcceptsXml and AcceptsJson functions which check the header agains a regex for simpler mult-content-type handling. 2015-05-25 09:10:35 +08:00
toalexjin
2e51c124f1 For enhancing performance, check log level before fmt.Sprintf() 2015-05-25 09:10:35 +08:00
astaxie
1d8afdc9c9 gofmt -s & go_vet 2015-05-25 09:10:34 +08:00
supiyun
1592e9c04d 验证码reload问题
当页面放置一段时间,验证码将从缓存中失效。当用户再来刷新验证码将出现验证码404。对于reload操作应该直接生成验证码。
2015-05-25 09:10:34 +08:00
Hubery
bf6b0d3e1f add JsonBody 2015-05-25 09:10:34 +08:00
astaxie
af71289c25 Merge pull request #1171 from astaxie/add-license
add missed LICENSE of captcha
2015-05-25 09:09:21 +08:00
Liu Peng
b1efae6ff8 add missed LICENSE of captcha 2015-05-24 23:59:39 +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
astaxie
6e9d2dc965 add more error functions 2015-02-26 23:49:24 +08:00
astaxie
3aceaf8838 error support controller 2015-02-26 23:34:43 +08:00
astaxie
71b9854f48 Merge pull request #1044 from fuxiaohei/develop
code style simplify
2015-02-23 22:25:34 +08:00
astaxie
f59ccd3a35 Merge pull request #1043 from Hepri/develop
Added support to parse slices of ints and strings in ParseForm func
2015-02-23 21:58:32 +08:00
fuxiaohei
181a7c35fe code simplify for package middleware 2015-02-23 11:50:45 +08:00
fuxiaohei
2ed272aeb2 code simplify for package middleware 2015-02-23 11:50:13 +08:00