Albert Peiró albertpeiro

Developer Program Member

Organizations

@hackertemple
albertpeiro commented on issue balderdashy/sails#352
@albertpeiro

I can understand the use case here, but we can't make everything infinitely configurable. sails.js gives you a lot out of the box, but at some poi…

albertpeiro commented on issue balderdashy/sails#352
@albertpeiro

@RWOverdijk not sure, sometimes I need to get all attributes in the controller from a query, like it works with current implementation of "protecte…

@albertpeiro
How to bypass the "protected" validation and return all attributes for a model instance
@albertpeiro
How to bypass the "protected" validation and return all attributes for a model instance
albertpeiro commented on issue balderdashy/sails#2844
@albertpeiro

I just found a way of making this work: model.findOneById(id) .then(_.clone) // Bypass 'protected' attrs .then(res.ok) .catch(res.badRequest); If …

@albertpeiro
How to bypass the "protected" validation and return all attributes for a model instance
albertpeiro commented on issue balderdashy/sails#352
@albertpeiro

These seem related: #2423 #352 #2729

albertpeiro commented on issue balderdashy/sails#1885
@albertpeiro

@mikermcneil Where the documentation has gone for this? any light appreciated. Seems broken: http://sailsjs.org/#/documentation/concepts/ORM/Models…

albertpeiro commented on issue balderdashy/sails#352
@albertpeiro

What about output policies @mikermcneil? Similar to the current policies but applied only after the controller pass, and before the response gets s…

albertpeiro commented on issue balderdashy/sails#2834
@albertpeiro

Thank you all for your help! Got it sorted by using most of the basicAuth policy in http-auth. I've made the policy a self-contained way to prompt …

albertpeiro commented on issue balderdashy/sails#2834
@albertpeiro

Thank you! I'm not too fond on Passport. Looking now at that sails-auth policy for basicAuth.

@albertpeiro
How can I get a Basic Auth working?
@albertpeiro

+1

@albertpeiro
updateOneByName
albertpeiro commented on issue balderdashy/skipper#57
@albertpeiro

I use this, which I find pretty neat (http://nodejs.org/api/path.html#path_path_basename_p_ext): var path = require('path'); file.filename = path.b…

albertpeiro commented on issue balderdashy/skipper#54
@albertpeiro

@sgress454 thanks for sharing that! I wasn't aware. Surely useful at least for logging progress, but I'm sure there'll be other interesting advance…

albertpeiro commented on issue balderdashy/skipper#54
@albertpeiro

thanks @mikermcneil for thoroughness of your answer. My scenario is this: API-only in sailsjs with skipper Final storage is S3 in a separate vpc. C…

@albertpeiro

+1 on this. Pretty pressing for handling user-friendly async pagination.