summaryrefslogtreecommitdiffstats
path: root/models/boards.js
Commit message (Collapse)AuthorAgeFilesLines
...
* | Re-implement label deletionMaxime Quandalle2015-10-201-1/+1
| | | | | | | | | | | | This was not ported during v0.9 re-factor. Fixes #322
* | Prevent duplicate board labelsMaxime Quandalle2015-10-161-18/+15
|/ | | | | | 43de3b8 did prevent empty labels with the same color, but we also want to prevent label with the same non-empty name and same color because the rationale is identical.
* Prevent dublicated empty labels of the same colorMaxime Quandalle2015-10-141-5/+14
|
* Import single card: map labelsXavier Priour2015-10-141-2/+8
|
* Centralize all mutations at the model levelMaxime Quandalle2015-09-081-0/+348
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.