Henry Oswald
|
35f31d5a3c
null check the user correctly
|
hace 9 años |
James Allen
|
8449b0417c
Move all redis end points to be cluster compatible
|
hace 9 años |
Shane Kilkelly
|
9f787943b6
Remove stray redis imports.
|
hace 9 años |
James Allen
|
593e59450b
Use different UserSessions keys for cluster vs normal redis session store
|
hace 10 años |
Shane Kilkelly
|
c3860dd7a7
Remove stray commented-out code, use mapSeries instead of map.
|
hace 10 años |
Shane Kilkelly
|
5f3098df38
Replace multi-ops with Async.series, tests passing
|
hace 10 años |
Shane Kilkelly
|
bfa0e7cf89
WIP: start moving web sessions to cluster
|
hace 10 años |
Shane Kilkelly
|
9d3baf488f
Use the query operator for existence check
|
hace 10 años |
Shane Kilkelly
|
a722646040
Remove un-used module
|
hace 10 años |
Shane Kilkelly
|
25dd998107
clear-sessions page (+4 squashed commits)
|
hace 10 años |
Shane Kilkelly
|
894c549ec6
WIP: display sessions on a page
|
hace 10 años |
Shane Kilkelly
|
0e9beb5653
remove daft redundancy.
|
hace 10 años |
Shane Kilkelly
|
9e35bdcaea
Refactor: add `?` suffix to truth tests.
|
hace 10 años |
Shane Kilkelly
|
dda0841af3
Return early if there are no keys to delete
|
hace 10 años |
Shane Kilkelly
|
3f1a47eccb
map the 'retain' values to session ids
|
hace 10 años |
Shane Kilkelly
|
5b9903551a
add an array of session ids to retain.
|
hace 10 años |
Shane Kilkelly
|
df0a7bc547
test the `_checkSessions` function.
|
hace 10 años |
Shane Kilkelly
|
2ae2e6ed4f
Test `trackSession`
|
hace 10 años |
Shane Kilkelly
|
a869c99c60
Begin testing `UserSessionsManager`.
|
hace 10 años |
Shane Kilkelly
|
5a1af9a5f3
check sessions on login and logout.
|
hace 10 años |
Shane Kilkelly
|
6f20f565fe
Add early-return guards
|
hace 10 años |
Shane Kilkelly
|
f1653d01b7
Refactor method names in `UserSessionsManager`
|
hace 10 años |
Shane Kilkelly
|
8855d0fa0f
Clear out sessions
|
hace 10 años |
Shane Kilkelly
|
5ae0aeaf94
Fix logging.
|
hace 10 años |
Shane Kilkelly
|
d8ffa5b4b1
set expiry on the user sessions set.
|
hace 10 años |
Shane Kilkelly
|
88bef5c5ea
Add `revokeAllSessions` handler, when password is reset
|
hace 10 años |
Shane Kilkelly
|
03fedafaf5
save the session key string, rather than just the id
|
hace 10 años |
Shane Kilkelly
|
db213c0621
Begin keeping record of user sessions in reds.
|
hace 10 años |