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 |
|
astaxie
|
71adbdd7d7
|
add mutex
|
2013-06-26 22:16:03 +08:00 |
|
astaxie
|
573df2e747
|
add isclose call close many times
|
2013-06-26 22:13:25 +08:00 |
|
astaxie
|
aa9cb6d052
|
delete session's cookie Expires
|
2013-06-25 23:08:47 +08:00 |
|
astaxie
|
8358e0ff48
|
Merge pull request #83 from shxsun/master
In go version 1.0.3 will call build error
|
2013-06-25 07:08:35 -07:00 |
|
sun shengxiang
|
1687ec85de
|
fix build problem
|
2013-06-25 21:40:42 +08:00 |
|
astaxie
|
d5fc0a4bda
|
Merge pull request #82 from matrixik/master
Change: SetRotateMaxDay => SetRotateMaxDays
|
2013-06-25 04:08:51 -07:00 |
|