Commit Graph

79 Commits

Author SHA1 Message Date
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
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
8a861997a4 nothing special here 2016-12-13 07:12:58 +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
0513fa745b Add test for Redirect while ListenTLS/ListenLETSENCRYPT 2016-12-04 06:53:08 +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
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
7eb520fc6b [2] Continue working on #513 2016-10-28 11:13:12 +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
7e8c1e57d2 Nothing special, some linting 2016-10-16 17:13:49 +03:00
Gerasimos Maropoulos
e5547f7102 Change the comments on MustRender , now it renders a message instead of panic 2016-10-15 20:57:52 +03:00
Gerasimos Maropoulos
89abc3349d Replace panic with a message when MustRender fails 2016-10-15 20:48:06 +03:00
Gerasimos Maropoulos
122aab4083 Update to 4.6.0, read HISTORY.md
https://github.com/kataras/iris/blob/master/HISTORY.md
2016-10-13 17:25:01 +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
f66b7e2eab Update to 4.5.0 2016-10-09 21:09:53 +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
99734f7e11 Add some of the book's section on README too 2016-10-02 14:59:04 +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
2838c387ee Fast silly fix from previous commit 2016-09-15 19:13:39 +03:00
Gerasimos Maropoulos
741ecbf2fb https://github.com/kataras/iris/issues/423 2016-09-15 18:59:27 +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
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
532254e03b Bring back AcquireCookie and ReleaseCookie usage 2016-08-18 00:28:03 +03:00
Gerasimos Maropoulos
befa43ba2a context.SendFile supports resume (by range). https://github.com/kataras/iris/issues/359#issuecomment-240471538 2016-08-17 20:16:23 +03:00
Gerasimos Maropoulos
3beb292f4f Fix https://github.com/kataras/iris/issues/351 2016-08-16 19:23:12 +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
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
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
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
d10273391a Fix https://github.com/kataras/iris/issues/312 2016-07-25 14:45:12 +03:00
Gerasimos Maropoulos
85a2e98ba4 Try #https://github.com/kataras/iris/issues/275 2016-07-21 20:33:00 +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
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
9892620ce5 Add a simple map type RenderOptions to help users remember it easier 2016-07-13 14:59:37 +03:00
Makis Maropoulos
b99afb2875 Update to v4.0.0-alpha.1 2016-07-13 06:28:09 +03:00