1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-10 08:30:55 +00:00
Commit Graph

3198 Commits

Author SHA1 Message Date
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
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
fuxiaohei
77c1109134 code simplify for package logs 2015-02-23 11:42:46 +08:00
fuxiaohei
29d4823866 code simplify for package httplib 2015-02-23 11:30:59 +08:00
fuxiaohei
24cf06d288 code style simplify for context package 2015-02-23 11:15:55 +08:00
Sergey Shcherbina
0c31c2d689 Added support to parse slices of ints and strings in ParseForm func 2015-02-22 22:13:06 +05:00
astaxie
f988f035e5 redis provider for session and cache support select db 2015-02-16 21:56:32 +08:00
astaxie
1b4158c15b Merge pull request #1039 from astaxie/revert-1000-group_by_queryseter
Revert "Add GroupBy to QuerySeter"
2015-02-14 20:40:52 +08:00