Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Import members: UI flow ok | Xavier Priour | 2015-11-13 | 1 | -1/+3 |
| | |||||
* | Prefer ES5 methods over underscore utilities | Maxime Quandalle | 2015-10-22 | 1 | -8/+8 |
| | | | | | | | | | | | | | | Since 07cc454 (ie the switch to Meteor 1.2) we includes the `es5-shim` polyfill to support methods like `Array.prototype.forEach` in a consistent way across all supported browsers (IE8+). MDG recently released a blog post recommending the use of these native methods instead of underscore [0]. We know follow this recommendation. This commit also favor some ES6 features (argument defaults, destructing assignment) in places where we didn’t use them. [0]: http://info.meteor.com/blog/es2015-get-started | ||||
* | Upgrade kenton:accounts-sandstorm package to 0.1.6 | Maxime Quandalle | 2015-10-21 | 1 | -0/+13 |
| | | | | | We now delegates more user attributes sync (avatar and permissions) to this package instead of doing it ourselves. | ||||
* | Centralize all mutations at the model level | Maxime Quandalle | 2015-09-08 | 1 | -0/+157 |
This commit uses a new package that I need to document. It tries to solve the long-standing debate in the Meteor community about allow/deny rules versus methods (RPC). This approach gives us both the centralized security rules of allow/deny and the white-list of allowed mutations similarly to Meteor methods. The idea to have static mutation descriptions is also inspired by Facebook's Relay/GraphQL. This will allow the development of a REST API using the high-level methods instead of the MongoDB queries to do the mapping between the HTTP requests and our collections. |