Commit Graph

399 Commits

Author SHA1 Message Date
Evgeny Persienko f145e435c7 Add validating sub structures 2015-02-20 11:46:24 +06:00
Javier Provecho Fernandez 7139ded297 Merge pull request #221 from rogierlommers/patch-1
Update README.md
2015-02-15 23:03:02 +01:00
Javier Provecho Fernandez 5f68948ab0 Merge pull request #220 from ironiridis/patch-1
Remove reference to Martini from recovery.go
2015-02-15 23:00:18 +01:00
Rogier Lommers 61ef0bea4a Update README.md 2015-02-15 14:04:44 +01:00
Christopher Harrington 6bd27d0238 Remove reference to Martini from recovery.go 2015-02-14 21:55:39 -06:00
Javier Provecho Fernandez 6d4aa27983 Merge pull request #218 from 858806258/develop
Fix typo
2015-02-12 23:37:56 +01:00
杰哥 d806d7a600 wrong spell
change similate to simulate
2015-02-12 14:29:11 +08:00
Javier Provecho Fernandez 66b6eecec6 Merge pull request #215 from el3ctro-/develop
Fix typo in README.md
2015-02-10 09:48:01 +01:00
Javier Provecho Fernandez fb58dc7491 Merge pull request #214 from rns/patch-1
Fix typo in README.md
2015-02-10 09:46:58 +01:00
Javier Provecho Fernandez 5ec3b6eda1 Merge pull request #213 from techjanitor/develop
Add localhost to reservedIps in context.go
2015-02-10 09:44:37 +01:00
Javier Provecho Fernandez db5d1b8ae7 Merge pull request #212 from rayrod2030/fix-readme-example
Fix typo in form/parameters README.md example
2015-02-10 09:42:53 +01:00
Ethan Kan 70f280f880 Added support for unsigned integers in binding parameters of form posts. Also changed parsing of integer fields to take into account the size of the fields. 2015-02-09 15:13:05 -08:00
Joshua Loper 63503bf682 Fixes a minor typo, changes 'Listen and server on 0.0.0.0:8080' to 'Listen and serve on 0.0.0.0:8080' 2015-02-08 14:43:41 -06:00
rns d852d334f4 Update README.md
typo fix
2015-02-08 21:50:44 +02:00
techjanitor a900e7888c Update context.go
Add localhost to proxies
2015-02-07 22:44:53 -06:00
Ray Rodriguez 0b80e09204 Fixing typo in Form parameters example 2015-02-07 23:07:06 -05:00
Javier Provecho Fernandez b1758d3bfa Merge branch 'master' into develop 2015-02-07 15:04:24 +01:00
Javier Provecho Fernandez 5dad47bca2 Merge pull request #188 from gin-gonic/fix-binding
Fix unexported field detection
2015-02-07 14:38:40 +01:00
Javier Provecho Fernandez a5ec533a6a Merge pull request #200 from joiggama/feature/content-type-charset
Specify utf-8 as default on content type charset headers on renderers
2015-02-07 14:38:21 +01:00
Javier Provecho Fernandez bdf54b7fa2 Merge branch 'superalsrk-develop' into develop 2015-02-07 14:32:16 +01:00
Javier Provecho Fernandez 171efe228d Merge branch 'develop' of git://github.com/superalsrk/gin into superalsrk-develop
Conflicts:
	Godeps/Godeps.json
