1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-22 20:06:21 +02:00
Commit Graph

833 Commits

Author SHA1 Message Date
Vishal Rana
8fc833b4d5 Update README.md 2016-07-27 11:20:09 -07:00
Vishal Rana
27f9b326b8 Ability to skip a middleware via callback
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-27 09:34:44 -07:00
Vishal Rana
eb48e7de60 Revert "fixed #604"
This reverts commit 69e8c1e717.
2016-07-27 09:11:34 -07:00
Vishal Rana
b23e7c090a Revert "Revert "closes #605", closes #606"
This reverts commit a75cbc85f8.
2016-07-27 09:11:18 -07:00
Vishal Rana
a75cbc85f8 Revert "closes #605", closes #606
This reverts commit eed456ee87.
2016-07-27 09:04:41 -07:00
Vishal Rana
eed456ee87 closes #605
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-26 10:06:14 -07:00
Vishal Rana
69e8c1e717 fixed #604
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-26 09:58:21 -07:00
Vishal Rana
579cb79a41 Using random string from gommon
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-18 23:24:50 -07:00
Vishal Rana
0dab439ea4 Fixed #600
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-16 20:13:27 -07:00
Vishal Rana
c1358eda73 Generate CSRF token only if it is expired (#601)
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-16 10:22:24 -07:00
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