1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-24 11:44:14 +00:00
Commit Graph

589 Commits

Author SHA1 Message Date
astaxie
ba5e393e99 add flush & read all chan data 2013-11-27 17:50:10 +08:00
slene
690d77e985 orm test add extra custom JsonField 2013-11-26 21:34:40 +08:00
slene
bcc8f60677 orm add test about CustomField 2013-11-26 18:32:12 +08:00
astaxie
6f93b2bcbe fix _ "github.com/go-sql-driver/mysql" 2013-11-26 17:16:35 +08:00
astaxie
70dc9d7e14 update docs 2013-11-26 17:14:27 +08:00
astaxie
01d87591e4 session & orm register called twice for driver mysql 2013-11-26 17:12:25 +08:00
astaxie
ff1b8588e0 #313 2013-11-26 17:09:23 +08:00
astaxie
54fb49ed95 fix #315 2013-11-26 16:47:50 +08:00
astaxie
fbd1c3f8b0 Merge pull request #318 from pengfei-xue/devel
add server host:port info when starting app
2013-11-25 23:56:45 -08:00
Pengfei Xue
e823b6ea95 add server host:port info when starting app 2013-11-26 15:30:59 +08:00
astaxie
b16ef12ac0 fix test 2013-11-26 14:13:23 +08:00
astaxie
f9e732b5ce fix param to params 2013-11-26 11:16:22 +08:00
astaxie
ae2e25f4c2 fix #316 2013-11-26 11:05:49 +08:00
astaxie
7b405e9af7 fix type 2013-11-26 11:05:12 +08:00
astaxie
e09e642a83 Merge pull request #317 from pengfei-xue/master
beego.Context.Abort return immediately
2013-11-25 18:30:38 -08:00
Pengfei Xue
76c0636125 beego.Context.Abort return immediately
* add common 4XX/5XX HTTP exceptions
2013-11-26 08:46:46 +08:00
astaxie
c7a0298546 Merge pull request #314 from shavac/master
add function InsertFilter to replace AddFilter by using int const to determine filter position
2013-11-25 00:56:29 -08:00
knightmare
b4fb657efd eliminated improper comments 2013-11-25 16:15:48 +08:00
knightmare
8c3b936c60 replace filterPos to pos 2013-11-25 16:04:02 +08:00
knightmare
47fc32ba47 add func InsertFilter(pattern string, pos int, filter FilterFunc) *App to replace AddFilter
pos can be const:
    BeforeRouter = iota
    AfterStatic
    BeforeExec
    AfterExec
    FinishRouter
2013-11-25 15:59:40 +08:00
slene
e5904443d9 fix #302 2013-11-24 19:29:48 +08:00
slene
4ee6cc3022 Merge pull request #312 from bronze1man/pr-orm-querytable-nil-ptr-struct
[orm] QueryTable with nil ptr struct
2013-11-24 01:08:00 -08:00
bronze1man
ceb4aa9e25 [orm] QueryTable with nil ptr struct 2013-11-24 14:26:32 +08:00
astaxie
a0dff9148a change third repo from other to beego 2013-11-21 22:19:19 +08:00
astaxie
c94189668f Merge pull request #306 from pengfei-xue/patch-1
http.ResponseWriter doesn't implement  WriteCloser interface
2013-11-21 05:31:00 -08:00
Pengfei Xue
0122addd00 http.ResponseWriter doesn't implement WriteCloser interface
The removed code will never be executed, remove it
2013-11-21 18:39:16 +08:00
astaxie
f52faf63f7 fix #304 2013-11-21 15:59:16 +08:00
astaxie
b9fb88f537 add test for task 2013-11-20 23:53:54 +08:00
astaxie
54185df46e change admin to toolbox & support task 2013-11-20 21:18:00 +08:00
slene
16352579f3 #294 2013-11-18 13:21:19 +08:00
astaxie
c5eabcf469 add file cache, thanks to gouki 2013-11-18 11:22:06 +08:00
astaxie
b5b53b3849 add more feture in admin
1,增加QPS的限制
2,增加任务
3,增加healthcheck
2013-11-17 23:10:21 +08:00
astaxie
ea513002c5 admin filter finish to all router include static file
so if your web is need auth or release the resoure you can writer the
finish filter
2013-11-15 21:51:36 +08:00
astaxie
9776bb8a03 improve the admin module 2013-11-15 21:45:51 +08:00
astaxie
969464f8ad delete back info 2013-11-15 18:25:36 +08:00
astaxie
a9b6a0b81a improve the output fomate 2013-11-15 18:21:26 +08:00
astaxie
2758c6da14 UrlMap fix to StatisticsMap 2013-11-15 18:12:36 +08:00
astaxie
097bcb3b5b Improve monitoring management module 2013-11-15 18:08:53 +08:00
astaxie
18335194bc fix runrouter is nil 2013-11-13 21:37:17 +08:00
astaxie
6c13bdde25 support profile & statistics in another port 2013-11-13 21:11:09 +08:00
astaxie
a981dab536 fix #286
the process exit and the channel info can't flush to console
2013-11-13 21:11:08 +08:00
astaxie
6632c21d62 Merge pull request #287 from francoishill/patch-1
Update template.go
2013-11-12 16:15:53 -08:00
Francois
a5b5ae899c Update template.go
We can specify "TemplateLeft" and "TemplateRight" but they did not work as these two changes are required.
2013-11-12 20:22:42 +02:00
astaxie
ac6108a87d add more json test info 2013-11-11 21:25:03 +08:00
astaxie
2f75445520 when runmode is dev it will show warning ingo
if have a attack url, the info is
2013-11-10 23:42:07 +08:00
astaxie
43057a2fcb fix #284 2013-11-10 23:26:28 +08:00
astaxie
9446563e5b add util func to get the url fix #282
UrlFor(endpoint string, values ...string) string
2013-11-10 23:05:07 +08:00
slene
167ad203cb orm #276 2013-11-08 22:19:01 +08:00
astaxie
558738ade8 JSON CallBack类型的链接,这类出现在几乎各大Web 2.0网站中。修补这类安全问题很简单,只要在目标网页开头部分强制加一个空格即可,这样BOM头就无效了。 2013-11-08 20:54:06 +08:00
astaxie
0fb7d4babb add UrlFor function but still improve 2013-11-08 18:20:08 +08:00