2015-02-07 14:29:37 +01:00
Javier Provecho Fernandez ed77f7b8fe Merge pull request #209 from RobAWilkinson/develop
Add forms and params example to README.md
2015-02-07 14:24:32 +01:00
Robert Wilkinson 651305c0f5 Update README.md 2015-02-06 09:14:12 -08:00
Javier Provecho Fernandez 3fbac59e58 Merge pull request #207 from achedeuzot/develop
Minor newline fix
2015-02-05 17:16:59 +01:00
Klemen Sever 44f024a413 Fixd newline problem with debugPrint in Run* functions 2015-02-05 15:24:22 +01:00
Javier Provecho Fernandez 713068594c Update README.md
- Reorganize roadmap for v1.0, done in the bottom, to do at top.
- Added request for #155, swagger support.
2015-02-04 23:00:51 +01:00
Javier Provecho Fernandez 5cfe2c56dd Merge branch 'develop' | Update AUTHORS and CHANGELOG 2015-02-04 14:37:21 +01:00
Javier Provecho Fernandez d936320e0e Sync master into develop
- Add 265faff4ba
- Update "github.com/julienschmidt/httprouter" version in Godeps
- Add 28b9ff9e34
2015-02-04 12:56:19 +01:00
SRK.Lyu d2c3699957 Update httprouter version and edit readme about the named parameters 2015-01-31 20:09:44 +08:00
Ignacio Galindo b69dde8e68 Specify utf-8 as content type charset on renderers 2015-01-29 20:14:13 -06:00
Javier Provecho Fernandez 2d1291329a Fix #191 outdated documentation 2015-01-05 16:15:42 +01:00
Javier Provecho Fernandez 413d0f2296 Fix TestRouteNotOK2 with HTTP 405 2015-01-04 02:28:37 +01:00
Javier Provecho Fernandez 7aa51dc393 Solve #164 2015-01-04 02:23:49 +01:00
Javier Provecho Fernandez 8622148fd0 Merge branch 'jamie-stackhouse-add_unlink' into develop 2015-01-04 02:00:25 +01:00
Javier Provecho Fernandez d9d83deb25 Apply gofmt to PR #179 2015-01-04 02:00:19 +01:00
Javier Provecho Fernandez ad4d82c65c Merge branch 'add_unlink' of git://github.com/jamie-stackhouse/gin into jamie-stackhouse-add_unlink 2015-01-04 01:58:34 +01:00
Javier Provecho Fernandez 852729e90c Fix PR #71 2015-01-04 01:51:41 +01:00
Javier Provecho Fernandez 869f114e27 Merge pull request #71 from mopemope/pluggable-renderer-example
Add Pluggable View Renderer Example
2015-01-04 01:38:27 +01:00
Javier Provecho Fernandez c2185a129a Fix some examples in README.md 2015-01-01 17:19:50 +01:00
Javier Provecho Fernandez 6d92063b99 Fix unexported field detection 2015-01-01 16:22:02 +01:00
Javier Provecho Fernandez 28b9ff9e34 Merge pull request #101 from slimmy/validate
return messages for required bindings
2014-12-29 13:43:09 +01:00
Javier Provecho Fernandez c8dedf7f39 Merge pull request #168 from dutchcoders/develop
Updated to use SetHTMLTemplate()
2014-12-29 13:03:03 +01:00
Javier Provecho Fernandez e5450a70e9 Migrate to travis new container builds 2014-12-29 12:49:59 +01:00
Javier Provecho Fernandez 265faff4ba Merge pull request #46 from dickeyxxx/readme/not-found
added example on using ServeFiles
2014-12-29 12:38:34 +01:00
Javier Provecho Fernandez 220f8bacf4 Merge pull request #80 from andredublin/community
spelling
2014-12-29 12:32:58 +01:00
Javier Provecho Fernandez 474eed41c2 Merge pull request #142 from JasonSoft/develop
fix typo in comment
2014-12-29 12:32:25 +01:00
Javier Provecho Fernandez 0099840c98 Merge pull request #182 from dutchcoders/forwarded-for-fix
Fixed issue allowing to spoof ClientIP()
2014-12-29 12:31:16 +01:00
Javier Provecho Fernandez 613d17fd3d Merge pull request #144 from javierprovecho/develop
Add attribution from httprouter
2014-12-29 12:25:50 +01:00
Remco e4f6e053d0 Fixed issue allowing to spoof ClientIP()
The X-Forwared-For can be used to spoof the real client ip. The middleware
introduced in this patch (which should only be used when having servers
in front of this servers) will filter all defined proxies (or local ip
addresses by default) and replace the RemoteAddr with the real client
ip.
2014-12-21 13:42:48 +01:00
Jamie Stackhouse a48f83c9a1 Adding helper functions to router group for LINK and UNLINK. 2014-12-15 13:19:51 -04:00