Florent Vilmart
c22bafb951
Sets the defaultSchemas keys in the SchemaCollection ( #1421 )
...
* Sets the defaultSchemas keys in the SchemaCollection
* Moves defaultSchema injection logic to router
* maps outside the function
* fixes test
* conciseness
2016-04-07 22:13:07 -04:00
Florent Vilmart
3a28352c96
🎉 fixes #1355
...
- injects default schema upon schema load
2016-04-04 08:36:40 -04:00
Florent Vilmart
5d99075663
Properly let masterKey add fields
2016-03-30 20:27:12 -04:00
Florent Vilmart
c935ed8364
Always return default public permissions
2016-03-10 23:01:45 -05:00
Florent Vilmart
16e3529c96
Removes blacklisting, *-but test case
2016-03-10 19:20:05 -05:00
Florent Vilmart
b1d399bf80
Adds blacklist permission, more test scenarios
2016-03-10 18:02:29 -05:00
Florent Vilmart
d71a58c217
Adds tests, improve coverage, adds ability to delete CLP with classLevelPermissions: null
2016-03-10 11:31:37 -05:00
Florent Vilmart
ddd1ae3338
Validates key, values and operation in CLP
2016-03-09 20:19:12 -05:00
Florent Vilmart
e75d233b7e
Adds validation of addFields
2016-03-09 19:33:48 -05:00
Florent Vilmart
5780c1e425
Merges CLP endpoints with POST, PUT and GET
2016-03-09 19:33:47 -05:00
Florent Vilmart
d4fd73100c
Adds CLP API to Schema router
2016-03-09 19:33:47 -05:00
Marco129
8814e1f3b5
Fix add field to system schema
2016-03-04 20:44:21 +08:00
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
f157538bfd
Fix delete schema when actual collection does not exist
2016-03-03 18:46:47 +08:00
Nikita Lutsenko
99cb05ea1e
Use throws syntax for errors in SchemasRouter.
2016-03-02 23:48:12 -08:00
Nikita Lutsenko
2afebf955f
Completely migrate SchemasRouter to new MongoCollection API.
2016-03-02 21:34:40 -08:00
Nikita Lutsenko
e58c935f22
Use middleware instead of custom checks inside SchemasRouter.
2016-03-01 16:16:07 -08:00
Nikita Lutsenko
d1dbc1a035
Remove direct mongo access from schemas.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
028ef2a7b2
Remove dependency on raw mongo from SchemaRouter.delete.
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
Drew Gross
61b4468dac
Implement DELETE /schemas/:className
2016-02-17 19:00:17 -08:00
Drew Gross
a455e1b23f
Finish implementation of PUT /schemas/:className
2016-02-16 12:30:30 -08:00
Drew Gross
cef5a5fabf
First part of schemas PUT
2016-02-11 10:43:05 -08:00
Nikita Lutsenko
3271b45102
Update imports in all specs.
2016-02-08 20:20:08 -08:00
Drew Gross
b9bc904aad
Add tests to get to 100% branch coverage
2016-02-05 20:38:58 -08:00
Drew Gross
53dfca2d6f
First part of schemas POST
2016-02-05 20:23:05 -08:00
Drew Gross
67ee94d98f
Implement GET /schemas/OneSchema
2016-02-03 16:10:00 -08:00
Drew Gross
3d989501b2
Get all schemas, with tests, and matches parse.com schemas API
2016-02-03 12:06:45 -08:00