1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-24 08:22:21 +02:00
Commit Graph

195 Commits

Author SHA1 Message Date
Vishal Rana
2eb87f8036 param wildcard capture fixed to *
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-10 18:36:48 -07:00
Vishal Rana
8623669cbc removed Context#P()
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-10 18:22:13 -07:00
Vishal Rana
2507dc13e9 website and recipe in the main repo
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-01 20:49:22 -07:00
Vishal Rana
ef584add8c Enhanced redirect middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-28 10:26:02 -07:00
Vishal Rana
dd22cf9593 Updated deps
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-25 11:41:08 -07:00
Vishal Rana
1f1b211328 Fixed body-limit middleware test
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-22 23:01:46 -07:00
Vishal Rana
2aec0353f5 First commit to v3, #665
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-22 22:56:00 -07:00
Vishal Rana
862bee4ebd Fixed #647, fixed #656
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-14 15:37:21 -07:00
Vishal Rana
e980bd9055 Closes #647
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-07 12:18:57 -07:00
Vishal Rana
4850d69c30 Fixed basic-auth middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-05 10:20:10 -07:00
Vishal Rana
3d9d408365 Options for redirect middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-31 20:10:14 -07:00
Vishal Rana
86ae297e23 New redirect middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-27 13:03:40 -07:00
Vishal Rana
6dab126f64 Fixed godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-27 10:58:33 -07:00
Vishal Rana
bc7b992d23 Dropped custom error handler for jwt, closes #589, closes ##591
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-27 10:54:51 -07:00
Vishal Rana
98061d3ce3 Closes #633
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-21 09:52:20 -07:00
Vishal Rana
87dbea59f7 Minor refactor and format
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-20 09:35:19 -07:00
matcornic
2557d33c4b Closes #631 2016-08-20 17:59:36 +02:00
ipfans
0b7959a57d Rename RemoteIP to RealIP 2016-08-18 09:26:58 +08: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
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
98d744b8fb Fixed #597 (#598)
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-13 16:55: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
d119b3bbfa Fixed #584
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-28 17:38:12 -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
f4088cf594 Added JSON logging
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-08 17:16:03 -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
Vishal Rana
74c8e254ff Fixed docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-05 10:29:23 -07:00
Russ Egan
348edc31c6 fix index out of bounds if path is empty 2016-05-31 22:12:14 -04:00
anger
9225ce0f18 Add PATCH to default allowed methods 2016-05-31 15:41:09 +03: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
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
ecb021f830 HTML5 mode in static middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-22 10:21:19 -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
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
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