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

279 Commits

Author SHA1 Message Date
Eyal Post
828cbbdf5d Refactor a bit to consolidate packages 2017-05-17 20:38:59 +03:00
Eyal Post
1b8f05cef1 golint fixes 2017-04-30 19:28:26 +03:00
eyalpost
cbd831042a move under context 2017-04-25 18:39:42 +03:00
eyalpost
9b79437778 all types working + controller comments generation 2017-04-25 16:00:49 +03:00
eyalpost
3b29a9c12a Merge remote-tracking branch 'upstream/develop' into develop 2017-04-24 18:23:58 +03:00
astaxie
41aac79ac0 Merge pull request #2590 from amrfaissal/fix-2587
Fix warnings raised by gometalinter and gosimple
2017-04-24 21:14:00 +08:00
astaxie
52f916a28a support Go1.8 default GOPATH 2017-04-24 21:10:03 +08:00
Eyal Post
19f4a6ac0b slice support 2017-04-23 21:37:09 +03:00
Faissal Elamraoui
bf6bd6b292 Fixes #2587
Fixes warnings and errors raised by gometalinter and gosimple.
2017-04-23 19:19:05 +02:00
eyalpost
9aedb4d05a phase #1 2017-04-21 15:26:41 +03:00
awengo
8a2b697625 Add http methods 2017-02-10 17:45:47 +09:00
astaxie
90999717dd Merge branch 'develop' 2016-12-05 23:14:26 +08:00
Maxim Sukharev
683e6856ef Add RouterPattern to context.Input
Right now beego adds this param only in dev mode, but I noticed that it's very useful to have in prod environment to.
My current use case - filter that sends logs in newrelic. Pattern there will help a lot to generate correct transaction name.
2016-10-28 10:44:16 +07:00
olegdemchenko
0be05eb47c policies implementation 2016-09-28 21:21:07 +03:00
astaxie
868e14b8ba fix #2017 2016-09-15 20:04:45 +08:00
astaxie
421bf97b84 Support custome recover func fix #2004 2016-09-15 12:16:24 +08:00
astaxie
2b7dd85b92 access log add client request ip 2016-09-15 10:58:46 +08:00
astaxie
dd0f05b1f1 fix the method color 2016-09-11 22:00:14 +08:00
astaxie
7760d24761 fix the typo 2016-08-17 23:52:34 +08:00
dan pittman
0e786fa4af
adds ability to reset params after a filter runs
When a filter is run _after_ the router completes, it's input params,
such as `":splat"` will have been overwritten by the filter's router pass.
This commit adds the ability to tell the router to revert to the previous input
params after running a filter.
2016-08-07 07:44:30 -07:00
astaxie
3ca68f9e30 Merge pull request #1976 from ysqi/develop
Fxied bug and Optimized code
2016-08-02 09:58:58 +08:00
Faissal Elamraoui
479dfdbd40 added support for Windows terminals 2016-06-24 15:38:18 +02:00
Faissal Elamraoui
2bd743fcff Enhanced logging during DEV mode 2016-06-17 15:56:52 +02:00
ysqi
2c1cea08dd New func to find router info for context 2016-06-05 14:03:20 +08:00
ysqi
b807362c39 Reset 2016-06-01 20:33:10 +08:00
ysqi
d9b05e6b3f Print complete URL after running 2016-06-01 20:18:11 +08:00
JessonChan
98dfecfd8a change beego log function to logs function 2016-03-24 17:39:29 +08:00
astaxie
6c0979c314 Merge pull request #1805 from JessonChan/abort_panic_bug
Abort panic bug
2016-03-23 10:22:32 +08:00
JessonChan
0859ec570c refactor of error response and fix err code bug 2016-03-17 09:46:34 +08:00
JessonChan
94599013fc url to lower case 2016-03-16 07:53:36 +08:00
JessonChan
565c4a4d59 make the code run more fast 2016-03-15 18:50:18 +08:00
JessonChan
34615ee8fc add router filter enable flag 2016-03-15 18:37:54 +08:00
JessonChan
c51bc86d3f goto bug fixed 2016-03-15 16:51:21 +08:00
JessonChan
8660a54fac make router fast 2016-03-15 11:49:23 +08:00
astaxie
c8bbfb75f0 Merge pull request #1782 from JessonChan/some_wip
BeeLogger can be the writer of  http server's log
2016-03-14 14:47:29 +08:00
astaxie
d90195061f fix #1783 2016-03-13 11:16:19 +08:00
JessonChan
9872041f12 timeDur is used only when need 2016-03-11 14:14:58 +08:00
JessonChan
8c37e76503 the net/http should set header first,the set http status code and then write the content 2016-02-24 14:14:16 +08:00
JessonChan
76d69b6e51 prevent auto detect of content-type
https://golang.org/src/net/http/server.go#L1031
2016-02-24 10:34:20 +08:00
nemtsevp
93b04e8a3b Exceptions in controller methods
Exceptions in methods names should be changed according to controller.go
2016-01-21 09:44:17 +03:00
astaxie
23bb36d35c fix the issue #1573 2016-01-18 23:29:56 +08:00
astaxie
fa8f6e5a53 session destroy 2016-01-18 16:11:27 +08:00
youngsterxyf
ac3b013de7 DRY 2016-01-18 15:17:42 +08:00
astaxie
f925bb9058 golint all the files 2016-01-18 00:18:21 +08:00
astaxie
6660720ce6 update some config name 2016-01-12 21:55:02 +08:00
astaxie
73168d2f7d Merge pull request #1527 from JessonChan/develop
reuse compress writer
2016-01-04 14:36:40 +08:00
JessonChan
fd2ded190b EnableGzip bug fixed 2016-01-04 09:27:58 +08:00
astaxie
6585e66f97 all the browser should support delete and put now 2016-01-03 20:36:16 +08:00
JessonChan
3ebf275157 fixed camel style name 2016-01-03 15:40:44 +08:00
Vitaly Velikodny
48fd9675ad Refactoring: Move dev & prod runmodes to const 2015-12-29 21:32:37 +03:00