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 |
|
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 |
|
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 |
|
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 |
|
Vishal Rana
|
77b3e703be
|
Updated gommon/log
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-06-11 08:13:49 -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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Vishal Rana
|
23eb4f87db
|
API to define a custom logger
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-05-29 08:34:44 -07:00 |
|
Vishal Rana
|
e7518f5aca
|
Updated readme
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-05-28 11:39:03 -07: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
|
7a66f226f2
|
Changed website url
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-05-24 14:51:26 -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
|
96898d5b9b
|
Merge pull request #521 from 0x616E676572/fix-1
Fix endless loop
|
2016-05-22 16:15:29 -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
|
c24f06e7cb
|
Fixed #520
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-05-22 08:45:36 -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
|
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
|
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 |
|
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 |
|
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 |
|
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 |
|
Vishal Rana
|
1d47a6cd30
|
Merge pull request #475 from Anon-Penguin/patch-1
Fix infinite recursion
|
2016-04-19 12:08:01 -07: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 |
|
Vishal Rana
|
ce80fc8ea4
|
Fixed middleware test cases
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-16 16:02:22 -07:00 |
|
Vishal Rana
|
467cf05b41
|
Changes based on comments for #430
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-16 15:56:09 -07:00 |
|
Vishal Rana
|
fd104333f2
|
Fixed #430, Closes #469
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-16 09:15:37 -07:00 |
|
Vishal Rana
|
288164d00a
|
Server header constant
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-14 12:26:54 -07:00 |
|
Vishal Rana
|
11eafe9b90
|
Fixed slash middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-13 13:48:33 -07:00 |
|