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

860 Commits

Author SHA1 Message Date
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
4187265fa4 Merge branch 'master' of https://github.com/labstack/echo 2016-08-22 14:47:54 -07:00
Vishal Rana
b8f8d756c7 Use response adapter in engine/standard
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-22 14:47:48 -07:00
Francisco Guimarães
8a85626a71 Inline feature (#637) 2016-08-22 14:46:21 -07:00
Vishal Rana
6fd725c953 Merge branch 'k2wanko-fix-set-context't push origin master 2016-08-22 08:31:21 -07:00
Vishal Rana
85e2816cf3 Minor formatting/changes
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-22 08:30:46 -07:00
Kazuhiro Kubota
48c42e7b90 Fix Context#SetContext()/Context#Context() 2016-08-22 20:42:25 +09: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
Vishal Rana
ad8f0dd012 Closes #626, #625
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-19 14:07:07 -07:00
Vishal Rana
5c54ab4e23 Updated deps
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-19 08:19:35 -07:00
Vishal Rana
b939bee425 Fixed engine tests
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-18 11:43:57 -07:00
Vishal Rana
18b9e23ace Closes #364
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-18 11:27:37 -07:00
Vishal Rana
7fa42ab978 Removed unwanted import #629
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-18 08:00:40 -07:00
Vishal Rana
a709ca8483 Merge branch 'ipfans-master' 2016-08-17 20:40:13 -07:00
Vishal Rana
0d9c817371 Fixed godoc for RealIP funtion
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-17 20:39:52 -07:00
Vishal Rana
7065c3c839 Merge branch 'master' of https://github.com/ipfans/echo into ipfans-master 2016-08-17 20:35:42 -07:00
ipfans
0b7959a57d Rename RemoteIP to RealIP 2016-08-18 09:26:58 +08:00
Vishal Rana
3cf6551ef6 Update .travis.yml 2016-08-17 11:08:40 -04:00
Denys Koch
f83ee6cfbe Closes #610, Closes #611
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-17 11:07:25 -04:00
ipfans
649a1e7885 Fix echo/test with RemoteIP function. 2016-08-16 16:54:15 +08:00
ipfans
2f1bd0225f New implements engine.Request#RemoteIP function. 2016-08-16 16:45:41 +08:00
Vishal Rana
e918eacd9d Fixed #622
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-11 16:25:03 -07:00
Vishal Rana
50fed083a7 Fixed #608
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-02 13:11:12 -07:00
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