Commit Graph

79 Commits

Author SHA1 Message Date
Francis Lessard
176f1b9085 Merge remote-tracking branch 'ParsePlatform/master' into user-roles 2016-02-16 16:34:55 -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
8296d77f28 Adds ability to pass qs params to cloud code functions 2016-02-15 22:18:19 -05: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
George Deglin
2ff6eff63a Added OneSignalPushAdapter spec and fix a bug in OneSignalPushAdapter. 2016-02-13 23:38:39 -08: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
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
175d16afdc Merge branch 'master' into session-token
# Conflicts:
#	src/users.js
2016-02-12 15:53:38 -05: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
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
f53cb60d57 Add enforceMasterKeyAccess middleware. 2016-02-11 23:26:44 -08:00
Wes Thomas
a75376523c file DELETE support 2016-02-11 21:21:42 -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
wangmengyan95
273a20767b Change APNS multiple certs handling 2016-02-11 12:28:45 -08:00
steven-supersolid
0012e666b8 Make anonymous id consistent with variable names 2016-02-11 12:01:06 +00:00
steven-supersolid
a3e93c6d65 Add test to sign up two anonymous users 2016-02-11 11:58:51 +00:00
wangmengyan95
06b1ee2362 Make push follow controller and adapter style 2016-02-11 02:56:52 -08:00
wangmengyan95
6afaeb808b Add support for push 2016-02-11 02:54:34 -08:00
Drew
5fb015ef7a Merge pull request #283 from theill/master
Implementing GET /config and POST /config support
2016-02-10 18:34:44 -08:00
Drew
6294162449 Merge pull request #353 from drew-gross/delete-field
Delete field function in Schema.js
2016-02-10 18:30:47 -08:00
Fosco Marotto
8d89838afb Merge pull request #254 from ParsePlatform/fosco.logout
Removed extra /logout handler
2016-02-10 16:52:30 -08:00
Peter Theill
1d576bcc9f Update tests and ensure tests are run regardless of exp flag 2016-02-11 01:32:38 +01:00
Drew Gross
747f278f2a Enable deleting pointer fields, fix tests 2016-02-10 16:25:28 -08:00
Peter Theill
ba68a7969e Merge remote-tracking branch 'github/master' 2016-02-11 00:44:13 +01:00
Fosco Marotto
dee640c7d0 Added logout test and fixed error in restwrite 2016-02-10 14:52:42 -08:00
Drew Gross
0a0d4f65ef Finish implementation of delete field from schema 2016-02-10 14:12:27 -08:00
Drew Gross
b0c4b8f6ce Drop _Join collection when deleting a relation field 2016-02-10 14:12:27 -08:00
Drew Gross
f07836e33f Add validation of deleteField function 2016-02-10 14:12:27 -08:00
Nikita Lutsenko
053ac990e6 Fixed missing url for files on user login. 2016-02-09 19:31:50 -08:00
Peter Theill
f039b70cf5 Add test for uncovered cases 2016-02-09 12:32:00 +01:00
Peter Theill
84b35eab46 Fixed reference after source move 2016-02-09 11:28:54 +01:00
Peter Theill
7fa4b3bc07 Merged with master 2016-02-09 10:23:55 +01:00
Nikita Lutsenko
3271b45102 Update imports in all specs. 2016-02-08 20:20:08 -08:00
Peter Theill
307a5d8157 Revert commented out line 2016-02-09 00:39:31 +01:00
Peter Theill
8b3f8751f4 Uses rawCollection() for direct db access
Updated tests accordingly to changed access
2016-02-09 00:36:45 +01:00
Peter Theill
7733ab9625 Remove unnecessary comment about testing 2016-02-08 09:01:21 +01:00
Nikita Lutsenko
4f05cfc562 Fixed querying objects with equal constraint on array columns. 2016-02-06 18:49:16 -08:00
Peter Theill
6fe050b397 Add read/write test for _GlobalConfig 2016-02-07 01:20:15 +01:00
Drew Gross
b9bc904aad Add tests to get to 100% branch coverage 2016-02-05 20:38:58 -08:00
Drew Gross
53dfca2d6f First part of schemas POST 2016-02-05 20:23:05 -08:00