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

2098 Commits

Author SHA1 Message Date
astaxie
a8c2deb014 Merge pull request #530 from cnphpbb/develop
Update beego.go - Slice types exist trap
2014-03-12 18:56:12 +08:00
asta.xie
624f6258ee fix read / 2014-03-12 18:29:45 +08:00
unphp
43c977ab62 Update router.go
To append a slice's value into "exceptMethod", for controller's methods shouldn't reflect to AutoRouter
2014-03-12 17:20:53 +08:00
asta.xie
6c92ca2a16 fix bug for static file like /static /static_js /static_css 2014-03-12 17:03:34 +08:00
cnphpbb
0f015d75d2 Update beego.go - Modify GroupRouters all function
Modify the file beego.go. 
Type GroupRouters all function 
Slice types exist trap bug.
2014-03-12 16:50:13 +08:00
astaxie
217c3a2e87 Merge pull request #508 from voidd/develop
Couchbase session provider
2014-03-12 16:23:41 +08:00
asta.xie
ff6120cb93 Merge branch 'develop' of https://github.com/astaxie/beego into develop
Conflicts:
	session/sess_file.go
2014-03-12 15:57:57 +08:00
slene
53aaf3b4a9 orm add ResetModelCache api for test case 2014-03-12 15:56:05 +08:00
slene
d5b5c18cf9 orm add GetDB api #433 2014-03-12 15:56:05 +08:00
slene
cacdb3228d orm add operator between #518 2014-03-12 15:56:05 +08:00
Pengfei Xue
d0949b64c6 fix issue#521, return error when init redis session 2014-03-12 15:56:05 +08:00
Kirill Zdornyy
d49984d47d Fix basic auth plugin example.
NewBasicAuthenticator requires passing a second argument for Realm.
2014-03-12 15:56:05 +08:00
Daniel Hobe
9f3af59250 add support for sql.Null* types
Change instructions for sqlite3 tests to use in memory db for much faster
2014-03-12 15:56:05 +08:00
asta.xie
57afd3d979 GetStrings action as GetString 2014-03-12 15:56:05 +08:00
asta.xie
f7430a2ce1 enhance the static file path. If user foget / path.Join will auto fix it. 2014-03-12 15:56:05 +08:00
asta.xie
7389f0507e fix #505 2014-03-12 15:56:04 +08:00
slene
ee889e9975 skip cookie args when value is nil 2014-03-12 15:56:04 +08:00
slene
d8b9db8d3e move SetSecureCookie / GetSecureCookie to *context.Context and alias in Controller 2014-03-12 15:56:04 +08:00
slene
9b498feac7 update output.Cookie 2014-03-12 15:56:04 +08:00
asta.xie
69982c62c8 path default is /
httponly default true
seuce default not set
2014-03-12 15:56:04 +08:00
asta.xie
b405e19f56 delete MaxAge cookielifeTime replace 2014-03-12 15:56:04 +08:00
slene
828235b4c1 httplib support set transport and proxy 2014-03-12 15:56:04 +08:00
slene
430a0a971f orm insert skip auto_now_add when user custom a value 2014-03-12 15:56:04 +08:00
slene
5be22a99a8 fix captcha urlPrefix 2014-03-12 15:56:04 +08:00
Pengfei Xue
5d02b18db4 register interface to gob automatically 2014-03-12 15:56:04 +08:00
Pengfei Xue
97b68bdd66 fix bug, can not remove session file 2014-03-12 15:56:04 +08:00
slene
5583fa2054 orm add ResetModelCache api for test case 2014-03-10 20:52:04 +08:00
slene
00a410ad1a orm add GetDB api #433 2014-03-10 20:50:54 +08:00
slene
6ca30386b8 orm add operator between #518 2014-03-10 20:19:29 +08:00
astaxie
03b17a2ca9 Merge pull request #522 from pengfei-xue/develop
fix issue#521, return error when init redis session
2014-03-07 16:45:34 +08:00
Pengfei Xue
9957a867cd fix issue#521, return error when init redis session 2014-03-07 16:35:34 +08:00
astaxie
f3ba41a991 Merge pull request #517 from zkirill/develop
Fix basic auth plugin example.
2014-03-03 09:58:40 +08:00
Kirill Zdornyy
4befa1bc1b Fix basic auth plugin example.
NewBasicAuthenticator requires passing a second argument for Realm.
2014-03-02 17:44:23 -08:00
slene
9e3ebc88c4 Merge pull request #513 from hobeone/develop
add support for sql.Null* types, thx hobeone
2014-02-28 12:17:58 +08:00
Daniel Hobe
6e00cfb464 add support for sql.Null* types
Change instructions for sqlite3 tests to use in memory db for much faster
2014-02-27 19:53:35 -08:00
astaxie
c358c18018 Merge pull request #511 from francoishill/patch-2
Update sess_file.go
2014-02-28 09:40:28 +08:00
Francois
adf2a590fc Update sess_file.go
Lock required to ensure the File sessions work correct.
2014-02-27 15:34:38 +02:00
astaxie
edb8bac5bc Merge pull request #510 from jfolkins/fix_sessregenid
fix: added nil check on c.CruSession to prevent crash
2014-02-27 10:34:39 +08:00
Jared Folkins
47d7ac06b7 fix: added nil check on c.CruSession to prevent crash 2014-02-26 16:44:31 -08:00
asta.xie
d05270d2ec GetStrings action as GetString 2014-02-26 15:02:58 +08:00
asta.xie
04a19685ed enhance the static file path. If user foget / path.Join will auto fix it. 2014-02-26 14:44:41 +08:00
asta.xie
62555771d0 fix #505 2014-02-24 15:55:38 +08:00
slene
9dc93cbab0 skip cookie args when value is nil 2014-02-22 14:40:18 +08:00
slene
7f5fb871de move SetSecureCookie / GetSecureCookie to *context.Context and alias in Controller 2014-02-22 11:58:53 +08:00
slene
03037170e1 update output.Cookie 2014-02-22 11:12:57 +08:00
asta.xie
002e0854ab path default is /
httponly default true
seuce default not set
2014-02-22 10:37:14 +08:00
asta.xie
2bc70f62ce delete MaxAge cookielifeTime replace 2014-02-22 01:04:47 +08:00
slene
8bf0e67b79 httplib support set transport and proxy 2014-02-20 13:53:13 +08:00
slene
b310be1fcf orm insert skip auto_now_add when user custom a value 2014-02-20 13:45:31 +08:00
slene
a54353b51c fix captcha urlPrefix 2014-02-20 13:44:34 +08:00