Commit Graph

174 Commits

Author SHA1 Message Date
Ruben Cid 38f9a3c49e AutoCert 2018-07-20 18:53:57 +02:00
astaxie 2c779a4287
Merge pull request #3141 from gadelkareem/patch-2
Improve access log
2018-07-20 15:20:15 +08:00
astaxie af73a2d515
Merge branch 'develop' into fix_response_http_code 2018-07-20 15:18:30 +08:00
astaxie 9c9ba0129f
Merge pull request #3226 from jianjianzhu/master
Fix the wrong status code in prod
2018-07-20 14:53:08 +08:00
zhujianjian 464d080518 fix httpcode in prod 2018-07-02 11:21:06 +08:00
Amit Ashkenazi 6df42d63e2 Fix response http code 2018-04-29 15:12:32 +03:00
Waleed Gadelkareem d5c1c0e9a4 log errors in access log and make static request logging optional 2018-04-28 20:03:39 +02: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
Waleed Gadelkareem 3c9ed48630
Set default Beego RunMode to production 2018-03-02 18:23:20 +01:00
takeo-lvgs 9a7554fa01 fix the issue #3063 2018-02-20 11:39:29 +09:00
astaxie a948d4c1e1 set default to apache format 2017-11-19 11:07:57 +08:00
astaxie b7eb3963f5
Merge pull request #2863 from gadelkareem/develop
Add JSON or Apache access log formatting option to config:  AccessLogsFormat = JSON_FORMAT or APACHE_FORMAT  ref #2738
2017-11-19 11:05:12 +08:00
astaxie 348bf51a42
Merge pull request #2914 from AbelZhou/master
Add sys env feature
2017-11-19 10:41:22 +08:00
lotus 3872382a4b 1.Add Mutual HTTPS Option! 2017-11-15 22:42:30 +08:00
Abel 3504d2a4da Add host env feature. 2017-10-31 19:19:14 +08:00
Abel 229d8b9530 Add host env feature. 2017-10-30 13:54:36 +08:00
Abel b9c8c08c03 Add host env feature. 2017-10-26 19:25:05 +08:00
Waleed Gadelkareem 4921014c64 Add JSON or Apache access log formatting option to config: AccessLogsFormat = JSON_FORMAT or APACHE_FORMAT ref #2738 2017-09-13 02:03:46 +02:00
Sergey Lanzman 856fde28dc add unconverted support 2017-03-17 19:45:30 +02:00
astaxie 50e294be32 fix the broken test 2017-02-27 09:41:15 +08:00
astaxie b235b48de4 Merge branch 'develop' of https://github.com/astaxie/beego into develop 2017-02-26 22:21:37 +08:00
astaxie 28011a5835 fix #2462 2017-02-26 22:20:11 +08:00
astaxie be586572e0 Merge pull request #2423 from ansiz/master
Add config field EnableErrorsRender
2017-02-10 13:19:20 +08:00
xhzhang 9b714a7518 Add config field EnableErrorsRender
Add config field EnableErrorsRender to disable errors output
  with the template data, sometimes we do not want errors output
  with it even in dev mode, especially in API projects.
2017-02-06 12:33:15 +08:00
mlgd e90f4bee1a Remove a regression on AppPath
The application path is incorrect on Windows with the command line "go run". AppPath is assigned to the temp directory instead the folder project
2016-12-09 09:37:10 +01:00
Daniel 0a822209c8 Fix :supervisor work dir 2016-11-08 11:14:48 +08:00
GrimTheReaper 51b31c6cb0 Changed the name to match. 2016-10-11 11:06:52 -05:00
GrimTheReaper 33f7f46670 Updated the name 2016-10-11 10:49:19 -05:00
GrimTheReaper 3c05eafbc4 HTTP Only Configurable 2016-10-10 09:50:34 -05:00
Back 836be7ab9a fix to advice in #2187
Clear BConfig.Log.Outputs's default "console" while user has set "LogOutputs" in config file.
2016-09-28 16:20:41 +08:00
astaxie 421bf97b84 Support custome recover func fix #2004 2016-09-15 12:16:24 +08:00
Maxgis 6a4ebc67ac merge 2016-07-24 18:01:19 +08:00
Maxgis 33ef34b95d 减少没有必要的代码以及静态前缀前面有/ 2016-07-24 15:29:34 +08:00
ysqi 9e17f518b8 Fixed print format error info 2016-04-27 22:17:53 +08:00
yuyongsheng 5aa085bf41 1. remove the invalid comments.
2. allow the user to config "Enable" store/get sessionId into/from http header
3. allow the user to config "Enable" get sessionId from Url query
4. when enable sessionId in http header, check the sessionName format as CanonicalMIMRHeaderKey, then panic if not.
2016-04-21 09:57:44 +08:00
JessonChan 0c32255d14 config test 2016-04-18 17:45:39 +08:00
JessonChan 4cd2408248 log to Stderr 2016-04-13 19:41:07 +08:00
JessonChan cb0c006cfa add session config 2016-04-13 19:37:55 +08:00
JessonChan ce4fc7bfcd simplify the value assign 2016-04-13 17:51:54 +08:00
astaxie 734bbb3337 remove some space 2016-03-30 15:48:38 +08:00
youngsterxyf e281b6e82a improve 2016-03-30 10:49:39 +08:00
youngsterxyf 561e7115f3 To support `go run` 2016-03-29 18:16:38 +08:00
JessonChan 98dfecfd8a change beego log function to logs function 2016-03-24 17:39: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
JessonChan 959b9a5a58 config index out of range bug fixed 2016-03-21 09:32:41 +08:00
youngsterxyf 549a39c478 fix issue1789: when testing, load config explicitly and forcibly 2016-03-14 11:26:26 +08:00
JessonChan 6747c55a81 remove unused cache 2016-03-04 12:01:04 +08:00
astaxie 4b99e41880 Merge pull request #1688 from ysqi/configIssue
fixed handle config issue
2016-03-03 09:50:14 +08:00
astaxie 6eaa5537f5 Merge pull request #1652 from JessonChan/develop
colorful console and go fmt
2016-02-26 16:10:11 +08:00
ysqi d5f07d65bb panic parse config error 2016-02-14 18:54:40 +08:00