Commit Graph

1207 Commits

Author SHA1 Message Date
Javier Provecho Fernandez
713c3697f4 Add instructions for pulling latest changes 2017-01-01 11:54:37 +01:00
Bo-Yi Wu
df2e95cc78 Merge pull request #775 from gin-gonic/upload
Support upload single or multiple files.
2016-12-27 19:26:54 +08:00
Bo-Yi Wu
5cc3d5955f Support upload single or multiple files.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-24 12:25:01 +08:00
Bo-Yi Wu
93e36404a1 Improve document for #742
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-23 09:12:13 +08:00
Bo-Yi Wu
4f439b39f5 Merge pull request #770 from gin-gonic/console
Support disable console color
2016-12-21 14:48:23 +08:00
Bo-Yi Wu
d158ef2e82 Support disable console color.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-21 14:41:47 +08:00
Bo-Yi Wu
e06cef0672 Merge pull request #756 from gin-gonic/756-update-vendor-system
Fix #731
2016-12-17 00:02:31 +08:00
Bo-Yi Wu
787bff85e5 fix testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-11 10:14:23 +08:00
chriswhelix
97d310b55c Honor normal gin write contract for context.JSON()
Gin normally silently swallows errors writing to the client; however in WriteJSON (and thus context.JSON), the ResponseWriter was being passed directly into the JSON encoder, which will return an error if there's an error writing to the stream. For instance, context.JSON would panic with errors like "write tcp XXX-> YYY: write: connection reset by peer" if the client disconnected before the response was complete. This change makes JSON.Render() treat write errors the same as IndentedJSON, Data, and other renderers.
2016-12-11 10:14:23 +08:00
Javier Provecho Fernandez
abcbfb5d68 Update .travis.yml 2016-12-07 00:26:09 +01:00
Javier Provecho Fernandez
44529e4a34 Update vendor.json 2016-12-07 00:25:57 +01:00
Javier Provecho Fernandez
2cab17ba50 Merge pull request #701 from maxatome/patch-1
Context.Get() does not need to test whether Keys is nil or not
2016-12-06 20:39:01 +01:00
Javier Provecho Fernandez
2033b73551 Migrate from godeps to govendor 2016-12-06 19:53:58 +01:00
Bo-Yi Wu
764e138e32 Merge pull request #755 from gin-gonic/755-app-engine-client-ip
Fix #723
2016-12-06 08:14:11 -06:00
Javier Provecho Fernandez
98af44604c Update const framework version to 1.1.4 2016-12-06 14:38:14 +01:00
Javier Provecho Fernandez
7e58c80a7c Fix #723 2016-12-06 14:28:01 +01:00
Tevin Jeffrey
c8b35d3445 Fix for #630
Details can be found in issue #630
2016-12-05 03:58:31 -06:00
Javier Provecho Fernandez
273e43a27a Merge pull request #724 from chiffa-org/redundant_context_import
Move golang.org/x/net/context.Context interface implementation check to tests
2016-12-05 10:55:06 +01:00
Javier Provecho Fernandez
2ee06db79a Merge pull request #627 from liudanking/develop
Fix log color reset
2016-12-05 10:49:16 +01:00
Javier Provecho Fernandez
c9954730ea Merge pull request #637 from tatsuyafw/remove-obsolete-func
Remove an obsolete func in README
2016-12-05 10:47:24 +01:00
Bo-Yi Wu
e1efd4fce1 Merge pull request #707 from yehezkielbs/develop
Make CreateTestContext public without importing net/http/httptest
2016-12-05 16:48:30 +08:00
Javier Provecho Fernandez
e2212d40c6 v1.1.4
# Conflicts:
#	logger.go
2016-12-04 23:13:08 +01:00
Bo-Yi Wu
18392f589f Merge pull request #754 from gin-gonic/patch-13
Support google appengine for IsTerminal func.
2016-12-04 18:44:33 +08:00
Bo-Yi Wu
83e2ea2e6b testing on go latest version.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-04 09:56:14 +08:00
Bo-Yi Wu
38e4b1d2fe Support google appengine for IsTerminal func.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-04 09:50:02 +08:00
Javier Provecho Fernandez
0f80d5ddea Merge remote-tracking branch 'origin/bug' into develop 2016-12-03 22:12:40 +01:00
Javier Provecho Fernandez
fabe3df785 Revert "Revert "Merge pull request #744 from aviddiviner/logger-fix""
This reverts commit 19f271c86b.
2016-12-03 22:11:24 +01:00
Javier Provecho Fernandez
041ca04a47 Revert "Merge pull request #744 from aviddiviner/logger-fix"
This reverts commit c3bfd69303, reversing
changes made to 9177f01c28.
2016-12-03 22:10:08 +01:00
Javier Provecho Fernandez
7dc96be477 v1.1.2 2016-12-03 22:05:02 +01:00
Javier Provecho Fernandez
63b5d1c4c8 Revert "Merge pull request #753 from gin-gonic/bug"
This reverts commit 556287ff08, reversing
changes made to 32cab500ec.
2016-12-03 22:04:35 +01:00
Javier Provecho Fernandez
19f271c86b Revert "Merge pull request #744 from aviddiviner/logger-fix"
This reverts commit c3bfd69303, reversing
changes made to 9177f01c28.
2016-12-03 22:03:39 +01:00
Javier Provecho Fernandez
556287ff08 Merge pull request #753 from gin-gonic/bug
fix #752 ignore appengine os.
2016-12-03 18:45:30 +01:00
Bo-Yi Wu
b26d956e07 fix #752 ignore appengine os.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-04 00:30:59 +08:00
Javier Provecho Fernandez
32cab500ec v1.1 (#751)
* Implement QueryArray and PostArray methods

* Refactor GetQuery and GetPostForm

* Removed additional Iota

I think assigning iota to each constant is not required

* Add 1.7 test.

* Add codecov.io

* corrected a typo in README

* remove coveralls services.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* Update TravisCI to Gitter webhook

* Add codecov.yml Gitter webhook

* Changed imports to gopkg instead of github in README (#733)

* Add contribution guide

* Update go get for stable version

In the future, github default branch will be develop so running `go get github.com/gin-gonic/gin` will pull latest code from develop.

* Changed imports to gopkg instead of github in README

* Update README.md

* Logger: skip ANSI color commands if output is not a tty
2016-12-03 10:10:40 +01:00
Bo-Yi Wu
6f474cb42d Merge pull request #570 from andreynering/array
Implement QueryArray and PostFormArray methods
2016-12-03 08:12:19 +08:00
Bo-Yi Wu
c3bfd69303 Merge pull request #744 from aviddiviner/logger-fix
Logger: skip ANSI color commands if output is not a tty
2016-12-01 06:20:24 +08:00
David Irvine
70ada0c7b6 Logger: skip ANSI color commands if output is not a tty 2016-11-18 06:40:48 -05:00
Pablo Moncada
9177f01c28 Changed imports to gopkg instead of github in README (#733)
* Add contribution guide

* Update go get for stable version

In the future, github default branch will be develop so running `go get github.com/gin-gonic/gin` will pull latest code from develop.

* Changed imports to gopkg instead of github in README

* Update README.md
2016-11-08 18:38:28 +01:00
Javier Provecho Fernandez
bb159f9260 Merge pull request #734 from pmoncadaisla/change-travis
Added go 1.7 version to travis.yml
2016-11-08 18:37:21 +01:00
Pablo Moncada
e396f2f357 Added go 1.7 version to travis.yml 2016-11-08 18:25:23 +01:00
Javier Provecho Fernandez
3ad4c714a7 Add codecov.yml Gitter webhook 2016-10-28 21:41:18 +02:00
Javier Provecho Fernandez
9d9fd08859 Update TravisCI to Gitter webhook 2016-10-28 21:31:58 +02:00
Javier Provecho Fernandez
233cd41822 Merge pull request #728 from gin-gonic/coveralls
Remove Coveralls
2016-10-28 21:29:00 +02:00
Bo-Yi Wu
504b119742 remove coveralls services.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-28 23:18:24 +08:00
Bo-Yi Wu
e435c347b1 Merge pull request #727 from mehdy/develop
corrected a typo in README
2016-10-28 22:28:13 +08:00
mehdy
5c3c9c4f8c corrected a typo in README 2016-10-28 17:32:10 +03:30
Vyacheslav Dubinin
ceb250ba20 Move golang.org/x/net/context.Context interface implementation check to tests 2016-10-19 17:13:38 +03:00
Javier Provecho Fernandez
eadf4da8f6 Add codecov.io 2016-10-19 11:22:08 +02:00
Javier Provecho Fernandez
3900df04d2 Update go get for stable version
In the future, github default branch will be develop so running `go get github.com/gin-gonic/gin` will pull latest code from develop.
2016-10-12 16:51:06 +02:00
Javier Provecho Fernandez
f90cc43045 Add contribution guide 2016-10-12 16:42:56 +02:00