Antoine Cormouls
907ad4267c
fix: Required option not handled correctly for special fields (File, GeoPoint, Polygon) on GraphQL API mutations ( #8915 )
2024-03-20 23:32:56 +01:00
Onur
105ae7c8a5
feat: Switch GraphQL server from Yoga v2 to Apollo v4 ( #8959 )
2024-03-02 02:06:47 +01:00
Antoine Cormouls
1aba6382c8
fix: GraphQL file upload fails in case of use of pointer or relation ( #8721 )
2024-02-14 21:44:42 +01:00
Manuel
be4c7e23c6
fix: Parse Pointer allows to access internal Parse Server classes and circumvent beforeFind query trigger; fixes security vulnerability [GHSA-fcv6-fg5r-jm9q]( https://github.com/parse-community/parse-server/security/advisories/GHSA-fcv6-fg5r-jm9q )
2023-09-04 14:19:48 +02:00
Daniel
ee7246733d
feat: Upgrade Node Package Manager lock file package-lock.json to version 2 ( #8285 )
...
BREAKING CHANGE: The Node Package Manager lock file `package-lock.json` is upgraded to version 2; while it is backwards with version 1 for the npm installer, consider this if you run any non-npm analysis tools that use the lock file (#8285 )
2022-12-22 13:26:38 +01:00
Daniel
b2761fb378
feat: Upgrade Redis 3 to 4 for LiveQuery ( #8333 )
2022-11-26 17:45:30 +01:00
dblythy
ed499e32a2
feat: Remove deprecation DEPPS3: Config option enforcePrivateUsers defaults to true ( #8283 )
...
BREAKING CHANGE: The Parse Server option `enforcePrivateUsers` is set to `true` by default; in previous releases this option defaults to `false`; this change improves the default security configuration of Parse Server (#8283 )
2022-11-16 22:59:44 +01:00
dblythy
5bbf9cade9
feat: Improve authentication adapter interface to support multi-factor authentication (MFA), authentication challenges, and provide a more powerful interface for writing custom authentication adapters ( #8156 )
2022-11-10 17:35:39 +01:00
Jong Eun Lee
7f5a15d5df
fix: graphQL query ignores condition equalTo with value false ( #8032 )
2022-07-03 12:13:10 +02:00
Antoine Cormouls
0d818879c2
fix: errors in GraphQL do not show the original error but a general Unexpected Error ( #8045 )
2022-06-17 13:40:31 +02:00
Antoine Cormouls
0cd902b8c2
refactor: upgrade GraphQL dependencies ( #7970 )
2022-06-10 14:01:45 +02:00
Antoine Cormouls
1aa2204aeb
feat: replace GraphQL Apollo with GraphQL Yoga ( #7967 )
2022-05-18 19:55:43 +02:00
Manuel
d691591630
test: enable GraphQL file upload tests ( #7980 )
2022-05-06 22:31:30 +02:00
Manuel
3e9f292d84
feat: add support for Node 17 and 18 ( #7896 )
2022-05-06 19:12:19 +02:00
Antoine Cormouls
f88aa2a62a
feat: upgrade to MongoDB Node.js driver 4.x for MongoDB 5.0 support ( #7794 )
...
BREAKING CHANGE: The MongoDB GridStore adapter has been removed. By default, Parse Server already uses GridFS, so if you do not manually use the GridStore adapter, you can ignore this change.
2022-02-06 18:30:36 +01:00
dependabot[bot]
9082351411
fix: bump node-fetch from 2.6.1 to 3.1.1 ( #7782 )
2022-01-22 14:31:45 +01:00
Corey
912edacb53
test: make GraphQL server test more reliable ( #7758 )
2022-01-02 14:59:00 +01:00
Antoine Cormouls
ed86c80772
fix: unable to use objectId size higher than 19 on GraphQL API ( #7627 )
2021-11-27 12:27:08 +01:00
Marvin ROGER
45cc58c7e5
feat: add support for Node 16 ( #7707 )
...
BREAKING CHANGE: Removes official Node 15 support which has reached it end-of-life date.
2021-11-18 23:37:47 +01:00
Antoine Cormouls
626fad2e71
fix: setting a field to null does not delete it via GraphQL API ( #7649 )
...
BREAKING CHANGE: To delete a field via the GraphQL API, the field value has to be set to `null`. Previously, setting a field value to `null` would save a null value in the database, which was not according to the [GraphQL specs](https://spec.graphql.org/June2018/#sec-Null-Value ). To delete a file field use `file: null`, the previous way of using `file: { file: null }` has become obsolete.
2021-10-27 01:33:48 +02:00
Corey
b5fc0d59db
ci: enable more tests on Postgres adapter ( #7641 )
2021-10-18 16:51:56 +02:00
Antoine Cormouls
85ef7217b0
feat: alphabetical graphql api, fix internal reassign, enhanced Graphql schema cache system ( #7344 )
2021-10-11 14:51:28 +02:00
Prerna Mehra
5d9bf24b02
GraphQL: reset password with emailed token ( #7290 )
...
* renamed "resetPassword" to "requestResetPassword" & created new "resetPassword" mutation
* added new route to handle resetPassword in UsersRouter.js
* updated resetPassword test to "requestResetPassword" mutation
* updated "resetPassword" mutation args description
* changed token arg description to rerun the tests
* directly using updatePassword for resetPassword
* removed handleResetPassword from UsersRouter.js file
* added test case for reset Password
* changed mutation names to "resetPassword" & "confirmResetPassword"
* changed mutation names in test also
2021-03-28 21:45:41 -07:00
Chris
6313656d8a
Excluding keys that have trailing "edges.node" on them ( #7273 )
...
* Excluding keys that have trailing "edges.node" on them as they will not be selectable anyway
* Updated CHANGELOG and added test case
* Forgot to change fit back to it
2021-03-17 20:40:11 -07:00
Diamond Lewis
a02014f557
Improve single schema cache ( #7214 )
...
* Initial Commit
* fix flaky test
* temporary set ci timeout
* turn off ci check
* fix postgres tests
* fix tests
* node flaky test
* remove improvements
* Update SchemaPerformance.spec.js
* fix tests
* revert ci
* Create Singleton Object
* properly clear cache testing
* Cleanup
* remove fit
* try PushController.spec
* try push test rewrite
* try push enqueue time
* Increase test timeout
* remove pg server creation test
* xit push tests
* more xit
* remove skipped tests
* Fix conflicts
* reduce ci timeout
* fix push tests
* Revert "fix push tests"
This reverts commit 05aba62f1cbbca7d5d3e80b9444529f59407cb56.
* improve initialization
* fix flaky tests
* xit flaky test
* Update CHANGELOG.md
* enable debug logs
* Update LogsRouter.spec.js
* create initial indexes in series
* lint
* horizontal scaling documentation
* Update Changelog
* change horizontalScaling db option
* Add enableSchemaHooks option
* move enableSchemaHooks to databaseOptions
2021-03-16 16:05:36 -05:00
Diamond Lewis
1666c3e382
[WIP] Enable test suite to be randomized ( #7265 )
...
* initial run
* Update ParseGraphQLServer.spec.js
* temporarily enable reporter
* Bump retry limit
* fix undefined database
* try to catch error
* Handle LiveQueryServers
* Update Config.js
* fast-fail false
* Remove usage of AppCache
* oops
* Update contributing guide
* enable debugger, try network retry attempt 1
* Fix ldap unbinding
* move non specs to support
* add missing mock adapter
* fix Parse.Push
* RestController should match batch.spec.js
* Remove request attempt limit
* handle index.spec.js
* Update CHANGELOG.md
* Handle error: tuple concurrently updated
* test transactions
* Clear RedisCache after every test
* LoggerController.spec.js
* Update schemas.spec.js
* finally fix transactions
* fix geopoint deadlock
* transaction with clean database
* batch.spec.js
2021-03-15 02:04:09 -05:00
Diamond Lewis
9563793303
Allow single server instance in test suite ( #7262 )
...
* initial pass
* reconfigureServer when needed
* finish postgres tests
* mongo tests
* more tests
* clean up
* re-add skipped test
* Fix transaction tests
* handle batch
* AuthenticationAdapter fix
* More reconfiguration
* clean up
* properly terminate cli servers
* handle Parse.Push
* Flaky PushController
* ensure reconfigureServer when changed
* fix postgres tests
* remove console.log
* LiveQuery spec remove duplicates and listeners
2021-03-13 09:05:22 -06:00
Antoine Cormouls
b398894341
Remove viewer from logout ( #7029 )
2020-12-07 15:45:51 -08:00
Diamond Lewis
e6ac3b6932
fix(prettier): Properly handle lint-stage files ( #6970 )
...
Now handles top level files and recursive files in folders.
Set max line length to be 100
2020-10-25 15:06:58 -05:00
Antoine Cormouls
5693470101
transform input types also on user mutations ( #6934 )
2020-10-09 08:40:30 -07:00
Diamond Lewis
a0ac8e0686
Remove Facebook AccountKit auth ( #6870 )
...
* Remove Facebook AccountKit auth
Account Kit services are no longer available.
https://developers.facebook.com/blog/post/2019/09/09/account-kit-services-no-longer-available-starting-march/
https://www.sinch.com/blog/facebook-account-kit-is-closing-down-are-your-apps-covered/
* remove flaky test
2020-08-20 10:09:54 -07:00
Antoine Cormouls
78239ac907
Merge pull request from GHSA-236h-rqv8-8q73
...
* Fix graphql viewer breach
* fix
* remove comment
2020-07-17 09:50:41 -07:00
Yaacov Rydzinski
f56049b34b
upgrade graphql-tools to v6 ( #6701 )
...
* upgrade to v6
* remove old graphql-tools package
Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com >
2020-05-24 23:35:45 -07:00
greenkeeper[bot]
b1506995ad
Update uuid to the latest version 🚀 ( #6659 )
...
* fix(package): update uuid to version 8.0.0
* chore(package): update lockfile package-lock.json
* remove deprecated uuid/v4
* use uuidv4 as default
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: Diamond Lewis <findlewis@gmail.com >
2020-04-30 05:21:51 +00:00
Antoine Cormouls
4d1bd9346f
Allow to unset file from graphql ( #6651 )
2020-04-29 22:18:25 -07:00
Antoine Cormouls
f2f772084f
Allow to resolve automatically Parse Type fields from Custom Schema ( #6562 )
...
* add package
* Allow real GraphQL Schema via ParseServer.start
* Allow resolve fields from auto graphQL Schema
* Simple merge
* fix + improve
* Add tests
2020-04-21 10:15:00 -07:00
Yaacov Rydzinski
a6300a2201
Graphql tools v5 ( #6611 )
...
* Add test case for order option when extending the schema
* Remove fit
* upgrade to graphql-tools v5
revert #6515
Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com >
2020-04-20 22:16:48 -07:00
Antoine Cormouls
312a4bc812
Switch ACL to Relay Global Id ( #6495 )
2020-03-23 01:35:42 -07:00
Antoine Cormouls
16a974a04a
Fix Unknow type merge bug on overloaded types ( #6494 )
...
* Fix Unknow type bug on overloaded types
* check args too
2020-03-11 12:59:18 -07:00
Antoine Cormouls
c7f96c92cd
GraphQL: Allow true GraphQL Schema Customization ( #6360 )
...
* Allow real GraphQL Schema via ParseServer.start
* wip
* working
* tests ok
* add tests about enum/input use case
* Add async function based merge
* Better naming
* remove useless condition
2020-02-21 15:12:49 -08:00
Old Grandpa
292bdb713a
Allow protectedFields for Authenticated users and Public. Fix userField with keys/excludedKeys ( #6415 )
...
* fix error message and test it
* protected fields fixes
* clean
* remove duplicate test, add some comments
* no need for 'requiresAuthentication'
2020-02-19 01:34:08 -08:00
Antoine Cormouls
30a5aa0b61
GraphQL: Nested File Upload ( #6372 )
...
* wip
* wip
* tested
* wip
* tested
2020-01-27 19:16:53 -08:00
Antoine Cormouls
df3fa029bc
fix queries ( #6363 )
2020-01-27 19:10:39 -08:00
Antoine Cormouls
d4e264daf8
GraphQL: 3rd Party LoginWith Support ( #6371 )
...
* wip
* wip
* tested
2020-01-27 18:57:26 -08:00
Antonio Davi Macedo Coelho de Castro
4107a59063
Add tests for ordering by multiple fields ( #6316 )
...
* fix(GraphQL): Unable to run queries with order as array
An internal server error is thrown if the `order` query parameter is an array.
Currently, `order` only works with a single value.
* Add tests
* Reset cache
* Remove one of the tests from Postgres
Co-authored-by: Douglas Muraoka <douglas.muraoka@gmail.com >
2020-01-05 22:15:37 -08:00
Antoine Cormouls
576631f09e
Reset and Send verification email ( #6301 )
2020-01-04 12:50:00 -08:00
Antoine Cormouls
a72ab50c70
GraphQL: Support required fields on output type ( #6279 )
...
* Handle required fields
* Fix output fields
2019-12-14 20:12:04 -08:00
Antoine Cormouls
e0e06ef131
Handle required fields ( #6271 )
2019-12-11 21:47:11 -08:00
Antoine Cormouls
5d76b2f354
GraphQL: DX Relational Where Query ( #6255 )
...
* DX Relational Where Query
* Remove WherePointer & fix tests
* Add have, haveNot, exists on Pointer/Relation where input
* Merge branch 'master' into gql-relational-query
* Enable inQueryKey
* better descrption
2019-12-05 10:14:16 -08:00
Diamond Lewis
985933955f
Suppress Test Logs ( #6256 )
...
* Suppress Test Logs
This will reduce some of the noise in the tests logs.
* replace deprecated buffer
* remove deprecation warnings
* fix geopoint
* Fix GraphQL
* postgres warnings
2019-12-03 18:21:12 -06:00