Commit Graph

49 Commits

Author SHA1 Message Date
luzp
abfe6dbdea fix the password of redis connection options 2020-12-06 12:56:33 +08:00
Gerasimos (Makis) Maropoulos
f1ebddb6d9
jwt: add redis blocklist 2020-11-02 06:31:28 +02:00
Gerasimos (Makis) Maropoulos
2d62d49fdb
fix redis sessions database prefix 2020-10-10 13:18:33 +03:00
Gerasimos (Makis) Maropoulos
cc7e3860f2
fix #1610 #1651 - read HISTORY.md 2020-10-04 16:50:21 +03:00
Gerasimos (Makis) Maropoulos
7431fcc9cf
more tiny improvements 2020-09-13 14:28:05 +03:00
Gerasimos (Makis) Maropoulos
889b7942d3
add two new examples and share the app's specific logger instance with sessions databases and APIBuilder 2020-08-16 07:07:36 +03:00
Gerasimos (Makis) Maropoulos
c18106166b fix #1553
Former-commit-id: 5cb64a4121a664d5066312d385ebd36bb05151ce
2020-07-19 07:09:14 +03:00
Gerasimos (Makis) Maropoulos
871b4ef7fc add Context.ReadJSONProtobuf method
Former-commit-id: 9c7f268c0d7be7e405ea97a5ac12257beba3a4f3
2020-06-28 23:05:07 +03:00
Gerasimos (Makis) Maropoulos
47abb314ec remove invalid comments
Former-commit-id: 404f9a2683890981ca643e20fce78c3c42586153
2020-06-27 13:58:34 +03:00
Gerasimos (Makis) Maropoulos
9863611264 fix PR: https://github.com/kataras/iris/pull/1546
Former-commit-id: be901767a8008556e3499da60f6ca65f80219346
2020-06-27 13:53:16 +03:00
will
b8218df789 add cluster driver
Former-commit-id: 1ca87c78690a3c7a5bb40d8d669de4371bd3932c
2020-06-27 17:33:02 +08:00
Gerasimos (Makis) Maropoulos
3f98b39632 fix #1539
Former-commit-id: f2f277cd5cbe781ce596adc7840a1b1bc3b3bfc6
2020-06-19 05:54:21 +03:00
Gerasimos (Makis) Maropoulos
21a013569f add TLSConfig on redis configuration #1515
Former-commit-id: 3ce4a43185c7b6b5250f49483d7d229ea9dd1670
2020-05-17 03:25:32 +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
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
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
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
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
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
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
Gerasimos (Makis) Maropoulos
f6436f2af4 https://github.com/kataras/iris/issues/1061
Former-commit-id: 4324e81ea94ef917ce39005b6038a6819bb63258
2018-08-14 16:29:04 +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
Gerasimos Maropoulos
1165b4527a fix https://github.com/kataras/iris/issues/921
Former-commit-id: f8560514a7b48f83121ddd21d74b4016af4e1b67
2018-03-08 20:55:58 +02:00
kataras
15feaf0237 Update to version 8.5.5 | Read HISTORY.md
Former-commit-id: dced7d472edabbab4f80c76051f13261928a8dea
2017-11-02 05:54:33 +02:00
Gerasimos (Makis) Maropoulos
7989a2fd72 fix https://github.com/kataras/iris/issues/771
Former-commit-id: 5659b6ca274bb51d7de0d079b0e87c0c513540a6
2017-09-30 23:52:32 +03:00
kataras
3ec5ff58c9 Fix https://github.com/kataras/iris/issues/726
My second mistake on redis session db because I'm not personally use redis, so I'm waiting for redis users to find these type of errors inside it, such as @sy264115809


Former-commit-id: df84348df7509c0f863f41f01de6ed6db6e8133e
2017-08-21 20:59:54 +03:00
kataras
996961dd86 fix redis sessiondb expiration
I don't know why I did add LifeTime.Second() back then, it was silly of me but didn't receive any reports except a commit comment 25 minutes ago, so we can assume that redis is almost "dead" nowdays. Thank you for the notice @sy264115809


