Commit Graph

985 Commits

Author SHA1 Message Date
Javier Provecho Fernandez aa934766b4 Fix TestContextRenderSSE-2 in context_test.go 2015-09-25 11:43:07 +02:00
Damon Zhao e1d27558b3 add parameters for set cookie 2015-09-08 15:37:20 +08:00
Damon Zhao 7bf9788326 fix ci 2015-08-27 16:16:16 +08:00
Damon Zhao f5b1fb44bb Add SetCookie and GetCookie method for Context 2015-08-27 16:04:50 +08:00
Philipp Meinen 9fd8aff56e tests: make path assertions aware of vendoring
The path of a package can change in a situation where
dependency vendoring is in use.
This change modifies gin's unit tests to allow such paths.
2015-08-23 00:13:41 +02:00
Javier Provecho Fernandez 02df324cc6 Fix #406, #407 and gofmt all examples 2015-08-17 12:49:28 +02:00
Javier Provecho Fernandez dba1781814 Correct an error in README.md 2015-08-17 12:27:38 +02:00
Manu Mtz-Almeida 39a82ce0b8 ginS -- api experiment 2015-08-16 18:44:18 +02:00
Manu Mtz-Almeida 704d690ac0 Removes debug code in unit tests 2015-08-16 18:39:41 +02:00
Manu Mtz-Almeida e8bc8f48e9 Merge branch 'master' into develop
Conflicts:
	README.md
	gin.go
	routergroup.go
2015-08-16 18:38:13 +02:00
Manu Mtz-Almeida a97c239b7a fixes unit tests 2015-08-16 16:36:47 +02:00
Manu Mtz-Almeida ce2201c392 router.Run() can be called without parameters. #405 2015-08-16 16:19:51 +02:00
Manu Mtz-Almeida 2b3aa51738 Template debugging 2015-08-03 17:28:12 +02:00
Roman Zaynetdinov f13c3ae898 Add option to skip logging specified endpoints 2015-07-22 17:02:36 +03:00
zhing 04917e8307 correct the mime type to x-protobuf 2015-07-18 15:18:01 +08:00
Charles e6cd47a004 Correct the query parameter name. 2015-07-13 10:13:26 +08:00
Manu Mtz-Almeida fd5d4294a5 debugPrintRoutes() unit test 2015-07-12 16:35:15 +02:00
zhing 9d644d22e0 add protobuf binding for gin 2015-07-12 17:42:39 +08:00
Manu Mtz-Almeida 6efa0628ea Testing logo position 2015-07-11 17:59:16 +02:00
Manu Mtz-Almeida df866a26a3 Testing new positions of logo 2015-07-11 17:56:25 +02:00
Manu Mtz-Almeida 4a8a6213a7 Updates README 2015-07-11 17:53:54 +02:00
Manu Mtz.-Almeida cecb1ba3eb Merge pull request #372 from javierprovecho/benchmark-table-markdown
Change old benchmark to Git Flavored Markdown Table
2015-07-11 13:00:35 +02:00
Javier Provecho Fernandez b7bdf59e50 Change old benchmark to Git Flavored Markdown Table 2015-07-11 11:43:35 +02:00
Javier Provecho Fernandez 9bab006776 Add logo.jpg 2015-07-10 21:58:20 +02:00
Manu Mtz-Almeida 0494e1b66a Removes unused underscore 2015-07-10 13:06:01 +02:00
Manu Mtz-Almeida fc5e355724 BasePath is not longer an exported field, but a method instead 2015-07-08 04:27:23 +02:00
Manu Mtz-Almeida 0873992f38 More unit tests for form binding 2015-07-08 04:26:37 +02:00
Manu Mtz.-Almeida 5f56db59be Merge pull request #362 from javierprovecho/fix-middlewares-typo
Fix #252 typo (middlewares -> middleware)
2015-07-05 20:11:59 +02:00
Manu Mtz-Almeida 5f2f8d9cb4 Better documentation 2015-07-05 03:26:30 +02:00
Manu Mtz-Almeida c9272120b4 Adds unit tests for ErrorLogger() 2015-07-04 20:15:15 +02:00
Manu Mtz-Almeida 638377655d Add unit tests for LoadHTML in debug mode 2015-07-04 20:06:40 +02:00
Manu Mtz-Almeida 0e08a109f9 Adds unit tests for Bind() 2015-07-04 19:56:43 +02:00
Manu Mtz-Almeida 179e947425 Updates CHANGELOG 2015-07-04 18:10:03 +02:00
Manu Mtz-Almeida d4dec77afa Adds unit tests for RedirectTrailingSlash & RedirectFixedPath 2015-07-04 14:13:25 +02:00
Manu Mtz.-Almeida 13b88673a2 Merge pull request #363 from error10/patch-1
RedirectTrailingSlash has no effect unless RedirectFixedPath is set
2015-07-04 13:37:42 +02:00
error10 2b8ed80da0 RedirectTrailingSlash has no effect unless RedirectFixedPath is set
Which is not likely the desired behavior.

RedirectTrailingSlash setting is meant to cause a redirect, but the code is never called because the setting wasn't being checked. Instead RedirectFixedPath was being checked.
2015-07-04 00:05:53 -04:00
Javier Provecho Fernandez 7c0c427b2d Fix #252 typo (middlewares -> middleware) 2015-07-03 20:12:01 +02:00
Manu Mtz-Almeida 0316b735c4 More unit tests 2015-07-03 04:20:18 +02:00
Manu Mtz-Almeida 4194adce4c Adds additional bindings for multipart and form 2015-07-03 04:20:00 +02:00
Manu Mtz-Almeida 8f3047814e Comments + IRoutes + IRouter + unexported AbortIndex 2015-07-02 20:24:54 +02:00
Manu Mtz-Almeida 13f57702d4 Adds more c.Next() just to be sure 2015-07-02 18:45:09 +02:00
Manu Mtz-Almeida 16b08c41c9 Merge branch 'fix_is_aborted_method' of https://github.com/adwinsky/gin 2015-07-02 18:42:41 +02:00
Manu Mtz-Almeida a20984c2bc Adds comments 2015-07-02 18:42:33 +02:00
Adam Dratwinski 050a55b006 Use c.Next() instead of c.index++ in UnitTest 2015-07-02 16:37:35 +02:00
Adam Dratwinski 74f5051cb5 Fix IsAborted() method 2015-07-02 13:37:11 +02:00
Donn Pebe c1719f7e20 Use only the ip part of request RemoteAddr 2015-07-02 01:48:21 +07:00
Manu Mtz-Almeida 4cc2de6207 Refactors warning messages 2015-06-26 16:08:55 +02:00
Manu Mtz-Almeida 9268afb15d Cosmetic changes 2015-06-26 16:05:09 +02:00
Manu Mtz-Almeida 9e44079756 RoutesInterface includes Group() 2015-06-26 16:01:35 +02:00
Manu Mtz.-Almeida 88a65eacff Merge pull request #348 from WnP/master
Exporting routesInterface
2015-06-26 15:27:51 +02:00