Commit Graph

2618 Commits

Author SHA1 Message Date
greenkeeper[bot]
2f99ec5289 Update eslint-plugin-flowtype to the latest version 🚀 (#5720)
* chore(package): update eslint-plugin-flowtype to version 3.11.0

* chore(package): update lockfile package-lock.json
2019-06-24 07:50:25 +00:00
greenkeeper[bot]
5b5c71d78c Update semver to the latest version 🚀 (#5719)
* fix(package): update semver to version 6.1.2

* chore(package): update lockfile package-lock.json
2019-06-24 02:11:48 +00:00
greenkeeper[bot]
387b888168 Update eslint-plugin-flowtype to the latest version 🚀 (#5717)
* chore(package): update eslint-plugin-flowtype to version 3.10.5

* chore(package): update lockfile package-lock.json
2019-06-22 06:26:39 +00:00
greenkeeper[bot]
ef3dfa8ad1 Update eslint-plugin-flowtype to the latest version 🚀 (#5713)
* chore(package): update eslint-plugin-flowtype to version 3.10.4

* chore(package): update lockfile package-lock.json
2019-06-21 13:51:07 +00:00
dependabot-preview[bot]
7c295a34f3 Bump node-fetch from 2.5.0 to 2.6.0 (#5712)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/bitinn/node-fetch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.5.0...v2.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-21 10:58:58 +00:00
dependabot-preview[bot]
523bd7f6a4 Bump flow-bin from 0.101.0 to 0.101.1 (#5711)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.101.0 to 0.101.1.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/compare/v0.101.0...v0.101.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-21 10:52:03 +00:00
dependabot-preview[bot]
3c15252cb1 Bump graphql from 14.2.1 to 14.3.1 (#5710)
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.2.1 to 14.3.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.2.1...v14.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-21 10:41:42 +00:00
greenkeeper[bot]
e2b0829f6e Update apollo-server to the latest version 🚀 (#5709)
* fix(package): update apollo-server-express to version 2.6.4

* chore(package): update lockfile package-lock.json
2019-06-21 00:38:36 +00:00
dependabot-preview[bot]
8f8a4209e3 Bump @apollographql/graphql-playground-html from 1.6.6 to 1.6.20 (#5707)
Bumps [@apollographql/graphql-playground-html](https://github.com/graphcool/graphql-playground) from 1.6.6 to 1.6.20.
- [Release notes](https://github.com/graphcool/graphql-playground/releases)
- [Commits](https://github.com/graphcool/graphql-playground/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 19:16:38 +00:00
Diamond Lewis
6385deeb6e Add AppSecret to Facebook Auth (#5695)
Closes: https://github.com/parse-community/parse-server/issues/5448
2019-06-20 14:15:57 -05:00
Linus Unnebäck
366e12193e Avoid redundant allowCrossDomain calls (#5696) 2019-06-20 12:08:46 -07:00
dependabot-preview[bot]
ad26b469cb Bump apollo-utilities from 1.2.1 to 1.3.2 (#5704)
Bumps [apollo-utilities](https://github.com/apollographql/apollo-client) from 1.2.1 to 1.3.2.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/apollo-utilities@1.2.1...apollo-utilities@1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 13:53:44 +00:00
dependabot-preview[bot]
9bfe005524 Bump apollo-link-http from 1.5.14 to 1.5.15 (#5701)
Bumps [apollo-link-http](https://github.com/apollographql/apollo-link) from 1.5.14 to 1.5.15.
- [Release notes](https://github.com/apollographql/apollo-link/releases)
- [Changelog](https://github.com/apollographql/apollo-link/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-link/compare/apollo-link-http@1.5.14...apollo-link-http@1.5.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 13:29:21 +00:00
dependabot-preview[bot]
8513c39fe3 Bump apollo-link from 1.2.11 to 1.2.12 (#5705)
Bumps [apollo-link](https://github.com/apollographql/apollo-link) from 1.2.11 to 1.2.12.
- [Release notes](https://github.com/apollographql/apollo-link/releases)
- [Changelog](https://github.com/apollographql/apollo-link/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-link/compare/apollo-link@1.2.11...apollo-link@1.2.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 12:53:14 +00:00
dependabot-preview[bot]
791e26939c Bump apollo-cache-inmemory from 1.5.1 to 1.6.2 (#5703)
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client) from 1.5.1 to 1.6.2.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/apollo-cache-inmemory@1.5.1...apollo-cache-inmemory@1.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 12:23:05 +00:00
dependabot-preview[bot]
4c30037d1e Bump apollo-client from 2.5.1 to 2.6.3 (#5700)
Bumps [apollo-client](https://github.com/apollographql/apollo-client) from 2.5.1 to 2.6.3.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/apollo-client@2.5.1...apollo-client@2.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 11:54:54 +00:00
dependabot-preview[bot]
9dd4228674 Bump form-data from 2.3.3 to 2.4.0 (#5706)
Bumps [form-data](https://github.com/form-data/form-data) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Commits](https://github.com/form-data/form-data/commits/v2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 11:35:00 +00:00
dependabot-preview[bot]
1a3fb8a75f Bump apollo-upload-client from 10.0.0 to 10.0.1
Bumps [apollo-upload-client](https://github.com/jaydenseric/apollo-upload-client) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/jaydenseric/apollo-upload-client/releases)
- [Changelog](https://github.com/jaydenseric/apollo-upload-client/blob/master/changelog.md)
- [Commits](https://github.com/jaydenseric/apollo-upload-client/compare/v10.0.0...v10.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 11:11:57 +00:00
dependabot-preview[bot]
2ce5c6c508 Bump apollo-link-ws from 1.0.17 to 1.0.18 (#5699)
Bumps [apollo-link-ws](https://github.com/apollographql/apollo-link) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/apollographql/apollo-link/releases)
- [Changelog](https://github.com/apollographql/apollo-link/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-link/compare/apollo-link-ws@1.0.17...apollo-link-ws@1.0.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 11:09:41 +00:00
dependabot-preview[bot]
940c2b221c Bump graphql-upload from 8.0.5 to 8.0.7 (#5698)
Bumps [graphql-upload](https://github.com/jaydenseric/graphql-upload) from 8.0.5 to 8.0.7.
- [Release notes](https://github.com/jaydenseric/graphql-upload/releases)
- [Changelog](https://github.com/jaydenseric/graphql-upload/blob/master/changelog.md)
- [Commits](https://github.com/jaydenseric/graphql-upload/compare/v8.0.5...v8.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 11:00:23 +00:00
Antonio Davi Macedo Coelho de Castro
fe2e95622f GraphQL Support (#5674)
* GraphQL boilerplate

* Create GraphQL schema without using gql

* Introducing loaders

* Generic create mutation

* create mutation is now working for any data type

* Create mutation for each parse class - partial

* Adding more data types to the class

* Get parse class query

* Generic get query

* Generic delete mutation

* Parse class delete mutation

* Parse class find mutation

* Generic update mutation

* Parse class update mutation

* Fixing initialization problems

* Installing node-fetch again

* Basic implementation for Pointer

* Constructor tests

* API tests boilerplate

* _getGraphQLOptions

* applyGraphQL tests

* GraphQL API initial tests

* applyPlayground tests

* createSubscriptions tests

* ParseGrapjQLSchema tests file

* ParseGraphQLSchema tests

* TypeValidationError

* TypeValidationError

* parseStringValue test

* parseIntValue tests

* parseBooleanValue tests

* parseDateValue tests

* parseValue tests

* parseListValues tests

* parseObjectFields tests

* Default types tests

* Get tests

* First permission test at generic Get operation

* Fixing prepare data

* ApolloClient does not work well with different queries runnning in paralell with different headers

* ApolloClient does not work well with different queries runnning in paralell with different headers

* User 3 tests

* User 3 tests

* Get level permission tests

* Get User specific tests

* Get now support keys argument

* Get now supports include argument

* Get now supports read preferences

* Adding tests for read preference enum type

* Find basic test

* Find permissions test

* Find where argument test

* Order, skip and limit tests

* Error handler

* Find now supports count

* Test for FindResult type

* Improving find count

* Find max limit test

* Find now supports keys, include and includeAll

* Find now supports read preferences

* Basic Create test

* Generic create mutation tests

* Basic update test

* UpdateResult object type test

* Update level permissions tests

* Error handler for default mutations

* Delete mutation basic test

* Delete mutation level permission tests

* Test for string

* String test

* Date test

* Pointer test

* Relation tests

* Changing objects mutations location

* Changing objects queries location

* Create file mutation

* Test for file fields

* Test for null values

* Changing parse classes operations location

* Objects mutations refactoring

* Class specific create object mutation now working

* Update class specific mutation now working

* Specific class delete mutation now working

* Get class specific mutation now working

* Find class specific query now working without where and sort

* Find query for custom classes working with where partially

* Almost all data types working for specfic class find where

* Now only missing relation, geopoint, file and ACL

* Additional tests with Parse classes queries and mutations

* Now only missing relation, geopoint, file and ACL

* Files

* Fiels are now working

* Excluding missing order test temporarly

* Refactoring dates

* Refactoring files

* Default types review

* Refeactoring object queries

* Refactoring class scalar type

* Refactoring class types

* Geo queries are now working

* Fixing centerSphere

* Allow sort on class specific queries

* Supporting bytes

* ACL constraint

* Temporarly removing xit tests

* Fixing some tests because of schema cache

* Removing session token from users

* Parse.User queries and mutations

* Remove test using fit

* Fixing include test that was failing because of schema cache

* Fixing count test for postgres. Postgres does not count with where={} (legacy problem). We should solve it later

* Fix null values test for postgres. It is evaluating null as undefined (legacy problem) and we should fix is later.

* Fixing schema change test that was failing because of schema cache

* Add GraphQL File type parseLiteral tests

* Refeactoring users

* Including sign up mutation

* Fix failing test

* Improve default GraphQL types tests coverage

* Including some tests for data types

* Including additional pointer test:

* Fixing some tests

* more data type tests

* Include Bytes and Polygon data types tests

* Polygons test

* Merging other tests

* Fixing some postgres tests
2019-06-19 17:19:47 -07:00
Linus Unnebäck
922251a398 Avoid calling allowCrossDomain twice per request (#5682)
`api.use('/', middleware, ...)` will end up calling `middleware` for _every_ request, even if no routers in the `...` part matches.

This is because passing a router to express is just like passing any other route handler. The only thing that happens when it doesn't match a route is that it calls `next`, but by that point, the middleware has already run. 

The changes in the PR avoids adding the middleware twice for every route except file upload routes. Which will make express not call `allowCrossDomain` twice for every incoming request.
2019-06-19 16:47:26 -07:00
Jack Wearden
559096f1c2 Allow disabling workaround for since-fixed MongoDB bug (#5617)
* Allow disabling workaround for fixed MongoDB bug

* skipMongoDBServer13732Workaround description fix

* flip test boolean

* Remove CLI flag, use databaseVersion & engine

* Revert "Remove CLI flag, use databaseVersion & engine"

This reverts commit 042d1ba19f636fe0da06074168c6fd5db37ea048.

* clean up
2019-06-19 17:30:08 -05:00
Diamond Lewis
fcdf2d7947 Sign in with Apple Auth Provider (#5694)
* Sign in with Apple Auth Provider

Closes: https://github.com/parse-community/parse-server/issues/5632

Should work out of the box.

* remove required options
2019-06-19 16:05:09 -05:00
dependabot-preview[bot]
947c6beede Bump ws from 7.0.0 to 7.0.1 (#5693)
Bumps [ws](https://github.com/websockets/ws) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.0.0...7.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-18 13:00:44 +00:00
greenkeeper[bot]
09d0fb4daa Update babel-eslint to the latest version 🚀 (#5690)
* chore(package): update babel-eslint to version 10.0.2

* chore(package): update lockfile package-lock.json
2019-06-17 14:48:24 +00:00
Yao Bin
2a45ee02fb 📝 Document custom pages options (#5687) 2019-06-14 15:35:09 -05:00
Antonio Davi Macedo Coelho de Castro
466a049bd0 Fix ttl flaky test (#5686) 2019-06-13 15:06:16 -05:00
greenkeeper[bot]
1e2037753a Update lint-staged to the latest version 🚀 (#5685)
* chore(package): update lint-staged to version 8.2.1

* chore(package): update lockfile package-lock.json
2019-06-13 19:40:58 +00:00
greenkeeper[bot]
4e48609c49 Update eslint-plugin-flowtype to the latest version 🚀 (#5679)
* chore(package): update eslint-plugin-flowtype to version 3.10.3

* chore(package): update lockfile package-lock.json
2019-06-13 19:30:42 +00:00
Arthur Cinader
5204e5a111 Back merge 3.4.4 into master (#5683)
* 3.4.3 changelog and version bump

* nit
2019-06-13 11:43:29 -07:00
Diamond Lewis
7590ee9799 Fix #5678 (#5681)
* Fix #5678

* Revert "Fix #5678"

This reverts commit 106b6ddd9535da6ec323226c1b9ad649022aeb1e.

* revert #5627
2019-06-13 13:40:58 -05:00
Antonio Davi Macedo Coelho de Castro
8b667cf048 Fix 5651 (#5684)
* Fix 5651

* Fix User initilization test
2019-06-13 13:40:38 -05:00
greenkeeper[bot]
089b809aed Update eslint-plugin-flowtype to the latest version 🚀 (#5677)
* chore(package): update eslint-plugin-flowtype to version 3.10.2

* chore(package): update lockfile package-lock.json
2019-06-13 08:04:23 +00:00
Diamond Lewis
aa68cd84d0 Update Dockerfile (#5676) 2019-06-12 17:39:07 -07:00
Arthur Cinader
72da264c22 Prepare for 3.4.1 (#5673)
* changelog for 3.4.1

* bump package

* Fix layout
2019-06-12 15:57:20 -07:00
Diamond Lewis
8709daf698 Merge pull request from GHSA-2479-qvv7-47qq
* Failing test

* provide fix

* clearer test

* failing expect
2019-06-12 16:12:11 -05:00
Tom Fox
54ba9a0f00 security.md grammar improvements 2019-06-12 18:33:21 +01:00
dependabot-preview[bot]
df4ceb5a45 Bump eslint-plugin-flowtype from 3.9.1 to 3.10.1 (#5662)
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 3.9.1 to 3.10.1.
- [Release notes](https://github.com/gajus/eslint-plugin-flowtype/releases)
- [Commits](https://github.com/gajus/eslint-plugin-flowtype/compare/v3.9.1...v3.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-12 06:01:02 +00:00
greenkeeper[bot]
af82dd7bdd Update eslint-plugin-flowtype to the latest version 🚀 (#5656)
* chore(package): update eslint-plugin-flowtype to version 3.10.0

* chore(package): update lockfile package-lock.json
2019-06-12 05:41:21 +00:00
dependabot-preview[bot]
ea63def0e1 Bump prettier from 1.18.1 to 1.18.2 (#5658)
Bumps [prettier](https://github.com/prettier/prettier) from 1.18.1 to 1.18.2.
- [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.18.1...1.18.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-12 02:35:55 +00:00
greenkeeper[bot]
2b6ec893d1 Update flow-bin to the latest version 🚀 (#5663)
* chore(package): update flow-bin to version 0.101.0

* chore(package): update lockfile package-lock.json
2019-06-12 02:22:13 +00:00
greenkeeper[bot]
cdc45caa80 Update husky to the latest version 🚀 (#5669)
* chore(package): update husky to version 2.4.1

* chore(package): update lockfile package-lock.json
2019-06-12 02:06:57 +00:00
greenkeeper[bot]
1123913ad4 Update supports-color to the latest version 🚀 (#5665)
* chore(package): update supports-color to version 7.0.0

* chore(package): update lockfile package-lock.json
2019-06-12 01:23:39 +00:00
Diamond Lewis
cb2b60bd90 Flaky Test (#5670) 2019-06-11 19:54:23 -05:00
Diamond Lewis
5d8b1535ac Flaky Tests (#5668)
Properly cleanup cache and database between tests. This includes indexes.
2019-06-11 16:31:27 -07:00
Diamond Lewis
d13bdbcea6 Flaky Tests (#5666)
Closes: https://github.com/parse-community/parse-server/issues/5651

Building on https://github.com/parse-community/parse-server/pull/5551
2019-06-11 14:05:32 -05:00
Diamond Lewis
7a080478b5 Fix #5654 (#5664)
* Fix #5654

* fix tests

* throw error instead
2019-06-11 13:40:34 -05:00
Faysal Ahmed
a58653ada8 Support LinkedIn v2 API (#5660) 2019-06-11 11:23:08 -05:00
greenkeeper[bot]
d06d020c13 Update prettier to the latest version 🚀 (#5645)
* chore(package): update prettier to version 1.18.1

* chore(package): update lockfile package-lock.json
2019-06-09 00:24:30 +00:00