Commit Graph

2525 Commits

Author SHA1 Message Date
greenkeeper[bot]
f15360cb12 Update pg-promise to the latest version 🚀 (#5580)
* fix(package): update pg-promise to version 8.7.1

* chore(package): update lockfile package-lock.json
2019-05-10 19:21:29 +00:00
greenkeeper[bot]
31c9728b3a Update nyc to the latest version 🚀 (#5576)
* chore(package): update nyc to version 14.1.1

* chore(package): update lockfile package-lock.json
2019-05-10 03:07:24 +00:00
Diamond Lewis
4c996baf72 Update Travis CI Cache (#5575)
`prepare` causes `npm ci` to be used. `.npm` is the recommended cache directory. Should speed up build times.

https://docs.npmjs.com/cli/ci
2019-05-09 22:04:40 -05:00
greenkeeper[bot]
8a543bfda4 Update pg-promise to the latest version 🚀 (#5574)
* fix(package): update pg-promise to version 8.7.0

* chore(package): update lockfile package-lock.json
2019-05-09 20:16:46 +00:00
Arthur Cinader
87da62bca2 Logger: Fix timestamp and format (#5571)
* remove no-op config of logger

* add a test to check on the timestamp

* add a test to verify that we
get non json console loggging by default

* configure transports to include
timestamps in files

* Add failing test to confirm that WinstonLoggerAdapter
is not filtering on level.

* actually fix the test to refelect the facth that this isn't the problem

* Remove bogus date ranges that are now failing
becuase we have timestamps.
2019-05-09 14:58:54 -05:00
Antonio Davi Macedo Coelho de Castro
81ecf2fd74 Fix jasmine 3.4 (#5573)
* Fix failing tests

* just ignore the test for now.

* Bumping jasmine

* Fix pg unhandled exception

* Improving the way the test is fixed

* Fix unhandled failed promise in postgres test

* Solving unhandled promise fail on redis test

* Returning the excluded test

* Fixing package-lock

* Fix unhandled promise from redis test
2019-05-09 09:12:30 -07:00
greenkeeper[bot]
9232fcc601 Update mongodb to the latest version 🚀 (#5572)
* fix(package): update mongodb to version 3.2.4

* chore(package): update lockfile package-lock.json
2019-05-09 00:12:47 +00:00
dependabot[bot]
dabdf3b8a5 Bump eslint-plugin-flowtype from 3.7.0 to 3.8.1 (#5570)
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 3.7.0 to 3.8.1.
- [Release notes](https://github.com/gajus/eslint-plugin-flowtype/releases)
- [Commits](https://github.com/gajus/eslint-plugin-flowtype/compare/v3.7.0...v3.8.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-08 10:32:03 +00:00
greenkeeper[bot]
cc3f210bf6 Update flow-bin to the latest version 🚀 (#5567)
* chore(package): update flow-bin to version 0.98.1

* chore(package): update lockfile package-lock.json
2019-05-06 17:19:12 +00:00
greenkeeper[bot]
f325224ffb Update jsdoc to the latest version 🚀 (#5565)
* chore(package): update jsdoc to version 3.6.1

* chore(package): update lockfile package-lock.json
2019-05-05 19:54:46 +00:00
greenkeeper[bot]
1e6b48a754 Update jsdoc to the latest version 🚀 (#5563)
* chore(package): update jsdoc to version 3.6.0

* chore(package): update lockfile package-lock.json
2019-05-05 00:26:15 +00:00
Diamond Lewis
87b0093873 (chore): Fix broken codecov (#5554) 2019-05-03 18:01:10 -07:00
dependabot[bot]
7fd2a91503 Bump lint-staged from 8.1.5 to 8.1.6 (#5559)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.5 to 8.1.6.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.5...v8.1.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-03 10:52:00 +00:00
dependabot[bot]
fdf08c4f09 Bump body-parser from 1.18.3 to 1.19.0 (#5531)
Bumps [body-parser](https://github.com/expressjs/body-parser) from 1.18.3 to 1.19.0.
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.18.3...1.19.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-02 19:47:08 +00:00
greenkeeper[bot]
e5f34c3393 Update nyc to the latest version 🚀 (#5555)
* chore(package): update nyc to version 14.1.0

* chore(package): update lockfile package-lock.json
2019-05-02 19:27:37 +00:00
Diamond Lewis
e0a25d9030 Fix flaky test. Give em a little more time. (#5557)
Similar to https://github.com/parse-community/parse-server/pull/3453
2019-05-02 13:59:01 -05:00
Diamond Lewis
005fd78275 PG: Fix updating mixed array (#5552)
* PG: Fix updating mixed array

* Revert "PG: Fix updating mixed array"

This reverts commit 5a441413c083747d9e51767be7b2e9298bd4f8ba.

* simple fix
2019-05-02 12:44:17 -05:00
greenkeeper[bot]
d4f4667008 Update eslint-plugin-flowtype to the latest version 🚀 (#5556)
* chore(package): update eslint-plugin-flowtype to version 3.7.0

* chore(package): update lockfile package-lock.json
2019-05-02 16:22:19 +00:00
greenkeeper[bot]
1b0d20d53c Update husky to the latest version 🚀 (#5553)
* chore(package): update husky to version 2.2.0

* chore(package): update lockfile package-lock.json
2019-05-02 04:35:38 +00:00
Antonio Davi Macedo Coelho de Castro
8f0e7f3bcc Fix test that is failing the build (#5551) 2019-05-01 17:29:53 -05:00
Diamond Lewis
9594c4b59f Add useNewUrlParser options to GridFSBucketAdapter (#5548)
* Add useNewUrlParser options to GridFSBucketAdapter

* allow overriding default
2019-05-01 00:44:10 -05:00
Diamond Lewis
057fc40c1d Postgres: Query notEqualTo GeoPoint (#5549)
* Postgres: Query notEqualTo GeoPoint

* remove templated strings
2019-04-30 23:29:44 -05:00
ananfang
fa97df5f4e Decode Date JSON value at LiveQuery (#5540) 2019-04-30 13:00:23 -05:00
greenkeeper[bot]
2e2ee06279 Update ws to the latest version 🚀 (#5547)
* fix(package): update ws to version 7.0.0

* chore(package): update lockfile package-lock.json
2019-04-30 16:42:31 +00:00
Tom Fox
99a1b13e23 Improve contributing guide (#5543)
* Update CONTRIBUTING.md

* add note about installing code command
2019-04-29 18:47:49 +01:00
dependabot[bot]
748a9bf52d Bump winston-daily-rotate-file from 3.8.0 to 3.9.0 (#5544)
Bumps [winston-daily-rotate-file](https://github.com/winstonjs/winston-daily-rotate-file) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/winstonjs/winston-daily-rotate-file/releases)
- [Commits](https://github.com/winstonjs/winston-daily-rotate-file/compare/v3.8.0...v3.9.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 10:32:49 +00:00
Tom Fox
022b33e83c Remove video series reference (#5542) 2019-04-27 19:32:07 +01:00
Antonio Davi Macedo Coelho de Castro
db994ed473 Aggregate supports group by date fields (#5538)
* it actually supports group by date fields

* Changing the field name again to see Travis logs

* Adding match stage to the test

* Adding test for group by date fields on postgres
2019-04-26 20:33:03 -05:00
Antonio Davi Macedo Coelho de Castro
43c41925a2 Local tests failing for timezones <= -7 (#5536) 2019-04-26 18:26:20 -05:00
greenkeeper[bot]
9c56d5c7e9 Update babel7 to the latest version 🚀 (#5537)
* chore(package): update @babel/cli to version 7.4.4

* chore(package): update @babel/core to version 7.4.4

* chore(package): update @babel/plugin-proposal-object-rest-spread to version 7.4.4

* chore(package): update @babel/plugin-transform-flow-strip-types to version 7.4.4

* chore(package): update @babel/preset-env to version 7.4.4

* chore(package): update lockfile package-lock.json
2019-04-26 22:33:11 +00:00
Tom Fox
b919c36db0 3.3.0 release notes & version bump (#5534)
* Update CHANGELOG.md

* bump version to 3.3.0
2019-04-26 22:22:36 +01:00
greenkeeper[bot]
c70e015751 Update flow-bin to the latest version 🚀 (#5532)
* chore(package): update flow-bin to version 0.98.0

* chore(package): update lockfile package-lock.json
2019-04-26 20:43:13 +00:00
dependabot[bot]
3608b19b3a Bump parse from 2.3.2 to 2.4.0 (#5529)
Bumps [parse](https://github.com/parse-community/Parse-SDK-JS) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/parse-community/Parse-SDK-JS/releases)
- [Changelog](https://github.com/parse-community/Parse-SDK-JS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/parse-community/Parse-SDK-JS/compare/2.3.2...2.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-25 10:42:55 +00:00
Julien Quéré
7122ca05c4 Fix issue on count with Geo constraints and mongo (issue #5285) (#5286)
* Add a tests that fails due to issue #5285

* Make test code much simpler

* Fix #5285 by rewriting query (replacing $nearSphere by $geoWithin)

All credit goes to @dplewis !

* move logic to transform
2019-04-24 20:28:13 -05:00
greenkeeper[bot]
7e130c5421 Update husky to the latest version 🚀 (#5527)
* chore(package): update husky to version 2.1.0

* chore(package): update lockfile package-lock.json
2019-04-24 22:15:51 +00:00
greenkeeper[bot]
f7bcfcea24 Update husky to the latest version 🚀 (#5526)
* chore(package): update husky to version 2.0.0

* chore(package): update lockfile package-lock.json
2019-04-24 16:53:18 +00:00
Omair Vaiyani
a1e1cef6d2 Add beforeLogin trigger with support for auth providers (#5445)
* Add beforeLogin trigger with support for auth providers

* adjust comment that boxed off beforeLogin to a negative use-case only

* add internal error to help future maintainers regarding use of beforeLogin

* let beforeLogin accept className or constructor like other hook types

* add assertions for beforeLogin trigger className validation
2019-04-23 08:24:20 -07:00
dependabot[bot]
3e003ee9f4 Bump nyc from 13.1.0 to 14.0.0 (#5517)
Bumps [nyc](https://github.com/istanbuljs/nyc) from 13.1.0 to 14.0.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases)
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/nyc/compare/v13.1.0...v14.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 10:54:55 +00:00
dependabot[bot]
828ae7e708 Bump mongodb from 3.2.2 to 3.2.3 (#5492)
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/master/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 12:07:19 +00:00
dependabot[bot]
2998b2a1ca Bump eslint-plugin-flowtype from 3.5.0 to 3.6.1 (#5495)
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 3.5.0 to 3.6.1.
- [Release notes](https://github.com/gajus/eslint-plugin-flowtype/releases)
- [Commits](https://github.com/gajus/eslint-plugin-flowtype/compare/v3.5.0...v3.6.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 11:51:26 +00:00
dependabot[bot]
1f109de7a9 Bump mime from 2.4.0 to 2.4.2 (#5493)
Bumps [mime](https://github.com/broofa/node-mime) from 2.4.0 to 2.4.2.
- [Release notes](https://github.com/broofa/node-mime/releases)
- [Changelog](https://github.com/broofa/node-mime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/broofa/node-mime/compare/v2.4.0...v2.4.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 11:29:05 +00:00
dependabot[bot]
c0b8de7a76 Bump prettier from 1.16.4 to 1.17.0 (#5512)
Bumps [prettier](https://github.com/prettier/prettier) from 1.16.4 to 1.17.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.16.4...1.17.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 11:06:00 +00:00
dependabot[bot]
0bad5f40e4 Bump bcrypt from 3.0.5 to 3.0.6 (#5511)
Bumps [bcrypt](https://github.com/kelektiv/node.bcrypt.js) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/kelektiv/node.bcrypt.js/releases)
- [Changelog](https://github.com/kelektiv/node.bcrypt.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kelektiv/node.bcrypt.js/compare/v3.0.5...v3.0.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 10:57:57 +00:00
dependabot[bot]
dc9434645b Bump flow-bin from 0.96.0 to 0.97.0 (#5510)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.96.0 to 0.97.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/compare/v0.96.0...v0.97.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 10:48:35 +00:00
dependabot[bot]
266db27c72 Bump pg-promise from 8.6.4 to 8.6.5 (#5509)
Bumps [pg-promise](https://github.com/vitaly-t/pg-promise) from 8.6.4 to 8.6.5.
- [Release notes](https://github.com/vitaly-t/pg-promise/releases)
- [Commits](https://github.com/vitaly-t/pg-promise/compare/8.6.4...8.6.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 10:38:29 +00:00
Sam Ilic
6ffc41345f Winston 3 upgrade (#5496)
*  Release 3.1.3 (#5267)

*  Release 3.1.3

* Update CHANGELOG.md

* ⬆️ Bump winston and winston-daily-rotate-file

Bumps [winston](https://github.com/winstonjs/winston) and [winston-daily-rotate-file](https://github.com/winstonjs/winston-daily-rotate-file). These dependencies needed to be updated together.

Updates `winston` from 2.4.4 to 3.1.0
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/2.4.4...3.1.0)

Updates `winston-daily-rotate-file` from 1.7.2 to 3.5.1
- [Release notes](https://github.com/winstonjs/winston-daily-rotate-file/releases)
- [Commits](https://github.com/winstonjs/winston-daily-rotate-file/compare/v1.7.2...v3.5.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Rewrote WinstonLogger to work with winston 3.x api

* Changed winston logger test to use winston-transport

* Added winston-transport dependency

* Close and remove transports before adding them again

* Changed to strict equal

* Override adapter name

* Updated and added getLogs tests

* Bump winston and winston-daily-rotate-file

Bumps [winston](https://github.com/winstonjs/winston) and [winston-daily-rotate-file](https://github.com/winstonjs/winston-daily-rotate-file). These dependencies needed to be updated together.

Updates `winston` from 2.4.4 to 3.2.0
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/2.4.4...3.2.0)

Updates `winston-daily-rotate-file` from 1.7.2 to 3.6.0
- [Release notes](https://github.com/winstonjs/winston-daily-rotate-file/releases)
- [Commits](https://github.com/winstonjs/winston-daily-rotate-file/compare/v1.7.2...v3.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Fixed tests, updated parse logging

* Fixed tests, better error logging

* Fix failing tests

* Updates as per review
2019-04-14 18:03:33 -05:00
Arthur Cinader
943134812e Revert "Bump jasmine from 3.1.0 to 3.4.0" (#5506)
This reverts commit e396612254.
2019-04-14 17:40:59 -05:00
Müller Zsolt
019cf0a986 added an RFC 7662 compliant OAuth2 auth adapter (#4910)
* added an RFC 7662 compliant OAuth2 auth adapter

* forgot to add the actual auth adapter to the previous commit

* fixed lint errors

* * added test coverage
* changed option names in auth adapter from snake case to camel case
* added underscore prefix to helper function names
* merged consecutive logger calls into one call and use JSON.stringify() to convert JSON objects to strings
* changed error handling (ParseErrors are no longer thrown, but returned)

* added description of the "debug" option and added this option to the tests too

* added a check of the "debug" option to the unittests and replaced require() of the logger with an import (the former does not work correctly)

* added AuthAdapter based auth adapter runtime validation to src/Adapters/Auth/index.js, added capability to define arbitrary providernames with an "adapter" property in auth config, replaced various "var" keywords with "const" in oauth2.js

* incorporated changes requested by flovilmart (mainly that oauth2 is now not a standalone adapter, but can be selected by setting the "oauth2" property to true in auth config

* modified oauth2 adapter as requested by flovilmart

* bugfix: defaultAdapter can be null in loadAuthAdapter() of index.js (my change broke the tests)

* added TODO on need for a validateAdapter() to validate auth adapters

* test cases and cleanup
2019-04-11 11:05:55 -05:00
Tulsi Sapkota
a3746cab00 Cannot change password when maxPasswordHistory is 1 (#5191)
* Negitive to zero and positive to same value

* add failing test
2019-04-10 10:12:09 -07:00
CoderickLamar
c7eb7daeae Fix for count being very slow on large Parse Classes' collections (Postgres) (#5330)
* Changed count to be approximate. Should help with postgres slowness

* refactored last commit to only fall back to estimate if no complex query

* handlign variables correctly

* Trying again because it was casting to lowercase table names which doesnt work for us/

* syntax error

* Adding quotations to pg query

* hopefully final pg fix

* Postgres will now use an approximate count unless there is a more complex query specified

* handling edge case

* Fix for count being very slow on large Parse Classes' collections in Postgres. Replicating fix for Mongo in issue 5264

* Fixed silly spelling error resulting from copying over notes

* Lint fixes

* limiting results to 1 on approximation

* suppress test that we can no longer run for postgres

* removed tests from Postgres that no longer apply

* made changes requested by dplewis

* fixed count errors

* updated package.json

* removed test exclude for pg

* removed object types from method

* test disabled for postgres

* returned type

* add estimate count test

* fix mongo test
2019-04-08 17:59:15 -05:00