Commit Graph

328 Commits

Author SHA1 Message Date
Drew Gross
61b4468dac Implement DELETE /schemas/:className 2016-02-17 19:00:17 -08: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
077b977efa Updates README 2016-02-17 08:06:33 -05:00
Florent Vilmart
45bf8ffadb removes commented out code 2016-02-17 08:06:33 -05: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
Alex Kwan
32bb1bddaf removed .DS_Store 2016-02-17 16:14:41 +08:00
Alex Kwan
7b891bd69c fix spacing againn 2016-02-17 13:14:20 +08:00
Alex Kwan
317a2fe56f fix spacing again 2016-02-17 13:13:20 +08:00
Alex Kwan
c5efcac8e0 fix spacing 2016-02-17 12:53:17 +08: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
Drew Gross
a455e1b23f Finish implementation of PUT /schemas/:className 2016-02-16 12:30:30 -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
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
Fosco Marotto
635c1a1921 Merge pull request #397 from Lewuathe/default-limit-100
Limit 100 records as default
2016-02-16 04:51:20 -08:00
Florent Vilmart
c0bd5d2036 adds ability to disable anonymous users 2016-02-15 22:44:50 -05:00
Florent Vilmart
8296d77f28 Adds ability to pass qs params to cloud code functions 2016-02-15 22:18:19 -05:00
Nikita Lutsenko
e92176ce61 Merge pull request #393 from ParsePlatform/nlutsenko.s3
Fix invalid s3 files url.
2016-02-15 18:31:38 -08:00
Florent Vilmart
20eca71a6f Adds locked down ACL on _User 2016-02-15 21:23:17 -05:00
Florent Vilmart
be92b4af67 Adds test to make sure Parse.User.become is functional 2016-02-15 10:21:01 -05:00
Florent Vilmart
ea07eb506d Clears session on password change
- Fixes error type when passing an invalid session token
2016-02-15 10:15:47 -05:00
Alex Kwan
a7093d33bb fix multiple include 2016-02-15 20:14:50 +08:00
Nikita Lutsenko
2570899272 Fix invalid s3 files url. 2016-02-14 19:59:44 -08:00
George Deglin
2ff6eff63a Added OneSignalPushAdapter spec and fix a bug in OneSignalPushAdapter. 2016-02-13 23:38:39 -08:00
George Deglin
5a628516a6 OneSignalPushAdapter now correctly sends APNS and GCM notifications and handles errors 2016-02-13 18:26:17 -08:00
Fosco Marotto
cf7202f80a Merge pull request #399 from merowinger92/patch-1
Update parse-server
2016-02-13 13:07:27 -08:00
merowinger92
a5deb60c79 Update parse-server 2016-02-13 15:38:58 +01:00
Lewuathe
ce4f13f3bf Limit 100 records as default 2016-02-13 17:58:46 +09:00
George Deglin
a1b24da3e7 WIP Add OneSignal Adapter 2016-02-12 18:32:39 -08:00
Peter J. Shin
9248f9af6d Fixing comment. 2016-02-12 17:05:57 -08:00
Fosco Marotto
2a200fc718 Merge pull request #373 from flessard/session-token
Fix : Session token issue
2016-02-12 13:08:38 -08:00
Francis Lessard
66efd0d030 Rebase 2016-02-12 15:57:37 -05:00
Francis Lessard
175d16afdc Merge branch 'master' into session-token
# Conflicts:
#	src/users.js
2016-02-12 15:53:38 -05:00
Fosco Marotto
fb44bbe439 Merge pull request #338 from steven-supersolid/installationId
Bugfix: Expose installationId in Cloud Code request object
2016-02-12 12:28:32 -08:00
Drew
2510cab817 Merge pull request #372 from dchest/user-prng
Generate tokens with CSPRNG
2016-02-12 12:25:55 -08:00
Dmitry Chestnykh
62cbc451aa Generate tokens and ids with cryptoUtils module.
Move object ID, token, and random string generation into their own
module, cryptoUtils.

Remove hat dependency, which was used to generate session and some other
tokens, because it  used non-cryptographic random number generator.
Replace it with the cryptographically secure one. The result has the
same format (32-character hex string, 128 bits of entropy).

Remove randomstring dependency, as we already have this functionality.

Add tests.
2016-02-12 21:16:50 +01:00
Francis Lessard
5efb759bd2 Merge remote-tracking branch 'ParsePlatform/master' 2016-02-12 15:14:39 -05:00
Peter J. Shin
0c75f6022d Updating adapter docs. 2016-02-12 10:30:04 -08:00
Peter J. Shin
23c12846af Merge pull request #243 from ParsePlatform/peterjs.logs
Logs support.
2016-02-12 10:21:43 -08:00
Peter Shin
dc4859f561 Logs support.
Added /logs endpoint with basic logger and LoggerAdapter.
2016-02-12 08:21:30 -08:00
Francis Lessard
56552537a1 Add test to the session token hasn't changed 2016-02-12 08:15:58 -05:00
Nikita Lutsenko
9dfc013363 Merge pull request #377 from ParsePlatform/nlutsenko.router.roles
Refactor and deduplicate RolesRouter, fix missing query on /roles.
2016-02-11 23:38:18 -08:00
Nikita Lutsenko
6c6021a5cd Merge pull request #378 from ParsePlatform/nlutsenko.middleware.master
Add enforceMasterKeyAccess middleware.
2016-02-11 23:33:39 -08:00
Nikita Lutsenko
62e671dd9e Refactor and deduplicate RolesRouter, fix missing query on /roles. 2016-02-11 23:27:54 -08:00
Nikita Lutsenko
04f2a57771 Merge pull request #375 from ParsePlatform/nlutsenko.router.users
Refactor and deduplicate logic in Users/Sessions Routers.
2016-02-11 23:26:55 -08:00