Gerasimos (Makis) Maropoulos
|
a1e6d81b49
|
add access to the session manager through new 'Session.Man' field
relative to: https://github.com/kataras/iris/issues/1485
Former-commit-id: c4ced38b74af42bfcd17abe6b439b35db6837bbf
|
2020-04-13 22:15:55 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
629ae3c688
|
minor: sessions testing: fix travis by using InRange for cookie's MaxAge
Former-commit-id: a1d6096aec0d716539e1b4b35547c7b3f05bbd3f
|
2020-04-13 10:01:51 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
989ac436e8
|
fix https://github.com/kataras/iris/issues/1485 by adding and using the new 'context.UpsertCookie' instead of 'context.SetCookie'
Former-commit-id: 31a50e580929616504b9bbbb1d602b0e9274a568
|
2020-04-13 09:27:49 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
e1d3cad905
|
add test for sessions.UpdateExpiration
Former-commit-id: fe80e61981dfac925eebe472d56641d9c3543b31
|
2020-04-13 07:11:41 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
f03afeef2f
|
add Context.SetSameSite(integrates with sessions too) , iris.JSON.ASCII and iris.JSON.Secure option fields
Former-commit-id: fdf0dae234b219c9ca449ae8907d3e459d485dc7
|
2020-04-07 19:23:30 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
3093d65363
|
version 12.1.5
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
|
2020-02-02 16:29:06 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
b2c5ec03fd
|
miscellaneous
Former-commit-id: bc2fddd4da23ec917be5dd9e8bddd4b13cdce050
|
2020-01-07 03:41:07 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
7f720eb33d
|
fix #1407
Former-commit-id: acd8d582aab7b278ea99d0f02d79a33a8b5ee86f
|
2019-12-19 07:10:31 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
3945fa68d1
|
obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository
We have to do the same on iris-contrib/examples, iris-contrib/middleware and e.t.c.
Former-commit-id: 0860688158f374bc137bc934b81b26dcd0e10964
|
2019-10-25 01:27:02 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
221978e41a
|
Upgrade to new go errors and some minor fixes and improvements including easier debugging of invalid routes and e.t.c.
Former-commit-id: 5809157b952ccc61a67a9861470774b3a6fee024
|
2019-10-24 18:57:05 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
9d09e8637b
|
fix radix get keys issue described at: #1328
Former-commit-id: beaf1f301ba8967fb7b56dc670818dedda324819
|
2019-08-22 14:46:39 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
0737c4364c
|
improvement for https://github.com/kataras/iris/issues/1328#issuecomment-522952979
Former-commit-id: a2519c17a039b67129bd5683e9e9a1239c441c0a
|
2019-08-20 14:19:42 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
2cd217f110
|
add clusters support for sessiondb:redis:Radix() #1339
Former-commit-id: d748d1e19a29851abbbfc0264fd04c462158b645
|
2019-08-20 12:29:54 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
07046ab978
|
formatting
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
|
2019-08-17 10:06:20 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
db433f7dca
|
minor: sessions: set SameSite to Lax when sharable with subdomains is not disabled.
Former-commit-id: d0b15433d5f325f24972669b485be9cf5be6d68a
|
2019-08-16 12:41:20 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
eb29a80753
|
redis sessiondb: support more than one driver - builtin redigo(default) and radix - rel to: #1328
Former-commit-id: 1eee58f2c49f64899fffc3ad61bcf074f8949cc1
|
2019-08-06 18:40:13 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
29bf846bd1
|
minor version 11.2.2 - register sessions as middleware and Context.HTML/Text like Context.Writef
Former-commit-id: 6f5f1c502fb06d739c350c3ecc891f495dc03a6e
|
2019-07-24 19:51:42 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
4a937b55f2
|
remove the old redis (result of prev commit sync with master)
Former-commit-id: 81e8ad0ea4115640d556a1299f09f89f75fe133f
|
2019-07-23 19:22:10 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
736709aa75
|
resolve conflicts with current master v11.1.1
Former-commit-id: 659ff392e889f3a8552d7da3d44848f1a364f7b2
|
2019-07-23 19:20:07 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
4caf8d7d9b
|
remove some examples learning content as they are exist on the wiki itself now
Former-commit-id: 8c69be5bf8ca21eb0e405ca5ad8431ceb1c2511e
|
2019-07-23 17:47:28 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
ccafe67c80
|
nothing important here
Former-commit-id: e6c4ade12d085cb8fa4989b15fa446b75ee114b2
|
2019-07-15 09:58:05 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
137c41344d
|
Updated all dependencies one by one to go.mod - Backup and remove the vendor folder entirely and update most of the examples - next commit will contain the rest of the updated
Former-commit-id: 2791c50256c0f00d6e08a408e5cb009262c49588
|
2019-07-15 07:49:04 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
33dfb42d73
|
add the new neffos StackExchange feature to the type aliases and shortcuts of the websocket subpackage and auto-enable debug mode on websocket MVC application when iris logger's level is set to debug
Former-commit-id: 4d8cb79d01a4172fc1ed7a9b626da0228d902b3c
|
2019-07-11 12:59:11 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
b71d4032e6
|
replace the redis library we used with another one, no performance differences but most options for connections pooling and read/write/connect timeout (two config fields are changed as well)
relative to: https://github.com/kataras/iris/issues/1285
Former-commit-id: c20530cd67144ab8d1c9325807fe5c13268fa428
|
2019-06-22 14:46:20 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
7af5f139e0
|
fix typo
Former-commit-id: 7b5d5530279789a3118190feb57776948b305662
|
2019-06-07 21:07:08 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
adb6fd764a
|
extract the Delim for redis sessiondb as requested at https://github.com/kataras/iris/issues/1256 and add a mvc/regexp example and some other trivial changes
Former-commit-id: f9e09320bfe07ae10ac74f54a78272cf21d21cc7
|
2019-05-30 10:48:07 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
ddec78af0a
|
add Context.ResponseWriter.IsHijacked to report whether the underline conn is already hijacked and a lot of cleanup and minor ws stress test example improvements
Former-commit-id: 444d4f0718d5c6d7544834c5e44dafb872980238
|
2019-02-23 07:23:10 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
bda36145e5
|
some cleanup, and remove the test 'testwebocket2' package at all; A lower-level fast websocket impl based on gobwas/ws will be published on a different repo, it is a WIP
Former-commit-id: b680974c593196ce20865ed12778929ced6afea1
|
2019-02-22 21:24:10 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
6ca19e0bca
|
sessions: give ability to the end-user to modify the cookie via context.CookieOption on Start and Update/ShiftExpiration as requested at: https://github.com/kataras/iris/issues/1186, add a StartWithPath helper as well
Former-commit-id: a9f8715b07049a5720a38c9352bb1ff781dfc04d
|
2019-02-16 21:03:48 +02:00 |
|
Dzmitry.Harupa
|
b1b5986974
|
session/redis: fix unused service config var. IdleTimeout witch was replaced by default values
Former-commit-id: 27752108409604cbabadf0d4457321f6e3336f9f
|
2018-11-27 14:55:00 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
80952bcbd5
|
Add the article 'CRUD REST API in Iris (a framework for golang)' and a starter kit for Iris written by @jebzmos4
Former-commit-id: 72eb72f11086b23c1bf849eb14ad846492a84cbd
|
2018-11-06 04:36:05 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
3962710d3d
|
Version 11 released. Read https://github.com/kataras/iris/blob/master/HISTORY.md#su-21-october-2018--v1100
Former-commit-id: fe6305deed00e170bf4d39a12c0644fe686e0a24
|
2018-10-21 19:20:05 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
b4a30f5af5
|
sessions database: boltdb: add support for ShiftExpiration -> OnUpdateExpiration like redis
badger sessiondb still in progress.
Former-commit-id: 1f89a0efb753c0e02b774e0d9e48d879e987c939
|
2018-08-18 15:01:26 +03:00 |
|
Akira Ho
|
45c1f6427f
|
fix / redis.getKeysConn() returns keys without Config.Prefix otherwise such keys passed into updateTTLConn() would get duplicate prefixes failing the ttl reset
Former-commit-id: bfcc02e5db16216d221c533fc28919fe292d6532
|
2018-08-16 17:42:01 +08:00 |
|
Akira Ho
|
4e7ca254d9
|
fix / redis service.TTL() returns seconds, hasExpiration, found
Former-commit-id: 25743848458f2a6cf3e78d5ae119d2ba2a822f79
|
2018-08-16 17:37:41 +08:00 |
|
Akira Ho
|
768dd76b62
|
fix / lifetime.Time not updated on expiration shift
Former-commit-id: 03cd1e8dcf20d6e68b70667d1f808860cb027d32
|
2018-08-15 14:21:22 +08:00 |
|
Gerasimos (Makis) Maropoulos
|
f6436f2af4
|
https://github.com/kataras/iris/issues/1061
Former-commit-id: 4324e81ea94ef917ce39005b6038a6819bb63258
|
2018-08-14 16:29:04 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
f7c0cbe5cd
|
update deps and move one vendor to our organisation for making a new branch in order to solve this: https://github.com/kataras/iris/issues/1040, although it's not ours problem...
Former-commit-id: 6013525d2aabc35461bf24871e3b36ca91004fb9
|
2018-07-15 16:09:03 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
0297afdc6b
|
nothing crazy here, add the 'Transcoder' type explicitly to the sessions#DefaultTranscoder, relative to https://github.com/kataras/iris/issues/1033
Former-commit-id: 3a907d20eaf2be4b0ee21aa2be3fcc2558b7fb4e
|
2018-06-27 13:30:28 +03:00 |
|
Gerasimos Maropoulos
|
f83e125d7f
|
fix https://github.com/kataras/iris/issues/1020, redis database stores the int as float64, so make that type assertion on GetInt as well
Former-commit-id: d29abdfe3a39fa1e046acbc5d118421a153d9c04
|
2018-06-03 02:47:48 +03:00 |
|
zhangpenghao-pd
|
5920df909e
|
fix cookie bug when domain is such as 'subsubdomain.subdomain.localhost.com'
Former-commit-id: 3a19ba09098cdc0f01299126d05c8d6d6387415b
|
2018-05-18 13:09:07 +08:00 |
|
Gerasimos Maropoulos
|
4d9909cba5
|
fix https://github.com/kataras/iris/issues/996
Former-commit-id: bcb8905faf20e08be1ef9ec203385a1a7440eebd
|
2018-05-09 01:28:26 +03:00 |
|
Gerasimos Maropoulos
|
b22151d4b7
|
Update to version 10.6.1 | Re-implement the BoltDB as built'n session database and more. Please read the HISTORY file for further details
Former-commit-id: fa68a914bec5fe4f595bdeaea84ecab6374ba643
|
2018-04-25 05:29:19 +03:00 |
|
Gerasimos Maropoulos
|
06c17bc8bb
|
sessions: add OnDestroy event, relative to: https://github.com/kataras/iris/issues/969
Former-commit-id: de9ad83a663f44d62dbb7520595cacb21a7f694a
|
2018-04-22 14:13:40 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
6862501f7f
|
Merge pull request #964 from Chengyumeng/fix/cookie
fix when destroy session can't remove cookie in subdomain
Former-commit-id: 5caf0fa5d92f53ba7b744dc1b3b7d47f688a96db
|
2018-04-22 14:01:48 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
e09a7e32ed
|
update to use the formatCookieDomain
Former-commit-id: eb1f56c33dbf56bdc9d9e8df5f3f4915ff3cec42
|
2018-04-22 14:00:08 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
d4c20b8e2a
|
update cookie.go to be aligned with quality standars
Former-commit-id: 54aea6a281106f60000645efc7f77ea04e72d7ac
|
2018-04-22 13:59:21 +03:00 |
|
Gerasimos Maropoulos
|
b62080c4bb
|
Sessions are now in full sync with the registered database, on acquire(init), set, get, delete, clear, visit, len, release(destroy) as requested by almost everyone. https://github.com/kataras/iris/issues/969
Former-commit-id: 49fcdb93106a78f0a24ad3fb4d8725e35e98451a
|
2018-04-22 13:52:36 +03:00 |
|
Chengyumeng
|
bb59ad8cf2
|
change code duplication from update/delete cookie
Former-commit-id: 87980f8ca6dc61a4fc3d722b90967154a74afc91
|
2018-04-13 19:06:24 +08:00 |
|
Gerasimos Maropoulos
|
cb69df2ccf
|
Add a very simple usage-example for sending server side events
Former-commit-id: 6df287d915a772bcae3f2f98445676aba39a2bc6
|
2018-04-10 21:01:24 +03:00 |
|