1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-23 03:20:55 +00:00
Commit Graph

2555 Commits

Author SHA1 Message Date
miraclesu
84ae930c64 orm: Add test case for integer pk 2016-03-18 21:58:11 +08:00
astaxie
99c0b1e338 Merge pull request #1803 from JessonChan/log_develop
fix rotate  read-write lock race
2016-03-18 15:43:46 +08:00
JessonChan
4caf044be2 getMethodOnly assign fixed 2016-03-18 15:18:00 +08:00
miraclesu
a3d4218d9d orm: fix miss pk when pk is negative 2016-03-17 21:41:35 +08:00
JessonChan
9f21928a90 some typo fixed 2016-03-17 20:07:24 +08:00
JessonChan
0b401481ef go fmt the comment 2016-03-17 19:59:48 +08:00
JessonChan
57eace07a7 comment update 2016-03-17 19:52:09 +08:00
JessonChan
35e34261ab gzip method support 2016-03-17 19:40:29 +08:00
JessonChan
5a9bff2000 init gzip level 2016-03-17 19:09:38 +08:00
JessonChan
48147f50d8 add some gzip future 2016-03-17 19:09:21 +08:00
JessonChan
0859ec570c refactor of error response and fix err code bug 2016-03-17 09:46:34 +08:00
JessonChan
443d71397c write error to response 2016-03-17 09:35:14 +08:00
JessonChan
ec35bd0c28 orm log header flag 2016-03-16 18:04:27 +08:00
JessonChan
2b1316c738 data race bug fixed 2016-03-16 18:04:07 +08:00
JessonChan
94599013fc url to lower case 2016-03-16 07:53:36 +08:00
JessonChan
565c4a4d59 make the code run more fast 2016-03-15 18:50:18 +08:00
JessonChan
34615ee8fc add router filter enable flag 2016-03-15 18:37:54 +08:00
JessonChan
c51bc86d3f goto bug fixed 2016-03-15 16:51:21 +08:00
JessonChan
8660a54fac make router fast 2016-03-15 11:49:23 +08:00
ysqi
1b04571c0b test the env use GOPATH not GOROOT 2016-03-14 19:22:00 +08:00
ysqi
9c7d95b071 go vet 2016-03-14 19:21:09 +08:00
astaxie
c8bbfb75f0 Merge pull request #1782 from JessonChan/some_wip
BeeLogger can be the writer of  http server's log
2016-03-14 14:47:29 +08:00
youngsterxyf
549a39c478 fix issue1789: when testing, load config explicitly and forcibly 2016-03-14 11:26:26 +08:00
astaxie
e4066d820d Merge pull request #1790 from miraclesu/feature/orm_inline_struct
orm: inline struct relate test case
2016-03-14 10:35:00 +08:00
astaxie
cc2b5f5b62 Merge pull request #1792 from youngsterxyf/issue1787
fix issue#1787: if `/m` is a static path mapping to a static dir,and we set `beego.BConfig.WebConfig.DirectoryIndex = true`, then it should redirect to `/m/`
2016-03-14 10:33:47 +08:00
JessonChan
c92c3fc8b5 make the BeegoLogger a adapter of http server ErrorLog 2016-03-14 10:21:07 +08:00
youngsterxyf
9aa2e5b575 fix issue#1787: The cause is that if the url is /m,and we set beego.BConfig.WebConfig.DirectoryIndex = true, then it should redirect to /m/ 2016-03-13 21:39:26 +08:00
miraclesu
dcfcb2789e orm: inline struct relate test case 2016-03-13 21:04:39 +08:00
astaxie
d90195061f fix #1783 2016-03-13 11:16:19 +08:00
astaxie
474bdd2e6b Merge pull request #1785 from KilledKenny/pathError
Fixed infinite loop in ini config adapter
2016-03-12 21:11:04 +08:00
ysqi
1642cbd420 Merge branch 'astaxie/develop' into develop 2016-03-12 14:51:24 +08:00
ysqi
b2a06c5fa0 Update config suport environment variable logic 2016-03-12 14:32:39 +08:00
lcbluestorm
cfef97175e change import sort 2016-03-12 12:34:54 +08:00
Simon Rawet
8b0957cf2e Fixed infinite loop in ini config adapter
If parseFile recived a directory it would go into a infinit loop
2016-03-12 00:20:19 +01:00
astaxie
88816348b9 window console can't output colorful 2016-03-11 15:29:52 +08:00
saturn4er
66423f6935 Fix formatting with gofmt
Rename BeeTemplateEngines->beeTemplateEngines.  Create templateHandler function type
Fix var name in comment BeeTemplatePreprocessors -> beeTemplatePreprocessors
Rename TemplateI -> TemplateRenderer
2016-03-11 08:40:54 +02:00
JessonChan
9872041f12 timeDur is used only when need 2016-03-11 14:14:58 +08:00
astaxie
83fe43f331 gofmt -s -w 2016-03-11 13:00:58 +08:00
astaxie
40b41cc121 fix the misspell99 2016-03-11 12:14:18 +08:00
astaxie
1aeb3d9051 release 1.6.1 2016-03-11 11:35:24 +08:00
astaxie
778a5a11ac Merge pull request #1781 from JessonChan/develop
duplicate adapter logger  bug fixed
2016-03-11 11:19:07 +08:00
JessonChan
4801099675 duplicate adapter logger bug fixed 2016-03-11 10:12:17 +08:00
astaxie
420cd507b2 update output information 2016-03-11 10:07:44 +08:00
astaxie
22196d7841 add mis function NSHandler 2016-03-11 09:21:13 +08:00
astaxie
571f9b4b65 Merge pull request #1780 from goodloop/develop
fix static pattern match for leaf
2016-03-11 09:07:53 +08:00
astaxie
1f0a65f0a2 fix the orm test 2016-03-10 22:21:21 +08:00
Gavin Fang
90e7d252a7 fix static pattern match for leaf 2016-03-10 22:16:41 +08:00
astaxie
31f7524dae fix the golint travis 2016-03-10 21:47:50 +08:00
astaxie
3a12e238cc support oracle 2016-03-10 21:23:13 +08:00
ysqi
86c7f1db9e Merge branch 'astaxie/develop' into environmentVar
# Conflicts:
#	config/fake.go
#	config/xml/xml_test.go
#	config/yaml/yaml_test.go
2016-03-10 19:57:16 +08:00