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
Makis Maropoulos
230d063e6d
fix tests
2016-07-08 22:11:57 +02:00
Makis Maropoulos
40ab94a9fc
Fix tests
2016-07-08 22:11:39 +02:00
Makis Maropoulos
68111f57d1
Replace fasthttp's with correct remove cookie code... fixes flash messages and sessions on some cases
2016-07-08 21:33:41 +02:00
Makis Maropoulos
6761d58e53
Final v3
2016-07-08 19:41:50 +02:00
Makis Maropoulos
e3b2c68085
Parse server's addr before use it
2016-07-07 17:17:34 +02:00
Makis Maropoulos
0b8cb29e0c
Update to 3.0.0-pre.release, Read HISTORY.md for new features and changes
...
Yes new features, with Iris you always get them on each version or
revision or non-semantic version
2016-07-07 02:36:48 +02:00
Makis Maropoulos
728cba60f7
Add test for RedirectTo and fix the wrong-way-to-do-test-with-map-which-keys-some-times-change-order-lol
2016-07-07 01:20:04 +02:00
Makis Maropoulos
01914b6c37
Fasthttp seems have little bug with headers, so make a VisitAllCookies function and GetFlashes completed- tests added also
2016-07-07 00:25:50 +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
50b1366e9d
improve the flash messages test
2016-07-02 15:16:42 +02:00
Makis Maropoulos
9100560e00
Embrace https://github.com/kataras/iris/issues/250 - Flash messages available inside request life
2016-07-02 15:02:33 +02:00
Makis Maropoulos
781abb00ea
Fix https://github.com/kataras/iris/issues/244 and some more things
2016-06-30 14:26:42 +03:00
Makis Maropoulos
49c1a595ec
Remove unused context.Domain
...
it was added (and wrong idx) on previous commit for some of my internal
tests, this is not used anywhere so remove it.
2016-06-30 06:02:07 +03:00
Makis Maropoulos
66a66fdfa0
Fix https://github.com/kataras/iris/issues/231
2016-06-30 05:58:04 +03:00
Makis Maropoulos
7e9dc068fb
Extend the Handlebars support as requested here https://github.com/kataras/iris/issues/239#issuecomment-229020737
...
History, Books & examples are updated.
2016-06-28 18:06:52 +03:00
Makis Maropoulos
04dbd0bac9
Fix https://github.com/kataras/iris/issues/237
2016-06-28 10:19:17 +03:00
Makis Maropoulos
abccf7fc06
Add ParamInt64 as requested on chat from the community
2016-06-26 08:46:04 +03:00
Makis Maropoulos
132021ec43
Add URLParamInt64 as requested by the community on chat
2016-06-26 08:44:10 +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
56f78567a2
New: OAuth2 support via gothic. Example: https://github.com/iris-contrib/gothic/blob/master/example/main.go
...
https://github.com/iris-contrib/gothic/blob/master/example/main.go
2016-06-22 12:45:57 +03:00
Makis Maropoulos
70b5e3d090
New feature: Auth support for social networks, dropbox, amazon and so on. Untested
...
https://github.com/iris-contrib/goth/ is the main package which has been
converted to work with Iris from the ...
https://github.com/markbates/goth/ . Not yet tested on real application.
2016-06-22 04:22:12 +03:00
Makis Maropoulos
39e1504ba3
Fix https://github.com/kataras/iris/issues/196
2016-06-19 10:32:20 +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
Makis Maropoulos
7f5fd1904b
Remove the golang.org/x/net/context
2016-06-04 23:33:34 +03:00
Makis Maropoulos
26ef396959
Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI
...
Examples and e-book updated also.
2016-06-04 23:07:19 +03:00
Makis Maropoulos
1a433e34d5
Wildcard subdomain full support | v3.0.0-beta.2
...
Update to v3.0.0-beta.2.
Wildcard subdomain e-book section:
https://kataras.gitbooks.io/iris/content/subdomains.html
2016-06-04 16:20:32 +03:00
Makis Maropoulos
31cbd50fb0
Linting
2016-05-31 11:05:42 +03:00
Makis Maropoulos
c26668a489
Version 3.0.0-beta cleaned
2016-05-30 17:08:09 +03:00