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
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
791c01d7e7
Merge remote-tracking branch 'refs/remotes/origin/dev'
2016-07-08 21:33:54 +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
032cc01792
Merge remote-tracking branch 'refs/remotes/origin/dev'
2016-07-08 19:42:05 +02:00
Makis Maropoulos
6761d58e53
Final v3
2016-07-08 19:41:50 +02:00
Makis Maropoulos
52099314e6
Prepare for custom child router(s) via plugin(s) for tomorrow
2016-07-07 23:59:00 +02:00
Makis Maropoulos
58fddece5b
Merge remote-tracking branch 'refs/remotes/origin/dev'
2016-07-07 17:17:50 +02:00
Makis Maropoulos
e3b2c68085
Parse server's addr before use it
2016-07-07 17:17:34 +02:00
Makis Maropoulos
96734efedc
Merge remote-tracking branch 'refs/remotes/origin/dev'
2016-07-07 16:02:29 +02:00
Makis Maropoulos
981fef9ecf
add test for cookie set/get/remove to help this guy https://github.com/kataras/iris/issues/270
2016-07-07 16:02:15 +02:00
Makis Maropoulos
aefaff1297
Merge remote-tracking branch 'refs/remotes/origin/dev'
2016-07-07 13:05:31 +02:00
Makis Maropoulos
0cb2351a4f
Fix some invalid unlocks from the last change
2016-07-07 13:05:11 +02:00
Makis Maropoulos
ec5a71e0af
Merge remote-tracking branch 'refs/remotes/origin/dev'
2016-07-07 02:50:21 +02:00
Makis Maropoulos
871b43cae7
Update history
2016-07-07 02:43:33 +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
7723c22ef6
Ok finish the important staff, the other are already tested hundreds of times
2016-07-07 01:36:38 +02:00
Makis Maropoulos
f5f7f22245
Ok finish the context's tests
2016-07-07 01:26:05 +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
d76b73427b
New: ListenVirtual and ListenTo specific configs - server_test fixed
2016-07-05 15:26:47 +02:00
Makis Maropoulos
afa5b57dc7
Add virtual listen same as NoListen- some changes in order the server_test no need any system modification
2016-07-05 14:29:32 +02:00
Makis Maropoulos
93dc7c7e48
Add some tests
2016-07-05 13:37:10 +02:00
Makis Maropoulos
126e170371
Add a Test framework to make it easier to test Iris app
...
I will commit the tests , mostly to see how this is working, when I
finish with the front-end tests
2016-07-03 16:26:53 +02:00
Makis Maropoulos
0d4b0ecd43
Rocket chat is on, Add Port() to the HTTPServer, disable subdomain persistence on subdomains when 127.0.0.1/0.0.0.0
...
I already made a test framework integration but I will commit this when
I finish with the basic tests, we are going to final v3
2016-07-03 16:21:57 +02:00
Makis Maropoulos
c443dc9808
Fix semantic typo for Redirection via Route name
2016-07-03 10:38:03 +02:00
Makis Maropoulos
d2ec0fa3e4
Rocket is down (again), use alternative chat
2016-07-03 07:15:09 +02:00
Makis Maropoulos
1354b74822
Available is never returns false, just re-allocate on .Close - test https://github.com/iris-contrib/tests/blob/master/server_test.go
2016-07-03 02:01:48 +02:00
Makis Maropoulos
160b8d9545
Rocket chat is on again, update readme link
2016-07-02 20:21:17 +02:00
Makis Maropoulos
9e2eaec2a2
Remove all tests from here and transfer them to iris-contrib/tests
2016-07-02 19:38:04 +02:00
Makis Maropoulos
93ddb7f3b4
Move middleware test(s) to the test folder
2016-07-02 19:03:03 +02:00
Makis Maropoulos
90c7e1466c
Add test for basic auth
2016-07-02 18:53:36 +02:00
Makis Maropoulos
263fc77e5c
Add tests for context body reader and for mux api (.API)
2016-07-02 17:44:01 +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