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

2932 Commits

Author SHA1 Message Date
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
astaxie
76522d43af simple the session 2014-11-04 19:07:49 +08:00
astaxie
52df1234bd Merge branch 'develop' of https://github.com/astaxie/beego into develop 2014-11-04 19:04:43 +08:00
astaxie
fc6b9ce009 fix #620 simple the sessionID generate 2014-11-04 19:04:26 +08:00
astaxie
b9fdd67519 add test case fot date & stringbool 2014-11-04 16:39:17 +08:00
astaxie
7743eecfd4 support #761
type Test struct {
    Date    time.Time    `form:"Date, 2006-01-02"`
    Save    bool            `form:"Save"`
}
2014-11-04 16:19:46 +08:00
astaxie
c4d8e4a244 fix #759 2014-11-04 15:29:33 +08:00
astaxie
9d4ec508bb parse for github.com replace the . to _ 2014-11-04 10:19:30 +08:00