Commit Graph

1447 Commits

Author SHA1 Message Date
Florent Vilmart
ddb0fb8a27 Adds redis cache for distributed environments (#2691)
* Makes schemaCache clearning promise-based

* Adds redis cache adapter for distributed systems

* Adds redis service to travis

* allow pg to fail
2016-09-17 13:52:02 -07:00
Florent Vilmart
f9dca6072a Travis: Makes sure the global success is reported on build leader (#2723)
* Adds exporting vars after success

* Echo var

* remove echo
2016-09-17 16:46:56 -04:00
Florent Vilmart
ba0e529f81 Build merges on master to lastest branch (#2722)
* Build merges on master to lastest branch

* Only on master
2016-09-17 15:57:51 -04:00
Florent Vilmart
109bc9a0ce handling matching api.parse.com when calling upgradeToRevocableSession without a sessionToken (#2721) 2016-09-17 12:52:52 -07:00
Florent Vilmart
90e9994195 Removes runtime dependency babel-polyfill (#2692)
* Removes runtime dependency babel-polyfill

* removes references to polyfilled array includes
2016-09-17 12:50:04 -07:00
Florent Vilmart
97c124bbbe Supports boolean values in cluster options (#2689) 2016-09-17 12:45:12 -07:00
Lama Chandrasena
22c1a87d80 Saved filename fixed so that clients display it correctly #2415 (#2705)
* increased filename length to 36 to make sure clients display correct filename

* increased filename length to 36 to make sure clients display correct filename

* added uuid prefix to saved filenames
2016-09-17 14:27:31 -04:00
Greenkeeper
4c927dd898 chore(package): update winston-daily-rotate-file to version 1.3.1 (#2706)
https://greenkeeper.io/
2016-09-17 13:31:33 -04:00
Greenkeeper
408764a7b7 chore(package): update mongodb to version 2.2.10 (#2714)
https://greenkeeper.io/
2016-09-17 13:08:35 -04:00
Greenkeeper
86a0f1ad02 chore(package): update jasmine to version 2.5.2 (#2719)
https://greenkeeper.io/
2016-09-17 12:14:36 -04:00
Steven Shipton
0773523bc2 Ensure _acl is updated when _rperm and _wperm updated (#2701)
* Ensure _acl is updated when _rperm and _wperm updated

* alternative solution

* Only try to apply $set for permission updates
2016-09-17 11:05:33 -04:00
Mathias Rangel Wulff
f6312a1b98 Correct check for undefined variable (#2693)
The code was comparing the result of `typeof` with a variable named `undefined`.

As typeof returns a string it should compare to `'undefined'`
2016-09-10 17:32:10 -04:00
Florent Vilmart
cab69b4913 Changelog 2.2.19 (#2686)
* Changelog 2.2.19

* Bumps package.json
2016-09-09 18:20:40 -04:00
Florent Vilmart
ac348f5c4f Reverts calling next() after handling response (#2634)
* Revert "Makes sure routes don't overlap and yield a header set error"

* removes next() calls in PromiseRouter

* Reverts calling next() after response

* Adds fail calls when next() calls traverse tests
2016-09-09 17:28:41 -04:00
Florent Vilmart
7f6fb11d78 Revocable session upgrade only on mongo (#2685)
* Revert "Tries a new travis configuration"

* Revocable session upgrade only on mongo
2016-09-09 17:02:15 -04:00
Florent Vilmart
cb7b54941b Direct Access to parse-server (#2316)
* Adds ParseServerRESTController experimental support

* Adds basic tests

* Do not create sessionToken when requests come from cloudCode #1495
2016-09-09 15:18:37 -04:00
Florent Vilmart
ccf2b14b98 Updates Travis configuration (#2645) 2016-09-09 14:48:34 -04:00
Florent Vilmart
340eb46fe1 Adds endpoint for non-revocable session token upgrade (#2646) 2016-09-09 14:48:06 -04:00
Florent Vilmart
c5fdd91aa3 Makes sure we don't duplicate user ACL's keys (#2651)
* Adds repro for issue #2246

* Provide fix for issue #2246

* Nit with Set to deduplicate the acl array

* remove debuging console.log
2016-09-09 14:43:59 -04:00
Florent Vilmart
e8aa1ad312 Fix null pointer includes (#2657)
* Adds failing test for #2189

* Improves support for null values in includes

* nit
2016-09-09 14:41:21 -04:00
Florent Vilmart
fc576cb415 Adds more expressive schema mismatch errors (#2662) 2016-09-09 14:41:11 -04:00
Florent Vilmart
364604e181 Run Schema validations after beforeSave #2672 (#2677)
* Adds test to repro #2672

* Run schema validation after beforeSave is run

* Makes authData part of base _User object

* exclude flaky pg test
2016-09-09 14:41:03 -04:00
BAm Wang
58a2ee32fa Validate username password type when logging in, and validate email when reseting password (#2679)
* Validate username password type when logging in, and validate email when reset password

* Add test for validation
2016-09-09 11:24:33 -04:00
Florent Vilmart
eb1cfcf351 Fix atom is undefined (#2663) 2016-09-08 21:19:39 -04:00
Yuki Takeichi
fe62e92aa1 Add NullCacheAdapter (#2636)
* Add NullCacheAdapter

* clear returns promise explicitly

* Add NullCacheAdapter accessor
2016-09-07 08:08:09 -04:00
Florent Vilmart
33e3993a37 Fixes issue where info logs would appear in error logs (#2647)
* Reproduction of #2639

* Make sure the error level options is enforced
2016-09-04 12:07:40 -04:00
Greenkeeper
5676a6fbda chore(package): update pg-promise to version 5.3.3 (#2648)
https://greenkeeper.io/
2016-09-03 10:43:32 -04:00
Diwakar Cherukumilli
28bd37884d Adds ability to set an account lockout policy (#2601)
* Adds ability to set account lockout policy

* change fit to it in tests
2016-09-02 20:00:47 -04:00
Flavio Torres
f6516a1d1e change log level to debug for classes without subscribers (#2594) (#2637) 2016-09-02 14:29:05 -04:00
Brage G. Staven
9d2d208609 Fixed 'undefined' when getting request header (#2635) 2016-09-01 08:12:30 -04:00
Florent Vilmart
ac11e03e24 Removes Flaky PG Tests from test suite (#2632)
Removes some tests from running in the suite as they fail randomly on Travis
2016-09-01 00:09:28 -04:00
Florent Vilmart
be9fb435dd Revert "Update jasmine to version 2.5.0 🚀" (#2631) 2016-08-31 21:04:21 -04:00
Greenkeeper
05805a6a70 chore(package): update jasmine to version 2.5.0 (#2624)
https://greenkeeper.io/
2016-08-31 11:16:06 -04:00
Michael Vogt
e0c0608457 remove non referenced dependency, parse-server-simple-mailgun-adapter will include it (#2625) 2016-08-31 11:15:38 -04:00
Florent Vilmart
26ce63513c Removes mongodb v2.6.11 from test suite (#2619) 2016-08-30 11:30:08 -04:00
Florent Vilmart
f727e8dd4e updates dev dependencies (#2618) 2016-08-30 10:33:56 -04:00
garethx
3e5b90ca3d Add HyperDev to providers list (#2617) 2016-08-30 09:49:56 -04:00
Florent Vilmart
10ace495d8 Adds jobs endpoint protected by masterKey (#2560)
* Adds jobs endpoint protected by masterKey

* Adds connection timeout for 15 minutes in jobs

* Refactors pushStatusHandler into StatusHandler

* Adds reporting of _JobStatus

* Only accept strings as messages

* Adds test for masterKey basic auth

* Adds CloudCodeRouter for cloud_code endpoint of job status, enable Jobs feature on dashboard

* xit racing test
2016-08-30 07:19:21 -04:00
Greenkeeper
4b2a780e03 chore(package): update pg-promise to version 5.3.2 (#2557)
https://greenkeeper.io/
2016-08-29 21:48:44 -04:00
Florent Vilmart
4d78446cb9 Adds --cluster support (#2596)
* Adds --cluster support

* Restart failing child processes
2016-08-29 21:43:35 -04:00
Greenkeeper
d65f4a6f75 chore(package): update mongodb to version 2.2.9 (#2608)
https://greenkeeper.io/
2016-08-29 21:17:36 -04:00
Tom J
2aa14adf87 Only allow basic auth credentials with a known appId (#2574)
* Only allow basic auth credentials with a known appId

* Update middlewares.js

* Updating basic auth tests to use valid appId
2016-08-25 13:04:23 -04:00
Nurdaulet
8eafe45664 vk.com provider registered (#2579)
* vk.com auth data manager implemented

* vk.com provider registered

* Removed all the unnecessary changes

* Revert "Removed all the unnecessary changes"

This reverts commit 7dec6297421045c149aa49e4b888a02c38b96f9e.

* Revert "vk.com provider registered"

This reverts commit 25705d3d1272e44d5c5801050adf8eafec95cd27.

* Reverted all the unnecessary changes

* vk.com auth manager bugs fixed
2016-08-25 13:03:48 -04:00
Greenkeeper
a99bd82c43 chore(package): update parse-server-push-adapter to version 1.1.0 (#2588)
https://greenkeeper.io/
2016-08-25 13:03:36 -04:00
Nurdaulet
307a725884 vk.com auth data manager implemented (#2578) 2016-08-24 12:39:46 -04:00
Dharam Gollapudi
5ca4844bef Fix a typo (#2563)
Update connectionPrefix with collectionPrefix
2016-08-22 12:52:56 -04:00
Florent Vilmart
23e47f2e28 Makes sure routes don't overlap and yield a header set error (#2559) 2016-08-21 13:57:12 -04:00
Florent Vilmart
9ab488b6a0 Postgres: $all, $and CLP and more (#2551)
* Adds passing tests

* Better containsAll implementation

* Full Geopoint support, fix inverted lat/lng

* Adds support for $and operator / PointerPermissions specs

* Fix issue updating CLPs on schema

* Extends query support

* Adds RestCreate to the specs

* Adds User specs

* Adds error handlers for failing tests

* nits

* Proper JSON update of AuthData

* fix for #1259 with PG

* Fix for Installations _PushStatus test

* Adds support for GlobalConfig

* Enables relations tests

* Exclude spec as legacy

* Makes corner case for 1 in GlobalConfig
2016-08-20 16:07:48 -04:00
Drew
e1de9f3a12 Changelog 2.2.18 (#2558) 2016-08-20 10:16:22 -04:00
Greenkeeper
7fa3c9916c chore(package): update winston-daily-rotate-file to version 1.3.0 (#2547)
https://greenkeeper.io/
2016-08-19 18:12:32 -04:00