1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-29 01:05:46 +00:00
Commit Graph

1987 Commits

Author SHA1 Message Date
astaxie
69096b09f3 update zh docs 2013-07-26 16:41:11 +08:00
astaxie
da5dd4d173 Merge pull request #105 from miraclesu/form
Add ParseForm Function & utils test
2013-07-26 01:36:13 -07:00
miraclesu
6b5dc3b7d5 Remove MarkDown test 2013-07-26 16:31:01 +08:00
miraclesu
d31ac49ead Merge branch 'master' of https://github.com/astaxie/beego into form 2013-07-26 16:29:22 +08:00
miraclesu
60afcd069a Add utils test 2013-07-26 16:29:00 +08:00
lqixv
a39139c610 Update Quickstart.md
纠偏:从上面的例子中,并不能知道 DelSession(name string) 方法。
2013-07-26 09:09:09 +08:00
lqixv
42370b5eb8 Update Quickstart.md
更正某些错别字,或语义不清
2013-07-26 08:31:46 +08:00
miraclesu
b99a09d73b Add two test cases for ParseForm 2013-07-25 22:50:29 +08:00
miraclesu
b8e06f6365 Add ParseForm function for *Controller 2013-07-25 22:27:25 +08:00
miraclesu
f552338822 Add ParseForm function 2013-07-25 22:25:12 +08:00
astaxie
6373379da6 Merge pull request #103 from eXthen/master
I guess write would be better
2013-07-25 06:28:10 -07:00
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