Commit Graph

1457 Commits

Author SHA1 Message Date
Greenkeeper
3044a382d6 chore(package): update babel-polyfill to version 6.9.1 (#2454)
https://greenkeeper.io/
2016-08-04 20:35:37 -07:00
Greenkeeper
62caea6c28 chore(package): update parse to version 1.9.1 (#2452)
https://greenkeeper.io/
2016-08-04 17:00:47 -07:00
Steven Shipton
4dda71698b Fix test:win for windows. Move coverage from test:win to coverage:win. Fix test on windows bash (#2453) 2016-08-04 23:18:52 +02:00
Greenkeeper
f5755e8f73 chore(package): update multer to version 1.2.0 (#2449)
https://greenkeeper.io/
2016-08-04 12:13:38 -07:00
Dharam Gollapudi
115fd7278c Remove unused imports (#2403)
Remove the unused imports, as they are now part of logger.js
2016-08-04 10:31:03 -07:00
Dharam Gollapudi
eee11a7acb Remove unused imports (#2404)
Remove unused imports, as it is now part of ClassesRouter.js
2016-08-04 10:30:00 -07:00
Steven Van Bael
8d8192bbcc Add Content-Length header to HTTP response in FilesRouter (#2408) 2016-08-04 10:29:10 -07:00
Greenkeeper
5865d59b5a chore(package): update request-promise to version 4.1.0 (#2426)
https://greenkeeper.io/
2016-08-04 10:27:58 -07:00
Florent Vilmart
946f8a3872 fix typo when logging result (#2443) 2016-08-04 10:27:47 -07:00
Greenkeeper
f1c9d97d2f chore(package): update pg-promise to version 5.2.7 (#2433)
https://greenkeeper.io/
2016-08-03 16:44:31 +02:00
Greenkeeper
3dbf0b22f4 chore(package): update babel-runtime to version 6.11.6 (#2401)
https://greenkeeper.io/
2016-07-29 13:04:43 -07:00
Greenkeeper
ddf8fd432b chore(package): update pg-promise to version 5.2.6 (#2402)
https://greenkeeper.io/
2016-07-29 13:04:35 -07:00
Greenkeeper
39c267cacb chore(package): update mongodb to version 2.2.5 (#2418)
https://greenkeeper.io/
2016-07-29 13:04:17 -07:00
bcomeau
a957df0a91 Add parse-server-mailgun-adapter-template to README.md (#2413)
Customize the e-mail sent to your users when they reset their password or when we verify their email address.
2016-07-27 15:01:12 -07:00
Greenkeeper
831b29b015 chore(package): update lodash to version 4.14.0 (#2376)
https://greenkeeper.io/
2016-07-26 07:54:37 -07:00
Greenkeeper
da94a1e8be chore(package): update winston-daily-rotate-file to version 1.2.0 (#2386)
https://greenkeeper.io/
2016-07-26 07:54:26 -07:00
Greenkeeper
72cfec0e0c chore(package): update nodemon to version 1.10.0 (#2388)
https://greenkeeper.io/
2016-07-26 07:54:12 -07:00
Florent Vilmart
fa49f05fdd Changelog 2.2.17 (#2374)
* Version 2.2.17

* remove generated by line
2016-07-23 23:05:46 +02:00
Florent Vilmart
fdd60a4a30 Revert "Version 2.2.17" (#2373) 2016-07-23 23:04:54 +02:00
Florent Vilmart
1cf23a3431 Version 2.2.17 (#2372)
* Version 2.2.17

* [skip ci] remove generated by line
2016-07-23 22:59:54 +02:00
Florent Vilmart
15a07859b0 Make sure _PushStatus operations are run in order (#2367) 2016-07-23 12:20:04 -07:00
Florent Vilmart
7964d0a999 Adds support for multiple twitter auths options (#2256)
* Adds support for multiple twitter auths options

* Adds user test
2016-07-23 12:02:45 -07:00
Greenkeeper
fc42388305 chore(package): update babel-register to version 6.9.0 (#2371)
https://greenkeeper.io/
2016-07-23 12:02:23 -07:00
Florent Vilmart
c9fc80984a Makes sure we don't strip authData or session token from users using masterKey (#2348)
* Makes sure we don't strip auth data or session token from users queried with masterKey (#2342))

* nit: test title
2016-07-23 11:14:53 -07:00
Greenkeeper
88d913f3a2 chore(package): update babel-core to version 6.11.4 (#2341)
https://greenkeeper.io/
2016-07-23 11:13:11 -07:00
Florent Vilmart
3b2da1d734 Cloud code logs (#2370)
* Adds logging (info/error) when running cloudCode triggers

* Adds logs for cloud-function calls

- Match parse.com original logging
2016-07-23 11:10:06 -07:00
Simonas Karuzas
93b41170fd LiveQuery constrains matching fix (#2357)
* Removing sessionToken and authData from _User objects included in a query

This bug caused sessionToken to be replaced on client side to some old
sessionToken from DB.

* Removing dangling variable that is never used

* Checking if object has defined key for Pointer constraints in liveQuery

If there is a liveQuery subscription, with Pointer type constrains (e.g
query.equalTo('user', Parse.User.current())), and new object has
undefined value for that field, we get this error:

    error: Uncaught internal server error. [TypeError: Cannot read
property 'className' of undefined] TypeError: Cannot read property
'className' of undefined
    at matchesKeyConstraints
(…/node_modules/parse-server/lib/LiveQuery/QueryTools.js:145:51)

* LiveQuery constrains matching fix

When constrains == null, we get “Uncaught internal server error”
2016-07-22 21:27:52 -07:00
Andrew Lane
a60c3f48ce Typo fix for error message when can't ensure uniqueness of user email addresses (#2360) 2016-07-22 21:27:01 -07:00
Greenkeeper
b799ec7bc3 chore(package): update pg-promise to version 5.2.5 (#2366)
https://greenkeeper.io/
2016-07-22 21:25:03 -07:00
Greenkeeper
499c78a922 chore(package): update request to version 2.74.0 (#2365)
https://greenkeeper.io/
2016-07-22 21:24:33 -07:00
Florent Vilmart
09bd9e3b2c Adds schema caching capabilities (5s by default) (#2286)
* Adds schema caching capabilities (off by default)

* Use InMemoryCacheAdapter

* Uses proper adapter to generate a cache

* Fix bugs when running disabled cache

* nits

* nits

* Use options object instead of boolean

* Imrpove concurrency of loadSchema

* Adds testing with SCHEMA_CACHE_ON

* Use CacheController instead of generator

- Makes caching SchemaCache use a generated prefix
- Makes clearing the SchemaCache clear only the cached schema keys
- Enable cache by default (ttl 5s)
2016-07-22 21:23:59 -07:00
Greenkeeper
66c4b98b55 chore(package): update babel-cli to version 6.11.4 (#2339)
https://greenkeeper.io/
2016-07-21 22:32:22 -07:00
Greenkeeper
921617ad40 chore(package): update pg-promise to version 5.2.3 (#2334)
https://greenkeeper.io/
2016-07-21 22:32:09 -07:00
Andrew Lane
397e6bc976 Fix typo in logging for commander parseConfigFile (#2352) 2016-07-20 16:08:22 -04:00
Arthur Cinader
ac1f762f07 Fix minor typos in test names (#2351) 2016-07-20 12:32:18 -04:00
Diwakar Cherukumilli
ab3b4addbf updates usage of setting: emailVerifyTokenValidityDuration (#2331) 2016-07-20 09:29:32 -04:00
Blayne Chard
c8e1ab851f Run next() after successfully sending data to the client (#2338)
This allows developers to add express handlers for successful completion of parse-server requests.
ie Analytics or Logging.
2016-07-20 09:28:20 -04:00
Marek Mikołajczyk
d1a6caeee3 Allow usage of analytics adapter (#2327)
* Allow usage of analytics adapter

* Use promises in controller
2016-07-20 09:27:15 -04:00
Florent Vilmart
02edf27f05 Restores code coverage (#2340) 2016-07-19 23:33:01 -04:00
Florent Vilmart
dfac9725dd Update Mongodb client to 2.2.4 (#2329)
* chore(package): update mongodb to version 2.2.4

https://greenkeeper.io/

* fix for mongo 2.2.4

* Delete schema promise on error...

- Just because this way we can let the adapter an opportunity to yield a new error....
OR A SUCCESS

* Fixes test

* Restore fix
2016-07-19 21:40:01 -04:00
Florent Vilmart
78ea02968a Cache all the mongodb/version folder (#2336)
* Cache all the version folder

* list cache
2016-07-19 21:27:04 -04:00
Florent Vilmart
8719afdc1b Parses correctly Parse.Files and Dates when sent to Cloud Code Functions (#2297)
* fix for #2294

* fail tests

* Makes sure dates are compatible with Parse.com CloudCode #2214

* Adds regression tests for #2204
2016-07-18 23:14:32 -07:00
Florent Vilmart
4f89ec39cd Uses one query for installation dedup (#2281) 2016-07-18 23:12:29 -07:00
Diwakar Cherukumilli
6f292059ba Adds ability to expire email verify token (#2216) 2016-07-18 23:10:36 -07:00
Florent Vilmart
033bc317e6 Report validation errors with correct error code (#2299) 2016-07-18 23:03:43 -07:00
Greenkeeper
40c4fcdebf chore(package): update parse-server-s3-adapter to version 1.0.4 (#2318)
https://greenkeeper.io/
2016-07-18 23:02:01 -07:00
Dan Huang
c81f48aae6 don't serve null authData values (#2320) 2016-07-18 23:00:16 -07:00
Florent Vilmart
025482ea1a Fix null relation problem (#2319)
* Add null check for relation type map.

For relations that are not explicitly defined in the schema, we need a null check here.

* Making change to force rebuild.

* Reverting change.

* Adds test
2016-07-18 22:58:37 -07:00
Florent Vilmart
f310e6678e Fix flaky tests (#2324)
* Fix flaky test (There were open connections to the server left after the test finished)

* fix test that's happening on the end of the minute

* remove focus testing
2016-07-18 21:43:34 -07:00
Greenkeeper
2ba724938f chore(package): update request-promise to version 4.0.1 (#2311)
https://greenkeeper.io/
2016-07-18 22:36:46 -04:00