astaxie
|
2f8a70d548
|
beego: router support param has _
|
2014-06-11 09:33:35 +08:00 |
|
astaxie
|
7c0d0900ac
|
beego:fix static file router
|
2014-06-11 01:19:39 +08:00 |
|
astaxie
|
6809c97611
|
beego: improve performance
|
2014-06-11 01:11:32 +08:00 |
|
astaxie
|
675643c68d
|
beego: run mode support test
|
2014-06-10 22:47:48 +08:00 |
|
astaxie
|
4786fb0948
|
beego:fix typo NewControllerRegister
|
2014-06-10 20:12:57 +08:00 |
|
astaxie
|
fdb5672b7a
|
beego:delete debug information
|
2014-06-10 18:10:32 +08:00 |
|
astaxie
|
107a7a21c0
|
beego: dev mode print request router & pattern
|
2014-06-10 18:09:07 +08:00 |
|
astaxie
|
dbebf8df4b
|
beego:namespace support nest
ns := NewNamespace("/v3",
NSAutoRouter(&TestController{}),
NSNamespace("/shop",
NSGet("/order/:id", func(ctx *context.Context) {
ctx.Output.Body([]byte(ctx.Input.Param(":id")))
}),
),
)
|
2014-06-10 17:11:02 +08:00 |
|
astaxie
|
f7b01aab13
|
beego: modify the filter sequence
|
2014-06-10 11:02:41 +08:00 |
|
astaxie
|
2570f075d9
|
beego:change ControllerComments exported
|
2014-06-09 17:46:13 +08:00 |
|
astaxie
|
21cb8ea4a3
|
beego:AST code
|
2014-06-09 17:33:04 +08:00 |
|
astaxie
|
6c8a7f1382
|
beego: router change to method Tree
|
2014-06-09 10:11:37 +08:00 |
|
astaxie
|
e00eab7f49
|
beego: change to tree
|
2014-06-08 20:24:07 +08:00 |
|
astaxie
|
bfabcfcb6b
|
beego:router tree
|
2014-06-08 20:24:07 +08:00 |
|
astaxie
|
f06ba52ede
|
Merge pull request #633 from dlt/develop
fixed typo on constant applicationXml
|
2014-06-07 01:10:42 +08:00 |
|
Dalto Curvelano Jr
|
fcae000a79
|
fixed typo on constant applicationXml
|
2014-06-06 13:56:34 -03:00 |
|
astaxie
|
a65ad1a4bc
|
fix the time test case
|
2014-05-31 14:28:44 +08:00 |
|
astaxie
|
bdc01f52a0
|
Merge pull request #626 from mvpmvh/michael
Michael
|
2014-05-31 14:25:40 +08:00 |
|
Michael
|
a673a85d4a
|
added tests config/json_test that test missing key usecases. created a template function to fetch AppConfig values
|
2014-05-30 23:48:23 -05:00 |
|
Michael
|
61008fe75c
|
udpated timezone in templatefunc_test. changed error message to be more descriptive when tests fail
|
2014-05-30 14:12:21 -05:00 |
|
astaxie
|
5dee6b7d19
|
beego: fix the namespace cond
|
2014-05-28 10:23:31 +08:00 |
|
astaxie
|
f6c7a6bd32
|
beego: improve the admin router print
|
2014-05-27 17:27:22 +08:00 |
|
astaxie
|
d2eece9a39
|
session: #620 make the session never read empty
|
2014-05-27 15:45:35 +08:00 |
|
astaxie
|
c3a23b28ee
|
beego: improve the RandomCreateBytes #620
when rand.Read is failed. will use the math/rand to generate the rand
bytes
|
2014-05-27 15:29:43 +08:00 |
|
astaxie
|
9083927c6a
|
beego: enhance the XSRFKEY from 15 to 32 #620
|
2014-05-27 15:00:10 +08:00 |
|
astaxie
|
3f7e91e6a4
|
beego:fix *.* router bug
|
2014-05-26 10:15:56 +08:00 |
|
astaxie
|
a2a6f47afa
|
beego: support other config provider
|
2014-05-25 22:37:38 +08:00 |
|
astaxie
|
23229ef9ef
|
beego: BeegoServerName & beego.Run
BeegoServerName change to beegoServer+Version
beego.Run(“:8089”)
|
2014-05-25 22:35:20 +08:00 |
|
astaxie
|
0d17d974cd
|
beego: update namespace
|
2014-05-23 15:56:25 +08:00 |
|
astaxie
|
17104c25a2
|
beego: Refactoring Filter & add comments
|
2014-05-20 18:47:41 +08:00 |
|
astaxie
|
8b374d7f90
|
beego: add benchmark
|
2014-05-20 18:20:44 +08:00 |
|
astaxie
|
fa3234147a
|
httplib:drone can't upload file
|
2014-05-20 17:34:52 +08:00 |
|
astaxie
|
33ad6c1370
|
beego: remove app funciont & fix #590
config := tls.Config{
ClientAuth: tls.RequireAndVerifyClientCert,
Certificates: []tls.Certificate{cert},
ClientCAs: pool,
}
config.Rand = rand.Reader
beego.BeeApp.Server. TLSConfig = &config
|
2014-05-20 17:28:06 +08:00 |
|
astaxie
|
04290dfc68
|
beego: delete hotupdate
|
2014-05-20 16:41:39 +08:00 |
|
astaxie
|
03080b3ef2
|
beego:1.2.0
|
2014-05-20 15:53:41 +08:00 |
|
astaxie
|
3f2a712ba8
|
beego:change default port
|
2014-05-20 15:40:05 +08:00 |
|
astaxie
|
f215aa4810
|
beego: change the error tips
|
2014-05-20 15:34:27 +08:00 |
|
astaxie
|
18a02d7d60
|
beego:support https & http listen
|
2014-05-20 15:30:17 +08:00 |
|
astaxie
|
3f4d750dc4
|
utils: improve the file grep
|
2014-05-20 14:32:06 +08:00 |
|
astaxie
|
9f01aeed31
|
beego:remove unused code
|
2014-05-19 18:52:48 +08:00 |
|
astaxie
|
b45f0b9bf6
|
beego: fix #478
|
2014-05-17 02:56:50 +08:00 |
|
astaxie
|
cf04ade603
|
merger master
|
2014-05-17 02:29:41 +08:00 |
|
astaxie
|
92f6181616
|
beego: change the version to 1.2.0
|
2014-05-17 02:26:52 +08:00 |
|
astaxie
|
9270a0504a
|
beego: admin support link
|
2014-05-17 02:26:52 +08:00 |
|
astaxie
|
1da37f6ce1
|
beego: controller add ServeFormatted
ServeFormatted serve Xml OR Json, depending on the value of the Accept
header
|
2014-05-17 02:26:52 +08:00 |
|
astaxie
|
ef6d9b9a94
|
session: support memcache interface
|
2014-05-17 02:26:52 +08:00 |
|
astaxie
|
c265786251
|
session:support struct.
gob.Register(v)
|
2014-05-17 02:26:51 +08:00 |
|
astaxie
|
c5c806b58e
|
beego: XSRF support Controller level fix #610
default value is true when you Enable Global XSRF, also can control in
the prepare function to change the value.
|
2014-05-17 02:26:51 +08:00 |
|
astaxie
|
e657dcfd5f
|
beego: support namespace
ns := beego.NewNamespace("/v1/api/")
ns.Cond(func(ctx *context.Context)bool{
if ctx.Input.Domain() == "www.beego.me" {
return true
}
return false
})
.Filter("before", Authenticate)
.Router("/order", &admin.OrderController{})
.Get("/version",func (ctx *context.Context) {
ctx.Output.Body([]byte("1.0.0"))
})
.Post("/login",func (ctx *context.Context) {
if ctx.Query("username") == "admin" && ctx.Query("username") ==
"password" {
}
})
.Namespace(
NewNamespace("/shop").
Get("/order/:id", func(ctx *context.Context) {
ctx.Output.Body([]byte(ctx.Input.Param(":id")))
}),
)
|
2014-05-17 02:26:51 +08:00 |
|
slene
|
2ed9b2bffd
|
orm: add test for unexported struct field
|
2014-05-17 02:26:51 +08:00 |
|