1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-09 01:20:54 +00:00
Commit Graph

167 Commits

Author SHA1 Message Date
Waleed Gadelkareem
8995b291a9 Make LogAccess public 2019-02-14 16:30:25 +01:00
JessonChan
0d54bbff02 make staticcheck happy 2019-01-22 19:09:57 +08:00
astaxie
24885c28f2 fix the comments update 2018-11-09 17:54:20 +08:00
astaxie
833f54d818
Merge pull request #3319 from Colstuwjx/annotated-filter
Annotated filter
2018-10-23 13:45:18 +08:00
Colstuwjx
1cbba4d56f Add annotated filter, support @Import, @Filter.
Signed-off-by: Colstuwjx <Colstuwjx@gmail.com>
2018-09-07 15:59:57 +08:00
Ruben Cid
5c407ff2e3 Add map shortcut and ServeFormatted method in output 2018-08-20 22:55:50 +02:00
Ilya Danilkin
1a3dcb4f84
Remove panic from Redirect()
This `panic(ErrAbort)` is unnecessary in `Redirect` function and causes problems in the production code.
2018-08-12 05:11:03 +03:00
Ruben Cid
38f9a3c49e AutoCert 2018-07-20 18:53:57 +02:00
astaxie
5ba9e63086
Merge branch 'develop' into feature/YAML 2018-07-20 23:24:51 +08:00
astaxie
2c779a4287
Merge pull request #3141 from gadelkareem/patch-2
Improve access log
2018-07-20 15:20:15 +08:00
Ruben Cid
45b68d444d Add method to set the data depending on the accepted 2018-06-01 19:11:01 +02:00
Ruben Cid
7c80bf6f9d Add YAML 2018-05-30 16:06:40 +02:00
Waleed Gadelkareem
896c258e44 Log redirects and abort after redirect 2018-04-30 17:48:01 +02:00
astaxie
4fc95b0d69 gofmt and golint 2017-07-19 00:52:27 +08:00
shanfeng.yang
fc86f6422d sort ControllerComments 2017-07-15 17:26:20 +08:00
eyalpost
cbd831042a move under context 2017-04-25 18:39:42 +03:00
eyalpost
9aedb4d05a phase #1 2017-04-21 15:26:41 +03:00
Sergey Lanzman
37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
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