1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 15:00:49 +00:00
Commit Graph

1368 Commits

Author SHA1 Message Date
astaxie
6c6e4ecfbc update all files License 2014-04-12 13:18:18 +08:00
astaxie
8bcf03c652 fix #576 2014-04-11 16:08:43 +08:00
astaxie
1ea449aa3a beego:add post test case 2014-04-10 22:33:32 +08:00
astaxie
a99802b7d1 beego:query data from Form & params 2014-04-10 22:21:08 +08:00
astaxie
b212ec8dab beego:query data from Form & params 2014-04-10 22:20:46 +08:00
astaxie
3e16feb1e2 beego: fix flash errors 2014-04-10 18:16:08 +08:00
astaxie
e50cbecf80 beego: fix flash errors 2014-04-10 18:14:18 +08:00
astaxie
127b85bcaa context:add Bind function
// Bind data from request.Form[key] to dest
// like
/?id=123&isok=true&ft=1.2&ol[0]=1&ol[1]=2&ul[]=str&ul[]=array&user.Name=
astaxie
// var id int  beegoInput.Bind(&id, "id")  id ==123
// var isok bool  beegoInput.Bind(&isok, "isok")  id ==true
// var ft float64  beegoInput.Bind(&ft, "ft")  ft ==1.2
// ol := make([]int, 0, 2)  beegoInput.Bind(&ol, "ol")  ol ==[1 2]
// ul := make([]string, 0, 2)  beegoInput.Bind(&ul, "ul")  ul ==[str
array]
// user struct{Name}  beegoInput.Bind(&user, "user")  user ==
{Name:"astaxie"}
2014-04-10 00:31:16 +08:00
astaxie
89dde6cd9d Merge branch 'develop' of https://github.com/astaxie/beego into develop 2014-04-09 21:43:32 +08:00
astaxie
5a52949761 beego: support not-empty value in router fix #555 2014-04-09 21:42:57 +08:00
astaxie
a78162e9e4 Merge pull request #573 from linluxiang/master
Make the Maxage Config of cookie session work
2014-04-09 14:42:29 +08:00
astaxie
931e6162ac Merge pull request #574 from dz1984/fix/cache_test
Fix/cache test
2014-04-09 14:42:01 +08:00
Lin Luxiang
1bb876f2df make Maxage work 2014-04-09 13:18:44 +08:00
Donald Zhan
18f70e6ee4 update the error message 2014-04-09 12:39:12 +08:00
astaxie
82ca85dc65 release new version 1.1.4 2014-04-08 17:49:12 +08:00
astaxie
f9cc9e9eb3 beego: release new version 1.1.4 2014-04-08 17:45:57 +08:00
astaxie
18fee2ad9a beego: fixed serious Directory Traversal 2014-04-08 17:43:25 +08:00
astaxie
4124760706 beego: filter the static file's url 2014-04-07 14:20:30 +08:00
astaxie
3fe4f8c362 toolbox: modify the godocs 2014-04-06 01:05:20 +08:00
astaxie
5a863b45f4 beego: BeeAdminApp private 2014-04-06 01:02:10 +08:00
astaxie
3ad30d48b5 beego: fix the godoc 2014-04-06 00:53:18 +08:00
astaxie
3255a43568 beego: move staticServer to New file 2014-04-06 00:18:21 +08:00
astaxie
73d757e3f4 context: improve the formParse 2014-04-06 00:08:03 +08:00
astaxie
deb28dd873 fix session test case 2014-04-04 10:16:34 +08:00
astaxie
7f394feab5 beego: hot fix for TestBeegoInit can't parsefile 2014-04-04 10:04:36 +08:00
astaxie
8cbea70e07 beego: hot fix for TestBeegoInit can't parsefile 2014-04-04 10:04:22 +08:00
astaxie
f222f5b238 beego: hot fix for console logs & go run can't find file. 2014-04-04 09:57:57 +08:00
astaxie
3f1de576e4 fix go run hello.go & console log 2014-04-04 09:57:51 +08:00
slene
f48ca96a7e beego: fix log output when SetLogger has error 2014-04-04 09:57:45 +08:00
slene
9421a21037 beego: fix log output when SetLogger has error 2014-04-04 09:57:37 +08:00
astaxie
5c06cd090c beego: hot fix for console logs & go run can't find file. 2014-04-04 09:56:25 +08:00
astaxie
fc982feeb9 fix go run hello.go & console log 2014-04-04 09:49:57 +08:00
slene
31de651053 beego: fix log output when SetLogger has error 2014-04-04 09:49:57 +08:00
slene
f4d62d3193 beego: fix dependency of cache / session sub package 2014-04-04 08:31:22 +08:00
slene
acbdeb62e8 beego: fix log output when SetLogger has error 2014-04-04 08:22:26 +08:00
slene
d58e9e6e12 beego: move dependency module to sub package 2014-04-03 23:41:48 +08:00
astaxie
6497f29ed7 version 1.1.2 release 2014-04-03 15:56:31 +08:00
astaxie
1705b42546 beego: change version from 1.1.1 to 1.1.2 2014-04-03 15:54:37 +08:00
asta.xie
5505cc09ed beego: move init to a fund & add a new fund TestBeegoInit
support Test with everything init
2014-04-03 15:07:20 +08:00
asta.xie
12e1ab0f80 beego: setLogger return error 2014-04-02 23:45:44 +08:00
asta.xie
9c5ceb70cc Logs: modify StartLogger to private 2014-04-02 23:43:37 +08:00
asta.xie
bf0b1af64f add workPath don't chdir when go run or go test 2014-04-01 18:08:00 +08:00
asta.xie
9c959fba4d fix string 2014-03-29 14:59:55 +08:00
asta.xie
5588bfc35e support filter to get router. get runController & runMethod 2014-03-29 14:55:34 +08:00
asta.xie
2f4acf46c6 modify the template file 2014-03-27 08:49:57 +08:00
asta.xie
c7437d7590 fix Cookie for session 2014-03-26 13:51:35 +08:00
asta.xie
4f819dbd9a Add a function SetLogFuncCall to enable 2014-03-26 00:06:25 +08:00
asta.xie
3f5fee2dc6 Logs support file & filenum 2014-03-25 23:48:58 +08:00
astaxie
c7f16b5d5a Merge pull request #551 from steamonimo/develop
session provider for postgresql
2014-03-25 21:28:42 +08:00
steamonimo
8d1268c0a9 session provider for postgresql
This provider is based on the mysql provider: sess_mysql.go
2014-03-25 12:45:23 +01:00