MinJie Gu
2da894d4a7
When log maxSize set big int,FileWrite Init fail
...
example:
beego.SetLogger("multifile", {"filename":"logs/liverelay.log","separate":[ "emergency", "error", "info", "debug"],"maxsize":250000000}).
json: cannot unmarshal number 2.5e+08 into Go value of type int
The err should return and show the developer.
2018-04-06 00:50:35 +08:00
astaxie
768406f134
Merge pull request #3076 from gadelkareem/patch-1
...
Set default Beego RunMode to production
2018-03-11 16:26:00 +08:00
astaxie
075e63b2bd
Merge pull request #2999 from moririnson/fix_unable_to_add_column
...
fix the issue #2998
2018-03-11 16:18:50 +08:00
astaxie
0057c08a90
Merge pull request #3085 from WUMUXIAN/swagger
...
Swagger: Allow example values with different types, allow example for enum.
2018-03-11 10:48:48 +08:00
WUMUXIAN
09b073356d
Swagger:
...
1. Allow example value to be given based on the field type, previously it's a string.
2. Allow to give example values for Enum values.
This is for the beego/bee pull request to work well.
2018-03-10 17:15:24 +08:00
Waleed Gadelkareem
3c9ed48630
Set default Beego RunMode to production
2018-03-02 18:23:20 +01:00
astaxie
65d8b4f544
Merge pull request #3064 from takeo-lvgs/dev
...
fix the issue #3063
2018-02-22 17:22:39 +08:00
astaxie
6d18d4dcdd
Merge pull request #3066 from takeo-lvgs/fix_3065
...
fix the issue #3065
2018-02-22 17:16:38 +08:00
takeo-lvgs
21fe2d519e
fix the issue #3065
2018-02-20 17:40:18 +09:00
takeo-lvgs
9a7554fa01
fix the issue #3063
2018-02-20 11:39:29 +09:00
astaxie
37d1c13603
Merge pull request #3046 from aspacca/master
...
Handle pointer validation
2018-02-02 18:57:13 +08:00
Andrea Spacca
5ed112e946
added CanSkipAlso
2018-02-02 10:22:43 +01:00
Andrea Spacca
453f112094
added more test case
2018-02-01 18:31:04 +01:00
Andrea Spacca
faa3341603
Fix after test failure
2018-01-28 18:19:27 +01:00
Andrea Spacca
ee9cf05796
Handle pointer validation
2018-01-28 17:40:05 +01:00
astaxie
e81f1e53bf
Merge pull request #3017 from Medicean/develop
...
Update: Fix migration generate SQL
2018-01-05 00:10:16 +08:00
Medicean
cf92d2c6ef
Update: Fix migration generate SQL
2018-01-04 10:42:39 +08:00
astaxie
0507076c3f
Merge pull request #3004 from pcallewaert/develop
...
redis cache: make MaxIdle configurable
2017-12-30 13:54:11 +08:00
Pieter Callewaert
59fd3952b7
bug: restore the default value
2017-12-26 11:48:34 +01:00
Pieter Callewaert
7fd80e6aa1
feat(redis.go): make MaxIdle configurable
2017-12-26 11:48:08 +01:00
smori
24fa6189b5
fix the issue #2998
2017-12-23 16:41:56 +09:00
astaxie
122414d789
Merge pull request #2992 from priteshgudge/develop
...
Update Documentation in Output.go
2017-12-21 17:08:10 +08:00
Pritesh Gudge
aac69674ad
Update Documentation in Output.go
...
Fix Documentation for HTTP status codes descriptions.
2017-12-21 13:50:28 +05:30
astaxie
80aa47f605
Merge pull request #2976 from szyhf/develop
...
Fix #2975
2017-12-19 23:34:17 +08:00
astaxie
f16688817a
Merge pull request #2978 from BorisBorshevsky/fix_reflection_bug
...
fix bug #2972
2017-12-18 19:18:59 +08:00
BorisBorshevsky
0e369e6df8
fix bug
2017-12-13 15:27:32 +02:00
Back Yu
84443b9c05
Fix #2975
...
修复AccessLog输出会多换一行的bug
2017-12-12 12:21:55 +08:00
astaxie
33be6803a3
Merge pull request #2970 from gcy3y/master
...
update log.go add GetLevel Function to Log
2017-12-10 20:26:46 +08:00
astaxie
aef2f1c66e
Merge pull request #2971 from PureWhiteWu/fix_typo
...
fix a typo
2017-12-10 18:47:54 +08:00
Pure White
619cd2d908
fix a typo
2017-12-08 23:01:21 +08:00
GuoChunYang
4613acd88e
update log.go add GetLevel Function to Log
2017-12-08 15:35:12 +08:00
astaxie
bf5c5626ab
Merge pull request #2943 from astaxie/develop
...
1.9.2
2017-12-06 23:37:36 +08:00
astaxie
0fbbc67c3d
Merge pull request #2961 from zhlicen/master
...
Add lock while releasing session
2017-12-06 14:44:25 +08:00
astaxie
3e1916ec3c
Merge pull request #2953 from szyhf/develop
...
Proposal to #2952
2017-12-06 14:43:12 +08:00
astaxie
b068a676dd
Merge pull request #2950 from huhaocc/change_httpmethod_type
...
Change the type of HTTPMETHOD
2017-12-06 14:42:35 +08:00
HANG ZHOU
ed73bdcfab
Add lock while releasing session
...
Solve the problem of SessionRead failure while ReleaseSession is in progress
2017-12-05 16:18:56 +08:00
astaxie
ae94b705ea
Merge pull request #2954 from axetroy/master
...
test: Improve test case for utils/safemap, make it 100% cover
2017-12-01 23:33:46 +08:00
axetroy
08fb921053
test: Improve test case for utils/safemap, make it 100% cover
2017-12-01 01:04:15 +08:00
Back Yu
e67e57f8fb
orm: 修复logic enum因为type enum改变而产生的位错位。
2017-11-30 20:26:34 +08:00
Back Yu
b30969704a
Proposal to #2952
2017-11-30 18:12:49 +08:00
hao.hu
646acc423e
Change HTTPMETHOD type
2017-11-30 01:43:50 +08:00
astaxie
c3a81a23f9
beego 1.9.2
2017-11-27 15:52:31 +08:00
astaxie
103dd22151
remove mysq travis
2017-11-27 15:42:18 +08:00
astaxie
ec6cb43711
fix ci failed
2017-11-27 14:07:05 +08:00
astaxie
84cb9a5986
update to go1.9.2
2017-11-26 14:35:37 +08:00
astaxie
9b8bc2aef7
Merge pull request #2941 from BorisBorshevsky/report-card
...
add report card to readme.md
2017-11-26 14:32:57 +08:00
astaxie
9710d9e961
Merge pull request #2940 from BorisBorshevsky/golint
...
fix golint comments
2017-11-26 14:32:40 +08:00
BorisBorshevsky
58bb49a78c
add report card to readme.md
2017-11-25 19:23:46 +02:00
BorisBorshevsky
df37739c7d
fix golint comments
2017-11-25 19:18:37 +02:00
astaxie
a5dd5d161d
Merge pull request #2659 from ansiz/master
...
to close issue #1899(redis cache doubt)
2017-11-19 11:13:42 +08:00