profile
viewpoint

jdesboeufs/connect-mongo 1766

MongoDB session store for Express

kcbanner/node-cas 110

Central Authentication Service (CAS) client for Node.js

kcbanner/uw-wkrpt 76

LaTeX class for writing work reports for the University of Waterloo.

clapfoot/warapi 32

The War API allows developers to query information about the state of the current Foxhole war.

kcbanner/facebook-test-users 18

A command line utility for managing Facebook test users

kcbanner/nodelog 9

Node.js blogging software - powers caseybanner.ca.

Bhavya/TART-for-LaTeX 5

A Technical Assignment/Report Template for LaTeX.

kcbanner/botlog 3

Lightweight XMMP/node/MongoDB powered microblogging

kcbanner/visualizer 3

OpenGL audio visualizer

kcbanner/uzbl 2

A browser that adheres to the unix philosophy.

pull request commentjdesboeufs/connect-mongo

Crypto

Re-opened

jas-

comment created time in a day

pull request commentjdesboeufs/connect-mongo

Crypto

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

jas-

comment created time in a day

startedlocalstack/localstack

started time in 2 days

pull request commentjdesboeufs/connect-mongo

fix: update session on touch

@YC Due to the long inactivity of the repo and lack of correct Typescript typing. I am currently rewriting the lib with Typescript. I will review the logic and take account into your patch 🙏🏻 Give me some time.

YC

comment created time in 2 days

PR opened jdesboeufs/connect-mongo

fix: update session on touch

Resolves #351

+16 -6

0 comment

2 changed files

pr created time in 3 days

issue commentjdesboeufs/connect-mongo

touch does not update session.cookie.expires

If the cookie is updated due to rolling, I think it makes sense for session.cookie and its expiry to be updated accordingly also. https://github.com/expressjs/session/issues/33#issuecomment-42497814

thernstig

comment created time in 3 days

issue commentjdesboeufs/connect-mongo

touch does not update session.cookie.expires

@YC do you recon what I described in my original post is the correct thing?

thernstig

comment created time in 3 days

issue commentjdesboeufs/connect-mongo

touch does not update session.cookie.expires

https://github.com/jdesboeufs/connect-mongo/blob/6c62235206dcfd6c8e1bf5b73927b6b1297b5e65/src/index.js#L350-L354

https://github.com/jdesboeufs/connect-mongo/blob/6c62235206dcfd6c8e1bf5b73927b6b1297b5e65/test/legacy-tests.test.js#L525-L532

https://github.com/jdesboeufs/connect-mongo/blob/6c62235206dcfd6c8e1bf5b73927b6b1297b5e65/test/legacy-tests.test.js#L540-L547

The tests seem to be inconsistent as to what should be passed in the touch function.

thernstig

comment created time in 3 days

issue commentjdesboeufs/connect-mongo

touch does not update session.cookie.expires

Ping @YC

thernstig

comment created time in 3 days

issue commentjdesboeufs/connect-mongo

touch does not update session.cookie.expires

unstale

thernstig

comment created time in 3 days

startedkcbanner/node-cas

started time in 5 days

issue commentjdesboeufs/connect-mongo

touch does not update session.cookie.expires

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

thernstig

comment created time in 5 days

issue openedclapfoot/warapi

War end result conditions in API

With the new end conditions these should be added to the API

created time in 6 days

issue closedjdesboeufs/connect-mongo

Unified Topology make MongoStore Deprecated?

Unified Topology as the link, how do we setup our MongoStore now?

closed time in 7 days

visionarylab

issue commentjdesboeufs/connect-mongo

Bug - property dbName does not exist

This is still an issue.

Ekman

comment created time in 8 days

issue commentjdesboeufs/connect-mongo

Bug - property dbName does not exist

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Ekman

comment created time in 9 days

issue openedjdesboeufs/connect-mongo

Error: Connection strategy not found

I'm using the same code in my other application and didn't need a strategy but when using it in this one i do? What type of strategy?

created time in 9 days

issue commentjdesboeufs/connect-mongo

undefined in module

sorry i didn't add (session) mb

KrabbyBuckets

comment created time in 11 days

issue closedjdesboeufs/connect-mongo

undefined in module

`node_modules/connect-mongo/src/index.js:57 const Store = connect.Store || connect.session.Store ^

TypeError: Cannot read property 'Store' of undefined`

and its in the module and i dont wanna mess with it

closed time in 11 days

KrabbyBuckets

issue openedjdesboeufs/connect-mongo

undefined in module

`node_modules/connect-mongo/src/index.js:57 const Store = connect.Store || connect.session.Store ^

TypeError: Cannot read property 'Store' of undefined`

and its in the module and i dont wanna mess with it

created time in 11 days

issue openedjdesboeufs/connect-mongo

