1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-25 07:40:48 +00:00
Commit Graph

3887 Commits

Author SHA1 Message Date
Amit Yadav
98a3cda260 Fix Unexpected EOF bug in staticfile 2018-05-07 13:51:05 +05:30
Wang-Kai
1fd7fa5df7 make example runable 2018-05-03 22:04:49 +08:00
astaxie
3d3f2ed4c5
Merge pull request #3127 from kaka89/master
Refactor yaml config for support multilevel
2018-05-03 14:07:59 +08:00
Wang-Kai
0f73050567 add code style for logs README 2018-05-03 12:05:59 +08:00
astaxie
a40899e6be
Merge pull request #3145 from gadelkareem/develop
Allow log prefix
2018-05-03 11:27:50 +08:00
Waleed Gadelkareem
a9a15e2c54 Allow log prefix 2018-05-02 00:24:09 +02:00
Waleed Gadelkareem
896c258e44 Log redirects and abort after redirect 2018-04-30 17:48:01 +02:00
Amit Ashkenazi
6df42d63e2 Fix response http code 2018-04-29 15:12:32 +03:00
Waleed Gadelkareem
33bf80b052 Merge branch 'pr/3141' into patch-2 2018-04-28 20:07:23 +02:00
Waleed Gadelkareem
d5c1c0e9a4 log errors in access log and make static request logging optional 2018-04-28 20:03:39 +02:00
Waleed Gadelkareem
8e61a6a6de
Allow access log regardless of the log level 2018-04-28 17:15:19 +02:00
umasuo
ccaa2dd9e0
Update yaml.go
delete white line.
2018-04-20 19:44:22 +08:00
astaxie
507ea757d7
Merge pull request #3039 from cloudzhou/patch-1
execElem.FieldByName as local variable
2018-04-20 19:41:07 +08:00
astaxie
9d526dfd50
Merge pull request #3100 from godcong/master
change github.com/garyburd/redigo to newest branch github.com/gomodul…
2018-04-20 19:40:30 +08:00
umasuo
ba89253e4a
Update yaml.go
add support for multilevel yaml config
2018-04-20 19:40:06 +08:00
astaxie
0d6f190e72
Merge pull request #3107 from sergeylanzman/patch-1
Update .travis.yml golang 1.10
2018-04-20 19:33:50 +08:00
astaxie
91b9a65db0
Merge pull request #3109 from Jeff885/Jeff885-patch-1
When log maxSize set big int,FileWrite Init fail
2018-04-20 19:33:33 +08:00
astaxie
e96a5fb3ca
Merge pull request #3115 from m4grio/minor-typo
Amend a very minor typo in a variable name
2018-04-20 19:26:42 +08:00
astaxie
f5f70f386d
Merge pull request #3126 from aruhi/master
In dev mode, template parse error cause program lock
2018-04-20 19:26:24 +08:00
astaxie
242efcf7fa
Merge pull request #3103 from qshuai/master
fix typo
2018-04-20 19:26:00 +08:00
aruhi
51cc6fc257
Update template.go 2018-04-20 19:42:50 +09:00
Mario Álvarez
5fb29cb772
Amend a very minor typo in a variable name 2018-04-10 12:19:50 +08:00
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
Sergey Lanzman
2623b15ce0
Update .travis.yml 2018-04-05 16:30:08 +03:00
chenkaihui
6db9ad7002 auto create log dir 2018-04-04 15:59:52 +08:00
qshuai
889408136b fix typo 2018-03-28 00:26:06 +08:00
godcong
886fefe738 change github.com/garyburd/redigo to newest branch github.com/gomodule/redigo 2018-03-26 16:59:01 +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
cloudzhou
6de538b136
execElem.FieldByName as local variable
execElem.FieldByName(fieldType.Name) as local variable
2018-01-25 17:52:09 +08:00
陈培远
47c1072b78 do html escape before display path, avoid xss 2018-01-08 19:35:53 +08: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
dennismao
0bde9cbd91 fix the issue #2995 2017-12-22 16:21:23 +08:00