Commit Graph

247 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
a132e7cebc Update README.md
Former-commit-id: 6f1ee755e36aeba65367a3ec276bd10d21d45343
2017-02-16 23:54:00 +02:00
Gerasimos (Makis) Maropoulos
245d9a5e6f README: executable's overall file size between iris and a simple router
Former-commit-id: 19db08e5a0a37aa4ef3b92085939c5aba6eb22fa
2017-02-16 20:42:04 +02:00
Gerasimos (Makis) Maropoulos
1851d49b58 Set the yaml configuration fields identical to the original's Configuration fields. Update Readme
Former-commit-id: 2fa9f7985a16c5c292634d0140ee6b1959c04dbb
2017-02-16 18:14:55 +02:00
Gerasimos (Makis) Maropoulos
bcd7b3b169 Add the godoc link
Former-commit-id: b30646f1b5ebca23e336a44eeadcc52ef201085b
2017-02-14 06:01:15 +02:00
Gerasimos (Makis) Maropoulos
244a59e055 20 days of unstoppable work. Waiting fo go 1.8, I didn't finish yet, some touches remains.
Former-commit-id: ed84f99c89f43fe5e980a8e6d0ee22c186f0e1b9
2017-02-14 05:54:11 +02:00
Gerasimos (Makis) Maropoulos
5aaec72634 Update to 6.1.4 - Align with the improved kataras/go-sessions 2017-02-07 02:37:35 +02:00
Gerasimos (Makis) Maropoulos
84cd4ca6f4 Go v1.8 and the upcoming Iris version notes on HISTORY.md. 2017-02-05 20:26:40 +02:00
Gerasimos (Makis) Maropoulos
2a911a450c Add DisableBodyConsumptionOnUnmarshal configuration field as discussed on [chat](https://kataras.rocket.chat/channel/iris). Read HISTORY.md 2017-01-30 12:35:43 +02:00
Gerasimos (Makis) Maropoulos
a563b37ba1 Update README. 2017-01-28 11:39:50 +02:00
Gerasimos (Makis) Maropoulos
64a2c7581a Add a 'good' Overview section at the README. 2017-01-28 11:38:20 +02:00
Gerasimos (Makis) Maropoulos
73b8396cd6 https://github.com/iris-contrib/plugin/blob/master/cors/plugin.go#L28 2017-01-27 14:25:48 +02:00
Gerasimos (Makis) Maropoulos
4a903886e8 Update README 2017-01-26 09:50:26 +02:00
Gerasimos (Makis) Maropoulos
7dfb13cfbd Nothing special here 2017-01-25 22:19:06 +02:00
Gerasimos (Makis) Maropoulos
306a709c04 Add a tip with a link on how to change the default Router. Remove the comic, not everybody has houmor. 2017-01-14 05:17:46 +02:00
Gerasimos (Makis) Maropoulos
3782a2e679 Update README.md 2017-01-13 09:52:10 +02:00
Gerasimos (Makis) Maropoulos
fdb74b6865 Update README.md
Remove deadlink, add a header to the comic and add a new gif which leads
on a youtube video with iris' users comments
2017-01-13 09:36:52 +02:00
Gerasimos (Makis) Maropoulos
f380d710cc Update to 6.1.2 2017-01-13 05:57:46 +02:00
Gerasimos (Makis) Maropoulos
c73c2a00c3 Add a comic sketch 2017-01-13 02:13:02 +02:00
Gerasimos (Makis) Maropoulos
c91a1e6628 |You will love this| New Feature: Offline routing, dynamic changes against a route's state | https://github.com/kataras/iris/issues/585
Read HISTORY.md for details
2017-01-12 08:28:30 +02:00
Gerasimos (Makis) Maropoulos
020e857b22 Update to 6.1.0 2017-01-12 00:57:07 +02:00
Gerasimos (Makis) Maropoulos
5ad7c6e01f Update to 6.0.9: Add PostInterrupt plugin. Read HISTORY.md
- Add `PostInterrupt` plugin, useful for customization of the
**os.Interrupt** singal, before that Iris closed the server
automatically.

```go
iris.Plugins.PostInterrupt(func(s *Framework){
// when os.Interrupt signal is fired the body of this function will be
fired,
// you're responsible for closing the server with s.Close()

// if that event is not registered then the framework
// will close the server for you.

/* Do  any custom cleanup and finally call the s.Close()
remember you have the iris.Plugins.PreClose(func(s *Framework)) event
too
so you can split your logic in two logically places.
*/

})

```
2017-01-11 16:23:38 +02:00
Gerasimos (Makis) Maropoulos
e6b967bbb7 Update to 6.0.8 2017-01-10 15:14:14 +02:00
Gerasimos (Makis) Maropoulos
e4ab993760 Nothing special here, read HISTORY.md 2017-01-10 15:03:02 +02:00
Gerasimos (Makis) Maropoulos
053588babd Update to 7.0.8 | iris.UseTemplateFunc -> Read HISTORY.md | Remove vendor folder because of: https://github.com/gavv/httpexpect/pull/34
Read HISTORY.md
2017-01-10 14:21:49 +02:00
Gerasimos (Makis) Maropoulos
893271bf02 Update to 6.0.7 2017-01-10 08:54:39 +02:00
Gerasimos (Makis) Maropoulos
c476fe8921 Feature Request: *http.Request access from Websockets. iris.Config.Websocket.IDGenerator custom connection's ID generator added too.
Example:

-
https://github.com/iris-contrib/examples/blob/master/websocket/main.go#L34

Relative commits to kataras/go-websocket:
-
550fc8b32e

-
62c2d989d8
2017-01-09 06:23:49 +02:00
Gerasimos (Makis) Maropoulos
d5d113b4ca Add the loggerzap middleware to the README. Relative: https://github.com/iris-contrib/middleware/pull/23 2017-01-09 02:00:29 +02:00
Gerasimos (Makis) Maropoulos
081d01d459 Update README.md 2017-01-08 06:55:15 +02:00
Gerasimos (Makis) Maropoulos
a35607d6e3 Add 'vendor' folder for the httptest package dependecy (its master were broken before 4 hours, you are covered) 2017-01-08 06:41:38 +02:00
Gerasimos (Makis) Maropoulos
bcc35c11ca Add iris.DestroySessionByID(string) and iris.DestroyAllSessions() as requested. 2017-01-08 06:11:50 +02:00
Gerasimos (Makis) Maropoulos
d060a73559 https://github.com/iris-contrib/gitbook/issues/30 2017-01-05 18:59:15 +02:00
Gerasimos (Makis) Maropoulos
d5a9410e2a Update to 6.0.3: Add an easy way to set a request body size limit per client or globally for newcomers 2017-01-04 21:29:58 +02:00
Gerasimos (Makis) Maropoulos
3b0a8e0f2d Fix https://github.com/kataras/iris/issues/574 2017-01-04 19:50:54 +02:00
Gerasimos (Makis) Maropoulos
058d70e533 Update to 6.0.1 - use the response recorder whenever you need it. Read HISTORY.md 2017-01-04 15:16:53 +02:00
Gerasimos (Makis) Maropoulos
8bbd9f8fc5 Happy new year! Update to 6.0.0 | HTTP/2 full support. https://github.com/kataras/iris/issues/565
full commit from development branch.

Examples, book, middleware, plugins are updated to the latest iris
version. Read HISTORY.md for more.

The 'old' v5 branch which relied on fasthttp exists for those who want
to use it navigate there: https://github.com/kataras/iris/tree/5.0.0
2017-01-02 21:20:17 +02:00
Gerasimos (Makis) Maropoulos
1f25e4335a Nothing special here,yet, stay tuned 2016-12-19 11:15:48 +02:00
Gerasimos (Makis) Maropoulos
88c98bb1e1 More on Transactions: Fallback on, unexpected, panics and able to send 'silent' error which stills reverts the changes but no output 2016-12-18 14:08:28 +02:00
Gerasimos (Makis) Maropoulos
f54dc697cc More on Transactions: iris.UseTransaction and iris.DoneTransaction. See HISTORY.md 2016-12-16 10:20:05 +02:00
Gerasimos (Makis) Maropoulos
48e770dab0 Update to 5.1.1 - Addons for the last feature, Transaction scopes. Read HISTORY.md
Read HISTORY.md and example here:
github.com/iris-contrib/examples/tree/master/transactions
2016-12-15 17:16:17 +02:00
Gerasimos (Makis) Maropoulos
c6b6ebf757 Fix the readme TODOs syntax. Read HISTORY.md for v5.1.0
Simple proof-of-concept example of request-scoped transactions here:
https://github.com/iris-contrib/examples/blob/master/request_transactions/main.go
2016-12-15 15:26:06 +02:00
Gerasimos (Makis) Maropoulos
65980d3363 New Feature: Request-Scoped Transactions
Example:
https://github.com/iris-contrib/examples/tree/master/request_transactions
2016-12-15 15:14:48 +02:00
Gerasimos (Makis) Maropoulos
1ff949b357 Test code: nothing special here, remove the getRandomPort and use getRandomNumber for all 2016-12-14 11:57:07 +02:00
Gerasimos (Makis) Maropoulos
baec4d0fff Update Donations 2016-12-13 09:36:53 +02:00
Gerasimos (Makis) Maropoulos
5ba6ccf365 Qualify the quality repository report tool 2016-12-13 08:41:30 +02:00
Gerasimos (Makis) Maropoulos
309b037e3b Update to 5.0.4 - Read HISTORY.md 2016-12-12 12:18:59 +02:00
Gerasimos (Makis) Maropoulos
424ede7258 Merry Christmas! 2016-12-11 07:50:03 +02:00
Gerasimos (Makis) Maropoulos
0513fa745b Add test for Redirect while ListenTLS/ListenLETSENCRYPT 2016-12-04 06:53:08 +02:00
Gerasimos (Makis) Maropoulos
290a9cad3d Fix testing example README link
As requested here: https://github.com/kataras/iris/issues/543
2016-11-23 22:46:19 +02:00
Gerasimos (Makis) Maropoulos
619a54a9f2 Fix an old issue https://github.com/kataras/iris/issues/355 2016-11-22 16:46:07 +02:00
Gerasimos Maropoulos
8b88aabc05 Update to 5.0.2 - Cache(only) improvements
Cache - only improvements
2016-11-15 20:20:29 +02:00
Gerasimos Maropoulos
948eb2ecc1 Yesterday I refused a great offer. I hope for the better. 2016-11-13 22:17:11 +02:00
Gerasimos Maropoulos
ac58a95d2d Update the book link for the stable version
https://docs-v4.iris-go.com
2016-11-01 13:22:15 +02:00
Gerasimos Maropoulos
504006a7bb Add a link to the stable version on the Installation section 2016-10-31 21:21:11 +02:00
Gerasimos Maropoulos
32e3cbede1 Prepare for 4.0.0 gopkg.in for-ever package (All 20+ other repositories refactored) including gitbook and examples 2016-10-31 08:19:00 +02:00
Gerasimos Maropoulos
3243432d48 A small improvement to LETSENCRYPT and LETSENCRYPTPROD
just  an improvement to the `LETSENCRYPT` in order to meet your needs,
it lets you configure the cache file to any directory  or to disable it
by passing "" as the second argument.

**OUTLINE**
```
// ListenLETSENCRYPT starts a server listening at the specific nat
address
// using key & certification taken from the letsencrypt.org 's servers
// it's also starts a second 'http' server to redirect all
'http://$ADDR_HOSTNAME:80' to the' https://$ADDR'
// it creates a cache file to store the certifications, for performance
reasons, this file by-default is "./letsencrypt.cache"
// if you skip the second parameter then the cache file is
"./letsencrypt.cache"
// if you want to disable cache then simple pass as second argument an
empty emtpy string ""
//
// example:
https://github.com/iris-contrib/examples/blob/master/letsencyrpt/main.go
//
// supports localhost domains for testing,
// NOTE: if you are ready for production then use
`$app.Serve(iris.LETSENCRYPTPROD("mydomain.com"))` instead
ListenLETSENCRYPT(addr string, cacheFileOptional ...string)
```

**OVERVIEW**
```
package main

import "github.com/kataras/iris"

func main() {
iris.Get("/", func(ctx *iris.Context) {
ctx.Write("Hello from SECURE SERVER!")
})

iris.ListenLETSENCRYPT("mydomain.com", "./mycachefile.cache)
}

```
2016-10-28 21:21:57 +03:00
Gerasimos Maropoulos
bbf74ce8f0 Update README 2016-10-27 03:41:49 +03:00
Gerasimos Maropoulos
d32ae1377c Implement Cache as https://github.com/kataras/iris/issues/513
I love coding unique Iris staff!!!
2016-10-27 03:17:09 +03:00
Gerasimos Maropoulos
6d65c00423 Add some random articles happened to be fetched the last two weeks 2016-10-25 18:47:19 +03:00
Gerasimos Maropoulos
78d145c207 Introduce version 5.0.1 2016-10-25 15:58:18 +03:00
Gerasimos Maropoulos
fc9cd0a8c2 Update DONATIONS | Thanks for your support! 2016-10-21 18:23:26 +03:00
Gerasimos Maropoulos
5c896b39a5 V4 LTS, check the HISTORY.md 2016-10-21 03:06:50 +03:00
Gerasimos Maropoulos
fe71a8acbe Add donates to the top of the README, I really thanks you 2016-10-17 10:27:19 +03:00
Gerasimos Maropoulos
1a913d45d4 Implement feature request for embedded assets
Example:
https://github.com/iris-contrib/examples/tree/master/static_files_embedded

Read HISTORY.md
2016-10-17 03:37:57 +03:00
Gerasimos Maropoulos
7e8c1e57d2 Nothing special, some linting 2016-10-16 17:13:49 +03:00
Gerasimos Maropoulos
6dbfc7ad1c Update the License to Apache Version 2 in order to be compatible 2016-10-16 17:05:10 +03:00
Gerasimos Maropoulos
9a0ef4822c README: https://docs.iris-go.com link replacement for gitbook 2016-10-15 16:40:43 +03:00
Gerasimos Maropoulos
1ddd2e6528 Meetup with GoLang User Group. Happened yesterday. 2016-10-14 03:59:16 +03:00
Gerasimos Maropoulos
22b60d6871 Github https://github.com/blog/2111-issue-and-pull-request-templates 2016-10-14 03:52:03 +03:00
Gerasimos Maropoulos
157e3cf054 Push version 4.6.0, read HISTORY.md
Real commit is the parent, as usual
2016-10-13 17:25:50 +03:00
Gerasimos Maropoulos
f2a7b4e43a Update to 5.4.3, zero user changes. 2016-10-13 04:02:04 +03:00
Gerasimos Maropoulos
9bce4e846a Update to 4.5.2 2016-10-11 22:35:12 +03:00
Gerasimos Maropoulos
40b000c20f Update to 4.5.1 2016-10-11 14:10:19 +03:00
Gerasimos Maropoulos
f46452a7ab Add newest articles that I could easly find 2016-10-10 18:52:27 +03:00
Gerasimos Maropoulos
f66b7e2eab Update to 4.5.0 2016-10-09 21:09:53 +03:00
Gerasimos Maropoulos
14982891c5 Update to 4.4.9 2016-10-09 07:47:27 +03:00
Gerasimos Maropoulos
a000da35c3 Update to 4.4.8 - Custom decoders for ReadJSON/ReadXML, read HISTORY.md
Read: https://github.com/kataras/iris/blob/master/HISTORY.md
2016-10-06 23:19:55 +03:00
Gerasimos Maropoulos
39f58fe286 Fix readme 2016-10-05 18:42:52 +03:00
Gerasimos Maropoulos
bffd2074eb Update to 4.4.7 2016-10-05 13:21:40 +03:00
Gerasimos Maropoulos
2090eb4d83 Update to 4.4.6 2016-10-04 01:18:17 +03:00
Gerasimos Maropoulos
a4280a838b Add News section at README 2016-10-03 00:22:58 +03:00
Gerasimos Maropoulos
01cc64f5e8 Add comparison Iris vs Nginx vs Nodejs express, which Iris seems to shine 2016-10-03 00:10:33 +03:00
Gerasimos Maropoulos
00f6abcb04 Update to 4.4.5 2016-10-02 19:43:00 +03:00
Gerasimos Maropoulos
9ef6ac30cb Fix padding on readme 2016-10-02 15:07:52 +03:00
Gerasimos Maropoulos
92785d109f Fix padding on readme 2016-10-02 15:05:17 +03:00
Gerasimos Maropoulos
b4378bc164 Add custom http errors book's section to the readme 2016-10-02 15:04:04 +03:00
Gerasimos Maropoulos
99734f7e11 Add some of the book's section on README too 2016-10-02 14:59:04 +03:00
Gerasimos Maropoulos
3970804a37 Update to 4.4.4 2016-10-02 07:21:44 +03:00
Gerasimos Maropoulos
78f3323ce4 Update to 4.4.3 2016-10-02 03:30:37 +03:00
Gerasimos Maropoulos
ff3d1d4c8a Update readme 2016-10-01 10:03:06 +03:00
Gerasimos Maropoulos
716b5001da Fix https://github.com/iris-contrib/middleware/issues/13 2016-09-30 18:48:48 +03:00
Gerasimos Maropoulos
f4b4dd0275 Implementation of https://github.com/kataras/iris/issues/412 , as requested. Read HISTORY for a code snippet 2016-09-29 17:05:22 +03:00
Gerasimos Maropoulos
5c98c5a493 Update to v4.4.0 Implementation of https://github.com/kataras/iris/issues/438
Read HISTORY.md
2016-09-27 16:28:38 +03:00
Gerasimos Maropoulos
def1643c69 Remove travis:tip 2016-09-23 07:54:15 +03:00
Gerasimos Maropoulos
8d182da031 Users do not care for this phrase on README 2016-09-23 07:43:55 +03:00
Gerasimos Maropoulos
cfb6beec43 Add the HISTORY.md entry for the new release, 4.3.0 2016-09-20 12:24:44 +03:00
Gerasimos Maropoulos
60947d4f21 Update to 4.3.0, align with latest kataras/go-websocket 2016-09-20 10:15:45 +03:00
Gerasimos Maropoulos
f33053675c Update to 4.2.9 2016-09-19 01:48:37 +03:00
Gerasimos Maropoulos
7882d736b5 Update to 4.2.8 2016-09-19 01:42:37 +03:00
Gerasimos Maropoulos
2cb0d9981d Add comments on Quick Look and fill the updater TODO 2016-09-18 13:31:53 +03:00
Gerasimos Maropoulos
131eddb701 Ability to change the whole default router 2016-09-18 06:55:44 +03:00