1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00
Commit Graph

1071 Commits

Author SHA1 Message Date
Vishal Rana
10809fad77 Fixed build
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-11 14:55:11 -07:00
Vishal Rana
33b4940cba Cookbook and website separated from the repo to echox
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-11 08:21:21 -07:00
Vishal Rana
1302a08009 Fixed #925
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-10 10:28:50 -07:00
Vishal Rana
5828f5f215 Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-10 08:52:45 -07:00
aruhi
1827916e76 Add cookie tag for logger (#921)
Thanks for your contribution 🎉
2017-05-08 08:10:11 -07:00
Vishal Rana
533d7a8dc1 Closes #918, docs updated for testing handler
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-04-29 11:02:57 -07:00
Vishal Rana
883fcb35fb Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-04-28 22:24:40 -07:00
Christopher Probst
f3f3e99ba3 Add pointer binding of proper types to DefaultBinder (#915) 2017-04-28 11:07:20 -07:00
Sub
0dfcb31d9e Automatically use JSONPretty/XMLPretty if '?pretty' in querystring (#916)
* Automatically use JSONPretty/XMLPretty if '?pretty' in querystring

* Update unit test cases

* Simplify code according comments

* Update guide for pretty json/xml
2017-04-27 21:41:46 -07:00
Vishal Rana
1049c9613c Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-04-26 10:09:29 -07:00
Vishal Rana
4256489c0e Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-04-24 11:32:01 -07:00
Vishal Rana
8173bb8f2d Fixed website ui
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-04-20 15:50:07 -07:00
Vishal Rana
ac0a38d995 Fixed Context#RealIP() to fetch the first IP
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-04-20 12:05:09 -07:00
Stanley Zheng
a87261ecb2 correct typo in app engine article (#909) 2017-04-19 14:43:39 -07:00
eiji.ienaga
badd2efd56 Update guide.md (#908)
Signature changed for key and basic auth validator

5f392f3bb1
2017-04-19 07:58:49 -07:00
Vishal Rana
5f392f3bb1 Signature changed for key and basic auth validator
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-04-18 15:40:28 -07:00
Vishal Rana
c3069d42c1 Fixed #901
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-04-12 09:07:54 -07:00
Vishal Rana
9cd74c54c1 Merge branch 'ole108-master' 2017-04-10 13:10:39 -07:00
Vishal Rana
d5bff83dc3 Using *context instead of Context in Router#Find()
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-04-10 13:10:31 -07:00
Vishal Rana
b2b8ce08d1 Merge branch 'master' of https://github.com/ole108/echo into ole108-master 2017-04-10 11:00:14 -07:00
Vishal Rana
62ab217b8c Static middleware: html5 mode skip any route with extension
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-04-08 13:17:13 -07:00
Michał Mrozek
895613fd40 Fixed skipper for static middleware (#896) 2017-04-03 21:25:20 -07:00
Diego Siqueira
d67c6f029c Underscoring unnecessary variables on CSRF test (#836) 2017-04-01 09:29:12 -07:00
Vishal Rana
07ee93a14d Closes #861
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-04-01 09:27:38 -07:00
Vishal Rana
a216a9319a Bind DELETE params too
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-31 21:39:18 -07:00
Ole Bulbuk
f0e3f950cf Tested and fixed bug with reused context (path parameters). 2017-03-30 12:05:24 +02:00
Vishal Rana
22012e0e9d Fixed #833
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-26 20:15:48 -07:00
Vishal Rana
0d23a63a96 Update README.md 2017-03-23 18:08:17 -07:00
Vishal Rana
eac431df0d Error forbidden
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-19 18:18:53 -07:00
nownabe
cb6f0a5f80 Enable custom request id generator (#881) 2017-03-17 09:22:58 -07:00
Vishal Rana
b2430fc4a8 Fixed #878
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-15 12:11:47 -07:00
Vishal Rana
477d8dc708 Fixed #839
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-15 11:38:43 -07:00
Vishal Rana
42e83ed0b9 Handle GET request with body
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-11 22:42:24 -08:00
Vishal Rana
9016770066 Fixed #873
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-10 16:10:07 -08:00
Vishal Rana
4d6ccce2b4 Fixed test
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-08 13:36:01 -08:00
Vishal Rana
4a9bc8c40e Fixed static middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-08 12:18:00 -08:00
Vishal Rana
023cc02cdd Merge branch 'master' of https://github.com/labstack/echo 2017-03-06 13:39:44 -08:00
Vishal Rana
0ae8ceb3eb Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-06 13:39:36 -08:00
Vishal Rana
4b4a09fd31 Using random.String() for generating id
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-06 13:39:36 -08:00
Yusuke Komatsu
88b7cbb108 fix import cycle middleware 2017-03-06 13:39:36 -08:00
Yusuke Komatsu
d3d0ee6527 add id (Request ID) in logger format. 2017-03-06 13:39:36 -08:00
Yusuke Komatsu
f82701ebe9 remove debug print in request_id_test.go 2017-03-06 13:39:36 -08:00
Yusuke Komatsu
92b197d4b7 git add RequestID middleware 2017-03-06 13:39:36 -08:00
Vishal Rana
d011ca6c83 Merge branch 'usk81-request-id' 2017-03-06 13:17:56 -08:00
Vishal Rana
81d86b90d0 Using random.String() for generating id
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-06 13:16:05 -08:00
Vishal Rana
66ae47cf9f Merge branch 'request-id' of https://github.com/usk81/echo into usk81-request-id 2017-03-06 10:57:12 -08:00
Vishal Rana
6bb7747530 Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-05 19:08:11 -08:00
PapEr
948d607539 Update type typo for Header handler (#868)
The example for ServerHeader middleware is trying to set a `Echo/3.0` header,
but the response out put has a Echo/2.0 header, may confuse people.
2017-03-03 08:21:20 -08:00
Vishal Rana
b218599906 Fixed #864 (#865)
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-28 12:04:29 -08:00
Vishal Rana
049518f8c4 Fixed static middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-23 12:27:48 -08:00