1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-25 05:34:13 +00:00
Commit Graph

326 Commits

Author SHA1 Message Date
eXthen
ff11bcdb7c I guess write would be better 2013-07-25 19:04:26 +08:00
eXthen
c2bb6b3068 Update log.go 2013-07-25 18:57:40 +08:00
astaxie
259617f68d remove markdown 2013-07-25 16:40:37 +08:00
astaxie
ab08aa9c9e MethodByName 2013-07-25 16:08:18 +08:00
astaxie
7c610ee7c9 fix reflect find methodByName 2013-07-25 16:00:42 +08:00
astaxie
23deaedd39 add to beego 2013-07-25 15:50:16 +08:00
astaxie
538d39a704 add some tips 2013-07-25 15:46:47 +08:00
astaxie
b961abb52b update docs 2013-07-25 15:41:25 +08:00
astaxie
b32b12b208 add some comments 2013-07-25 15:40:33 +08:00
astaxie
e88c2be013 update docs & update beego's version 2013-07-25 15:37:38 +08:00
astaxie
d5ddd0a9dd support user define function
+//Add("/user",&UserController{})
+//Add("/api/list",&RestController{},"*:ListFood")
+//Add("/api/create",&RestController{},"post:CreateFood")
+//Add("/api/update",&RestController{},"put:UpdateFood")
+//Add("/api/delete",&RestController{},"delete:DeleteFood")
+//Add("/api",&RestController{},"get,post:ApiFunc")
+//Add("/simple",&SimpleController{},"get:GetFunc;post:PostFunc")
2013-07-25 15:17:09 +08:00
astaxie
dff36a18a2 Merge pull request #101 from miraclesu/valid
Valid
2013-07-23 21:44:35 -07:00
miraclesu
fb78d83ec3 Merge branch 'master' of https://github.com/astaxie/beego into valid 2013-07-24 12:37:07 +08:00
miraclesu
d23700b919 update README 2013-07-24 12:36:46 +08:00
miraclesu
92db56c0cb add struct tag support 2013-07-24 12:20:42 +08:00
miraclesu
4c6163baa0 add funcmap 2013-07-24 01:20:24 +08:00
astaxie
f46388fa63 setcookie set to unique. fix multi setcookie 2013-07-23 21:54:45 +08:00
miraclesu
aba1728bc3 add some util funcs 2013-07-23 14:42:14 +08:00
miraclesu
ddb9ed39a5 add validation README 2013-07-22 17:40:32 +08:00
astaxie
a242f61b8e Merge pull request #100 from miraclesu/valid
Valid
2013-07-21 19:26:43 -07:00
miraclesu
d19de30d9c add test 2013-07-21 23:46:18 +08:00
miraclesu
6d05163c9f add validation funcs 2013-07-21 01:37:24 +08:00
miraclesu
a41cd17092 add validators 2013-07-19 16:49:28 +08:00
astaxie
ec7324e972 Merge pull request #98 from Unknwon/master
Fixed bug: error page cannot show correct corresponding status code
2013-07-18 01:20:16 -07:00
Unknown
7f5dd13422 Fixed bug: error page cannot show correct corresponding status code 2013-07-18 14:42:45 +08:00
astaxie
7f4ad7ff46 fix #91 2013-07-16 19:05:44 +08:00
astaxie
60200689f4 fix setcookie time type 2013-07-11 10:57:34 +08:00
astaxie
af3797e16c Merge pull request #93 from Unknwon/master
Sync documentation of English with Chinese version.
2013-07-10 07:12:07 -07:00
Unknown
d4743fb10d Sync documentation of English with Chinese version 2013-07-10 22:06:28 +08:00
astaxie
38b083e117 add docs about how to write api application 2013-07-09 16:43:03 +08:00
astaxie
fece5adc2a add example for api application 2013-07-09 13:59:47 +08:00
astaxie
7bfb4126d7 support copy requestbody 2013-07-08 23:12:31 +08:00
astaxie
2abe584bc5 support restful router 2013-07-08 18:35:10 +08:00
astaxie
ee9223b1b9 fix #18
func (this *MainController) Get() {
this.GoToFunc("Test")
}

func (this *MainController) Test() {
this.Ctx.WriteString("testtest")
}
2013-07-08 17:35:09 +08:00
astaxie
d2a16ff8f6 fix #26 add xsrf function 2013-07-08 16:17:08 +08:00
astaxie
f1e5059682 fix #69 refer to http://www.php.net/manual/zh/function.setcookie.php 2013-07-08 15:13:51 +08:00
astaxie
11977f4f77 fix #90 2013-07-07 17:58:50 +08:00
astaxie
461eac46b9 fix #89 2013-07-07 17:45:39 +08:00
astaxie
75af664511 change r.ParseMultipartForm position 2013-07-04 23:41:35 +08:00
astaxie
174298b497 fix cache's bug expird is not changed by get method 2013-07-04 13:02:11 +08:00
astaxie
9b392a0601 update to hotupdate's connet timeout 2013-07-03 16:58:15 +08:00
astaxie
bf9de3bcf6 add HttpServerTimeOut setting 2013-07-03 15:29:54 +08:00
astaxie
189df1280c fix #87 2013-07-02 09:45:12 +08:00
astaxie
8807c327d1 fix log delete 2013-06-29 14:39:02 +08:00
astaxie
d627ec013e add config to countol if enable hotupdate 2013-06-28 22:09:08 +08:00
astaxie
d0bbc67b27 Merge pull request #86 from slene/master
fix logrotate
2013-06-28 06:18:51 -07:00
slene
453557948e fix logrotate close fd before rename file, add a MuxWriter for Logger 2013-06-27 22:04:01 +08:00
astaxie
4033692dcb Merge pull request #85 from Unknwon/master
sync quickstart.
2013-06-26 18:45:40 -07:00
Unknown
236f28c53c sync quickstart. 2013-06-27 00:24:06 +08:00
astaxie
b2bfed8937 fix close err 2013-06-26 23:34:32 +08:00