1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-28 08:38:39 +02:00
Commit Graph

743 Commits

Author SHA1 Message Date
Vishal Rana
d0ed5830c4 Test coverage for cookie.go and context.go
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-05 22:25:34 -07:00
Oleg Lobanov
acc91b28f3 Improve test coverage (#544)
* Improve test coverage

* add engine package to coverage profile
2016-06-05 16:17:01 -07:00
Vishal Rana
09a2ce60a6 About context #500
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-05 13:47:59 -07:00
Vishal Rana
74c8e254ff Fixed docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-05 10:29:23 -07:00
Vishal Rana
9f23055745 Create ISSUE_TEMPLATE.md 2016-06-04 16:42:29 -07:00
Vishal Rana
02f12767fd Response#Write wites head in case it is not written
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-03 07:56:16 -07:00
Vishal Rana
98a822e8d7 Merge pull request #539 from o1egl/patch1
Query params and router tests fix
2016-06-03 07:22:39 -07:00
Vishal Rana
ad06aee0c1 Merge pull request #543 from olliephillips/master
For consistency, added additional header constant for 'Allow' named '…
2016-06-02 15:25:20 -07:00
Ollie Phillips
c71ecb845c For consistency, added additional header constant for 'Allow' named 'HeaderAllow', which is missing when forming responses to OPTIONS method requests 2016-06-02 21:40:21 +01:00
Oleg Lobanov
40621eddfd fix request scheme 2016-06-01 16:43:17 +04:00
Oleg Lobanov
91d1f199cb fix routes test failure. 2016-06-01 16:35:59 +04:00
Oleg Lobanov
7fee34fade fix getting miltiple query params 2016-06-01 16:33:18 +04:00
Vishal Rana
0d2dac7532 Fixed #536
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-31 20:59:52 -07:00
Vishal Rana
f3ff6a1d10 Merge pull request #535 from ansel1/master
fix index out of bounds if path is empty
2016-05-31 19:19:06 -07:00
Russ Egan
348edc31c6 fix index out of bounds if path is empty 2016-05-31 22:12:14 -04:00
Vishal Rana
a98843b6e5 Logger as interface, fixed #533, fixed #349, fixed #304
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-31 18:29:11 -07:00
Vishal Rana
3e04718bf4 Merge pull request #532 from 0x616E676572/add_cors_method
Add PATCH to default allowed methods
2016-05-31 07:49:48 -07:00
anger
9225ce0f18 Add PATCH to default allowed methods 2016-05-31 15:41:09 +03:00
Vishal Rana
f73681b918 Merge pull request #529 from olliephillips/master
Middleware links to correct URI on echo.labstack.com
2016-05-29 14:19:39 -07:00
Ollie Phillips
4483ad79f2 Middleware links to correct URI on echo.labstack.com 2016-05-29 21:59:16 +01:00
Vishal Rana
23eb4f87db API to define a custom logger
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-29 08:34:44 -07:00
Vishal Rana
e7518f5aca Updated readme
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-28 11:39:03 -07:00
Vishal Rana
dc244c173d Minor fix in jwt and csrf middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-26 19:23:46 -07:00
Vishal Rana
7e52ad4dd5 Changes to jwt and csrf middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-26 14:08:02 -07:00
Vishal Rana
7a66f226f2 Changed website url
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-24 14:51:26 -07:00
Vishal Rana
b8c52b0432 Default config for static middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-23 11:31:25 -07:00
Vishal Rana
08a173b476 Enhanced body-limit middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-23 11:23:15 -07:00
Vishal Rana
96898d5b9b Merge pull request #521 from 0x616E676572/fix-1
Fix endless loop
2016-05-22 16:15:29 -07:00
anger
c55fea6a03 Fix endless loop 2016-05-23 02:05:38 +03:00
Vishal Rana
ecb021f830 HTML5 mode in static middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-22 10:21:19 -07:00
Vishal Rana
c24f06e7cb Fixed #520
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-22 08:45:36 -07:00
Vishal Rana
702e6d0967 Closes #517, closes #518
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-22 07:58:21 -07:00
Vishal Rana
795ab0ad77 Error handler now printing error messages
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-19 08:30:20 -07:00
Vishal Rana
c6b32d5541 Added json tags to middleware config
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-18 18:53:54 -07:00
Vishal Rana
52a5dcf3cf Update README.md 2016-05-13 18:55:00 -07:00
Vishal Rana
7d1819e5b1 Extractor for csrf token
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-13 08:18:00 -07:00
Vishal Rana
1aa22ce09b Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-12 18:14:00 -07:00
Vishal Rana
98dd8bf9e9 Added CSRF middleware, #341.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-12 17:45:00 -07:00
Vishal Rana
1afaa6ec0b Updated docs, changes to static middleware config
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-10 11:52:04 -07:00
Vishal Rana
799c6cff2a Upgraded gommon
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-10 08:59:55 -07:00
Vishal Rana
c4d6f16fc4 More tags in logger middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-10 07:57:35 -07:00
Vishal Rana
6b55156cb6 Fixed build
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-09 19:19:53 -07:00
Vishal Rana
ef1d00349e Fixed #505
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-09 19:13:02 -07:00
Vishal Rana
e943ed24be JWTAuth to JWT
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-07 07:45:03 -07:00
Vishal Rana
37f05202e8 Added cookie.go
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-06 07:39:41 -07:00
Vishal Rana
986338c805 Update README
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-04 23:33:05 -07:00
Vishal Rana
682a5580b7 Deprecated Echo#GetContext() => Echo#AcquireContext(), Echo#PutContext() => Echo#ReleaseContext()
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-03 17:23:31 -07:00
Vishal Rana
d81956058e Update README with secure middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-03 11:42:42 -07:00
Vishal Rana
6424d779dc Added test for secure middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-03 08:32:28 -07:00
Vishal Rana
392028c8af Merge branch 'coderhaoxin-middleware-secure-header' 2016-05-02 22:41:59 -07:00