Drew
234d0093ff
Cleanup delete schema ( #1604 )
...
* Some cleanup for deleting one schema
* tidyness
* Remove _allCollections as Parse Server doesn't need it.
2016-04-25 14:47:57 -04:00
Blayne Chard
6e9529f81c
Exposes the loggerAdapter as log to Cloud Functions and Triggers ( #1565 )
...
This allows access to logging inside cloud code and triggers via
request.log.info
request.log.error
2016-04-21 16:20:14 -04:00
Drew
61b62e4e9f
Rename Schema => SchemaController ( #1542 )
...
* Rename Schema to SchemaController
* Rename Schema => SchemaController
* Move to controllers folder
* Move SchemasController to Controllers folder
* remove ./..
2016-04-18 18:59:57 -07:00
Drew
cecb2a1cb1
Move 'ns not found' into mongo adapter. ( #1541 )
2016-04-18 17:06:51 -07:00
Drew
ab0ea09067
Schema.js cleanup ( #1540 )
...
* Tidy up schemas router
* de-duplicate logic for injecting default schemas
* Remove no-op promise
* use hasClass
* Make getAllSchemas part of SchemaController
* Move getOneSchema logic onto schema controller
* remove log
2016-04-18 17:06:00 -07:00
Seiji Akiyama
a727e1ccd3
Adds limit = 0 as a valid parameter for queries ( #1493 )
...
* Remove results if limit = 0;
* Adds tests for limit=0 and count=1.
* Improves readability.
2016-04-15 11:17:53 -07:00
Drew
3f66c302b7
Enable logs ( #1502 )
2016-04-14 17:44:50 -07:00
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
Florent Vilmart
bc96f0beb1
Adds X-Parse-Push-Status-Id header ( #1412 )
...
* Adds X-Parse-Push-Status-Id header
* Waits for _PushStatus to be stored
2016-04-07 18:08:09 -04:00
Drew
91ace4e718
Progres towards moving mongo logic into its adapter
2016-04-05 21:16:39 -07:00
Jeremy May
f99b5588ab
Added session length option for session tokens to server configuration
2016-04-02 11:36:47 -04:00
Jeremy
4fd67a51fb
Put the allowed query keys for get in a constant.
2016-04-01 11:51:42 -04:00
Jeremy
04e8e3e233
Merge remote-tracking branch 'upstream/master'
2016-04-01 11:33:11 -04:00
Drew Gross
eeb3331167
Update error message
2016-03-31 00:21:21 -07:00
Jeremy
7064f1d3ed
Allow queries on specific objects to user the include and keys query parameters.
2016-03-30 13:50:36 -04:00
Drew Gross
75f49b4d1a
Tested with the dashboard, it now works great.
2016-03-28 18:43:06 -07:00
Federico Rampazzo
236c7d15c2
Refactor code
2016-03-27 04:32:58 +01:00
Federico Rampazzo
6b9fd16273
Added merging in Config with scoped set
2016-03-27 03:46:36 +01:00
Federico Rampazzo
94b10de7b8
Fixed config upsert implementation to handle nested object and __op:Delete
2016-03-27 00:32:57 +00:00
Federico Rampazzo
114f7d1b58
Make global config visible from parse-dashboard when it's enabled
2016-03-26 11:15:17 +00:00
Drew Gross
7cdf85b367
Use getter
2016-03-24 20:59:50 -07:00
Drew Gross
19e6293638
Mark push as enabled in serverInfo endpoint
2016-03-24 19:32:51 -07:00
Florent Vilmart
3603b82eac
Properly sets installationId on creating session with 3rd party auth
2016-03-20 15:58:16 -04:00
Florent Vilmart
2557ea6300
Properly querystring encode the parameters
2016-03-12 10:34:57 -05:00
Florent Vilmart
1ed868b99c
Fixes #935 , cleans up authData null keys on login for android crash
2016-03-11 11:14:58 -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
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
Nikita Lutsenko
47061d8e98
Migrate PushRouter to shared master-key middleware.
2016-03-07 17:22:27 -08:00
Nikita Lutsenko
7909f0efe0
Merge pull request #900 from drew-gross/schemas-500
...
Handle legacy _client_permissions key in _SCHEMA. Fixes #888 .
2016-03-07 17:08:58 -08:00
Nikita Lutsenko
cea4b2bd6a
Migrate and fix GlobalConfig database storage.
2016-03-07 14:06:46 -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
Drew Gross
36202badf3
Return parse server version
2016-03-02 16:16:16 -08:00
Drew Gross
5219e0b1d8
Touch up features endpoint
2016-03-02 16:16:16 -08:00
Nikita Lutsenko
818fe492d7
Merge pull request #774 from ParsePlatform/fosco.install-fix
...
Fix an installation deduplication bug
2016-03-02 14:36:13 -08:00
Nikita Lutsenko
bb80e5d69f
Merge pull request #759 from ParsePlatform/nlutsenko.storage.findAndDoMagic
...
Add findOneAndDelete, findOneAndModify to MongoCollection, move most of usages to it.
2016-03-02 14:36:01 -08:00
Fosco Marotto
bfafcd4e87
Fix an installation deduplication bug
2016-03-02 14:14:12 -08:00
Florent Vilmart
63dc64004d
Removes /logs endpoint
2016-03-02 09:15:44 -05:00
Florent Vilmart
8e034dd9b0
adds scriptlog endpoint
2016-03-02 09:09:54 -05:00
Nikita Lutsenko
e39286d88b
Implement findAndDelete in MongoCollection and move SchemasRouter to it.
2016-03-02 00:28:37 -08:00
Nikita Lutsenko
4fe670efaf
Merge pull request #752 from ParsePlatform/nlutsenko.adapter.collection
...
Add MongoCollection wrapper and move few basic uses of collection to it.
2016-03-01 23:05:09 -08:00
Nikita Lutsenko
9538a7dab5
Make parts of SchemasRouter use adaptiveCollection.
2016-03-01 22:36:23 -08:00
Nikita Lutsenko
17235b576b
Use shared middleware to enforce master key on logs API.
2016-03-01 20:42:41 -08:00