Commit Graph

324 Commits

Author SHA1 Message Date
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
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
077984bd60 🌈 sessions were re-written, update to 4.0.0-alpha.2, read HISTORY.md
**Sessions were re-written **

- Developers can use more than one 'session database', at the same time,
to store the sessions
- Easy to develop a custom session database (only two functions are
required (Load & Update)), [learn
more](https://github.com/iris-contrib/sessiondb/blob/master/redis/database.go)
- Session databases are located
[here](https://github.com/iris-contrib/sessiondb), contributions are
welcome
- The only frontend deleted 'thing' is the: **config.Sessions.Provider**
- No need to register a database, the sessions works out-of-the-box
- No frontend/API changes except the
`context.Session().Set/Delete/Clear`, they doesn't return errors
anymore, btw they (errors) were always nil :)
- Examples (master branch) were updated.

```sh
$ go get github.com/iris-contrib/sessiondb/$DATABASE
```

```go
db := $DATABASE.New(configurationHere{})
iris.UseSessionDB(db)
```

> Note: Book is not updated yet, examples are up-to-date as always.
2016-07-15 20:50:36 +03:00
Makis Maropoulos
af4df18ec4 Add more todos - the first 3 should be implemented today 2016-07-14 10:46:24 +03:00
Makis Maropoulos
cf03512590 remove wiki link from readme 2016-07-13 20:41:08 +03:00
Makis Maropoulos
adf82c7aa2 Update readme versioning section - add v3 information 2016-07-13 19:39:08 +03:00
Makis Maropoulos
9892620ce5 Add a simple map type RenderOptions to help users remember it easier 2016-07-13 14:59:37 +03:00
Makis Maropoulos
74aeb081ee move the template engines manager to the iris-contrib/template 2016-07-13 14:54:56 +03:00
Makis Maropoulos
f7a782b692 Remove deprecated functions 2016-07-13 14:05:32 +03:00
Makis Maropoulos
e0ebc84bfe It was a git-push error - remove previous' versions configuration https://github.com/kataras/iris/issues/280 2016-07-13 12:41:17 +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
688acce071 Fix config's wrong editor's import 2016-07-13 00:32:40 +03:00
Makis Maropoulos
0995331f78 Fix broken configs from last commit 2016-07-12 19:21:26 +02: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
4fd3460662 Merge remote-tracking branch 'refs/remotes/origin/dev' 2016-07-08 22:12:13 +02:00