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

2864 Commits

Author SHA1 Message Date
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
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