1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-16 17:10:54 +00:00
Commit Graph

1153 Commits

Author SHA1 Message Date
astaxie
b016102d34 add coding 2014-01-15 09:40:33 +08:00
astaxie
c20e1ab1e2 Merge pull request #463 from NormanZhang/develop
Update SessionExist to close the db connection
2014-01-14 06:13:34 -08:00
Norman
dc767b65df Update SessionExist to close the db connection
close the mysql connection
2014-01-14 19:54:32 +08:00
astaxie
63f19974cd Merge pull request #460 from pengfei-xue/develop
use connection pool for redis, support auto connection
2014-01-11 06:39:20 -08:00
slene
6e9ba0ea7f fix SessionRegenerateID should release old SessionStore and release new SessionStore in router.go 2014-01-11 17:01:33 +08:00
slene
3b99f37aa1 add a empty fake config Initialize AppConfig to avoid nil pointer runtime error. 2014-01-11 14:28:11 +08:00
slene
e8f5c10488 Merge pull request #457 from luxuchu/patch-1
fix #453
2014-01-10 22:21:27 -08:00
Pengfei Xue
cb55009c8b remove mutex 2014-01-10 20:31:43 +08:00
Pengfei Xue
b64e70e7df use connection pool for redis cache 2014-01-10 18:31:15 +08:00
slene
8d79f8387b #441 fix detect timezone in mysql 2014-01-10 16:50:03 +08:00
sol lu
afadb3f6df Update beego.go 2014-01-10 13:31:08 +08:00
astaxie
844412c302 fix #453 2014-01-09 21:37:50 +08:00
astaxie
299cb9130b Merge pull request #454 from pengfei-xue/develop
support redis cache auto connection
2014-01-09 04:49:31 -08:00
Pengfei Xue
0b42e5573b align memcache operations with redis 2014-01-09 18:50:30 +08:00
Pengfei Xue
a369b15ef2 reset cache connection to nil, if err isio.EOF
* this will support auto-connection
2014-01-09 18:49:18 +08:00
astaxie
e34f8c4634 add cookie test 2014-01-08 23:24:31 +08:00
astaxie
d7f2c738c8 add attach file 2014-01-08 22:35:42 +08:00
astaxie
d06c04277f support send mail 2014-01-08 22:31:26 +08:00
astaxie
aa2fef0d36 update sessionRelease
1. mysql fix last access time not update
2. mysql & redid Release when data is empty
3. add maxlifetime distinct Gclifetime
2014-01-08 20:54:20 +08:00
slene
b766f65c26 #436 support insert multi 2014-01-06 11:31:35 +08:00
astaxie
6f3a759ba5 gmfim add lock. fix #445 2014-01-05 23:16:47 +08:00
astaxie
338124e3fb fix #443 2014-01-05 15:43:48 +08:00
astaxie
31bdb793cf make fix 2014-01-05 15:21:50 +08:00
astaxie
9cbd475701 beego support new version session 2014-01-05 14:59:39 +08:00
astaxie
481448fa90 modify session module
change a log
2014-01-05 14:48:36 +08:00
slene
95c65de97c fix #440 2014-01-04 22:30:17 +08:00
slene
ef79a2b484 fix #440 2014-01-04 00:04:15 +08:00
astaxie
20cfece1ab Merge pull request #438 from Codonaut/error_page_improvements
Error page improvements
2014-01-02 07:17:49 -08:00
Scott Merkling
c433b7029f added back a <br> 2014-01-02 09:54:15 -05:00
Scott Merkling
f5cf2876dd Improved the language on the error pages 2014-01-02 09:53:09 -05:00
astaxie
480aa521e5 fix #430 2014-01-01 20:50:06 +08:00
astaxie
d57557dc55 add AutoRouterWithPrefix 2014-01-01 17:57:57 +08:00
astaxie
803d91c077 support modules design!
// the follow code is write in modules:
// GR:=NewGroupRouters()
// GR.AddRouter("/login",&UserController,"get:Login")
// GR.AddRouter("/logout",&UserController,"get:Logout")
// GR.AddRouter("/register",&UserController,"get:Reg")
// the follow code is write in app:
// import "github.com/beego/modules/auth"
// AddRouterGroup("/admin", auth.GR)
2013-12-31 23:43:15 +08:00
astaxie
62ee48dcbf Merge branch 'develop' of https://github.com/astaxie/beego into develop 2013-12-31 20:48:46 +08:00
astaxie
1e57587fe9 support Hijacker #428 2013-12-31 20:47:48 +08:00
slene
61c0b3e286 fix db locked 2013-12-31 09:55:29 +08:00
astaxie
383a04f4c2 move initmime from beego.Run to hookfunc 2013-12-31 00:34:47 +08:00
astaxie
eea272482b Merge pull request #425 from fuxiaohei/master
add comments in logs package.
2013-12-30 07:38:51 -08:00
FuXiaoHei
94ad13c846 add comments in logs package 2013-12-30 23:32:57 +08:00
slene
412a4a04de #384 2013-12-30 23:04:13 +08:00
astaxie
e0e8fa6e2a fix #413 2013-12-30 22:51:54 +08:00
astaxie
a1e29b0b75 Merge pull request #422 from pengfei-xue/devel
simplify condition test for trailing /
2013-12-30 04:58:50 -08:00
astaxie
984b0cbf31 1. :all param default expr change from (.+) to (.*)
2. add hookfunc to support appstart hook
2013-12-30 15:06:51 +08:00
傅小黑
3118c6c23f Merge commit '7a3d05ebf3fd36ea7e534de64ad38c23367ac97f' 2013-12-30 11:37:20 +08:00
Pengfei Xue
3a08eec1f9 simplify condition test for trailing / 2013-12-30 11:29:35 +08:00
astaxie
ecfd11adb4 fix typo healthcheck url 2013-12-29 11:01:19 +08:00
astaxie
95dc670eb4 fix #416 2013-12-28 23:06:20 +08:00
astaxie
7a3d05ebf3 when pattern is /admin while the url is /admin/ should return 200. fix #416 2013-12-28 23:04:45 +08:00
傅小黑
62f54cbbee fix typo error 2013-12-28 20:14:36 +08:00
astaxie
4d7f7ffa37 Merge pull request #418 from fuxiaohei/master
add comments for httplib package.
2013-12-27 16:52:29 -08:00