1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 01:40:55 +00:00
Commit Graph

3739 Commits

Author SHA1 Message Date
astaxie
d7fe5ef435 Merge pull request #1004 from fugr/patch-2
Transaction
2015-01-13 11:19:03 -08:00
Hubery
8bd902814f Transaction
err处理写反了
2015-01-13 11:09:43 +08:00
astaxie
378356a65e Merge pull request #1001 from johndeng/develop
Fixed the status code issue at error handler.
2015-01-12 09:54:26 -08:00
John
30871e2617 Fixed the status issue at error handler. 2015-01-10 17:35:35 +08:00
Peter Fern
3731088b4a Add GroupBy to QuerySeter
Adds support for GroupBy to QuerySeter SELECT operations.
2015-01-10 15:26:41 +11:00
astaxie
d46833c6d8 Merge pull request #997 from dockercn/master
增加session模块中的ledisdb的动态配置
2015-01-09 13:58:13 +08:00
Black.Lee
18659e16ba add compare_not/not_nil methods for template 2015-01-05 16:38:57 +08:00
astaxie
5d8187d005 Merge pull request #977 from athurg/patch-1
Fix RequestURI nil caused template parse failed
2014-12-25 11:40:26 +08:00
Athurg Gooth
d961ae4cd8 Fix RequestURI nil caused template parse failed
Sometime RequestURI is not set, e.g. running after a front proxy server.

We should always follow the document's directive, to use Request.URL instead of RequestURI.

Refer: http://golang.org/pkg/net/http/#Request
2014-12-25 11:23:04 +08:00
astaxie
0e1a0049d1 Merge pull request #971 from athurg/get_request_params_with_default
Support default value for controller’s params get
2014-12-19 16:03:10 +08:00
astaxie
0c933643e2 improve the empty router 2014-12-19 15:33:51 +08:00
Jianbo Feng
d2c5daa5ee Update comments for controller's GetXXX functions 2014-12-19 15:28:18 +08:00
astaxie
d3ab157915 fix the cache test 2014-12-19 14:40:16 +08:00
astaxie
75d28d49c5 Merge pull request #965 from shuoli84/develop
Fix subdomain, add test, space and comment fix
2014-12-19 13:22:36 +08:00
astaxie
76bb4827d0 Merge pull request #953 from kristen1980/patch-2
Allow absolute path for filesystem cache
2014-12-18 21:24:17 +08:00
astaxie
3caba06189 Merge pull request #967 from athurg/support_all_type_on_urlfor
Add all type support for UrlFor’s params
2014-12-18 21:14:44 +08:00
shuo li
572508ddd8 Clean json config. Fix DefaultStrings 2014-12-17 17:02:46 +08:00
Jianbo Feng
e34f8479bb Add all type support for UrlFor’s params 2014-12-17 15:52:48 +08:00
Jianbo Feng
daf85f06f8 Support default value for controller’s params get 2014-12-17 15:23:11 +08:00
shuo li
22671c524e Fix subdomain, add test, space and comment fix 2014-12-17 12:06:53 +08:00
astaxie
ab99d5f1e2 Merge pull request #957 from athurg/patch-2
Fix paginator attributes cannot be modified bug
2014-12-11 19:59:50 +08:00
Athurg Gooth
c52f634d9c Fix paginator attributes cannot be modified bug
We can only use SetPaginator to create a pagination.

After that, we always need to modify something, like the totalNum, perPageNum.

These change should be seen in the view.

So we should give the view a pointer than a object.
2014-12-11 16:42:50 +08:00
astaxie
9c665afc04 improve the error tips 2014-12-08 14:57:45 +08:00
kristen1980
77ed151243 Allow absolute path for filesystem cache
Gives more flexibility by making it an absolute path. A relative path can easily be created by the user.
2014-12-07 10:00:35 -07:00
Chen Liang
29d98731c6 add sess_ledis select db config 2014-11-25 14:41:51 -08:00
Chen Liang
934dd2e8d2 Merge branch 'master' of https://github.com/astaxie/beego 2014-11-25 14:27:13 -08:00
astaxie
e65d87974a Merge pull request #940 from hilyjiang/develop
make Content-Type header more human-readable
2014-11-24 23:26:15 +08:00
Lei Cao
647e6ae1c4 Added JWT plugin 2014-11-24 23:21:03 +08:00
Hily Jiang
db04c3cbb4 make Content-Type header more human-readable 2014-11-24 23:12:09 +08:00
astaxie
802aa16136 Merge pull request #935 from mnhkahn/master
beego1.4.2,beego.AppConfig.Strings与老版本代码不兼容问题
2014-11-24 21:47:12 +08:00
astaxie
f2df07f630 Merge pull request #933 from rbastic/develop
Reword message about reloading packages..
2014-11-24 13:18:05 +08:00
Ryan Bastic
dc89f844f3 Reword message about reloading packages.. 2014-11-23 18:22:45 +01:00
astaxie
b80cdef20f Merge pull request #932 from DeanThompson/master
count log file lines
2014-11-23 23:57:27 +08:00
astaxie
98dcee0643 Merge pull request #926 from xuewuhen/master
SubDomains function bugfixed
2014-11-23 22:57:40 +08:00
astaxie
0ad75cb5fa Merge pull request #928 from lei-cao/develop
Return the response directly if it's a options PreflightHeader request
2014-11-21 23:22:59 +08:00
DeanThompson
6a9d04c269 count log file lines 2014-11-21 18:12:39 +08:00
Lei Cao
93ca11f83d Return the response directly if it's a options PreflightHeader request 2014-11-21 01:35:30 +08:00
git
d0b43ef4f5 beego.AppConfig.Strings bug 2014-11-20 16:35:04 +08:00
xuewuhen
c9bb9d6a09 SubDomains function bugfixed 2014-11-18 22:54:48 +08:00
astaxie
f96245786a fix #912 2014-11-08 15:10:47 +08:00
supar
1a1b0c14b9 Add attribute default to the column on create or alter commands. Skip columns which are keys and date or time data type 2014-11-06 17:43:53 +03:00
astaxie
07c628c7e9 fix the commentsRouter init sequence 2014-11-06 17:30:50 +08:00
astaxie
1e92d17605 fix the repeat commentsRouters 2014-11-06 16:25:47 +08:00
astaxie
bb795847da fix the not exist config file application 2014-11-06 11:12:00 +08:00
astaxie
54ba307f7f change this to short name 2014-11-05 22:40:31 +08:00
astaxie
950ff91d87 hotfix for parsefiel 2014-11-05 22:23:54 +08:00
astaxie
b43401b9f6 Merge pull request #907 from astaxie/develop
1.4.1 released
2014-11-04 22:39:03 +08:00
astaxie
fe50269b3f change 1.4.1 to 1.4.2 2014-11-04 22:38:40 +08:00
astaxie
000033e2a7 update the test case 2014-11-04 22:07:38 +08:00
astaxie
15242d89ce simple the session init 2014-11-04 19:08:06 +08:00