slene
|
bf3830b6f0
|
orm add atomic set value
|
2013-10-09 20:28:54 +08:00 |
|
slene
|
278f8eb13e
|
add ValidFormer interface, can custom valid
|
2013-10-09 20:26:23 +08:00 |
|
slene
|
658a671b79
|
all panic use Error
|
2013-10-09 11:37:16 +08:00 |
|
astaxie
|
aaf1490ff5
|
fix router
|
2013-09-28 23:37:05 +08:00 |
|
astaxie
|
a62ed10ab3
|
add supoort AppController
http://play.golang.org/p/MZptHZeYUx
|
2013-09-28 23:30:36 +08:00 |
|
astaxie
|
e79d756d06
|
#230
|
2013-09-28 22:23:00 +08:00 |
|
astaxie
|
904b37032c
|
Merge pull request #227 from sdjc/patch-4
Update config.go
|
2013-09-28 07:09:59 -07:00 |
|
astaxie
|
8a37c30f35
|
fix #226
|
2013-09-28 21:45:52 +08:00 |
|
astaxie
|
c4edc13413
|
fix #230
|
2013-09-28 21:36:36 +08:00 |
|
sdjc
|
9ddbab59bb
|
Update config.go
|
2013-09-27 08:37:17 +08:00 |
|
astaxie
|
1eb87c5c59
|
fix #225
|
2013-09-26 22:31:39 +08:00 |
|
astaxie
|
fb1439dfb9
|
Merge pull request #224 from smithfox/patch-1
fix #217
|
2013-09-26 06:09:03 -07:00 |
|
astaxie
|
d393c329c3
|
protect parts's len
|
2013-09-26 21:06:37 +08:00 |
|
smithfox
|
bed0fe2218
|
fix #217
|
2013-09-26 18:33:01 +08:00 |
|
astaxie
|
02c2e16253
|
Strengthens the session's function
|
2013-09-26 18:07:00 +08:00 |
|
astaxie
|
59a67720b4
|
xsrf's defaut time set to 0 & fix ts not use
|
2013-09-25 23:07:54 +08:00 |
|
astaxie
|
93e1206d60
|
xsrf change to randstr and cookie set to security cookie
|
2013-09-25 23:05:53 +08:00 |
|
astaxie
|
2249d745d9
|
session support secure set
|
2013-09-25 23:05:53 +08:00 |
|
astaxie
|
f9ed74a9b2
|
Merge pull request #219 from markstory/readme-fixes
Fix typos in the readme file.
|
2013-09-25 06:42:15 -07:00 |
|
Mark Story
|
65ec2db4e8
|
Fix typos in the readme file.
|
2013-09-25 09:41:11 -04:00 |
|
slene
|
001e33f310
|
fix #213
|
2013-09-22 19:20:40 +08:00 |
|
slene
|
09aca2528a
|
orm RegisterDataBase remove default maxIdle/maxConn
|
2013-09-22 17:51:37 +08:00 |
|
astaxie
|
beecc5072e
|
fix #209
|
2013-09-22 14:35:01 +08:00 |
|
astaxie
|
797bd98269
|
fix #210
|
2013-09-22 14:32:18 +08:00 |
|
astaxie
|
4a3d32dc1f
|
support auto get session from input fix #211
|
2013-09-22 11:43:22 +08:00 |
|
astaxie
|
048be29fcd
|
add w.started fix #208
|
2013-09-22 11:17:18 +08:00 |
|
astaxie
|
4ce584c5a6
|
fix #201
|
2013-09-22 11:12:37 +08:00 |
|
astaxie
|
3c1d23bc62
|
#207
|
2013-09-19 23:40:55 +08:00 |
|
astaxie
|
95307a3d78
|
miss filter *
|
2013-09-19 23:14:47 +08:00 |
|
astaxie
|
a85d91b4bd
|
fix #206
|
2013-09-19 23:04:05 +08:00 |
|
slene
|
a616087cde
|
orm now can specify engine for mysql. add api SetMaxIdleConns/SetMaxOpenConns(go 1.2)
|
2013-09-16 09:50:32 +08:00 |
|
slene
|
198d6320dd
|
fix xsrf cookie path should use root
|
2013-09-13 22:42:15 +08:00 |
|
slene
|
1596aa7a34
|
orm support use any numeric type set QuerySeter.Limit value
|
2013-09-13 18:06:44 +08:00 |
|
slene
|
8e8d39d3cb
|
fix memory cache Put method should set value when key exist.
|
2013-09-13 18:04:22 +08:00 |
|
astaxie
|
42958ddd41
|
update version from 0.9.0 to 0.9.9
|
2013-09-13 17:45:26 +08:00 |
|
astaxie
|
0476da503e
|
improve template
|
2013-09-13 17:41:31 +08:00 |
|
astaxie
|
943fe971f1
|
support template
|
2013-09-13 13:57:40 +08:00 |
|
astaxie
|
9d84969bf6
|
fix #153
已经支持了任意定义变量的路由形式,具体的使用请参考:
func TestManyRoute(t *testing.T) {
r, _ := http.NewRequest("GET", "/beego32-12.html", nil)
w := httptest.NewRecorder()
handler := NewControllerRegistor()
handler.Add("/beego:id([0-9]+)-:page([0-9]+).html", &TestController{})
handler.ServeHTTP(w, r)
id := r.URL.Query().Get(":id")
page := r.URL.Query().Get(":page")
if id != "32" {
t.Errorf("url param set to [%s]; want [%s]", id, "32")
}
if page != "12" {
t.Errorf("url param set to [%s]; want [%s]", page, "12")
}
}
|
2013-09-13 11:22:14 +08:00 |
|
slene
|
3745bb7279
|
orm.Read support specify condition fields, orm.Update and QuerySeter All/One support omit fields.
|
2013-09-12 19:04:39 +08:00 |
|
astaxie
|
55fe3ba52f
|
update tempalte's regexp
|
2013-09-12 18:20:29 +08:00 |
|
astaxie
|
de2dd6e070
|
update template's testcase
|
2013-09-12 17:32:11 +08:00 |
|
astaxie
|
ffb347a2bb
|
support nest template
|
2013-09-12 17:20:32 +08:00 |
|
astaxie
|
19862725f7
|
support template
|
2013-09-12 15:24:08 +08:00 |
|
astaxie
|
f502f84423
|
fix #189
|
2013-09-12 13:44:24 +08:00 |
|
slene
|
e788fb7239
|
add an DateParse function, parse datestring to time.Time use php date format
|
2013-09-11 23:47:01 +08:00 |
|
astaxie
|
72f5961dd8
|
delete docs move to github.com/beego/beedoc
|
2013-09-11 18:04:10 +08:00 |
|
astaxie
|
9f6b803a10
|
update middleware & beego's error
|
2013-09-11 17:00:39 +08:00 |
|
astaxie
|
0da2059f79
|
update info
|
2013-09-11 16:31:18 +08:00 |
|
astaxie
|
e904d26e08
|
modify middleware
|
2013-09-11 16:23:41 +08:00 |
|
astaxie
|
1ff0a31d3f
|
add router test
|
2013-09-11 15:49:12 +08:00 |
|