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

1775 Commits

Author SHA1 Message Date
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
92f3de4027 update the string 2015-05-20 11:09:30 +08:00
astaxie
185089299c sync beeApp.Server to graceful 2015-05-20 11:07:23 +08:00
astaxie
59c1e74e13 Merge pull request #1158 from mlgd/master
Fix save config ini file
2015-05-18 22:38:59 +08:00
ziyel
9bb9855153 Let filter function get more params info from ctx.Input.Params 2015-05-18 14:42:18 +08:00
astaxie
519602a553 fix #1152 2015-05-15 15:04:08 +08:00
astaxie
740a526105 fix sesseion redis db error 2015-05-13 21:20:50 +08:00
astaxie
98289cd8de beego suppot graceful restart application 2015-05-13 21:17:47 +08:00
astaxie
56e2143630 add apk mime 2015-05-09 14:54:30 +08:00
astaxie
c0cfb5277c Merge pull request #1127 from vanthanh2305/RelatedSel-multi-string/relation
RelatedSel multi string/relation
2015-05-07 23:12:29 +08:00
astaxie
b29700c3c3 Merge pull request #1131 from JessonChan/develop
httplib more fixed
2015-05-07 22:59:41 +08:00
astaxie
47be2fadb5 fix #1143 2015-05-05 21:36:31 +08:00
mlgd
1d72629334 Fix save config ini file 2015-05-04 15:54:03 +02:00
astaxie
b4880c5e1d Merge pull request #1140 from cr7pt0gr4ph7/doc-pull-request
Improve documentation of filter.go.
2015-05-04 09:47:25 +08:00
cr7pt0gr4ph7
c0bb5b9237 Improve documentation of filter.go. 2015-05-03 23:21:32 +02:00
astaxie
1e1068e81c Merge pull request #1132 from dafang/master
Recursively validations
2015-04-28 11:53:45 +08:00
JessonChan
6c3e274b6e set default timeout 2015-04-26 16:10:18 +08:00
JessonChan
f56bdb6284 set default timeout 2015-04-26 16:08:25 +08:00
JessonChan
d8fa118727 more fixed 2015-04-26 15:42:10 +08:00
JessonChan
0afd04ec6f no need lock here 2015-04-26 15:24:04 +08:00
JessonChan
973306b28d no need defer here 2015-04-26 02:19:38 +08:00
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