Commit Graph

48 Commits

Author SHA1 Message Date
Gerasimos Maropoulos
00f6abcb04 Update to 4.4.5 2016-10-02 19:43:00 +03:00
Gerasimos Maropoulos
6cc038b3b3 Fix https://github.com/kataras/iris/issues/453#issuecomment-250975524 2016-10-02 19:35:20 +03:00
Gerasimos Maropoulos
716b5001da Fix https://github.com/iris-contrib/middleware/issues/13 2016-09-30 18:48:48 +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
d00bd8e595 nothing special here 2016-09-18 21:57:15 +03:00
Gerasimos Maropoulos
131eddb701 Ability to change the whole default router 2016-09-18 06:55:44 +03:00
Gerasimos Maropoulos
000dfbbee2 Update to 4.2.6, read HISTORY.md 2016-09-18 01:08:06 +03:00
Gerasimos Maropoulos
f561b7a90d Update to 4.2.0 - Configuration changes (big but old way still works, naming changes) & Implement https://github.com/kataras/iris/issues/409 2016-09-09 08:09:03 +03:00
Gerasimos Maropoulos
1a7c79db66 Update to 4.1.7. Logger changes, read HISTORY.md 2016-09-07 07:36:23 +03:00
Gerasimos Maropoulos
1d49188da9 Developers can ignore this update. Use of go-websocket and go-errors. Zero front-end changes. No real improvements. 2016-09-01 06:01:53 +03:00
Gerasimos Maropoulos
bef334868b Update to 4.1.0, New: SSH Remote control, READ HISTORY.md
https://github.com/kataras/iris/blob/master/HISTORY.md
2016-08-17 12:57:54 +03:00
Gerasimos Maropoulos
c6f5406c3b Better gzip managment, align with https://github.com/kataras/iris/issues/361 . OnError on Parties: https://github.com/kataras/iris/issues/35 2016-08-14 05:44:36 +03:00
Gerasimos Maropoulos
3c50d26808 Add easy way to set Read/WriteTimeout instead of http://targetliu.com/golang-iriszhong-tong-guo-pluginshe-zhi-httpchao-shi-shi-jian/
Instead of this article, I just found, shows you how to inject the main
server, now you can just use the:
iris.ListenTo(config.Server{WriteTimeout: 5* time.Second, ReadTimeout=
5*time.Second, ListeningAddr:":8080"})
2016-08-05 08:44:52 +03:00
Gerasimos Maropoulos
922248bbf1 Fix error handling on Listen functions 2016-07-31 15:01:28 +03:00
Gerasimos Maropoulos
6f83c48a10 Update to v4.0.0-alpha.5 - Letsencrypt integration https://github.com/kataras/iris/issues/220 . 4 Fixes. Read HISTORY.md
## 4.0.0-alpha.4 -> 4.0.0-alpha.5