(node:20256) UnhandledPromiseRejectionWarning: MongoError: (Unauthorized) not authorized on admin to execute command { insert: "system.indexes", documents: [[{ns admin.sessions} {key [{expires 1}]} {name expires_1} {expireAfterSeconds 0} {unique false}]], ordered: true }

Please fix this,

(node:20256) UnhandledPromiseRejectionWarning: MongoError: (Unauthorized) not authorized on admin to execute command { insert: "system.indexes", documents: [[{ns admin.sessions} {key [{expires 1}]} {name expires_1} {expireAfterSeconds 0} {unique false}]], ordered: true }

i have tried to provide url without srv but getting err = new MongoError(options); ^ MongoError: connection 0 to THE MONGO URL closed

Any help? Any alternatives?

created time in 12 days

issue openedjdesboeufs/connect-mongo

UnhandledPromiseRejectionWarning: MongoError: (Unauthorized) not authorized on admin to execute command { insert: "system.indexes", documents: [[{ns admin.sessions} {key [{expires 1}]} {name expires_1} {expireAfterSeconds 0} {unique false}]], ordered: true }

Please fix this, i have tried to provide url without srv but getting err = new MongoError(options); ^ MongoError: connection 0 to THE MONGO URL closed

Any help? Any alternatives?

created time in 12 days

PR closed clapfoot/warapi

Compiled unified map (from provided TGA files), and leaflet tiles (256x256) for 6 layers, and also webp lossless encoding for full map and tiles

Some people use unified map images and leaflet tiles, this was just to provide those if you are interested.

+61 -0

0 comment

2733 changed files

NoUDerp

pr closed time in 13 days

issue commentjdesboeufs/connect-mongo

can't connect with a mongo+srv connection string

I have tried that mentioned in @MRVDH advise, but still not working, any help? with 'mongodb+srv:// string type getting error (node:16402) UnhandledPromiseRejectionWarning: MongoError: (Unauthorized) not authorized on admin to execute command { insert: "system.indexes", documents: [[{ns admin.sessions} {key [{expires 1}]} {name expires_1} {expireAfterSeconds 0} {unique false}]], ordered: true, writeConcern: { w: "majority" } }

With string as in advise getting err = new MongoError(options); ^ MongoError: connection 0 to MONGO_ATLAS_CONNECTION_URL Any help?

shaharsol

comment created time in 13 days

issue openedjdesboeufs/connect-mongo

Could not find declaration file for module 'mongoose'

When compiling my project I get the following typescript error.

node_modules/connect-mongo/src/types.d.ts:11:27 - error TS7016: Could not find a declaration file for module 'mongoose'. 

11 import * as mongoose from 'mongoose';

While I don't use mongoose, installing @types/mongoose to my dev-dependencies seems to fix this error.

These are my dependencies:

"dependencies": {
    "bcrypt": "^5.0.0",
    "body-parser": "^1.19.0",
    "chalk": "^4.1.0",
    "compression": "^1.7.4",
    "connect-mongo": "^3.2.0",
    "cors": "^2.8.5",
    "dotenv": "^8.2.0",
    "express": "^4.17.1",
    "express-session": "^1.17.1",
    "helmet": "^4.3.1",
    "jeroentvb-helper": "github:jeroentvb/jeroentvb-helper",
    "mongodb": "^3.6.3",
  },
  "devDependencies": {
    "@types/bcrypt": "^3.0.0",
    "@types/body-parser": "^1.19.0",
    "@types/compression": "^1.7.0",
    "@types/cors": "^2.8.9",
    "@types/express": "^4.17.9",
    "@types/express-session": "1.17.0",
    "@types/helmet": "^4.0.0",
    "@types/mongodb": "^3.6.3",
    "@types/node": "^14.14.20",
    "ts-node-dev": "^1.1.1",
    "tslint": "^6.1.3",
    "typescript": "^4.1.3"
  }

created time in 15 days

pull request commentjdesboeufs/connect-mongo

Types

I am planning to rewrite the lib in typescript

vansergen

comment created time in 15 days

pull request commentjdesboeufs/connect-mongo

Types

Is there any progress on this? Currently getting lots of type errors related to express-session and mongoose connection.

vansergen

comment created time in 15 days

issue commentjdesboeufs/connect-mongo

Unified Topology make MongoStore Deprecated?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

visionarylab

comment created time in 16 days

pull request commentjdesboeufs/connect-mongo

Types

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

vansergen

comment created time in 16 days

push eventjdesboeufs/connect-mongo

Steven Tang

commit sha 527f9b6cd3d95d9bcd765c9ef9f2b5705611f9f5

fix: import definition for SessionData from @types/express-session (#374) Resolves #373

view details

push time in 17 days

more