Former-commit-id: 140caa2a42aa16b1e80905d24976c481eae24c69
2017-08-20 18:57:19 +03:00
kataras
87d0f2e967 Add "Blogs" | Prev Commit: Update to 8.2.1 | LevelDB-based session database implemented, Read HISTORY.md
Former-commit-id: 1b7b288c1cf1d400f229794a33f3c049054f341f
2017-08-08 16:05:16 +03:00
kataras
92d0b146df remove MaxAgeSeconds from redis sessiondb - now it derives from the sessions configuration automatically. Add option to use an existing BoltDB connection on boltdb sessiondb.
TODO: leveldb sessiondb

Former-commit-id: 8cb781bf089ab7b9a09dccc633454db9c6077610
2017-08-08 12:31:42 +03:00
kataras
48e352e1df Update to 8.2.0 | BoltDB session database, fix file sessiondb, faster, simpler and improvement Session Database API
Former-commit-id: 4034737a65b78a77277e4283fd9289c17f4a452e
2017-08-07 06:04:35 +03:00
kataras
d08c8aa1d6 Session database for file-storage https://github.com/kataras/iris/issues/702 using the latest API (Not tested on every OS, yet)
Former-commit-id: fb98f86f2a602d543ca1abb5281a30af96462c11
2017-08-02 21:18:37 +03:00
kataras
6fb90cfdb4 Implement a file-storage session database for https://github.com/kataras/iris/issues/702 (UNTESTED)
Former-commit-id: 7ca4183ee0602936d8270d6e7dac6bec3d3fa2b5
2017-08-02 20:53:17 +03:00
hiveminded
9143ccec6e add PartyFunc and gofmt -s -w . 🔷
Former-commit-id: a3809498a45140d691f3f235ad9cb25239d495a2
2017-08-01 22:25:08 +03:00
corebreaker
0f1a265e5a Fix up for sessions
- Restore expiration state of the sessions
- Add APIs to modify expire date
- Free the timer for the session destroy task

Former-commit-id: 4d796a9efba2c37cd3750275ac62c068ceb82be8
2017-07-31 21:49:30 +03:00
kataras
9f85b74fc9 Add notes for the new lead maintainer of the open-source iris project and align with @get-ion/ion by @hiveminded
Former-commit-id: da4f38eb9034daa49446df3ee529423b98f9b331
2017-07-10 18:32:42 +03:00
kataras
e4df35e351 Fix https://github.com/iris-contrib/community-board/issues/10 and upgrade the minor version number
Former-commit-id: 02f6656aceb890217bfc19688d7f45224df274ec
2017-06-12 18:23:35 +03:00
kataras
5e4b63acb2 Publish the new version ✈️ | Look description please!
# FAQ

### Looking for free support?

	http://support.iris-go.com
    https://kataras.rocket.chat/channel/iris

### Looking for previous versions?

    https://github.com/kataras/iris#version

### Should I upgrade my Iris?

Developers are not forced to upgrade if they don't really need it. Upgrade whenever you feel ready.
> Iris uses the [vendor directory](https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo) feature, so you get truly reproducible builds, as this method guards against upstream renames and deletes.

**How to upgrade**: Open your command-line and execute this command: `go get -u github.com/kataras/iris`.
For further installation support, please click [here](http://support.iris-go.com/d/16-how-to-install-iris-web-framework).

### About our new home page
    http://iris-go.com

Thanks to [Santosh Anand](https://github.com/santoshanand) the http://iris-go.com has been upgraded and it's really awesome!

[Santosh](https://github.com/santoshanand) is a freelancer, he has a great knowledge of nodejs and express js, Android, iOS, React Native, Vue.js etc, if you need a developer to find or create a solution for your problem or task, please contact with him.

The amount of the next two or three donations you'll send they will be immediately transferred to his own account balance, so be generous please!

Read more at https://github.com/kataras/iris/blob/master/HISTORY.md


Former-commit-id: eec2d71bbe011d6b48d2526eb25919e36e5ad94e
2017-06-03 23:22:52 +03:00