Commit Graph

271 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
greenkeeper[bot]
b86a07e632 Update mime to the latest version 🚀 (#5646)
* fix(package): update mime to version 2.4.4

* chore(package): update lockfile package-lock.json
2019-06-08 23:20:25 +00:00
dependabot-preview[bot]
33399b3f11 Bump lint-staged from 8.1.7 to 8.2.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.7 to 8.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.7...v8.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-07 12:55:21 +00:00
dependabot-preview[bot]
5d06c9a6f7 Bump prettier from 1.17.1 to 1.18.0 (#5644)
Bumps [prettier](https://github.com/prettier/prettier) from 1.17.1 to 1.18.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.17.1...1.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-07 12:53:16 +00:00
dependabot-preview[bot]
0846ba148c Bump mongodb from 3.2.6 to 3.2.7 (#5636)
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 3.2.6 to 3.2.7.
- [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/compare/v3.2.6...v3.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-06 22:07:20 +00:00
greenkeeper[bot]
d54e705b7c Update husky to the latest version 🚀 (#5638)
* chore(package): update husky to version 2.4.0

* chore(package): update lockfile package-lock.json
2019-06-05 17:21:40 +00:00
greenkeeper[bot]
266d6328a3 Update flow-bin to the latest version 🚀 (#5628)
* chore(package): update flow-bin to version 0.100.0

* chore(package): update lockfile package-lock.json
2019-05-31 13:52:04 -05:00
greenkeeper[bot]
9f226a254a Update flow-bin to the latest version 🚀 (#5621)
* chore(package): update flow-bin to version 0.99.1

* chore(package): update lockfile package-lock.json
2019-05-29 17:58:10 +00:00
greenkeeper[bot]
c5a1a98f03 Update flow-bin to the latest version 🚀 (#5620)
* chore(package): update flow-bin to version 0.99.0

* chore(package): update lockfile package-lock.json
2019-05-29 04:59:53 +00:00
greenkeeper[bot]
94e1bb6ec3 Update semver to the latest version 🚀 (#5619)
* fix(package): update semver to version 6.1.1

* chore(package): update lockfile package-lock.json
2019-05-28 17:41:00 +00:00
greenkeeper[bot]
b804245cbe Update express to the latest version 🚀 (#5615)
* fix(package): update express to version 4.17.1

* chore(package): update lockfile package-lock.json
2019-05-26 05:01:48 +00:00
greenkeeper[bot]
cae858e16a Update mongodb to the latest version 🚀 (#5613)
* fix(package): update mongodb to version 3.2.6

* chore(package): update lockfile package-lock.json
2019-05-24 00:39:01 +00:00
dependabot-preview[bot]
fe61f724d6 Bump eslint-plugin-flowtype from 3.9.0 to 3.9.1 (#5611)
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/gajus/eslint-plugin-flowtype/releases)
- [Commits](https://github.com/gajus/eslint-plugin-flowtype/compare/v3.9.0...v3.9.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-23 10:46:27 +00:00
greenkeeper[bot]
091ecfbbf8 Update semver to the latest version 🚀 (#5608)
* fix(package): update semver to version 6.1.0

* chore(package): update lockfile package-lock.json
2019-05-22 21:33:47 +00:00
Arthur Cinader
e18b9a5e56 Prepare for 3.4.0 release (#5606)
* Prepare for 3.4.0 release

* Update CHANGELOG.md
2019-05-22 12:46:23 -07:00
dependabot[bot]
e9b8752c3f Bump mongodb from 3.2.4 to 3.2.5 (#5604)
* Bump mongodb from 3.2.4 to 3.2.5

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 3.2.4 to 3.2.5.
- [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/compare/v3.2.4...v3.2.5)

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

* Tweak expected error message in a test to match a change
in the underlying package.
see: https://github.com/mongodb-js/mongodb-core/commit/83e224b

cc: @davimacedo
2019-05-21 22:33:31 +00:00
greenkeeper[bot]
46408ee5e8 Update babel7 to the latest version 🚀 (#5605)
* chore(package): update @babel/core to version 7.4.5

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

* chore(package): update lockfile package-lock.json
2019-05-21 21:14:52 +00:00
greenkeeper[bot]
2c524604df Update express to the latest version 🚀 (#5600)
* fix(package): update express to version 4.17.0

* chore(package): update lockfile package-lock.json
2019-05-17 02:30:48 +00:00
greenkeeper[bot]
dc7d3f149f Update eslint-plugin-flowtype to the latest version 🚀 (#5596)
* chore(package): update eslint-plugin-flowtype to version 3.9.0

* chore(package): update lockfile package-lock.json
2019-05-15 19:04:28 +00:00
greenkeeper[bot]
07ff4112d4 Update mime to the latest version 🚀 (#5595)
* fix(package): update mime to version 2.4.3

* chore(package): update lockfile package-lock.json
2019-05-15 14:43:14 +00:00
dependabot[bot]
47a86be7ba Bump husky from 2.2.0 to 2.3.0 (#5594)
Bumps [husky](https://github.com/typicode/husky) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v2.2.0...v2.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-15 10:35:49 +00:00
greenkeeper[bot]
d84f56bb0e Update lint-staged to the latest version 🚀 (#5593)
* chore(package): update lint-staged to version 8.1.7

* chore(package): update lockfile package-lock.json
2019-05-15 07:14:03 +00:00
dependabot[bot]
2f161c25cd Bump prettier from 1.17.0 to 1.17.1 (#5590)
Bumps [prettier](https://github.com/prettier/prettier) from 1.17.0 to 1.17.1.
- [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.17.0...1.17.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-14 10:33:23 +00:00
greenkeeper[bot]
3bb1796e12 Update jsdoc to the latest version 🚀 (#5586)
* chore(package): update jsdoc to version 3.6.2

* chore(package): update lockfile package-lock.json
2019-05-12 17:15:31 +00:00
greenkeeper[bot]
908270aba1 Update pg-promise to the latest version 🚀 (#5585)
* fix(package): update pg-promise to version 8.7.2

* chore(package): update lockfile package-lock.json
2019-05-12 07:51:55 +00:00
greenkeeper[bot]
2cc21bf1f2 Update eslint-plugin-flowtype to the latest version 🚀 (#5582)
* chore(package): update eslint-plugin-flowtype to version 3.8.2

* chore(package): update lockfile package-lock.json
2019-05-11 09:06:43 +00:00
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
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
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