1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-20 19:52:47 +02:00
Commit Graph

1731 Commits

Author SHA1 Message Date
Vishal Rana
1f0bae394a Gannett digital master allow html buffers (#765)
* Since some templating engines final result is a buffer, we've been casting them to strings, which is a bit unnecessary considering under the hood Echo supports this.

* Since some templating engines final result is a buffer, we've been casting them to strings, which is a bit unnecessary considering under the hood Echo supports this.

* Update context.go

* Update context_test.go

* Update context_test.go

* Utilize same design pattern for HTMLBlob as JSONBlob

* Streamlined a few more methods

* more  consistent

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-06 18:57:06 -08:00
Vishal Rana
f10daac5d6 recipe: twitter like api
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-05 23:04:03 -08:00
Vishal Rana
ff8a3bdc94 docs: updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-04 19:20:08 -08:00
Vishal Rana
8d504c1b69 issue: fixed #755 (#758)
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-02 09:28:18 -08:00
Vishal Rana
73110004ef doc: updated, recipe: auto tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-28 20:34:29 -08:00
Vishal Rana
8ab362f61d docs: update
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-25 13:05:45 -08:00
Vishal Rana
cd2530ea09 updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-22 08:19:27 -08:00
Vishal Rana
fe269b3e1c fixed ##743
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-21 14:42:13 -08:00
Jonathan Hall
d4dff985fa Minor documentation correction (#742) 2016-11-21 09:43:14 -08:00
Vishal Rana
054a310e70 updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-20 14:51:17 -08:00
Shinichi Nishimura
5a3fe3f423 [doc] updating testing documentation (#740) 2016-11-20 08:01:30 -08:00
Eric
a5b81074e7 Fix type redirect.md (#739) 2016-11-20 07:24:36 -08:00
Vishal Rana
30181613bd updated readme
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-19 22:30:53 -08:00
Vishal Rana
a2b9836e8c New look (#738)
* docs: edit on github

Signed-off-by: Vishal Rana <vishal.rana@verizon.com>

* updated docs

Signed-off-by: Vishal Rana <vishal.rana@verizon.com>

* cleaner Context#Param

Signed-off-by: Vishal Rana <vishal.rana@verizon.com>

* updated website

Signed-off-by: Vishal Rana <vr@labstack.com>

* updated website

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-19 22:13:05 -08:00
Vishal Rana
069cddf05a updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 23:31:45 -08:00
Vishal Rana
b506209728 added robots.txt
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 22:54:46 -08:00
Vishal Rana
fd9508ca39 param alias, context#param
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 18:42:00 -08:00
Vishal Rana
b358b06311 updated docs, closes #735
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 16:21:41 -08:00
Vishal Rana
64dc9138e3 fixed .travis.yml
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 11:37:02 -08:00
Vishal Rana
0aaa61e51c updated deps, .travis.yml
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 11:29:12 -08:00
Vishal Rana
8aa0e56e50 cleaner Context#Param
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 08:00:30 -08:00
Vishal Rana
9918c9b4e9 updated docs
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-11-16 23:05:53 -08:00
Vishal Rana
57c7dccfbf docs: edit on github
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-11-16 22:51:37 -08:00
Vishal Rana
4dc8cbd255 updated docs
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-11-16 21:26:56 -08:00
Vishal Rana
f9e97332f3 fixed #729
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-15 20:12:13 -08:00
Vishal Rana
ecd3084fa5 updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-15 08:26:18 -08:00
Vishal Rana
f741b6dba7 updated readme
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-15 07:08:14 -08:00
Vishal Rana
43e95a6924 fixed docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-15 00:00:57 -08:00
Vishal Rana
c5a3575d4c updated migration guide
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-14 22:54:09 -08:00
Vishal Rana
2f70d3e1c7 fixed #712
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-12 20:34:52 -08:00
Vishal Rana
74ccda6546 updated readme
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-12 17:28:43 -08:00
Vishal Rana
d832efd403 cors: not checking for origin header
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-12 14:05:41 -08:00
Vishal Rana
6ead4be761 fixed #719
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-12 11:35:46 -08:00
Vishal Rana
0fca54f389 updated docs, readme and benchmark tests
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-12 09:47:49 -08:00
Vishal Rana
a96c564fc3 updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-08 22:41:52 -08:00
Antonio Pagano
f869c9dbab [doc] updating docs based on #667 (#713) 2016-11-08 10:19:30 -08:00
Vishal Rana
c0822c0427 updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-06 12:46:21 -08:00
Vishal Rana
97bf17556c fixed tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-05 07:33:44 -07:00
Vishal Rana
00ae708f49 moved log message to start server
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-04 20:58:30 -07:00
Vishal Rana
409c5a42b7 refactored start server functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-04 18:51:17 -07:00
Antonio Pagano
4f1aef1469 Allows LoggerConfig to add new header, form, path and query tags (#708)
* [feature] implementing new log configuration tags for headers, form, query and path

* [refactor] merging all tests and removing path from the tags available for the logger

* [doc] updating middleware logger doc

* [tests] adding test cases for the other tags on the logger template

* [cleaning] moving h reference on tests to be a direct assignment given we dont need the reference to h anymore
2016-11-02 13:08:51 -07:00
Antonio Pagano
2cb612ff57 changes README's hello-world example for v3 (#698)
* [doc] adding graceful documentation and example.

* adding myself to the maintainers list and minor comment formatting change

* [doc] updating code on the guides/context.md and guides/cookies.md to use v3 code.

* [doc] updating error-handling and request to v3 codebase

* [doc] updating templates documentation

* [doc] cleaning hello-world documentation for v3

* [content] adding website index content based on #667
2016-11-01 08:33:56 -07:00
Vishal Rana
f720ea1bc8 updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-31 22:13:44 -07:00
Vishal Rana
cd36c4f813 fixed https://github.com/labstack/armor/issues/13
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-31 16:08:53 -07:00
Vishal Rana
891d8519d7 fixed #701
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-30 15:03:18 -07:00
Vishal Rana
796df515f3 fixed #700
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-30 13:29:37 -07:00
Vishal Rana
58166d599b fixed default routes for group
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-29 22:54:06 -07:00
Vishal Rana
8b8aac8aef fixed #696
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-27 21:40:27 -07:00
Vishal Rana
7bd314557b fixed #694
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-27 07:35:41 -07:00
Vishal Rana
8067b8eaf7 fixed group static
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-25 18:47:11 -07:00