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

1764 Commits

Author SHA1 Message Date
astaxie
67b36d7c48 make golint happy 2015-09-08 21:41:38 +08:00
astaxie
61570ac2f7 make golint happy with controller.go 2015-09-08 10:43:42 +08:00
astaxie
f28a941e26 make golint happy and also make the config readable 2015-09-07 23:19:42 +08:00
astaxie
152127c2af make golint happy 2015-09-07 21:38:53 +08:00
astaxie
919675e793 update the comments 2015-09-07 19:29:52 +08:00
astaxie
fe9c52fb69 optimize init admin 2015-09-07 19:27:53 +08:00
astaxie
284dfc0843 move the template related fun to template.go 2015-09-07 19:21:55 +08:00
astaxie
85d8ec5ca6 optimize the beego structure 2015-09-07 19:18:04 +08:00
astaxie
eb3479b753 optimize the app structure 2015-09-06 23:00:42 +08:00
astaxie
45b72b0674 Merge pull request #1334 from ElvizLai/patch-2
Update beego.go
2015-09-06 22:12:13 +08:00
astaxie
9e969957de Merge pull request #1348 from sidbusy/develop
allows custom the TableName of Session
2015-09-06 21:22:05 +08:00
astaxie
7b0f3a83dc Merge pull request #1351 from leekchan/cache
Fix a wrong test name & update a outdated information in README
2015-09-06 18:46:59 +08:00
Kyoung-chan Lee
fe1ec1675f Fix a wrong url (http 404). 2015-09-06 17:22:33 +09:00
Kyoung-chan Lee
4ad743fc8b Update a outdated information in README. 2015-09-06 17:20:18 +09:00
Kyoung-chan Lee
06ec3a931d Fix a wrong test name. 2015-09-06 17:13:55 +09:00
sidbusy
f55bbbdff4 allows custom the TableName of Session 2015-09-05 10:31:31 +08:00
astaxie
34aa9002bb fix the httplib test case timeout 2015-09-04 23:03:10 +08:00
astaxie
f9fe89fff0 fix the file rotate test case issues 2015-09-04 22:33:03 +08:00
astaxie
9ab7466d5c fix the cappital 2015-09-04 22:20:55 +08:00
astaxie
2e75c04ffb Merge pull request #1345 from f0r/develop
为querySeter添加GroupBy方法
2015-09-04 21:48:47 +08:00
astaxie
9038cdfaae Merge pull request #1343 from onealtang/oneal-dev
always use server's locale to parse date
2015-09-04 21:32:18 +08:00
f0r
a074df9c2e 为querySeter添加GroupBy方法 2015-09-03 00:45:09 +08:00
onealtang
adca455804 always use server's locale to parse date
When parsing the date without time, it's always using UTC date, which is
unexpected. If we want to use UTC date, it's recommend to set the
server's timezone as UTC, and keep the code flexible.
2015-09-02 15:50:40 +08:00
Yongzheng Lai
9fd571830d Update beego.go
Maybe the `Hard Coding` should have a higher priority
2015-09-01 17:52:44 +08:00
astaxie
dd4cbdda66 update the gitignore 2015-08-31 11:58:11 +08:00
astaxie
ad6547936e fix the http: multiple response.WriteHeader calls 2015-08-28 23:08:00 +08:00
astaxie
306effa300 Merge pull request #1329 from ElvizLai/patch-1
Update error.go
2015-08-28 22:33:20 +08:00
Yongzheng Lai
c516819c56 Update error.go
this caused `http: multiple response.WriteHeader calls` when using method `CustomAbort` or `Abort` when status is already in errMap like 404.
2015-08-28 16:54:49 +08:00
astaxie
4202fe8fe0 Merge pull request #941 from lei-cao/develop
Added JWT plugin
2015-08-27 22:57:04 +08:00
astaxie
0c5f4b48d4 Merge pull request #1276 from pjoe/orm_distinct
Fix issue #1274: Add QuerySeter.Distinct()
2015-08-27 22:54:39 +08:00
astaxie
7aa893612e Merge pull request #1308 from zhangshuai/master
httplib请求参数支持[]string
2015-08-27 22:50:44 +08:00
astaxie
cfaae5ab8c Merge pull request #1326 from hvnsweeting/patch-1
fix typo
2015-08-27 22:49:38 +08:00
Viet Hung Nguyen
cbb6591bdb fix typo 2015-08-26 15:57:28 +07:00
Pelle Johnsen
0c33673197 Revert spaces > tabs change 2015-08-24 09:41:10 +02:00
Shuai
862ea226e5 优化设置参数 2015-08-24 00:16:56 +08:00
astaxie
437349f776 Merge pull request #1247 from Skycrab/develop
fix example/chat i/o timeout
2015-08-23 22:18:38 +08:00
astaxie
bc1f0ac6fd Merge pull request #1298 from wulove/develop
全局变量AutoRender为false时,run时不再编译模版;针对开发模式下,每个请求渲染模版时支持单独编译当前请求相关模版
2015-08-23 22:13:15 +08:00
astaxie
db2b1ee54f Merge pull request #1318 from tabalt/patch-1
fixed mux1 to mux
2015-08-21 10:57:42 +08:00
tabalt
99b1c5c54b fixed mux1 to mux 2015-08-21 10:53:59 +08:00
wulove
38ddb61199 files is []string, use len(files)==0 2015-08-21 10:32:53 +08:00
astaxie
d9e4836715 Merge pull request #1305 from Hepri/develop
Added MapGet template func
2015-08-20 22:33:07 +08:00
Sergey Shcherbina
0e3fe64c69 Added TestMapGet 2015-08-20 19:04:43 +05:00
astaxie
4081311a37 Merge pull request #1309 from smallfish/develop
Update router.go, add Flush for responseWriter
2015-08-19 15:25:24 +08:00
陈小玉
506f54a080 Update router.go, add Flush for responseWriter 2015-08-19 15:23:50 +08:00
Shuai
ff92f22d84 删除Param中的断言 2015-08-18 23:19:24 +08:00
Shuai
860006bfda httplib请求参数支持[]string 2015-08-18 19:28:17 +08:00
astaxie
9107fd8898 remove the default timeout setting 2015-08-17 22:33:28 +08:00
Hepri
d91840779a Update templatefunc.go 2015-08-17 01:18:29 +05:00
Sergey Shcherbina
d4e15c0bd0 Added MapGet template func 2015-08-17 00:08:02 +05:00
wulove
877b5c233e 增加编译模版函数BuildTemplate可变参数,使之支持单个或多个模版的编译,同时针对开发模式,每个请求只编译当前请求相关模版
增加编译模版函数BuildTemplate可变参数,使之支持单个或多个模版的编译,同时针对开发模式,每个请求只编译当前请求相关模版,不再每次请求都编译全部模版
2015-08-06 10:09:34 +08:00