Commit graph

9 commits

Author SHA1 Message Date
Andrés Manelli
de1ca1d12a Send result before webhook 2017-09-29 18:47:40 -03:00
zago
e2ee005a5f direct hook to bypass the checking step with API request 2017-07-19 10:27:23 +02:00
huneau romain
b5271e5346 add token authentication, only admin can use api 2017-05-11 12:15:02 +02:00
huneau romain
d9c0825d5f add rest api for checklist and card comment 2017-05-10 15:59:06 +02:00
fmonthel
584ab26aee [ENH] Add index on CardId into Comments collection 2016-11-17 21:25:49 -05:00
fmonthel
f71d2538fa [ENH] Add index on CardId into Comments collection 2016-11-17 21:23:39 -05:00
fmonthel
d11f069b60 [ENH] Add index on CardId into Comments collection 2016-11-17 21:18:35 -05:00
Alexander Sulfrian
a2888250f4 Models: Replace before.insert with autoValues
The before.insert hooks have the problem, that they are executed in a
different order if called from the client or from the server. If called
from the client, the before.insert hook is called before validation of
the schema, but if called from the server, the validation is called
first and fails.
2016-06-03 03:56:35 +02:00
Maxime Quandalle
45b662a1dd Centralize all mutations at the model level
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.
2015-09-08 20:19:42 +02:00