Commit Graph

628 Commits

Author SHA1 Message Date
greenkeeper[bot]
fc805fc5da Update semver to the latest version 🚀 (#6576)
* fix(package): update semver to version 7.2.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-08 04:12:17 +00:00
greenkeeper[bot]
b791e13dfd Update babel7 to the latest version 🚀 (#6579)
* chore(package): update @babel/plugin-proposal-object-rest-spread to version 7.9.5

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

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-07 22:35:27 +00:00
greenkeeper[bot]
c2fa25d846 Update apollo-server to the latest version 🚀 (#6578)
* fix(package): update apollo-server-express to version 2.12.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-07 19:16:24 +00:00
greenkeeper[bot]
bfdcba8d5c Update lint-staged to the latest version 🚀 (#6566)
* chore(package): update lint-staged to version 10.1.2

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-06 17:05:08 +00:00
greenkeeper[bot]
bcd5f1717e Update prettier to the latest version 🚀 (#6568)
* chore(package): update prettier to version 2.0.3

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-06 16:45:39 +00:00
greenkeeper[bot]
81b22b21b5 Update nyc to the latest version 🚀 (#6563)
* chore(package): update nyc to version 15.0.1

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-03 17:46:11 +00:00
Arthur Cinader
1045eeb700 Prep release 4.2 (#6560)
* Prep release 4.2

* fix links, consistent formatting

* remove unnecessary credit

* add one more commit

* Fix link, remove double spaces

* add a few more commits
run npm audit fix

* little fixes

Co-authored-by: Tom Fox <13188249+TomWFox@users.noreply.github.com>
2020-04-03 09:53:08 -07:00
Corey
dcba8e0b7c Case insensitive username and email indexing and query planning for Postgres (#6506)
* Update .travis.yml

testing error to see what happens...

* Update .travis.yml

Attempting to resolve postgres in CL by installing postgis via sudo instead of through apt/packages

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

Removed extra lines of postgres that were under "services" and "addons". I believe the "postgresql" line under "services" was installing the default of 9.6 and "addons" was installing postgres 11. My guess is the fail was occurring due to 9.6 being called sometimes and it never had postgis installed. If this is true, the solution is to only install one version of postgres, which is version 11 with postgis 2.5.

* Adding test case for caseInsensitive 

Adding test case for verifying indexing for caseInsensitive

* Implementing ensureIndex

* Updated PostgresStorageAdapter calls to ST_DistanceSphere. Note this has a minimum requirement of postgis 2.2. Documented the change in the readme. This is address #6441

* updated postgres sections of contributions with newer postgres info. Also switched postgis image it points to as the other one hasn't been updated in over a year.

* more info about postgres

* added necessary password for postgres docker

* updated wording in contributions

* removed reference to MacJr environment var when starting postgres in contributions. The official image automatically creates a user named 'postgres', but it does require a password, which the command sets to 'postgres'

* added more time to docker sleep/wait to enter postgis commands. This will always take a few seconds because the db is installing from scratch everytime. If postgres/postgis images aren't already downloaded locally, it will take even longer. Worst case, if the command times out on first run. Stop and remove the parse-postgres container and run the command again, 20 seconds should be enough wait time then

* latest changes

* initial fix, need to test

* fixed lint

* Adding test case for caseInsensitive 

Adding test case for verifying indexing for caseInsensitive

* Implementing ensureIndex

* Updated PostgresStorageAdapter calls to ST_DistanceSphere. Note this has a minimum requirement of postgis 2.2. Documented the change in the readme. This is address #6441

* updated postgres sections of contributions with newer postgres info. Also switched postgis image it points to as the other one hasn't been updated in over a year.

* more info about postgres

* added necessary password for postgres docker

* updated wording in contributions

* removed reference to MacJr environment var when starting postgres in contributions. The official image automatically creates a user named 'postgres', but it does require a password, which the command sets to 'postgres'

* added more time to docker sleep/wait to enter postgis commands. This will always take a few seconds because the db is installing from scratch everytime. If postgres/postgis images aren't already downloaded locally, it will take even longer. Worst case, if the command times out on first run. Stop and remove the parse-postgres container and run the command again, 20 seconds should be enough wait time then

* latest changes

* initial fix, need to test

* fixed lint

* Adds caseInsensitive constraints to database, but doesn't pass regular tests. I believe this is because ensureIndex in the Postgres adapter is returning wrong. Also, some issues with the caseInsensitive test case

* this version addes the indexes, but something still wrong with the ensureIndex method in adapter

* removed code from suggestions

* fixed lint

* fixed PostgresAdapter test case

* small bug in test case

* reverted back to main branch package.json and lock file

* fixed docker command in Contribute file

* added ability to explain the find method

* triggering another build

* added ability to choose to 'analyze' a query which actually executes (this can be bad when looking at a query plan for Insert, Delete, etc.) the query or to just setup the query plan (default, previous versions defaulted to 'analyze'). Alse added some comparsons on sequential vs index searches for postgres

* made sure to check that search actually returns 1 result. Removed prep time comparison between searches as this seemed to be variable

* added test cases using find and case insensitivity on fields other than username and password. Also added explain to aggregate method

* fixing issue where query in aggregate replaced the map method incorrectly

* reverted back to mapping for aggregate method to make sure it's the issue

* switched back to caseInsensitive check for email and username as it was causing issues

* fixed aggregate method using explain

* made query plain results more flexible/reusable. Got rid of droptables as 'beforeEach' already handles this

* updated CONTRIBUTING doc to use netrecon as default username for postgres (similar to old style). Note that the official postgres docker image for postgres requires POSTGRES_PASSWORD to be set in order to use the image

* left postgis at 2.5 in the contributing document as this is the last version to be backwards compatibile with older versions of parse server

* updating docker command for postgres

Co-authored-by: Arthur Cinader <700572+acinader@users.noreply.github.com>
2020-04-03 09:24:56 -05:00
greenkeeper[bot]
a8a367ed84 Update pg-promise to the latest version 🚀 (#6555)
* fix(package): update pg-promise to version 10.5.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-03 14:11:14 +00:00
greenkeeper[bot]
3625b371cf Update eslint-plugin-flowtype to the latest version 🚀 (#6536)
* chore(package): update eslint-plugin-flowtype to version 4.7.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-03 14:07:42 +00:00
greenkeeper[bot]
d48de7d97a Update graphql to the latest version 🚀 (#6558)
* fix(package): update graphql to version 15.0.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-02 15:53:24 +00:00
greenkeeper[bot]
d52d35bc2c Update lint-staged to the latest version 🚀 (#6550)
* chore(package): update lint-staged to version 10.1.1

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-31 15:21:47 +00:00
greenkeeper[bot]
384c2a9ade Update parse to the latest version 🚀 (#6548)
* fix(package): update parse to version 2.12.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-30 22:33:09 +00:00
greenkeeper[bot]
63a3fea218 Update lint-staged to the latest version 🚀 (#6547)
* chore(package): update lint-staged to version 10.1.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-30 16:29:45 +00:00
greenkeeper[bot]
958c706ac6 Update apollo-upload-client to the latest version 🚀 (#6546)
* chore(package): update apollo-upload-client to version 13.0.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-30 09:58:55 +00:00
greenkeeper[bot]
5d653d9bcb Update lint-staged to the latest version 🚀 (#6533)
* chore(package): update lint-staged to version 10.0.9

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-30 04:16:23 +00:00
greenkeeper[bot]
4d44edbd5d Update follow-redirects to the latest version 🚀 (#6545)
* fix(package): update follow-redirects to version 1.11.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-29 20:32:33 +00:00
greenkeeper[bot]
13bda61fc9 Update prettier to the latest version 🚀 (#6532)
* chore(package): update prettier to version 2.0.2

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-24 01:51:25 +00:00
greenkeeper[bot]
beecedbdf1 Update prettier to the latest version 🚀 (#6525)
* chore(package): update prettier to version 2.0.1

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-21 21:48:33 -05:00
greenkeeper[bot]
76f0edc922 Update prettier to the latest version 🚀 (#6524)
* chore(package): update prettier to version 2.0.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-21 23:06:51 +00:00
greenkeeper[bot]
a5977f3816 Update babel7 to the latest version 🚀 (#6520)
* chore(package): update @babel/core to version 7.9.0

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

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

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

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-20 17:06:22 +00:00
greenkeeper[bot]
2c10d9e87f Update commander to the latest version 🚀 (#6504)
* fix(package): update commander to version 5.0.0

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-14 04:21:51 +00:00
Snyk bot
1c2391f44d fix: upgrade graphql-tools from 4.0.6 to 4.0.7 (#6502)
Snyk has created this PR to upgrade graphql-tools from 4.0.6 to 4.0.7.

See this package in NPM:
https://www.npmjs.com/package/graphql-tools

See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
2020-03-13 15:43:49 -07:00
dependabot[bot]
ed38624028 Bump acorn from 7.1.0 to 7.1.1 (#6503)
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-13 15:43:31 -07:00
greenkeeper[bot]
e8bbde4cf9 Update mongodb to the latest version 🚀 (#6497)
* fix(package): update mongodb to version 3.5.5

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-12 01:20:48 +00:00
Andy
8e0e485de1 use token and algo from jwt header (#6416)
* use token and algo from jwt header

* change node-rsa out for jwks-rsa, reflect change in tests and add one test for coverage

* remove superfluous cache, allow jwks cache parameters to be passed to validateAuthData

* remove package lock

* regenerate package lock

* try fixing package-lock with copy from master

* manual changes for merge conflict

* whitespace

* pass options as object

* fix inconsistent variable name
2020-03-11 15:29:20 -05:00
Snyk bot
35d76b8ff5 fix: upgrade uuid from 3.3.3 to 3.4.0 (#6491)
Snyk has created this PR to upgrade uuid from 3.3.3 to 3.4.0.

See this package in NPM:
https://www.npmjs.com/package/uuid

See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
2020-03-11 07:21:53 -07:00
Snyk bot
3d4a2c232b fix: upgrade redis from 3.0.0 to 3.0.2 (#6488)
Snyk has created this PR to upgrade redis from 3.0.0 to 3.0.2.

See this package in NPM:
https://www.npmjs.com/package/redis

See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
2020-03-10 10:36:35 -07:00
Snyk bot
ecc2d11cbd fix: upgrade follow-redirects from 1.9.1 to 1.10.0 (#6489)
Snyk has created this PR to upgrade follow-redirects from 1.9.1 to 1.10.0.

See this package in NPM:
https://www.npmjs.com/package/follow-redirects

See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
2020-03-10 09:51:01 -07:00
Snyk bot
3068f13e0d fix: upgrade winston-daily-rotate-file from 4.4.0 to 4.4.2 (#6487)
Snyk has created this PR to upgrade winston-daily-rotate-file from 4.4.0 to 4.4.2.

See this package in NPM:
https://www.npmjs.com/package/winston-daily-rotate-file

See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
2020-03-10 09:50:33 -07:00
greenkeeper[bot]
3c821ba128 Update ws to the latest version 🚀 (#6485)
* fix(package): update ws to version 7.2.3

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-09 19:27:41 +00:00
greenkeeper[bot]
f69545939b Update ws to the latest version 🚀 (#6478)
* fix(package): update ws to version 7.2.2

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-09 04:21:47 +00:00
peril-parse-community[bot]
0407ee45c1 Update cross-env to the latest version 🚀 (#6471)
* chore(package): update cross-env to version 7.0.2

* chore(package): update lockfile package-lock.json
2020-03-05 21:21:51 +00:00
peril-parse-community[bot]
8f4f7d97db Update babel7 to the latest version 🚀 (#6466)
* chore(package): update @babel/core to version 7.8.7

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

* chore(package): update lockfile package-lock.json
2020-03-05 04:41:18 +00:00
greenkeeper[bot]
209d6f7744 Update apollo-server to the latest version 🚀 (#6460)
* fix(package): update apollo-server-express to version 2.11.0

* chore(package): update lockfile package-lock.json
2020-03-03 22:41:01 +00:00
greenkeeper[bot]
9f1af72363 Update cross-env to the latest version 🚀 (#6461)
* chore(package): update cross-env to version 7.0.1

* chore(package): update lockfile package-lock.json
2020-03-03 22:22:57 +00:00
Arthur Cinader
b9742b6fb9 Prep 4.1 (#6462)
* increment version in prep for 4.1

* changelog for 4.1

* fix security doc link

Co-authored-by: Tom Fox <13188249+TomWFox@users.noreply.github.com>
2020-03-03 11:41:24 -08:00
Arthur Cinader
bde8ab6d55 Attempt to get Travis to deploy to npmjs (#6457)
* Use deprecated skip_cleanup
as cleanup: false doesn't
appear to be working

* prepare release

* revert change to branch
2020-03-02 10:46:07 -08:00
greenkeeper[bot]
cfb0327c19 Update bcrypt to the latest version 🚀 (#6456)
* chore(package): update bcrypt to version 4.0.1

* chore(package): update lockfile package-lock.json
2020-03-02 16:49:23 +00:00
Arthur Cinader
cd06a02fe8 skip cleanup so we don't erase babel and stuff (#6452)
* skip cleanup so we don't erase babel and stuff

* skip cleanup the right way!

* Add change log and bump version

* include one more commit

* remove breaking change from non breaking change.

Co-authored-by: Diamond Lewis <findlewis@gmail.com>
2020-02-28 17:34:19 -08:00
greenkeeper[bot]
2a5c306aa8 Update flow-bin to the latest version 🚀 (#6448)
* chore(package): update flow-bin to version 0.119.1

* chore(package): update lockfile package-lock.json
2020-02-29 00:13:48 +00:00
greenkeeper[bot]
c973356a22 Update lint-staged to the latest version 🚀 (#6446)
* chore(package): update lint-staged to version 10.0.8

* chore(package): update lockfile package-lock.json
2020-02-29 00:12:47 +00:00
Arthur Cinader
4291f2b22a Prepare for 4.0 Release (#6412)
* Preparee for 3.11.0 Release

* Little fixes

* add in newly merge pr's into the changelog.

* Remove inconsistent full stops

* bump version to 4.0

* update changelog for v 4.0

* a touch of wordmsithery.

* Nits

Co-authored-by: Tom Fox <13188249+TomWFox@users.noreply.github.com>
2020-02-28 15:22:38 -08:00
greenkeeper[bot]
5947fc33e4 Update babel7 to the latest version 🚀 (#6450)
* chore(package): update @babel/core to version 7.8.6

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

* chore(package): update lockfile package-lock.json
2020-02-28 22:30:56 +00:00
greenkeeper[bot]
8487d2376f Update babel-eslint to the latest version 🚀 (#6449)
* chore(package): update babel-eslint to version 10.1.0

* chore(package): update lockfile package-lock.json
2020-02-28 22:30:12 +00:00
Arthur Cinader
5c7918980c Set min mongodb to 3.6 in prep for parse-server 4.0 (#6445)
* Set min mongodb to 3.6 in prep for parse-server 4.0

fixes: 6444

* don't use anonymous functions when we can just
pass the function.

Also remove the boolean argument in tests that no longer exists.

* generate the correct lock file.  ooops.
2020-02-27 10:56:14 -08:00
greenkeeper[bot]
9d7da58129 Update flow-bin to the latest version 🚀 (#6438)
* chore(package): update flow-bin to version 0.119.0

* chore(package): update lockfile package-lock.json
2020-02-25 03:52:39 +00:00
greenkeeper[bot]
d4690ca425 Update bcrypt to the latest version 🚀 (#6433)
* chore(package): update bcrypt to version 4.0.0

* chore(package): update lockfile package-lock.json
2020-02-21 23:10:07 +00:00
greenkeeper[bot]
259d119374 Update pg-promise to the latest version 🚀 (#6434)
* fix(package): update pg-promise to version 10.4.4

* chore(package): update lockfile package-lock.json
2020-02-21 22:17:45 +00:00
greenkeeper[bot]
1ea3f864a8 Update apollo-server to the latest version 🚀 (#6409)
* fix(package): update apollo-server-express to version 2.10.1

* chore(package): update lockfile package-lock.json
2020-02-14 14:27:37 +00:00