Commit Graph

66 Commits

Author SHA1 Message Date
Björn Kaiser
ec1bbc8d74 Merge remote-tracking branch 'upstream/master' 2016-02-12 20:37:10 +00: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
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
Björn Kaiser
2ccd039497 Merge remote-tracking branch 'upstream/master' 2016-02-06 22:57:52 +00: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
Drew Gross
e2e0a26e9a Updates tests to allow calls that race to create a schema to have
the race loser return before the race winner. This test failed in
mongo 2.6.11, and I don't know if thats because it's generally
flaky or if that version of mongo makes less guarantees.
2016-02-05 19:29:00 -08:00
Drew Gross
b741539e25 More tests 2016-02-05 19:28:49 -08:00
Drew Gross
e6feefd223 Add and test logic for adding fields to the DB 2016-02-05 19:28:41 -08:00
Drew Gross
d934f3a863 Add class creation logic with validation 2016-02-05 19:28:25 -08:00
Drew
089514106e Merge pull request #228 from drew-gross/master
Implement GET /schemas/:className
2016-02-05 14:54:03 -08:00
wangmengyan95
872e690fb3 Add GCM client 2016-02-05 13:45:29 -08:00
Mengyan Wang
7cc77c709f Merge pull request #235 from ParsePlatform/wangmengyan.add_apns_client
Add APNS client
2016-02-05 13:29:57 -08:00
Mengyan Wang
423c68385b Merge pull request #198 from ParsePlatform/wangmengyan.add_push_api_checking_and_run_queries
Add push parameter checking and query installation
2016-02-05 13:29:27 -08:00
Fosco Marotto
696809fef1 Merge pull request #226 from codegefluester/cloud_code_validation
Cloud code validation
2016-02-05 11:59:17 -08:00
wangmengyan95
a683befee0 Add push parameter checking and query installation 2016-02-04 23:58:42 -08:00
wangmengyan95
81a5a8f0db Add APNS client 2016-02-04 00:37:31 -08:00
Nikita Lutsenko
3cd7f7dd73 Add geo point in subobject and array end-to-end tests. 2016-02-03 20:06:31 -08:00
Nikita Lutsenko
0acd8c6c0f Add transform rest to mongo tests for geo points. 2016-02-03 20:06:30 -08:00
Drew Gross
67ee94d98f Implement GET /schemas/OneSchema 2016-02-03 16:10:00 -08:00
Björn Kaiser
4822d2b668 Merge branch 'master' into test_for_calling_nonexisting_cf 2016-02-03 22:08:30 +00:00