1
0
mirror of https://github.com/alexedwards/scs.git synced 2025-07-15 01:04:36 +02:00
Commit Graph

333 Commits

Author SHA1 Message Date
ae97f9fbae Merge pull request #230 from earthboundkid/cj-race-fix
sqlite3store: Fix race in StopCleanup
2025-02-05 22:30:42 +01:00
7869406cf4 sqlite3store: Fix race in StopCleanup
Fixes #228
2024-12-20 17:14:28 -05:00
7e11d57e88 Merge pull request #197 from bramvbilsen/master
Add Opt-In Functionality for Hashed Session Token Storage
v2.8.0
2024-03-16 14:40:38 +01:00
d7ab9d9831 Merge pull request #201 from alexedwards/dependabot/go_modules/pgxstore/github.com/jackc/pgx/v5-5.5.4
Bump github.com/jackc/pgx/v5 from 5.3.1 to 5.5.4 in /pgxstore
2024-03-16 14:33:59 +01:00
87e5a793db Bump github.com/jackc/pgx/v5 from 5.3.1 to 5.5.4 in /pgxstore
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.3.1 to 5.5.4.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.3.1...v5.5.4)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14 21:54:37 +00:00
7134b6f875 Moved hashed token test to better location 2024-02-05 11:58:09 -06:00
399ea3dd07 Implemented hashes session tokens in store 2024-02-05 11:25:01 -06:00
a38e822451 Support Hijacker and Flusher interfaces for Go 1.20+ 2024-02-03 18:44:19 +01:00
cef4b05350 Merge pull request #178 from Daniel-Sogbey/documentation/improve-markdown-formatting
docs: Enhance Markdown formatting in README
2023-11-13 10:11:46 +01:00
889fbb6988 Merge branch 'master' into documentation/improve-markdown-formatting 2023-11-13 02:45:05 +00:00
f6f87ffd96 new update : docs: Enhance Markdown formatting in README 2023-11-13 02:42:08 +00:00
4deadb9320 Add section on flushing/streaming and contributing guidelines v2.7.0 2023-11-12 10:10:51 +01:00
df09415656 Merge pull request #182 from alexedwards/dependabot/go_modules/firestore/google.golang.org/grpc-1.56.3
Bump google.golang.org/grpc from 1.53.0 to 1.56.3 in /firestore
2023-11-11 19:55:42 +01:00
944b9c2a3b Merge pull request #181 from fnoopv/master
feat: add SetDeadline method
2023-11-11 19:54:05 +01:00
ab21e2c52d Bump google.golang.org/grpc from 1.53.0 to 1.56.3 in /firestore
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.53.0...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-25 22:31:01 +00:00
b1eea39ac8 feat: add SetDeadline method 2023-10-23 15:25:28 +08:00
84bd122bd8 Format expiry time to UTC and 2006-01-02T15:04:05.999 before commit v2.6.0 2023-10-22 18:46:06 +02:00
a803960ebd Remove debugging log message 2023-10-22 13:35:21 +02:00
f2f88f02d4 Fix broken example code 2023-10-22 13:33:30 +02:00
2fe5948bce Prevent logging if no matching session found 2023-10-22 13:33:13 +02:00
dabd6a6384 Merge pull request #172 from alexedwards/dependabot/go_modules/firestore/google.golang.org/grpc-1.53.0
Bump google.golang.org/grpc from 1.42.0 to 1.53.0 in /firestore
2023-10-21 19:08:55 +02:00
4c4a69f4f7 Merge pull request #179 from testwill/typo
fix: typo
2023-10-19 10:20:33 +02:00
63ef7e0db4 fix: typo
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-10-18 09:29:13 +08:00
fcc337923c Improve the formatting of the code block in the README by escaping the $ character. This ensures that when users copy the code, the $ sign is not included. 2023-10-11 12:10:34 +00:00
95fa2ac9d5 Bump dependencies 2023-09-02 09:08:21 +02:00
f2be89a521 Bump google.golang.org/grpc from 1.42.0 to 1.53.0 in /firestore
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.42.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.42.0...v1.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 21:11:51 +00:00
10d4299e3b Merge pull request #162 from ibmendoza/master
Does not compile with Connect func (must be New)
2023-03-27 18:17:57 +02:00
547587be69 Does not compile with Connect func (must be New) 2023-03-22 09:15:39 +08:00
62e546ce9d Don't buffer responses when using LoadAndSave() 2023-03-05 16:31:48 +01:00
a07530f96c Merge pull request #157 from zaeph/bump-pgx
Bump pgx from v4 to v5
v2.5.1
2023-03-05 12:41:26 +01:00
dbeea1bb7b Fix example 2023-03-05 10:03:34 +01:00
aad52a6589 Merge pull request #153 from jum/goredis
Add a redis store based on the official redis go client.
2023-03-05 10:00:40 +01:00
a82c3af678 Update example with bumped version of pgxpool 2023-03-05 09:37:50 +01:00
0b5d90febb Merge pull request #161 from alexedwards/dependabot/go_modules/firestore/golang.org/x/text-0.3.8
Bump golang.org/x/text from 0.3.7 to 0.3.8 in /firestore
2023-03-05 09:34:53 +01:00
ab86f30aab Bump golang.org/x/text from 0.3.7 to 0.3.8 in /firestore
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-05 08:30:53 +00:00
7f514226c7 Merge pull request #155 from alexedwards/dependabot/go_modules/bunstore/golang.org/x/sys-0.1.0
Bump golang.org/x/sys from 0.0.0-20211123173158-ef496fb156ab to 0.1.0 in /bunstore
2023-03-05 09:29:54 +01:00
025e5220a6 Merge pull request #138 from lpic10/master
Fix default on gorm test
2023-03-05 09:13:41 +01:00
351db6a41d Merge pull request #133 from stillwondering/master
Ensure all expired tokens are removed per cleanup
2023-03-05 09:12:13 +01:00
ddb9667bb4 Merge pull request #147 from Abirdcfly/patch-1
delete minor unreachable code caused by log.Fatal
2023-03-05 09:10:31 +01:00
2b8db6b8b1 Bump pgx from v4 to v5
pgxpool@v5 uses New() instead of Connect() to create the pool.
2023-02-28 08:33:03 +01:00
445805c0a7 Bump golang.org/x/sys in /bunstore
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20211123173158-ef496fb156ab to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 10:29:25 +00:00
4571a76c85 Add required dummy method to make the CtxStore interface work. 2023-02-17 13:50:45 -07:00
6b1bedc0f0 Update dependencies 2023-02-17 13:03:14 +01:00
bb70691df1 Update go.mod 2023-02-17 12:04:09 +01:00
e57aa9ca96 Update go.mod 2023-02-17 12:01:36 +01:00
a718a61351 Implement a test for the session iterator. 2023-02-16 14:25:54 -07:00
895318a06a Add a redis store based on the official redis go client. 2023-02-16 14:08:33 -07:00
1257cb2752 Merge pull request #152 from nevernotmove/master
Fix typo in README
2023-02-01 06:40:56 +01:00
c91ae677c4 Fix typo 2023-01-31 23:45:42 +01:00
238b052508 Merge pull request #144 from jum/renewtoken
Do not attempt to delete an uncommitted token.
2022-12-23 14:15:19 +01:00