Commit Graph

105 Commits

Author SHA1 Message Date
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
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
d00bd8e595 nothing special here 2016-09-18 21:57:15 +03:00
Gerasimos Maropoulos
4eee3e5f53 Export the funcs: AcquireCtx and ReleaseCtx, see previous commit for more 2016-09-18 07:21:35 +03:00
Gerasimos Maropoulos
131eddb701 Ability to change the whole default router 2016-09-18 06:55:44 +03:00
Gerasimos Maropoulos
27f2ba7be9 Update DONATIONS.md summary & iris updater runs async unless CheckForUpdatesSync is true 2016-09-18 00:50:10 +03:00
Gerasimos Maropoulos
e24d45f66a Update to 4.2.5 2016-09-16 21:16:48 +03:00
Gerasimos Maropoulos
3915aa4361 cover the default station's upate( https://github.com/kataras/iris/issues/401 ) action 2016-09-16 10:25:56 +03:00
Gerasimos Maropoulos
c818b9d4bf Implement a version checker, as requested here: https://github.com/kataras/iris/issues/401
Read the README.md
2016-09-16 10:02:18 +03:00
Gerasimos Maropoulos
741ecbf2fb https://github.com/kataras/iris/issues/423 2016-09-15 18:59:27 +03:00
Gerasimos Maropoulos
7ea334812f Align with the latest go-sessions 2016-09-13 07:54:44 +03:00
Gerasimos Maropoulos
787425e5c5 Donations Summary Update and a small fix 2016-09-12 23:25:17 +03:00
Gerasimos Maropoulos
97431f2650 Replace response engines with serializers, same job but organized better, read README.md , no front-end changes if you used default engines. 2016-09-10 07:23:02 +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
a073e442fc Align sessions with the latest kataras/go-sessions. Now you should update :) 2016-09-05 13:08:32 +03:00
Gerasimos Maropoulos
1537a657c0 Nothing really special, but tests seems to match better with old-style .New() on contextPool although I though that was the same thing... 2016-09-05 12:10:45 +03:00
Gerasimos Maropoulos
482c108839 Remove unused Plugin's custom callbacks. 2016-09-05 03:56:28 +03:00
Gerasimos Maropoulos
27e21d2685 (from previous commit) fix sessions init when UseDatabaseDB before session manager 2016-09-04 22:09:54 +03:00
Gerasimos Maropoulos
b8b52ad46e Update to 4.1.4. Users & Devs can ignore this update. Read HISTORY.md for more 2016-09-04 22:02:31 +03:00
Gerasimos Maropoulos
c38a9b2459 Developers can ignore this update. Replace the template engines with a new cross-framework package (kataras/go-template) 2016-09-02 06:05:44 +03:00
Gerasimos Maropoulos
6163726bc5 Replace utils/file with go-fs and go-installer, fix previous tests 2016-09-01 06:34:55 +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
2d067ac081 Update to 4.1.1 - Able to set Sessions.CookieLength. Read HISTORY.md
https://github.com/kataras/iris/blob/master/HISTORY.md
2016-08-18 03:20:59 +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
ca2e46f1c3 Fix multi websocket servers https://github.com/kataras/iris/issues/365 2016-08-16 13:17:26 +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
56bd511427 Stable v4.0.0.
All releases happens one-per-month, with new features at each stable
release, you had complains so that stops, the next release will may not
be available on next month, but it will take longers, this release
should be the most iris stable version you can get now.
2016-08-09 22:48:09 +03:00
Gerasimos Maropoulos
a4fbf4db4e Fix https://github.com/kataras/iris/issues/350 2016-08-09 22:12:03 +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
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
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
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
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
352b297977 Fix https://github.com/iris-contrib/sessiondb/issues/1 2016-07-20 20:23:54 +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
69a4f11718 Fix https://github.com/kataras/iris/issues/303 2016-07-19 08:48:57 +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
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
74aeb081ee move the template engines manager to the iris-contrib/template 2016-07-13 14:54:56 +03:00