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

3844 Commits

Author SHA1 Message Date
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
wulove
57fdc308e3 AutoRender为空时,不再编译模版
AutoRender为空,Controller.Render()不再执行,故无需编译模版
2015-08-06 09:36:43 +08:00
astaxie
4857e38471 Merge pull request #1284 from wallclockbuilder/develop
Fix #1269 extract godoc to own file.
2015-07-28 11:57:27 +08:00
astaxie
42fab96cd4 Merge pull request #1285 from JessonChan/beego_develop
typo fixed
2015-07-28 11:56:45 +08:00
JessonChan
b26ef5b2e5 typo fixed
registor==>register
innner ==> inner
2015-07-27 08:44:58 +08:00
Mawuli Adzoe
b622d5d369 Fix #1269 extract documentation
Fix #1271 Add description from docs on beego.me to README
and also add same description to godoc
2015-07-26 17:06:55 +00:00
Pelle Johnsen
19d82ab62c Fix #1274: Add QuerySeter.Distinct() 2015-07-22 18:12:57 +02:00
astaxie
9775e3e3a4 Merge pull request #1265 from fugr/develop
set DoRotate fname like xx.2013-01-01.2.log
2015-07-17 01:56:48 +08:00
astaxie
160d82d1d2 Merge pull request #1267 from wallclockbuilder/develop
Fix for #1256. Indent the code sample lines properly.
2015-07-17 01:50:09 +08:00
Mawueli Kofi Adzoe
45d693e6d6 Add quick start example from website to README 2015-07-16 04:32:07 +00:00
Mawuli Adzoe
0564956fd6 Fix for #1256. Indent the code sample lines properly. 2015-07-15 12:04:18 +00:00
Hubery
59b903d557 set DoRotate fname like xx.2013-01-01.2.log
fix fname,by extension to identify the file type on mac and windows.
2015-07-15 17:00:48 +08:00
Artem Nistratov
5612f61a93 fix #671 2015-07-08 17:42:00 +03:00
astaxie
3becd2e0d8 Merge pull request #1249 from wallclockbuilder/patch-1
Fix #1237
2015-07-08 12:38:48 +08:00
skycrab
8c0ad5ef88 fix example/chat i/o timeout 2015-07-06 21:12:03 +08:00
astaxie
079993b9f7 fix #1245 2015-07-06 13:54:14 +08:00
astaxie
c15aaad85b Merge pull request #1244 from simman/develop
Update validators.go
2015-07-04 20:48:47 +08:00
SimMan
06b25deab2 Update validators.go
Support virtual operators paragraph 170!
2015-07-04 17:55:01 +08:00
Mawueli Kofi Adzoe
002302818d Fix #1237
Package description uses same text as the README.
2015-07-01 04:17:53 +00:00
astaxie
a89f14d80d Merge pull request #1227 from oiooj/develop
fix FilterHandler crash issue
2015-06-19 11:43:15 +08:00
MrLee.Kun
87e8bcc9be fix FilterHandler crash issue
Filter Handler will crash with error assignment to entry in nil map , params from function Tree.Match() maybe nil.
2015-06-19 11:19:35 +08:00
MrLee.Kun
31e5edbdcf Merge pull request #2 from astaxie/develop
pull from stable
2015-06-19 11:09:11 +08:00