Commit Graph

128 Commits

Author SHA1 Message Date
Nikita Lutsenko
14cc82a057 Fix dirtyKeys() and dirty(key:) on beforeSave when updating objects. 2016-02-23 21:50:17 -08:00
Drew
b1c2d9da6a Merge pull request #576 from flovilmart/httpRequest-tests
improves coverage and API of httpRequest
2016-02-23 13:02:48 -08:00
Florent Vilmart
b6223f598c Adds support for application/x-www-form-urlencoded
- Now the body encoding is inferred on the headers as supposed
2016-02-23 08:17:48 -05:00
Nikita Lutsenko
1f707a97d3 Merge pull request #587 from ParsePlatform/nlutsenko.cc.test
Do not pass objectId, updatedAt, createdAt to beforeSave hooks on object create.
2016-02-22 22:13:51 -08:00
Nikita Lutsenko
be693fb736 Do not pass objectId, updatedAt, createdAt to beforeSave hooks on object create. 2016-02-22 19:33:32 -08:00
Nikita Lutsenko
17e5686efd Move test-only Cloud Code into spec subfolder. 2016-02-22 19:33:29 -08:00
Fosco Marotto
5755126525 Fixed ACL creation for #504. 2016-02-22 17:33:11 -08:00
Florent Vilmart
48dcfe37e7 Removes shared code in PushAdapter, replaces AdapterLoader.load by loadAdapter 2016-02-22 18:31:10 -05:00
Nikita Lutsenko
966d10ca43 Allow uploading files without content-type. 2016-02-22 14:07:58 -08:00
Florent Vilmart
cc3d93f5d9 improves coverage and API of httpRequest 2016-02-22 15:47:30 -05:00
Nikita Lutsenko
fcf745ad1d Disable flaky test that fails on Travis-CI. 2016-02-22 12:01:55 -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
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
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
Drew Gross
5378de7398 Add server URL to tests 2016-02-19 19:00:43 -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 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
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
Drew Gross
c9dfac277f Add ability to test multiple server configurations 2016-02-18 18:44:04 -08:00
Francis Lessard
5b8aa22730 Merge remote-tracking branch 'ParsePlatform/master' into user-roles 2016-02-18 14:00:11 -05:00
Drew
2e6173fb99 Merge pull request #474 from drew-gross/schemas-delete
Implement DELETE /schemas/:className
2016-02-18 10:41:43 -08:00
Francis Lessard
67c7670437 Merge remote-tracking branch 'ParsePlatform/master' into user-roles 2016-02-18 10:06:12 -05: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
Björn Kaiser
bd0d21af29 Merge remote-tracking branch 'upstream/master' 2016-02-17 20:35:17 +00:00
Drew
7376c5aa26 Merge pull request #452 from drew-gross/schemas-put
Implement Schemas PUT
2016-02-17 09:56:26 -08:00
Florent Vilmart
e010fd82f2 Generic OAuth provider support
Refactors facebook login into oauth generic login

Adds additional oauth2 providers

adds ability to pass an oAuth validator in the config

Adds Twitter validation support + OAuth 1 client

Support auth_token instead of access_token for twitter

Improves code coverage of OAuth

Adds validation of oauth provider structures

Better coverage of the OAuth spec

100% coverage of OAuth1.js

Adds passing auth_token_secret for Twitter auth.

Refactors auth validation methods to include authData parameter

- Adds ability to extens oauth validator through configuration
- Adds ability to extend oauth validator through external module (file or package)
- Adds more tests
- Adds tests to login with custom auth provider

Adds more tests for REST API

fixes twitter auth_token

f
2016-02-17 08:06:30 -05:00
Drew
f8ae863a2a Merge pull request #451 from flovilmart/flovilmart.no-user-installation-id
Removes installationId from _User
2016-02-16 16:38:30 -08:00
Drew
680830451f Merge pull request #440 from flovilmart/flovilmart.enable-anon-users
Adds ability to disable anonymous users
2016-02-16 15:02:20 -08:00
Francis Lessard
176f1b9085 Merge remote-tracking branch 'ParsePlatform/master' into user-roles 2016-02-16 16:34:55 -05:00
Drew Gross
a455e1b23f Finish implementation of PUT /schemas/:className 2016-02-16 12:30:30 -08:00
Marco129
06b8157eea Throw error when query with wrongly encoded parameter 2016-02-17 02:52:32 +08:00
Florent Vilmart
86c502c702 Removes installationId from _User 2016-02-16 12:38:45 -05:00
Fosco Marotto
b1a9536cc6 Merge pull request #438 from flovilmart/flovilmart.fix-default_User.metadata
Adds locked down ACL on _User
2016-02-16 08:11:21 -08:00
Francis Lessard
5a167a9a46 Merge remote-tracking branch 'ParsePlatform/master' into user-roles 2016-02-16 10:46:05 -05:00
Fosco Marotto
eace10f35e Merge pull request #439 from flovilmart/flovilmart.cloud-code-request-params
Adds ability to pass qs params to cloud code functions
2016-02-16 05:13:32 -08:00
Fosco Marotto
5856ed0b00 Merge pull request #430 from flovilmart/clear-sessions
Fixes Parse.User.become / clears session on password change
2016-02-16 05:04:51 -08:00
Fosco Marotto
5145964407 Merge pull request #405 from gdeglin/master
Adding OneSignal Push Adapter
2016-02-16 05:00:47 -08:00
Florent Vilmart
c0bd5d2036 adds ability to disable anonymous users 2016-02-15 22:44:50 -05:00