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

1073 Commits

Author SHA1 Message Date
Vishal Rana
4d8557c491 Update README.md 2016-07-14 09:35:56 -07:00
Vishal Rana
98d744b8fb Fixed #597 (#598)
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-13 16:55:46 -07:00
Vishal Rana
451b2ccc9f Exposed error handlers
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-05 08:43:46 -07:00
Przemek Komosa
a8b48af608 Read JWT from cookie
Note: writing token to cookie is out of scope of this middleware
(exactly as in other reading methods).
2016-07-02 11:26:05 +02:00
Przemek Komosa
ae09482493 Add HandleEmptyToken to JWT middleware
Now it is possible to add custom handler for missing JWT.
2016-07-02 00:55:11 +02:00
Przemek Komosa
bb6baa2088 Add JWT tests for _query_ method 2016-07-02 00:28:56 +02:00
Przemek Komosa
4b6811e0cf Refactor JWT tests to table based
Now state isn't shared.
2016-07-02 00:28:56 +02:00
Vishal Rana
c00d017178 Fixed #587
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-29 12:14:28 -07:00
Vishal Rana
d119b3bbfa Fixed #584
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-28 17:38:12 -07:00
Vishal Rana
08e08a00ea Update README.md 2016-06-25 18:33:03 -07:00
Oleg Lobanov
08f7147508 Fixed #574
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-23 19:49:01 -07:00
Oleg Lobanov
647c0b4ec6 fix panic in form binding. #577 (#579) 2016-06-23 07:40:14 -07:00
Vishal Rana
fa80ead5e2 Closes #576
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-21 14:50:57 -07:00
Vishal Rana
fbcdf70c52 Update JWT lib to v3
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-16 14:40:43 -07:00
Vishal Rana
2fab27a378 Refactor tls config
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-16 14:25:32 -07:00
Russ Egan
2eb5d97b19 Fix issue with middleware from one route leaking into the middleware of other routes
Fixed #565

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-16 07:29:25 -07:00
Vishal Rana
1ca76e5e88 Using read/write timeout in server config
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-15 18:05:48 -07:00
Marcin Tojek
6e183fd3d8 Add info about third-party middleware echopprof (#557) 2016-06-12 10:49:03 -07:00
Vishal Rana
77b3e703be Updated gommon/log
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-11 08:13:49 -07:00
Marcin Tojek
98f86dfc17 Fix missing multiple params #555 (#558) 2016-06-09 10:20:02 -07:00
Vishal Rana
a004403b11 Fixed broken build
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-09 09:08:29 -07:00
Vishal Rana
aea64ed5e5 Fixed #556
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-09 08:41:50 -07:00
Vishal Rana
f4088cf594 Added JSON logging
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-08 17:16:03 -07:00
Vishal Rana
6783909459 Update README.md 2016-06-08 08:08:48 -07:00
Vishal Rana
aeee1d87d0 Updated readme
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-07 20:24:24 -07:00
Vishal Rana
f96f40b5e6 More coverage on engine/...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-07 17:08:13 -07:00
Vishal Rana
c654c422c4 More coverage and better response adapter for standard/response
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-06 22:27:36 -07:00
Alexander Menzhinsky
8fbe719636 Add tests for fasthttp engine (#550) 2016-06-06 19:23:59 -07:00
Vishal Rana
a0bc02815f Fixed #551 2016-06-06 16:56:09 -07:00
Vishal Rana
4e98fa9664 Fixed #500
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-06 09:47:22 -07:00
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