Commit graph

8 commits

Author SHA1 Message Date
Ghassen Rjab
181af6f250 Fix lint errors 2017-09-02 13:42:23 +01:00
Ghassen Rjab
6ff0cf91e2 Add source field to imported attachments
We use this field to prevent adding attachments' related activities automatically only. Then this field will be removed.
2017-09-02 07:17:42 +01:00
Ghassen Rjab
ad09630d4e use beforeWrite method of CollectionFS instead of collection-hooks 2017-08-31 22:02:11 +01:00
Ghassen Rjab
f521b7949a Fix files access bug 2017-07-30 04:27:38 +01:00
Maxime Quandalle
272f67f0c6 Update some meta-data
New site url
New contact email
New year!
2016-01-02 17:15:19 +01:00
Maxime Quandalle
592aa6d576 Partially revert aae5030
As discussed in #370 and announced in the official Eslint-meteor
plugin repository (https://github.com/dferber90/eslint-plugin-meteor),
it is recommended to not use this plugin anymore has the author has it
is currently broken and the author has abandoned it.
2015-12-24 13:13:05 +01:00
Dominik Ferber
3956a6ec20 Add eslint-plugin-meteor
Add rules for eslint-plugin-meteor.

Use local version of eslint and eslint-plugin-meteor, instead of
relying on global versions. Ensures consistent versions of eslint and
eslint-plugin-meteor for all developers.
2015-10-27 17:40:38 +01: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
Renamed from collections/attachments.js (Browse further)