- **NEW FEATURE**: Letsencrypt.org
integration[*](https://github.com/kataras/iris/issues/220)
- example
[here](https://github.com/iris-contrib/examples/blob/master/letsencrypt/main.go)
- **FIX**: (ListenUNIX adds :80 to
filename)[https://github.com/kataras/iris/issues/321]
- **FIX**: (Go-Bindata +
ctx.Render)[https://github.com/kataras/iris/issues/315]
- **FIX** (auto-gzip doesn't really compress data in latest
code)[https://github.com/kataras/iris/issues/312]
2016-07-29 01:33:20 +03:00
Gerasimos Maropoulos
77955c8540 Fix https://github.com/kataras/iris/issues/321 2016-07-27 17:09:19 +03:00
Gerasimos Maropoulos
81019aa90d Nothing special here - set the ability to set a virtual scheme for the server, used inside global tmpl helper funcs 2016-07-26 21:50:14 +03:00
Gerasimos Maropoulos
8288161b30 Fix CookieNeverExpires time, set an option for -1 for browser-based session (when browser closes cookie is removed) 2016-07-26 21:26:54 +03:00
Gerasimos Maropoulos
c26ce245c7 Nothing special here, just a check on server.Hostname for VListeningAddr 2016-07-26 20:37:36 +03:00
Gerasimos Maropoulos
40bc7f5054 Nothing special - Set a server.Config field which can override the ListeningAddr when server.Host()/Port. Mostly used inside glb tmpl funcs 2016-07-26 20:19:50 +03:00
Gerasimos Maropoulos
0dbab32d9d Set the default hostname to "0.0.0.0" from "127.0.0.1" - as golang's net.Listener does by default
I changed that because some guys has problems in their hosting machines,
and they should use the "127.0..0.1" instead of "0.0.0.0", if you have
problems just pass `iris.Listen("127.0.0.1:8080") instead of
`iris.Listen(":8080")`
2016-07-21 00:03:36 +03:00
Gerasimos Maropoulos
7ed5ed4519 Iris 4.0.0-alpha.4. Book is finally updated https://kataras.gitbooks.io/iris/content/ also 2016-07-20 06:33:24 +03:00
Gerasimos Maropoulos
675c0d510c Update to 4.0.0-alpha.3 - Response Engines, 'inject' the context.JSON/JSONP/Text/Data/Markdown/Render, Read HISTORY.md
## 4.0.0-alpha.2 -> 4.0.0-alpha.3

**New**

A **Response Engine** gives you the freedom to create/change the
render/response writer for

- `context.JSON`
- `context.JSONP`
- `context.XML`
- `context.Text`
- `context.Markdown`
- `context.Data`
- `context.Render("my_custom_type",mystructOrData{},
iris.RenderOptions{"gzip":false,"charset":"UTF-8"})`
- `context.MarkdownString`
- `iris.ResponseString(...)`

**Fix**
- https://github.com/kataras/iris/issues/294

**Small changes**

- `iris.Config.Charset`, before alpha.3 was `iris.Config.Rest.Charset` &
`iris.Config.Render.Template.Charset`, but you can override it at
runtime by passinth a map `iris.RenderOptions` on the `context.Render`
call .
- `iris.Config.IsDevelopment` , before alpha.1 was
`iris.Config.Render.Template.IsDevelopment`

**Websockets changes**

No need to import the `github.com/kataras/iris/websocket` to use the
`Connection` iteral, the websocket moved inside `kataras/iris` , now all
exported variables' names have the prefix of `Websocket`, so the old
`websocket.Connection` is now `iris.WebsocketConnection`.

Generally, no other changes on the 'frontend API', for response engines
examples and how you can register your own to add more features on
existing response engines or replace them, look
[here](https://github.com/iris-contrib/response).

**BAD SIDE**: E-Book is still pointing on the v3 release, but will be
updated soon.
2016-07-18 17:40:42 +03:00
Makis Maropoulos
b99afb2875 Update to v4.0.0-alpha.1 2016-07-13 06:28:09 +03:00
Makis Maropoulos
5cfe19c793 Check for cors middleware conflicts on mux 2016-07-13 05:02:43 +03:00
Makis Maropoulos
e61d1f8c3c Extend Read & Write BufferSize header and max request body size is 8mb now 2016-07-12 15:40:06 +02:00
Makis Maropoulos
6761d58e53 Final v3 2016-07-08 19:41:50 +02:00
Makis Maropoulos
52099314e6 Prepare for custom child router(s) via plugin(s) for tomorrow 2016-07-07 23:59:00 +02:00
Makis Maropoulos
e3b2c68085 Parse server's addr before use it 2016-07-07 17:17:34 +02:00
Makis Maropoulos
2cc75817b7 Add support for more than one listening server to one station, virtual and no virtual 2016-07-06 20:24:34 +02:00
Makis Maropoulos
afa5b57dc7 Add virtual listen same as NoListen- some changes in order the server_test no need any system modification 2016-07-05 14:29:32 +02:00
Makis Maropoulos
0d4b0ecd43 Rocket chat is on, Add Port() to the HTTPServer, disable subdomain persistence on subdomains when 127.0.0.1/0.0.0.0
I already made a test framework integration but I will commit this when
I finish with the basic tests, we are going to final v3
2016-07-03 16:21:57 +02:00
Makis Maropoulos
9be49bbfee Add some tests as we are going to v3 final - to be continued 2016-07-01 21:28:24 +03:00
Makis Maropoulos
f57d457d39 Finish the feature request https://github.com/kataras/iris/issues/235#issuecomment-229383650 2016-06-29 18:49:09 +03:00
Makis Maropoulos
5b8f4dc1b0 Multiserver listening - Try first for https://github.com/kataras/iris/issues/235 - example added 2016-06-29 16:25:17 +03:00
Makis Maropoulos
cd71b945b7 Add the new license , here and at iris-contrib repositories also (where needed) 2016-06-26 08:25:05 +03:00
Makis Maropoulos
f83b532835 Embrace the weekend- Update to rc.3 | Read the HISTORY.md 2016-06-24 01:34:49 +03:00
Makis Maropoulos
4a446ac1e2 Complete the OAuth/OAuth2 'high level' support 2016-06-22 16:01:31 +03:00
Makis Maropoulos
39e1504ba3 Fix https://github.com/kataras/iris/issues/196 2016-06-19 10:32:20 +03:00
Makis Maropoulos
15139e33b7 Fix https://github.com/kataras/iris/issues/184
I forgot to use sort.Sort lawl
2016-06-18 20:26:35 +03:00
Makis Maropoulos
5060cf4f5e linting 2016-06-18 01:11:03 +03:00
Makis Maropoulos
f21faa7cfd MustUse and MustUseFunc - registers middleware for all parties and subdomains - Subdomains don't care about registering order now
1st:
MustUse and MustUseFunc - registers middleware for all parties and
subdomains
2nd:
Subdomains don't care about registering order now
3rd:
iris control plugin realtime logger
2016-06-17 07:18:09 +03:00
Makis Maropoulos
dde7ce31d5 Introduce default hostname and default port for any case 2016-06-17 02:11:15 +03:00
Makis Maropoulos
2942d384c4 Try third to solve https://github.com/kataras/iris/issues/175#issuecomment-226634061 2016-06-17 01:44:16 +03:00
Makis Maropoulos
0d482508fc Add ReadBufferSize and WriteBufferSize to the iris-ws, disable header copy also 2016-06-16 20:08:59 +03:00
Makis Maropoulos
647f0d704c Thanks goes to all of you you help building this (nice) framework - Update README and add errors on mux entry register 2016-06-16 05:24:01 +03:00
Makis Maropoulos
8cddc68993 Fix https://github.com/kataras/iris/issues/175#issuecomment-226290922 2016-06-16 00:13:56 +03:00
Makis Maropoulos
d837381b16 Update to 3.0.0-rc.1 - Read the HISTORY.md. Relative: #183 #184 #166 #176 #181
Read https://github.com/kataras/iris/tree/master/HISTORY.md
2016-06-14 08:45:40 +03:00