1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-30 18:04:14 +00:00
Commit Graph

2083 Commits

Author SHA1 Message Date
Yunkai Zhang
e3810b599d Fix regression caused by commit ad65479
Commit ad65479 will cause "Method Not Allow" in preflight response
when enable CORS plugin.

The root cause is that CORS plugin didn't generate http output after applied
commit ad65479, so the value of `ctx.ResponseWriter.Started` will be keep
`false`, and then later filter chains will be go on to run when CORS filter
finished.

This path will both fix "Method Not Allow" and the original bug
"multiple response.WriteHeader calls".

Signed-off-by: Yunkai Zhang <qiushu.zyk@taobao.com>
2016-01-26 23:27:26 +08:00
astaxie
23bb36d35c fix the issue #1573 2016-01-18 23:29:56 +08:00
astaxie
fa8f6e5a53 session destroy 2016-01-18 16:11:27 +08:00
astaxie
6e987bfdaf Merge branch 'develop' of https://github.com/astaxie/beego into develop 2016-01-18 15:28:18 +08:00
astaxie
918b9e510f fix the add tempfunc 2016-01-18 15:27:33 +08:00
astaxie
12e5584c01 Merge pull request #1574 from youngsterxyf/develop
DRY
2016-01-18 15:24:53 +08:00
youngsterxyf
ac3b013de7 DRY 2016-01-18 15:17:42 +08:00
astaxie
089242eda0 memcache test mulit return map has no sequence 2016-01-18 00:36:05 +08:00
astaxie
92d0b9ae95 golint the config.go 2016-01-18 00:22:31 +08:00
astaxie
6f786e1dea golint config.go 2016-01-18 00:22:11 +08:00
astaxie
eb0bc084ec make the code mode readable
golint all the files
2016-01-18 00:18:52 +08:00
astaxie
f925bb9058 golint all the files 2016-01-18 00:18:21 +08:00
astaxie
da36d1d0e7 fix the wrong io.Writer 2016-01-18 00:03:39 +08:00
astaxie
48f19b4191 Merge pull request #1571 from astaxie/develop
beego 1.6.0 released
2016-01-17 23:58:34 +08:00
astaxie
9adf20d72e gofmt -s 2016-01-17 23:57:07 +08:00
astaxie
90d1349665 fix typo 2016-01-17 23:48:17 +08:00
astaxie
9b2597be68 fix the mail send empty subject 2016-01-17 23:48:09 +08:00
astaxie
895748d632 beego 1.6.0 released 2016-01-17 22:55:09 +08:00
astaxie
566aab4354 mail send support Address format 2016-01-17 22:49:02 +08:00
astaxie
a304bb9c25 Revert "add test case for tidb"
This reverts commit f70d2cc373.
2016-01-17 18:35:11 +08:00
astaxie
f70d2cc373 add test case for tidb 2016-01-17 18:24:29 +08:00
astaxie
897cf57840 use travis-ci.org as build-status 2016-01-15 14:59:16 +08:00
astaxie
8e6b0a6d7b Merge pull request #1567 from JessonChan/develop
some typo fixed
2016-01-15 14:40:14 +08:00
astaxie
797571c85f fix the ORM test case 2016-01-15 14:36:45 +08:00
JessonChan
814e4ac031 rename the docsSepc to docs_spec 2016-01-15 14:14:09 +08:00
JessonChan
52083de720 typo fixed
seperator => separator
2016-01-15 14:07:37 +08:00
astaxie
a069c73b3a test case bool default value is true 2016-01-15 14:02:08 +08:00
astaxie
7dbeb2c39a fix the default value 2016-01-15 08:43:02 +08:00
astaxie
4375ca84d1 fix the sqlite m2m 2016-01-14 23:49:28 +08:00
astaxie
0eaf923a27 Merge pull request #1560 from JessonChan/log_enhancement
Log enhancement
2016-01-13 22:57:39 +08:00
astaxie
9c55985915 update readme 2016-01-13 22:20:34 +08:00
astaxie
6976c0f51d add CONTRIBUTING.md 2016-01-13 22:02:36 +08:00
JessonChan
5befc67389 Merge remote-tracking branch 'remotes/upstream/develop' into log_enhancement 2016-01-13 10:15:00 +08:00
JessonChan
fb5b04506a code refactor and format 2016-01-13 09:24:27 +08:00
JessonChan
7663d50c97 remove the lock writer 2016-01-13 09:21:55 +08:00
JessonChan
58730e3528 test file modify 2016-01-13 09:21:32 +08:00
JessonChan
e1b73b33d0 improve code 2016-01-13 08:21:44 +08:00
JessonChan
c535dc386e fast format 2016-01-12 22:54:39 +08:00
JessonChan
69804afc1b use pool to logMsg 2016-01-12 22:39:40 +08:00
JessonChan
164366ae0d return error 2016-01-12 22:33:52 +08:00
JessonChan
2b9d7ff714 remove log package 2016-01-12 22:32:36 +08:00
JessonChan
bd0f3c29fa decr malloc new object 2016-01-12 22:32:20 +08:00
astaxie
6660720ce6 update some config name 2016-01-12 21:55:02 +08:00
JessonChan
12e7f0f94a extract a func to write to every logger 2016-01-12 21:15:25 +08:00
JessonChan
482b7a62bd use array not map 2016-01-12 21:05:06 +08:00
astaxie
b90a28bafb Merge pull request #1546 from youngsterxyf/develop
fix #1530
2016-01-12 20:01:51 +08:00
JessonChan
baa2e9d64a code format 2016-01-12 19:44:28 +08:00
JessonChan
5511e03b52 embedding file writer 2016-01-12 19:25:33 +08:00
JessonChan
9507e59c2f camel name fixed 2016-01-12 19:10:08 +08:00
JessonChan
2479e61db9 add asynchronous and call depth benchmark 2016-01-12 19:09:00 +08:00