JessonChan
f02ff0420d
no need to call Sprintf when no args
2016-03-24 20:22:42 +08:00
JessonChan
06299fa47b
makes console as default logger
2016-03-24 19:32:29 +08:00
JessonChan
d8bed89c44
set console as default logger
2016-03-24 19:15:14 +08:00
JessonChan
0814eefa62
refactor writeMsg function
2016-03-24 18:21:52 +08:00
JessonChan
8344a60552
add to upper case
2016-03-24 17:49:39 +08:00
JessonChan
0fb4a8af24
function change
2016-03-24 17:46:52 +08:00
JessonChan
a6c1377f91
change to 0 logger
2016-03-24 17:43:45 +08:00
JessonChan
cdfd830f65
rename log format
2016-03-24 17:43:16 +08:00
JessonChan
98dfecfd8a
change beego log function to logs function
2016-03-24 17:39:29 +08:00
JessonChan
03840f3fe8
give each of the adapter a neme
2016-03-24 17:38:26 +08:00
JessonChan
2e6a23743b
refactor logs package
2016-03-24 17:37:56 +08:00
astaxie
6c0979c314
Merge pull request #1805 from JessonChan/abort_panic_bug
...
Abort panic bug
2016-03-23 10:22:32 +08:00
JessonChan
5858607f49
go fmt error_test.go
2016-03-22 18:32:14 +08:00
JessonChan
1a401af23b
copyright
2016-03-22 18:28:44 +08:00
JessonChan
b2098266a3
add error test
2016-03-22 18:27:29 +08:00
astaxie
3ac90df5fa
Merge pull request #1794 from youngsterxyf/issue1789
...
fix issue1789: when testing, load config explicitly and forcibly
2016-03-22 17:21:57 +08:00
astaxie
9e9671d8cd
Merge pull request #1799 from JessonChan/router_develop
...
Router Filter Improve
2016-03-22 17:15:28 +08:00
astaxie
d3b54c46e3
Merge pull request #1808 from JessonChan/gzip_improve
...
Gzip improve
2016-03-22 17:13:20 +08:00
JessonChan
7bad3d1c67
change the compress leve to [0~9]
2016-03-22 16:47:11 +08:00
JessonChan
4db78f243e
change the function args of init gzip method
2016-03-22 16:42:42 +08:00
astaxie
ba7a809de8
Merge pull request #1810 from miraclesu/fix/orm_miss_pk
...
orm: fix miss pk when pk is negative
2016-03-22 10:09:35 +08:00
astaxie
630f77bca3
update travis
2016-03-21 11:18:38 +08:00
astaxie
f2ed27cc8f
make sure works for travis
2016-03-21 11:10:57 +08:00
JessonChan
959b9a5a58
config index out of range bug fixed
2016-03-21 09:32:41 +08:00
astaxie
142f4c9f42
Merge branch 'develop' of https://github.com/astaxie/beego into develop
2016-03-21 09:15:47 +08:00
astaxie
33ae75b251
golint check only works on Go 1.5
2016-03-21 08:50:56 +08:00
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
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