2215 Commits

Author SHA1 Message Date
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
Francis Lessard
173c5d46e3 Merge remote-tracking branch 'ParsePlatform/master' into user-roles 2016-02-13 18:42:30 -05: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
Francis Lessard
2234a104d4 Merge remote-tracking branch 'ParsePlatform/master' into user-roles 2016-02-13 08:19:24 -05:00
Francis Lessard
83c0f92553 no message 2016-02-13 08:18:43 -05: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
vitaliysobur
0755a2953e fix Access-Control-Allow-Headers to match exact 2016-02-12 23:06:56 +00:00
Francis Lessard
220a13392d no message 2016-02-12 16:32:45 -05:00
Francis Lessard
d7d87a31f0 Merge remote-tracking branch 'ParsePlatform/master' into user-roles 2016-02-12 16:16:20 -05: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
Björn Kaiser
ec1bbc8d74 Merge remote-tracking branch 'upstream/master' 2016-02-12 20:37:10 +00: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
Nikita Lutsenko
f53cb60d57 Add enforceMasterKeyAccess middleware. 2016-02-11 23:26:44 -08:00
Nikita Lutsenko
b2570a9af8 Update style in InstallationsRouter. 2016-02-11 23:17:38 -08:00
Nikita Lutsenko
99ac6c1161 Refactor and deduplicate logic in SessionsRouter. 2016-02-11 23:17:38 -08:00
Nikita Lutsenko
ab841b5ab4 Refactor and deduplicate logic in UsersRouter. 2016-02-11 23:17:38 -08:00
Francis Lessard
42aacdf62b FIX : User Roles not added to create, update or delete calls 2016-02-11 22:16:07 -05:00
Nikita Lutsenko
e6ef0ae55c Merge pull request #354 from westhom/file-deletion
support file DELETEs
2016-02-11 19:07:13 -08:00
Wes Thomas
a75376523c file DELETE support 2016-02-11 21:21:42 -05:00
Francis Lessard
90a4ac70ac Fix session token issue
In _User collection a field _session_token is present and if you fetch
the user data form server, this field override the sessionToken saved
in your browser.

If you don't fetch the user, all request to server contain the right
sessionToken and if you fetch the user data from the server, all next
requests will contain the wrong sessionToken come form the
_session_token in user data fetched.
2016-02-11 20:32:31 -05:00
Drew
c66cc8d7bc Merge pull request #341 from steven-supersolid/anonymous
Bugfix: set username to random string if missing in RestWrite
2016-02-11 15:44:34 -08:00
Nikita Lutsenko
8dcae3dc74 Merge pull request #357 from ParsePlatform/nlutsenko.router.installations
Cleanup duplicate logic and refactor installations.js into InstallationsRouter.
2016-02-11 14:43:44 -08:00
Nikita Lutsenko
6a127447ad Cleanup duplicate logic and refactor installations.js into InstallationsRouter. 2016-02-11 13:50:48 -08:00
Nikita Lutsenko
7de31fd785 Merge pull request #334 from ParsePlatform/nlutsenko.router.classes
Restructure ClassesRouter as a class.
2016-02-11 13:50:17 -08:00
Nikita Lutsenko
95fed6582e Merge pull request #367 from rogerhu/patch-1
Update CHANGELOG.md
2016-02-11 13:48:13 -08:00
Roger Hu
4cabeb201f Update CHANGELOG.md
Fix spelling and itemize changes
2016-02-11 13:43:14 -08:00
Nikita Lutsenko
1f660d9f7c Restructure ClassesRouter as a class. 2016-02-11 13:41:06 -08:00
Fosco Marotto
e21dafdf29 Merge pull request #366 from ParsePlatform/fosco.208
Updates for 2.0.8
2016-02-11 13:13:24 -08:00
Fosco Marotto
ba2e105267 Merge pull request #311 from ParsePlatform/wangmengyan.add_push_api
Add support for push
2016-02-11 13:13:12 -08:00
Fosco Marotto
ea30a9836b Updates for 2.0.8 2016-02-11 13:12:13 -08:00
wangmengyan95
273a20767b Change APNS multiple certs handling 2016-02-11 12:28:45 -08:00