1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-10 04:10:54 +00:00
Commit Graph

2279 Commits

Author SHA1 Message Date
astaxie
3b807845f2 beego:addtree support regexp 2014-06-12 20:50:29 +08:00
astaxie
00b710e168 beego:namespace sub router add url to pattern 2014-06-11 23:51:19 +08:00
astaxie
e25fcffbc0 config:json add support array 2014-06-11 22:47:11 +08:00
astaxie
c13141b8bf beego:fix when user defined function equal to HTTP 2014-06-11 22:45:54 +08:00
astaxie
7a7ff735e3 Merge pull request #644 from chrisport/develop
config: fix error when json config starts with an array
2014-06-11 22:02:28 +08:00
Christoph Portmann
3b934bb910 config: fix error when json config starts with an array 2014-06-11 11:33:32 +03:00
astaxie
aa275fb5ce beego:fix #639 2014-06-11 13:26:45 +08:00
astaxie
deb553be7f beego:confgi support difference run mode section
runmode = dev
appname = doraemon
[dev]
httpport = 8880
sessionon = true

[prod]
httpport = 8888
sessionon = true

[test]
httpport = 8080
sessionon = false
2014-06-11 12:00:50 +08:00
astaxie
3db9633ebd remove websocket logic because not support handler 2014-06-11 11:12:17 +08:00
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
JessonChan
06f4bf493d ignore nil time 2014-06-10 22:10:58 +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
3e4c015982 Merge pull request #631 from curvesoft/master
cookiejar support
2014-06-04 23:02:52 +08:00
CurveSoft
d689be30e8 remove httplib_test.php 2014-06-04 22:12:37 +08:00
CurveSoft
7b110a0b73 remove httplib_test.php 2014-06-04 22:09:43 +08:00
CurveSoft
e3033b57a6 1.gofmt httplib.go httplib_test.go
2.replace test url to http://httpbin.org functions
2014-06-04 21:15:24 +08:00
CurveSoft
bd537554ea 1.gofmt httplib.go httplib_test.go
2.replace test url to http://httpbin.org functions
2014-06-04 21:04:50 +08:00
CurveSoft
ebb3b91df9 1、增加cookiejar支持
2、增加Setting结构,便于统一设置请求参数
3、增加服务端测试php脚本
2014-06-03 21:20:10 +08: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