Commit Graph

140 Commits

Author SHA1 Message Date
Florent Vilmart
48dcfe37e7 Removes shared code in PushAdapter, replaces AdapterLoader.load by loadAdapter 2016-02-22 18:31:10 -05:00
Nikita Lutsenko
8ce8e2bbe0 Merge pull request #579 from ParsePlatform/nlutsenko.files.contentType
Allow uploading files without Content-Type.
2016-02-22 14:44:38 -08:00
Drew
57bfbfc76d Merge pull request #574 from ParsePlatform/fosco.tombstone
Added _tombstone as an ignored key in untransformObject
2016-02-22 14:13:07 -08:00
Nikita Lutsenko
966d10ca43 Allow uploading files without content-type. 2016-02-22 14:07:58 -08:00
Fosco Marotto
d7550710a5 Added _tombstone as an ignored key in untransformObject 2016-02-22 12:14:45 -08:00
Nikita Lutsenko
dddb6795cf Merge pull request #549 from flovilmart/refactors-adapter-controller
Improves Controller and Adapter relationship
2016-02-22 11:43:38 -08:00
Florent Vilmart
045caca946 private _adapter, ES6 setters and getters 2016-02-22 14:12:51 -05:00
Florent Vilmart
23e55e941e Splits Adapter loading from AdaptableController
- Adds dynamic prototype conformance check upon setting adapter
- Throws when adapter is undefined, invalid in controller
2016-02-21 23:47:07 -05:00
Florent Vilmart
33fa5a7b2a Adds setDefaultAdapter 2016-02-21 17:04:34 -05:00
Florent Vilmart
d504681589 Improves Controller and Adapter relationship
- Controllers that have adapters are AdaptableControllers
- AdaptableController is responsible to instantiate the proper adapter if needed (string, function or BaseAdapter)
- BaseAdapter is the base class for adapters, allows skipping when passed directly to the controller
2016-02-21 17:04:34 -05:00
Nikita Lutsenko
b774c568e0 Annotate cryptoUtils with Flow. 2016-02-21 01:52:53 -08:00
Nikita Lutsenko
04795ff165 Fix passing parameters via URL query when querying for objects. 2016-02-21 00:15:37 -08:00
Nikita Lutsenko
fb1c6bb3fb Add babel-polyfill to index.js. 2016-02-20 23:45:54 -08:00
Nikita Lutsenko
6f4a7a6ff2 Merge pull request #534 from flovilmart/refactor-to-routers
Refactors Controllers to split Controllers and Routers
2016-02-20 15:29:06 -08:00
Florent Vilmart
fbb5e448e6 refactors LoggerController with LogsRouter 2016-02-20 13:52:36 -05:00
Florent Vilmart
305879a251 Refactors FilesController in FilesRouter and FilesController 2016-02-20 13:52:35 -05:00
Florent Vilmart
b490688652 Splits Push handling in Router and Controller
- Improves tests and coverage, fix bugs
2016-02-20 10:51:56 -05:00
Florent Vilmart
fbdd89c2d1 Fix problems with _keys in nested objects 2016-02-20 09:45:09 -05:00
Florent Vilmart
3c4d5159b4 Refactors routers 2016-02-20 00:08:54 -05:00
Florent Vilmart
067946c66c Refactors PushController and FilesController to support multiple apps 2016-02-19 23:49:12 -05:00
Drew
8aaf8f2ff2 Merge pull request #498 from drew-gross/test-configurations
Add ability to test multiple server configurations
2016-02-19 19:28:30 -08:00
Nikita Lutsenko
78c5292bc3 Merge pull request #515 from flovilmart/receipt-validation
Adds receipt validation endpoint
2016-02-19 17:41:16 -08:00
Drew
941984f2e0 Merge pull request #390 from workslon/hotfix/access-control-allow-headers-response-header
Fix Access-Control-Allow-Headers to match exact headers
2016-02-19 14:42:13 -08:00
Drew Gross
f8b1d9f303 Merge remote-tracking branch 'upstream/master' into test-configurations 2016-02-19 12:53:53 -08:00
Drew Gross
843f289163 Merge remote-tracking branch 'upstream/master' into test-configurations 2016-02-19 12:52:19 -08:00
Fosco Marotto
3087b2121e Merge pull request #464 from simonbengtsson/master
Don't use https://api.parse.com/1 as default serverURL
2016-02-19 12:01:48 -08:00
Fosco Marotto
2afb28564e Merge pull request #374 from flessard/user-roles
Fix : User Roles not added to create, update or delete calls
2016-02-19 11:59:33 -08:00
Fosco Marotto
39f8143326 Merge pull request #410 from Marco129/query-constraints
Throw when query is encoded incorrectly
2016-02-19 11:56:01 -08:00
Florent Vilmart
6e55e59b86 Fix typo,
- Adds automatic downloadName to match original Parse API
2016-02-19 14:07:12 -05:00
Florent Vilmart
9c477907bf Adds receipt validation endpoint 2016-02-19 13:06:02 -05:00
Joseph Le Grice
3f6445d035 remove _noBody when req.body._noBody == false 2016-02-19 16:41:31 +00:00
Drew Gross
c9dfac277f Add ability to test multiple server configurations 2016-02-18 18:44:04 -08:00
Patrick Pelletier
5f757b0741 Remove default bucket in S3Adapter 2016-02-18 17:26:32 -08:00
Francis Lessard
5b8aa22730 Merge remote-tracking branch 'ParsePlatform/master' into user-roles 2016-02-18 14:00:11 -05:00
Fosco Marotto
ba68acfb0d Merge pull request #476 from sdf611097/master
ExportAdapter destroy nothing will cause change password failed
2016-02-18 10:44:36 -08:00
Drew
2e6173fb99 Merge pull request #474 from drew-gross/schemas-delete
Implement DELETE /schemas/:className
2016-02-18 10:41:43 -08:00
Fosco Marotto
d1476ecabd Merge pull request #468 from codegefluester/ccv_pass_in_request
[Cloud Code][Validation] Pass in request object
2016-02-18 10:39:30 -08:00
Francis Lessard
5de33ac226 Fix : save whit masterKey cause object not found. 2016-02-18 13:29:26 -05:00
Florent Vilmart
d42b08055b Moved the proper facebook auth data validation 2016-02-18 11:23:02 -05:00
Florent Vilmart
cc55bfb7ba Fix missing session token when fetching a _User 2016-02-18 10:59:36 -05:00
Francis Lessard
67c7670437 Merge remote-tracking branch 'ParsePlatform/master' into user-roles 2016-02-18 10:06:12 -05:00
jim1_lin
f271ac9ac1 ExportAdapter destroy nothing will cause change password failed
Changing password without any session will failed,
due to clear no session with response ObjectNotFound.
2016-02-18 15:36:21 +08:00
Drew Gross
61b4468dac Implement DELETE /schemas/:className 2016-02-17 19:00:17 -08:00
Björn Kaiser
ce1de0a5ef Cloud Function validation now uses the complete request instead of just the request parameters 2016-02-17 20:43:09 +00:00
Fosco Marotto
6f2949364e Merge pull request #450 from ParsePlatform/fosco.noBody
Remove _noBody from Unity SDK request.
2016-02-17 11:47:25 -08:00
Simon Bengtsson
4ecf0ac10c Don't use https://api.parse.com/1 as default serverURL 2016-02-17 20:30:43 +01:00
Drew
7376c5aa26 Merge pull request #452 from drew-gross/schemas-put
Implement Schemas PUT
2016-02-17 09:56:26 -08:00
Drew
ccc1d02de9 Merge pull request #247 from flovilmart/fix-241
Adds generic support additional OAuth providers
2016-02-17 09:45:45 -08:00
Drew
c7250aa4da Merge pull request #426 from mchun/master
fix multiple include
2016-02-17 09:17:14 -08:00
Florent Vilmart
45bf8ffadb removes commented out code 2016-02-17 08:06:33 -05:00