Commit Graph

21 Commits

Author SHA1 Message Date
Nikita Lutsenko
9a7264100c Merge pull request #794 from ParsePlatform/nlutsenko.schemasRouter
Completely migrate SchemasRouter to new MongoCollection API.
2016-03-03 14:55:54 -08:00
Marco129
50735c4cbb Fix update system schema 2016-03-04 03:09:49 +08:00
Marco129
90a1e46905 Fix create system class with relation/pointer 2016-03-03 16:37:30 +08:00
Nikita Lutsenko
99cb05ea1e Use throws syntax for errors in SchemasRouter. 2016-03-02 23:48:12 -08:00
Nikita Lutsenko
2733c0924b Remove direct mongo access from Schema.spec.js. 2016-02-29 19:47:08 -08:00
Nikita Lutsenko
6893895aea Remove direct mongo access from SchemaRouter.modify, Schema.deleteField. 2016-02-29 19:47:08 -08:00
Nikita Lutsenko
7215300c1e Move Mongo database property directly to mongo adapter. 2016-02-29 12:50:47 -08:00
Fosco Marotto
791c5512aa Merge pull request #567 from IlyaDiallo/master
Accept subdocuments keys ("object.subobject"), to allow atomic updates of an object field.
2016-02-26 02:05:03 -08:00
Fosco Marotto
5755126525 Fixed ACL creation for #504. 2016-02-22 17:33:11 -08:00
Ilya Diallo
831c2ee3de Update the tests 2016-02-22 16:45:41 +01:00
Drew Gross
a455e1b23f Finish implementation of PUT /schemas/:className 2016-02-16 12:30:30 -08:00
Drew Gross
747f278f2a Enable deleting pointer fields, fix tests 2016-02-10 16:25:28 -08:00
Drew Gross
0a0d4f65ef Finish implementation of delete field from schema 2016-02-10 14:12:27 -08:00
Drew Gross
b0c4b8f6ce Drop _Join collection when deleting a relation field 2016-02-10 14:12:27 -08:00
Drew Gross
f07836e33f Add validation of deleteField function 2016-02-10 14:12:27 -08:00
Nikita Lutsenko
3271b45102 Update imports in all specs. 2016-02-08 20:20:08 -08:00
Drew Gross
e2e0a26e9a Updates tests to allow calls that race to create a schema to have
the race loser return before the race winner. This test failed in
mongo 2.6.11, and I don't know if thats because it's generally
flaky or if that version of mongo makes less guarantees.
2016-02-05 19:29:00 -08:00
Drew Gross
b741539e25 More tests 2016-02-05 19:28:49 -08:00
Drew Gross
e6feefd223 Add and test logic for adding fields to the DB 2016-02-05 19:28:41 -08:00
Drew Gross
d934f3a863 Add class creation logic with validation 2016-02-05 19:28:25 -08:00
Fosco Marotto
7f5d744ce2 Initial release, parse-server, 2.0.0 2016-01-28 10:58:12 -08:00