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

149 Commits

Author SHA1 Message Date
Eyal Post
dfa74faf43 support for multiple view paths 2017-02-07 22:18:33 +02:00
Amine KABAB
8fac2d8d58 Don't rewrite content-type 2016-12-14 17:19:31 +00:00
songtianyi
7af6dad58e typo fix in comments, Getfiles-->GetFiles 2016-12-05 12:49:21 +08:00
Denis Isaev
1effb6ce30 add GetUint(8|16|32|64) to controller 2016-10-02 07:42:06 +00:00
astaxie
86528c7b3c Merge pull request #2030 from saturn4er/feature/add_template_prefix_field
Add template prefix field to controller
2016-08-02 09:54:01 +08:00
saturn4er
0943ef9e74 Add TplPrefix to TplName also. 2016-07-14 11:48:49 +03:00
saturn4er
fee06a23bd Add template prefix field to controller 2016-07-03 14:44:11 +03:00
Leon Chan
df27c96102 fix spell error 2016-04-18 19:37:38 +08:00
JessonChan
8ec6dd93cf make template execution be expected 2016-04-01 18:10:00 +08:00
JessonChan
0859ec570c refactor of error response and fix err code bug 2016-03-17 09:46:34 +08:00
astaxie
65b13eddad Merge pull request #1719 from JessonChan/err_ctrler
multiple response.WriteHeader calls
2016-03-09 19:18:09 +08:00
astaxie
686d2e834e Merge pull request #1765 from saturn4er/fix_layout_rebuild_in_dev
Add layout rebuilding on each request in dev mode
2016-03-09 19:02:46 +08:00
saturn4er
adbae18e8c Fix formatting with gofmt 2016-03-09 10:47:09 +02:00
JessonChan
3dd9020249 Merge remote-tracking branch 'remotes/upstream/develop' into err_ctrler 2016-03-09 15:59:13 +08:00
JessonChan
9a2696d216 accept asta's idea see the talk
https://github.com/astaxie/beego/pull/1719
2016-03-09 15:56:18 +08:00
saturn4er
2c5ef8ccc8 Add layout rebuilding on each request in dev mode 2016-03-07 23:24:52 +02:00
ysqi
920862884d Merge branch 'astaxie/develop' into emptybodyfix
# Conflicts:
#	config.go
2016-03-06 21:19:04 +08:00
JessonChan
f5adec31c6 improve the template reader function 2016-03-04 14:49:16 +08:00
JessonChan
1f46c1d231 add template read lock when dev mode 2016-03-04 12:00:43 +08:00
ysqi
d35c50a8e0 return write body error 2016-02-12 11:36:25 +08:00
astaxie
fa8f6e5a53 session destroy 2016-01-18 16:11:27 +08:00
astaxie
f925bb9058 golint all the files 2016-01-18 00:18:21 +08:00
JessonChan
52083de720 typo fixed
seperator => separator
2016-01-15 14:07:37 +08:00
ysqi
4c0c0ec2a7 TplNames renamed TplName ,fix #1229,Remember modify bee tool. 2016-01-07 16:16:39 +08:00
Vitaly Velikodny
48fd9675ad Refactoring: Move dev & prod runmodes to const 2015-12-29 21:32:37 +03:00
fud
92711e80a3 refactor controller.go 2015-12-21 16:23:31 +08:00
astaxie
29752e2575 refactor router 2015-12-16 23:11:03 +08:00
astaxie
be60f47488 Merge pull request #1455 from nkbai/develop
windows下静态文件映射找不到问题以及 grace init延后
2015-12-09 23:44:45 +08:00
astaxie
d1bba02958 refact beego config 2015-12-09 23:35:04 +08:00
nkbai
f0474214fe GetInt等函数稍微简化一下,这样看上去更合理一些 2015-11-25 23:39:26 +08:00
Mikhail Devyatov
5d18a7466c XSRFFormHtml() should also generate XSRF token. 2015-10-27 20:16:47 +03:00
astaxie
172894efe8 golint session 2015-09-12 22:53:55 +08:00
astaxie
ff5b09fc19 golint context 2015-09-10 15:31:09 +08:00
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
wulove
877b5c233e 增加编译模版函数BuildTemplate可变参数,使之支持单个或多个模版的编译,同时针对开发模式,每个请求只编译当前请求相关模版
增加编译模版函数BuildTemplate可变参数,使之支持单个或多个模版的编译,同时针对开发模式,每个请求只编译当前请求相关模版,不再每次请求都编译全部模版
2015-08-06 10:09:34 +08:00
astaxie
f7f390dfec fix #1221 2015-06-16 14:53:38 +08:00
astaxie
c143a6ec19 fix #1090 add Getfiles to support mulit file upload 2015-06-13 16:20:26 +08:00
astaxie
c4c9a50c42 fix #1081 2015-05-25 09:10:35 +08:00
astaxie
e938876c4a fix the cycle import 2015-02-27 00:12:10 +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
Jianbo Feng
d2c5daa5ee Update comments for controller's GetXXX functions 2014-12-19 15:28:18 +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
Michael Hatch
4d65330ca1 changing my package namespace to astaxie 2014-09-03 19:47:09 -05:00
Michael Hatch
db51ddab96 GetInt(), GetInt8(), GetInt16(), GetInt32(), GetInt64() and Example tests 2014-08-23 20:24:29 -05:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
436edda926 Merge branch 'master' into develop 2014-08-13 20:39:14 +08:00
smallfish
20463fa725 Add CustomAbort() for Controller, support status code and body 2014-08-13 17:26:22 +08:00
astaxie
ee9749d640 beego:fix #685
move XsrfToken& CheckXsrfCookie to context
2014-07-24 23:12:21 +08:00