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

1761 Commits

Author SHA1 Message Date
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
Vishal Rana
f0526349ff Fixed #499
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-02 22:41:07 -07:00
Vishal Rana
c31a524d05 Merge branch 'middleware-secure-header' of https://github.com/coderhaoxin/echo into coderhaoxin-middleware-secure-header 2016-05-02 20:21:26 -07:00
Vishal Rana
190cf80d02 Fixed #432, Fixed #167.
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-05-02 16:19:35 -07:00
Vishal Rana
491502c176 Updated README
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-01 12:51:53 -07:00
Vishal Rana
cb752141f2 Add form binding
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-01 12:38:51 -07:00
Vishal Rana
041252cfc8 Fixed #496
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-01 06:56:52 -07:00
Vishal Rana
b53170ace1 Updated readme
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-30 22:29:07 -07:00
Vishal Rana
368f2ab67e Fixed fasthttp Request#SetBody
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-30 21:56:35 -07:00
Vishal Rana
0edb17e978 Added body limit middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-30 20:08:06 -07:00
Victor Gaydov
4fd9f14769 Add echo.Binder() method 2016-04-28 10:30:47 -07:00
Vishal Rana
a708a6781a Fixed basic auth to return 401 for error cases
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-28 07:09:33 -07:00
haoxin
e2faa6c2be middleware: add basic secure headers 2016-04-28 14:12:57 +08:00
Vishal Rana
bca2fd450e Updated readme
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-27 22:03:54 -07:00
Vishal Rana
96824ff627 Merge branch 'coderhaoxin-method' 2016-04-27 21:09:01 -07:00
Vishal Rana
24a19223b0 Added method override middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-27 21:08:30 -07:00
Vishal Rana
7f819e4d71 Merge branch 'method' of https://github.com/coderhaoxin/echo into coderhaoxin-method 2016-04-27 19:14:24 -07:00
Vishal Rana
fb8690d42b Fixed #488
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-26 02:10:57 -07:00
Vishal Rana
13648d06f3 Updated README.md with JWT middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-25 13:41:44 -07:00
Vishal Rana
02676bdb44 Added JWT middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-25 10:58:11 -07:00
Vishal Rana
be825e0229 Refactored variable names
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-24 10:22:15 -07:00
Vishal Rana
61fabee05e Merge pull request #482 from zjx20/patch-1
Atomically write logs in the Logger middleware
2016-04-24 08:14:40 -07:00
Anon-Penguin
ea123198e4 Add Exists() method
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-24 08:02:12 -07:00
haoxin
592790bb43 middleware: add method override 2016-04-24 21:07:55 +08:00
zjx20
496ea19a80 Atomically write logs in the Logger middleware 2016-04-22 19:05:49 +08:00
Vishal Rana
c830734fd5 Fixed static middleware serving index.html
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-21 22:25:51 -07:00
Vishal Rana
1247552c9b Fixed https://github.com/labstack/echox/issues/9
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-20 07:32:51 -07:00
Vishal Rana
2918b44698 Merge pull request #478 from roth1002/master
Fixed typo in README.md since echo.Context has no field or method For…
2016-04-20 07:06:59 -07:00
RothGo
78fe386e40 Fixed typo in README.md since echo.Context has no field or method FormParam 2016-04-20 16:30:04 +08:00
Vishal Rana
1d47a6cd30 Merge pull request #475 from Anon-Penguin/patch-1
Fix infinite recursion
2016-04-19 12:08:01 -07:00
Anon-Penguin
ac2f2016d3 Fix infinite recursion
It was quite a suprise when Echo ate a gigabyte of my RAM with a one line request handler 😏
2016-04-19 14:05:05 -05:00
Vishal Rana
1c2d6341ba Fixed #474
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-18 16:59:58 -07:00
Vishal Rana
1e04986e53 Var args for Context#SetParamNames and Context#SetParamValues.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-17 09:41:20 -07:00