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
74778bb9d4
Merge pull request #1900 from redfoxli/patch-1
...
close socket when http client request over
2016-08-02 10:01:53 +08:00
astaxie
7b542e612f
Merge pull request #1964 from qAison/master
...
fix fk field null value
2016-08-02 10:00:24 +08:00
astaxie
3ca68f9e30
Merge pull request #1976 from ysqi/develop
...
Fxied bug and Optimized code
2016-08-02 09:58:58 +08:00
astaxie
1a52a34544
Merge pull request #2003 from GuyCheung/develop
...
add os.Chmod when create log file
2016-08-02 09:57:51 +08: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
astaxie
ce6d673933
Merge pull request #2045 from Maxgis/master
...
avoid error when the callback function not exisit
2016-08-02 09:50:52 +08:00
astaxie
c2aeab78aa
Merge pull request #2053 from fudali113/develop
...
orm insert or update
2016-08-02 09:40:43 +08:00
astaxie
0cad8207ec
Merge pull request #2071 from Maxgis/issue_accept_encoding
...
route variables should not have underline
2016-08-01 14:28:25 +08:00
maxin
6f0a985755
update test
2016-07-30 23:14:29 +08:00
maxin
15c048d6ca
update test
2016-07-30 22:07:35 +08:00
maxin
d5c339530a
remove debug
2016-07-30 22:05:59 +08:00
maxin
b89bfe76d0
update route variables should not have underline
2016-07-30 21:57:23 +08:00
astaxie
125030800b
Merge pull request #1997 from amrfaissal/newfeature-enhanced-logs
...
Enhanced logging during DEV mode
2016-07-29 21:37:22 +08:00
astaxie
e4fe54f6cd
Merge pull request #2067 from Maxgis/issue_accept_encoding
...
reflection
2016-07-29 09:59:59 +08:00
Faissal Elamraoui
d85293b7c0
Fixed bug and added more tests
2016-07-28 11:37:28 +02:00
Maxgis
5d1e60b468
reflection
2016-07-28 11:56:55 +08:00
Faissal Elamraoui
2b867f8152
Removed external dependency
2016-07-27 17:42:28 +02:00
astaxie
909afa9352
Merge pull request #2065 from Maxgis/issue_accept_encoding
...
remove not support encoding
2016-07-27 14:13:13 +08:00
astaxie
d08e3d1b11
Merge pull request #2064 from Maxgis/feature_static
...
redirect path should add query params
2016-07-27 12:55:21 +08:00
Maxgis
5485e1334f
remove not support encoding
2016-07-27 09:31:53 +08:00
Maxgis
4b3ed53158
redirect should add query params
2016-07-26 19:54:10 +08:00
“fudali113”
cacf6cde19
update db.go
2016-07-26 14:27:22 +08:00
“fudali113”
4e10100575
update orm_test
2016-07-26 12:44:16 +08:00
“fudali113”
f471ee9025
update orm_test
2016-07-26 12:19:06 +08:00
“fudali113”
182a21172f
Optimize the code logic
2016-07-26 11:15:59 +08:00
astaxie
02330c6085
Merge pull request #2062 from Maxgis/feature_static
...
减少没有必要的代码以及静态前缀前面有/
2016-07-25 22:19:38 +08:00
Maxgis
e951c555e4
Merge branch 'astaxie-develop' into feature_static
2016-07-24 18:01:49 +08:00
Maxgis
6a4ebc67ac
merge
2016-07-24 18:01:19 +08:00
Maxgis
33ef34b95d
减少没有必要的代码以及静态前缀前面有/
2016-07-24 15:29:34 +08:00
“fudali113”
bf17558d06
update “modification hardcode 2
2016-07-22 12:25:30 +08:00
“fudali113”
e0e888ab8f
update “modification hardcode
2016-07-22 12:10:37 +08:00
“fudali113”
3583ad8cc0
update annotation
2016-07-21 15:49:55 +08:00
“fudali113”
e2316c4b9e
update
2016-07-20 17:28:26 +08:00
“fudali113”
6d1b203bca
update
2016-07-20 16:52:14 +08:00
“fudali113”
50c5df32b1
update
2016-07-20 16:26:02 +08:00
“fudali113”
530c32017c
update
2016-07-20 15:33:30 +08:00
“fudali113”
ec521ad166
update
2016-07-20 15:13:18 +08:00
“fudali113”
4b8ecced83
orm insert or update
2016-07-20 14:37:05 +08:00
astaxie
d11823548b
Merge pull request #2050 from simpleton/bug/original_scheme
...
fix(context): retrieve scheme from X-Forwarded-Proto when it isn't none
2016-07-19 11:13:14 +08:00
simsun
ee26279311
fix(context): retrieve scheme from X-Forwarded-Proto when it isn't none
2016-07-19 00:36:51 +08:00
maxin[马鑫]
8099a81b7a
avoid error when the callback function not exisit
2016-07-15 19:13:35 +08:00
saturn4er
0943ef9e74
Add TplPrefix to TplName also.
2016-07-14 11:48:49 +03:00
astaxie
a2e63a3820
Merge pull request #1993 from NerdsvilleCEO/develop
...
Add meta fields with required flag on RenderForm
2016-07-14 10:47:21 +08:00
astaxie
a08e937cf0
Merge pull request #2032 from ShevYan/make-go-vet-pass
...
use keyed fields to pass go vet
2016-07-14 10:38:05 +08:00
shev_yan
9ab5f6d808
use keyed fields to pass go vet
2016-07-06 12:53:47 +08:00
saturn4er
fee06a23bd
Add template prefix field to controller
2016-07-03 14:44:11 +03:00
Joshua Santos
e0393b721c
Change meta to required, and refactor a bit to cover edge cases
2016-06-30 10:32:53 -07:00
Joshua Santos
84b6bef7d0
Required field useful for not only input
2016-06-28 16:39:09 -07:00
Joshua Santos
8917fe44a9
Add test functions
2016-06-28 16:31:45 -07:00