Commit Graph

2795 Commits

Author SHA1 Message Date
Arthur Cinader
ce2405abef Prepare for 3.8.0 (#5978)
1. changelog
2. bumop version
3. run `nmp audit fix`
2019-08-26 19:42:45 -07:00
greenkeeper[bot]
6a8fc0e481 Update @parse/push-adapter to the latest version 🚀 (#5977)
* fix(package): update @parse/push-adapter to version 3.0.10

* chore(package): update lockfile package-lock.json
2019-08-26 23:13:42 +00:00
greenkeeper[bot]
91c43e4174 Update flow-bin to the latest version 🚀 (#5976)
* chore(package): update flow-bin to version 0.106.2

* chore(package): update lockfile package-lock.json
2019-08-26 23:06:31 +00:00
dependabot-preview[bot]
7020b3f657 Bump eslint from 6.1.0 to 6.2.2 (#5974)
Bumps [eslint](https://github.com/eslint/eslint) from 6.1.0 to 6.2.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.1.0...v6.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 13:36:44 +00:00
greenkeeper[bot]
17126599af Update babel-eslint to the latest version 🚀 (#5973)
* chore(package): update babel-eslint to version 10.0.3

* chore(package): update lockfile package-lock.json
2019-08-26 05:04:12 +00:00
greenkeeper[bot]
c4880f0b5a Update lint-staged to the latest version 🚀 (#5972)
* chore(package): update lint-staged to version 9.2.4

* chore(package): update lockfile package-lock.json
2019-08-26 05:00:46 +00:00
greenkeeper[bot]
66634dbc6d Update flow-bin to the latest version 🚀 (#5968)
* chore(package): update flow-bin to version 0.106.1

* chore(package): update lockfile package-lock.json
2019-08-25 01:10:27 +00:00
Jong Eun Lee
d0dc511423 Add test cases for protectedFields when using Find without constraints. (#5967) 2019-08-24 18:08:52 -07:00
greenkeeper[bot]
ed7c2639b7 Update graphql to the latest version 🚀 (#5969)
* fix(package): update graphql to version 14.5.3

* chore(package): update lockfile package-lock.json
2019-08-24 01:26:29 +00:00
greenkeeper[bot]
5838efca54 Update graphql to the latest version 🚀 (#5966)
* fix(package): update graphql to version 14.5.2

* chore(package): update lockfile package-lock.json
2019-08-23 23:21:37 +00:00
greenkeeper[bot]
5fbdcd1f77 Update mongodb to the latest version 🚀 (#5965)
* fix(package): update mongodb to version 3.3.1

* chore(package): update lockfile package-lock.json
2019-08-23 19:57:27 +00:00
greenkeeper[bot]
816dcb9eae Update apollo-server to the latest version 🚀 (#5962)
* fix(package): update apollo-server-express to version 2.9.0

* chore(package): update lockfile package-lock.json
2019-08-23 17:51:04 +00:00
greenkeeper[bot]
978877f570 Update graphql to the latest version 🚀 (#5963)
* fix(package): update graphql to version 14.5.1

* chore(package): update lockfile package-lock.json
2019-08-23 17:43:15 +00:00
greenkeeper[bot]
0f40b3b3eb Update flow-bin to the latest version 🚀 (#5960)
* chore(package): update flow-bin to version 0.106.0

* chore(package): update lockfile package-lock.json
2019-08-22 22:07:15 +00:00
Dobbias Nan
2b1c591cb7 Protected fields pointer-permissions support (#5951)
* moved whitelisting of own user to remove conflict with custom classes and * permission

* added new pointer-perm regex to permissions

* added pointer-permissions support

* added tests

* fixed typo

* fixed typo 2

* added tests using find operation

* renamed protectedFields pointerPerm to userField

* decoupled readUserFields from CLP and removed readUser from protectedFields before querying

* updated tests
2019-08-22 12:01:50 -07:00
dependabot-preview[bot]
6ed0a2289a Bump graphql from 14.4.2 to 14.5.0 (#5958)
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.4.2 to 14.5.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.4.2...v14.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-22 12:39:34 +00:00
greenkeeper[bot]
a36899533d Update pg-promise to the latest version 🚀 (#5956)
* fix(package): update pg-promise to version 9.1.0

* chore(package): update lockfile package-lock.json
2019-08-21 23:37:13 +00:00
Antoine Cormouls
5b3a492965 GraphQL DX: Relation/Pointer (#5946)
* Add a test on deep complex GraphQL Query

* Relation/Pointer new DX + deep nested mutations

* Fix lint

* Review

* Remove unnecessary code

* Fix objectId on update
2019-08-21 14:55:34 -07:00
Manuel
89e8868a85 Get ParseConfig parameters with Master Key (#5954)
* added saving, retrieving

* added tests

* fixed typo

* added masterKeyOnly to schema controller
2019-08-20 22:12:36 -07:00
greenkeeper[bot]
422f222204 Update apollo-server to the latest version 🚀 (#5955)
* fix(package): update apollo-server-express to version 2.8.2

* chore(package): update lockfile package-lock.json
2019-08-21 04:30:52 +00:00
Lucas Alencar
b9839c1e92 feat: Avoid setting a relation as required or with a defaultValue (#5922)
* feat: Avoid setting a relation as required or with a defaultValue

* chore: Test to update a class with a relation field with options

* chore: Improve tests
2019-08-20 21:27:49 -07:00
Antonio Davi Macedo Coelho de Castro
fddd9c26b2 Fix GraphQL file upload (#5944) 2019-08-19 18:56:36 -05:00
greenkeeper[bot]
73b428bfac Update uuid to the latest version 🚀 (#5945)
* fix(package): update uuid to version 3.3.3

* chore(package): update lockfile package-lock.json
2019-08-19 14:12:44 +00:00
Antonio Davi Macedo Coelho de Castro
c951e08f63 Handle shutdown on grid adapters (#5943)
* Handle shutdown on grid adapters

* Add tests

* Fix postgres test
2019-08-19 02:35:06 -05:00
Antonio Davi Macedo Coelho de Castro
f5ac94ddb2 Fix GraphQL max upload size (#5940) 2019-08-19 01:23:59 -05:00
Antonio Davi Macedo Coelho de Castro
c4e016e5de Remove Buffer() deprecation notice (#5942) 2019-08-19 01:22:44 -05:00
Antonio Davi Macedo Coelho de Castro
f25a846c3e Remove MongoDB unified topology deprecation notice from the grid adapters (#5941) 2019-08-18 22:56:26 -07:00
Diamond Lewis
1064f0c3fb Support: serverCloseComplete option (#5937)
* Support: serverCloseComplete option

Callback when server has fully shutdown.

Please check that all cases are covered.

* handle error on startup

* fix tests

* test workaround

* remove serverCloseComplete chech on startup failure
2019-08-19 00:25:52 -05:00
greenkeeper[bot]
994cdb7cb5 Update pg-promise to the latest version 🚀 (#5939)
* fix(package): update pg-promise to version 9.0.3

* chore(package): update lockfile package-lock.json
2019-08-19 01:19:45 +00:00
Diamond Lewis
750024ffcd Add Cloud Code guide to README (#5936)
Make the guide easily accessible
2019-08-17 21:53:57 -05:00
Antonio Davi Macedo Coelho de Castro
ee5aeeaff5 Remove nested operations from GraphQL API (#5931)
* Remove nested operations

* Improve error log

* Fix bug schema to load

* Fix ParseGraphQLSchema tests

* Fix tests

* Fix failing tests

* Rename call to callCloudCode
2019-08-17 20:02:19 +02:00
greenkeeper[bot]
47d1a74ac0 Update lint-staged to the latest version 🚀 (#5934)
* chore(package): update lint-staged to version 9.2.3

* chore(package): update lockfile package-lock.json
2019-08-17 17:54:39 +00:00
greenkeeper[bot]
989b50d838 Update husky to the latest version 🚀 (#5932)
* chore(package): update husky to version 3.0.4

* chore(package): update lockfile package-lock.json
2019-08-17 17:41:02 +00:00
greenkeeper[bot]
ef268ff4f8 Update lint-staged to the latest version 🚀 (#5933)
* chore(package): update lint-staged to version 9.2.2

* chore(package): update lockfile package-lock.json
2019-08-17 15:01:38 +00:00
Diamond Lewis
3ab9dcdfd0 Improve Live Query Monitoring (#5927)
* Improve Live Query Monitoring

* typo
2019-08-16 11:38:24 -07:00
Antoine Cormouls
cea1988ce9 GraphQL: Fix undefined Array (#5926)
* Add Spec

* Fix Undefined Array

* Nullability policy
2019-08-16 11:12:29 -07:00
Dobbias Nan
0fa315fc5b Added array support for pointer-permissions (#5921)
* added array support for pointer permissions

* added tests for array support for pointer permissions

* Postgres fix

* simplify PG, no idea why this works
2019-08-15 23:55:12 -05:00
greenkeeper[bot]
4f8da12674 Update pg-promise to the latest version 🚀 (#5924)
* fix(package): update pg-promise to version 9.0.2

* chore(package): update lockfile package-lock.json
2019-08-15 22:02:32 +00:00
Antoine Cormouls
59b0221fec GraphQL: Renaming Types/Inputs (#5883)
* Renaming GraphQL Types/Inputs

* Add Native Type to avoid collision

* Use pluralize for renaming

* Fixing tests

* Improve name collision management - tests passsing

* Renaming few more default types

* Rename file input

* Reverting fields types to not collide with the relay spec types
Improver users mutations

* Adding ArrayResult to the reserved list

* Fixing tests

* Add more unit tests to ParseGraphQLSchema

* Test transformClassNameToGraphQL

* Name collision tests
2019-08-15 14:23:41 -07:00
Diamond Lewis
cf6e79ee75 Fix: Lint no-prototype-builtins (#5920)
* Fix: Lint no-prototype-builtins

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

Reference: https://eslint.org/docs/rules/no-prototype-builtins

* replace Object.hasOwnProperty.call
2019-08-14 14:57:00 -07:00
Antoine Cormouls
4bffdce047 GraphQL: Inline Fragment on Array Fields (#5908)
* Inline Fragment Spec

* Inline Fragment on Arrays

* Fix Test

* Only select the root field

* Requested Changes

* Lazy Loaded ArrayResult
2019-08-14 12:25:28 -07:00
greenkeeper[bot]
45dabbbcda Update pg-promise to the latest version 🚀 (#5919)
* fix(package): update pg-promise to version 9.0.1

* chore(package): update lockfile package-lock.json
2019-08-14 18:05:30 +00:00
greenkeeper[bot]
10ac88eec5 Update mongodb-runner to the latest version 🚀 (#5918)
* chore(package): update mongodb-runner to version 4.7.2

* chore(package): update lockfile package-lock.json
2019-08-14 12:36:39 +00:00
Antoine Cormouls
b61a34356b Add instructions to launch a compatible Docker Postgres (#5915)
* Add instructions to launch a Docker Postgres

* Update CONTRIBUTING.md

Co-Authored-By: Tom Fox <tomfox@surprises.io>

* Update CONTRIBUTING.md

Co-Authored-By: Tom Fox <tomfox@surprises.io>
2019-08-14 09:14:56 +01:00
Diamond Lewis
1a7f64d8d9 Fix: Undefined dot notation in matchKeyInQuery (#5917)
* Fix: Undefined dot notation in matchKeyInQuery

* fix test

* fix postgres test

* improve tests

* FINAL test
2019-08-13 21:34:46 -07:00
Diamond Lewis
470bb238b5 Fix: Logger print JSON and Numbers (#5916)
* Fix: Logger print JSON and Numbers

* fix test
2019-08-13 18:44:03 -07:00
greenkeeper[bot]
4c1be61bed Update mongodb to the latest version 🚀 (#5914)
* fix(package): update mongodb to version 3.3.0

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

* Fix tests

* Fix GraphQL tests for read preference

* Fix mongo adapter deprecation notice

* Fix the way the connections are checked, return promise when shutting down mongo
2019-08-14 01:25:49 +00:00
greenkeeper[bot]
6760ceb836 Update flow-bin to the latest version 🚀 (#5911)
* chore(package): update flow-bin to version 0.105.2

* chore(package): update lockfile package-lock.json
2019-08-13 03:36:10 +00:00
greenkeeper[bot]
5113b01ecb Update ws to the latest version 🚀 (#5909)
* fix(package): update ws to version 7.1.2

* chore(package): update lockfile package-lock.json
2019-08-12 21:53:55 +00:00
Antoine Cormouls
9031961e86 Return specific Type on specific Mutation (#5893)
* Return specific Type on specific Mutation

* Add Optimization on Mutation

* Optimize SignUp
2019-08-12 01:38:59 -07:00