Peter Uithoven

Results 455 comments of Peter Uithoven
trafficstars

I think I've found a way to update current session API keys in databases and re-use the existing `dbauth/index.js`'s `addUserDB` function. The following function should update all databases according to...

Would it be interesting to add this to the general API, just like removeExpiredKeys?

It means you need to configure the cross origin headers that your server sends. You can use modules like https://github.com/expressjs/cors for that. You can certainly use superlogin-client when it's not...

I've been looking into how this works myself in the last week. One thing to keep in your mind is that Superlogin supports two security models, CouchDB's and Cloudant model....

Sounds like an interesting challenge. I'm not sure, I'd look into the superlogin's addUserDB function. I see this will add databases to the userDoc's personalDBs. I also think I was...

I'm thinking this should happen when you add it. [dbauth/index.js's addUserDB](https://github.com/colinskow/superlogin/blob/master/lib/dbauth/index.js#L52-L102) is called, which then calls [couchdb.js's authorizeKeys](https://github.com/colinskow/superlogin/blob/master/lib/dbauth/couchdb.js#L95-L130), looks like at that point the key should be added to the...

Damn. Any change at some point the wrong _rev is queried? I didn't understand the db.request part, I understand now it's usage is controversial: https://github.com/pouchdb/pouchdb/issues/3525 So that might be an...

I'm assuming the `mailer.transport` will always have to be a `nodemailer-transport-...` package, and I see that the options object is completely passed to the transport at creation. So `mailer.transport` are...

You mean the rEFInd would freeze for 20 seconds? I've just installed 0.10.1 and have not seen that problem.

So... should we remove those steps? It could always be restored if people report the issue?