1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-18 12:44:14 +00:00
Commit Graph

771 Commits

Author SHA1 Message Date
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
傅小黑
cb876268b5 add comments for httplib package. 2013-12-27 17:11:39 +08:00
astaxie
094f2fbab8 Merge pull request #415 from fuxiaohei/master
add comments for context package.
2013-12-26 07:40:19 -08:00
傅小黑
2d77c4dc49 fix code with no need line 2013-12-26 00:44:49 +08:00
傅小黑
f535916fae add comments for context package. 2013-12-25 20:13:38 +08:00
astaxie
673993fa2b Merge pull request #412 from fuxiaohei/master
add comment in config package.
2013-12-24 07:06:02 -08:00
傅小黑
6f3803ce8c Merge remote-tracking branch 'astaxie/master' 2013-12-24 21:59:37 +08:00
傅小黑
a1f6039d82 gofmt code 2013-12-24 21:59:00 +08:00
傅小黑
0183608a59 add comments for config package. 2013-12-24 21:57:33 +08:00
astaxie
d0e2c5c67a config ini module when set section is not exist will panic! 2013-12-24 21:57:15 +08:00
傅小黑
5b1afcdb5a add timeout description for file and memory cache. 2013-12-24 21:56:48 +08:00
astaxie
cfcfeb7b99 change version from 1.0.0 to 1.0.1 2013-12-24 21:35:20 +08:00
傅小黑
053e7a6aa6 Merge remote-tracking branch 'astaxie/master' 2013-12-24 21:09:17 +08:00
astaxie
62188a37c6 Merge branch 'master' of https://github.com/astaxie/beego 2013-12-24 15:27:23 +08:00
astaxie
0b659961ba clearly the router, If user set the third params, will not follow the RESTful method 2013-12-24 15:27:00 +08:00
astaxie
37aa2dc19f Merge pull request #409 from RickyLin/master
Added LayoutSections property to Controller
2013-12-23 23:21:42 -08:00
傅小黑
ba94479efd Merge remote-tracking branch 'astaxie/master' 2013-12-24 13:05:09 +08:00
Ricky Lin
4a3902432a Added LayoutSections property to Controller
users can define 0 or multipe sections in the Layout template file so
all kinds of content such as scripts, css can go to proper sections in
the generated html file.
2013-12-24 00:13:24 +08:00
astaxie
fc19f8f183 Merge pull request #408 from jinguoli/master
convert to unix eol
2013-12-23 05:16:14 -08:00
jinguoli
8c9320725b convert to unix eol 2013-12-23 11:46:11 +08:00
astaxie
0eaa58e0ca Merge pull request #406 from wangdx/patch-2
name → Name
2013-12-22 04:09:56 -08:00
dongxu
2add87b829 name → Name
typo
2013-12-22 17:57:45 +08:00
傅小黑
ba3a9bee4c Merge remote-tracking branch 'astaxie/master' 2013-12-22 16:25:08 +08:00
astaxie
5260a60ad2 Merge pull request #405 from wangdx/patch-1
RESTFul → RESTful
2013-12-21 23:58:20 -08:00
dongxu
eb5d11c01b Update README.md
RESTFul → RESTful
2013-12-22 15:56:15 +08:00
傅小黑
f96eec6dea fix a code broken when documenting 2013-12-22 15:31:49 +08:00
astaxie
e858f903a3 Merge pull request #404 from fuxiaohei/master
add comments in cache package
2013-12-21 23:28:43 -08:00
傅小黑
4037f952ec fix a code broken when documenting 2013-12-22 15:23:43 +08:00
傅小黑
6cb3f588c7 fix comments typo in beego package/ 2013-12-22 15:09:33 +08:00
傅小黑
8b0929b4bc add comments in cache package files. 2013-12-22 13:35:02 +08:00
slene
fc339fc3e0 orm detect mysql timezone #403 2013-12-21 21:00:29 +08:00
astaxie
2c868a9557 make datePatterns hide 2013-12-21 20:44:34 +08:00
astaxie
8ba6dbb9a0 Merge pull request #402 from fuxiaohei/master
add api comments in file memzipfile.go,reload.go,router.go,template.go and templatefunc.go
2013-12-21 03:55:10 -08:00