Florent Vilmart
1023baf20d
DBController refactoring ( #1228 )
...
* Moves transform to MongoTransform
- Adds ACL query injection in MongoTransform
* Removes adaptiveCollection from DatabaseController
- All collections manipulations are now handled by a DBController
- Adds optional flags to configure an unsafe databaseController for direct
access
- Adds ability to configure RestWrite with multiple writes
- Moves some transfirmations to MongoTransform as they output specific code
* Renames Unsafe to WithoutValidation
2016-04-14 19:24:56 -04:00
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
Drew
91ace4e718
Progres towards moving mongo logic into its adapter
2016-04-05 21:16:39 -07: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
Nikita Lutsenko
d86f0a8c69
Use schema collection instead of adaptive collection for all schema operations.
2016-03-09 15:21:29 -08:00
Nikita Lutsenko
49eb9df1ef
Remove private Schema API usage from SchemasRouter.
2016-03-08 00:53:51 -08:00
Drew Gross
963811d022
Handle legacy _client_permissions key in _SCHEMA. Fixes #888 .
2016-03-07 13:44:45 -08: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
e39286d88b
Implement findAndDelete in MongoCollection and move SchemasRouter to it.
2016-03-02 00:28:37 -08:00
Nikita Lutsenko
9538a7dab5
Make parts of SchemasRouter use adaptiveCollection.
2016-03-01 22:36:23 -08:00
Nikita Lutsenko
e58c935f22
Use middleware instead of custom checks inside SchemasRouter.
2016-03-01 16:16:07 -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
Florent Vilmart
3c4d5159b4
Refactors routers
2016-02-20 00:08:54 -05:00