Commit graph

7 commits

Author SHA1 Message Date
Lauri Ojansivu
c926475eb1 Fixed _ensureIndex to createIndex for MongoDB 5. Updated to latest Meteor beta. 2022-04-18 18:08:12 +03:00
Justin Reynolds
3b9f2ca7c2 Fixes #2596 incorrect date types for created & updated 2019-09-05 12:29:45 -05:00
Justin Reynolds
3eb4d2c341 Prettier & eslint project style update 2019-06-28 12:56:51 -05:00
Justin Reynolds
c60e80d25b Add createdAt and modifiedAt to all collections 2019-06-27 09:13:20 -05:00
maulal
cd6317cedb Improve wekan performance #837 2017-02-22 17:05:30 +02: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
Renamed from collections/unsavedEdits.js (Browse further)