1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-30 00:51:28 +00:00
Commit Graph

3773 Commits

Author SHA1 Message Date
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
astaxie
91c7635d0e fix #283 2013-11-08 18:00:07 +08:00
astaxie
2a81595c3e fix #280 2013-11-08 17:23:56 +08:00
astaxie
9e4d886a6c filter http method fix #279 2013-11-07 22:10:54 +08:00
slene
b644665952 orm set relation column name #259 2013-11-06 22:05:10 +08:00
slene
9492e4131b support reverse m2m relation 2013-11-06 21:08:12 +08:00
astaxie
2abda0954b fix #277 2013-11-06 16:51:33 +08:00
astaxie
dbf6ca2b4c fix #277 2013-11-06 16:12:10 +08:00
astaxie
bca6a33325 fix #140 2013-11-05 23:41:01 +08:00
astaxie
c8f86652a3 fix #248 2013-11-05 22:23:48 +08:00
astaxie
076bd0b440 #254 add controller func SessionRegenerateID 2013-11-05 22:07:09 +08:00
astaxie
a443a798e3 fix #254 2013-11-05 21:59:35 +08:00
astaxie
23d79b8b05 #254 add SessionHashFunc SessionHashKey SessionCookieLifeTime 2013-11-03 21:41:07 +08:00
astaxie
9ccdb31003 fix #236 2013-11-02 23:54:17 +08:00
astaxie
0adb864219 fix #270
同时支持全部小写和驼峰写法
2013-11-02 22:45:08 +08:00
slene
d39954c935 Merge branch 'master' of github.com:astaxie/beego 2013-11-02 00:52:05 +08:00
slene
89c03870c8 orm fix sqlite3 time convert 2013-11-02 00:51:53 +08:00