Gerasimos Maropoulos
a4fbf4db4e
Fix https://github.com/kataras/iris/issues/350
2016-08-09 22:12:03 +03:00
Gerasimos Maropoulos
374bfa890c
https://github.com/kataras/iris/issues/348
2016-08-08 22:20:47 +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
2b364817c3
Nothing special here
...
On websocket:
https://github.com/kataras/iris/issues/340#issuecomment-237612680
2016-08-04 19:49:12 +03:00
Gerasimos Maropoulos
922248bbf1
Fix error handling on Listen functions
2016-07-31 15:01:28 +03:00
Gerasimos Maropoulos
08e6ea31de
Add a better check for domain persistance on sessions - add the community members names who helped on website & logo on README
2016-07-30 17:24:12 +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
f8f6abd906
Add PostValuesAll, PostValues, PostValue shortcut for aio multipart, form data, raw post, query data
2016-07-28 12:13:54 +03:00
Gerasimos Maropoulos
77955c8540
Fix https://github.com/kataras/iris/issues/321
2016-07-27 17:09:19 +03:00
Gerasimos Maropoulos
5f76942b52
no need to duplicate ourselves
2016-07-26 21:53:52 +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
3f13707428
Expose a standard Session interface on context/context.go | https://github.com/kataras/iris/issues/316
2016-07-26 19:36:31 +03:00
Gerasimos Maropoulos
5579153614
Fix the call to pointer on .UseTemplate(...).Directory(..).Binary(...)
2016-07-26 18:36:03 +03:00
Gerasimos Maropoulos
83c3eb216e
README: make & use the flat book cover as the logo
2016-07-25 22:07:12 +03:00
Gerasimos Maropoulos
012b8a3c71
A risk to update the first-view of the README
2016-07-25 20:28:44 +03:00
Gerasimos Maropoulos
6f5c83272b
prepend the slash on party.API if the developer forgotten that https://github.com/kataras/iris/issues/293#issuecomment-234966015
2016-07-25 17:18:50 +03:00
Gerasimos Maropoulos
952caa493e
Done/DoneFunc are kept to use for the child route parties also
2016-07-25 16:02:51 +03:00
Gerasimos Maropoulos
f3e216c738
.Done/.DoneFunc as requested, examples: https://github.com/iris-contrib/examples/tree/master/middleware_2
...
https://github.com/iris-contrib/examples/tree/master/middleware_2 &&
https://github.com/iris-contrib/examples/tree/master/middleware_3
2016-07-25 15:53:12 +03:00
Gerasimos Maropoulos
d10273391a
Fix https://github.com/kataras/iris/issues/312
2016-07-25 14:45:12 +03:00
Gerasimos Maropoulos
3ee38a363c
Update cover size
2016-07-24 02:42:23 +03:00
Gerasimos Maropoulos
5ede95eef2
Update readme, show the guide two times
2016-07-24 02:38:24 +03:00
Gerasimos Maropoulos
f24f487da8
README.md: Set the logo link to the community member folder
2016-07-23 17:08:24 +03:00
Gerasimos Maropoulos
111bd55ce3
Fix readme...
2016-07-23 17:06:38 +03:00
Gerasimos Maropoulos
279ac0831e
README UPDATE
2016-07-23 17:04:14 +03:00
Gerasimos Maropoulos
04fad544c4
Fix newline readme
2016-07-23 17:02:18 +03:00
Gerasimos Maropoulos
cb47e4b26c
README.md: Set the Docs & Community first, remove sec-image (it's on #benchmarks README.md)
2016-07-23 17:01:01 +03:00
Gerasimos Maropoulos
4f1722b5b8
Add optional 'donate & download' the e-book(guide)
2016-07-23 16:37:23 +03:00
Gerasimos Maropoulos
e084307366
Set one of the community's logos as banner, this will be here for 10 days and maybe more if users like it
...
https://github.com/kataras/iris/issues/153#issuecomment-228304573
2016-07-23 13:25:13 +03:00
Gerasimos Maropoulos
aa26a89533
Fix https://github.com/kataras/iris/issues/293
2016-07-21 23:08:42 +03:00
Gerasimos Maropoulos
85a2e98ba4
Try # https://github.com/kataras/iris/issues/275
2016-07-21 20:33:00 +03:00
Gerasimos Maropoulos
6b71452222
Update the readme with the newest benchmarks: 21 July 2016
2016-07-21 05:48:35 +03:00
Gerasimos Maropoulos
12cae9be3e
Iris run: (rizla) disable the banner on each reload, fix two-times reload on windows
2016-07-21 03:20:08 +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
352b297977
Fix https://github.com/iris-contrib/sessiondb/issues/1
2016-07-20 20:23:54 +03:00
Gerasimos Maropoulos
72c5d2882b
Update Readme: Fix Book sections for response & template engines
2016-07-20 07:07:41 +03:00
Gerasimos Maropoulos
245c732ff8
Show the updated benchmarks (July 19). Don't forget, book is updated: https://www.gitbook.com/book/kataras/iris/details
2016-07-20 07:04:27 +03:00
Gerasimos Maropoulos
fb45f71b8c
Update History, 4.0.0-alpha.4 - Book is updated also.
2016-07-20 06:35:50 +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
566a194836
Update glide.lock for fasthttp - cookies are not url encoded anymore
2016-07-19 09:00:37 +03:00
Gerasimos Maropoulos
0a427c1ce0
Next step is to update the gitbook for the v4 template engines changes and new features
2016-07-19 08:58:10 +03:00
Gerasimos Maropoulos
69a4f11718
Fix https://github.com/kataras/iris/issues/303
2016-07-19 08:48:57 +03:00
Gerasimos Maropoulos
6f91e6c588
Add option for Gzip again, I removed it after v3 but seems users wants it back
2016-07-19 06:50:49 +03:00
Gerasimos Maropoulos
084b689d37
Fix https://github.com/kataras/iris/issues/301
2016-07-19 06:35:52 +03:00
Gerasimos Maropoulos
b93ac27034
Set the session's configuration to a pointer
2016-07-19 06:19:37 +03:00
Gerasimos Maropoulos
d04edb96bb
Add Response Engines on the README, examples updated. book is the next step
2016-07-19 05:43:34 +03:00
Gerasimos Maropoulos
d90cfaea81
Nothing special here, read the HISTORY.md for 4.0.0-alpha.3 release
...
https://github.com/kataras/iris/blob/master/HISTORY.md
2016-07-18 18:16:58 +03:00
Gerasimos Maropoulos
9326a771aa
serious fixes from the ago-2minutes release of the 4.0.0-alpha.3, read the HISTORY.md
...
**How to upgrade**: remove your `$GOPATH/src/github.com/kataras/iris`
folder, open your command-line and execute this command: `go get -u
github.com/kataras/iris/iris`.
## 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 18:03:43 +03:00