Manuel
a074fc9892
Add deprecation policy ( #7199 )
...
* added phased deprecation policy
* fixed typo
* added changelog entry
* some rewording
* Fixed typo
* fixed typo
* Fixed typo
* updated deprecation policy
* remove empty line
2021-04-09 00:50:09 +02:00
Manuel
8ba3f028b8
Bump CI environment, remove Postgres 10 support ( #7323 )
...
* bumped MongoDB to 4.4.5
* bump Node to 14.16.1
* removed obsolete COVERAGE_OPTION
* improved postges support note
* bump more node
* Remove MongoDB 3.6 support (EOL) (#7315 )
* removed mongodb 3.6 support
* add changelog entry
* updated CI check
* bumped MongoDB to 4.4.5
* bump Node to 14.16.1
* removed obsolete COVERAGE_OPTION
* improved postges support note
* bump more node
* updated package lock
* Revert "bumped MongoDB to 4.4.5"
This reverts commit ce9c8108c3deaec3bbe753faf5fdedbfec1e48c9.
* skipping MongoDB 4.4.5 temporarily
* fixed bug in CI check that did not consider ignored versions when checking for newer versions
* removed Postgres 10 support
* updated Postgres versions
* renamed MongoDB CI tests
* fixed Postgres compatibility table
* fix Postgres badge
2021-04-09 00:11:58 +02:00
Snyk bot
8643ae438f
fix: upgrade winston-daily-rotate-file from 4.5.0 to 4.5.1 ( #7309 )
...
Snyk has created this PR to upgrade winston-daily-rotate-file from 4.5.0 to 4.5.1.
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
2021-04-08 11:05:14 -05:00
Manuel
c56d326b17
Add circular dependency detection to CI ( #7316 )
...
* add circular dependency detection to CI
* fixed Auth-RestWrite circular dependency
* updated package lock
* fixed Logger circular dependency
* fix lint
2021-04-07 20:47:57 -05:00
Manuel
0becb0cc9f
Remove MongoDB 3.6 support (EOL) ( #7315 )
...
* removed mongodb 3.6 support
* add changelog entry
* updated CI check
2021-04-07 21:33:29 +02:00
Manuel
a28433f16e
Replace mailgun adapter with mock adapter ( #7321 )
2021-04-06 16:32:48 +02:00
Manuel
7042552507
Enable direct access by default ( #6636 )
...
* enabled direct access by default
* removed obsolete direct access option test case
* quick fix test
* Set RESTController during tests
* Properly handle RESTController
* Documentation
* revert changes
* rerun tests
* remove extra parse instance
* Revert "remove extra parse instance"
This reverts commit 21422f45f1548ebddddd1c4ccbc03a94b4994429.
* Ensure restcontroller is set
* Fix test
* improved option docs
* renamed direct access env var
* added deprecations to README
* added deprecation definition
* fixed docs typo
* improve promise rejection warning test
* added renaming of env var to deprecation warning
Co-authored-by: Diamond Lewis <findlewis@gmail.com >
2021-04-05 02:28:28 +02:00
Manuel
70e1347623
Remove Node 10 support (EOL) ( #7314 )
...
* removed node 10 support (EOL)
* added changelog entry
* updated CI check
* updated babel env preset to node 12
2021-04-03 01:13:09 +02:00
Ali Oğuzhan Yıldız
4d167026ae
fix: empty file tags cause upload error for some providers ( #7300 )
...
* fix: empty file tags cause upload error for some providers
DigitalOcean and Linode object storage solutions do not accept `tags` option while uploading a file. Previously, tags option was set to default empty object. Now, we do not include it if it is empty.
* chore: add tests for saving a file with/without tags
* chore: update file tags handling to make tests pass
* chore: refactor file tag tests
* chore: update file tag tests
* chore: update changelog
* chore: update changelog entry
* chore: remove duplicated changelog entry
2021-04-02 17:29:46 +02:00
Olle Jonsson
626352d594
Use Node.js 15.13.0 in CI ( #7312 )
...
* Use Node.js 15.13.0 in CI
* CI: Allow check-postgres 20 timeout
* CI: 30 min timeout for check-postgres
* reverted postgres timeout to 15
Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com >
2021-04-02 15:46:02 +02:00
Manuel
ba32dae268
bumped node ci ( #7306 )
2021-03-30 23:58:03 +02:00
Manuel
2093d61616
Adds deprecator ( #7303 )
...
* adds deprecator
* un-fit
* added changelog entry
* some fixes
* un-fit
* removed deprecation definition
* changed deprecation log syntax according to Nodejs
2021-03-30 22:42:34 +02:00
Snyk bot
a080e4c766
fix: upgrade ws from 7.4.3 to 7.4.4 ( #7298 )
...
Snyk has created this PR to upgrade ws from 7.4.3 to 7.4.4.
See this package in npm:
https://www.npmjs.com/package/ws
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
2021-03-28 21:48:18 -07: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
jt9897253
bc08b5418e
Fix link to push notification tutorial ( #7299 )
2021-03-28 14:29:03 +02:00
Snyk bot
d144819d21
fix: upgrade follow-redirects from 1.13.2 to 1.13.3 ( #7285 )
...
Snyk has created this PR to upgrade follow-redirects from 1.13.2 to 1.13.3.
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
2021-03-22 21:23:29 -07:00
Snyk bot
a53d74c13b
fix: upgrade jwks-rsa from 1.12.2 to 1.12.3 ( #7284 )
...
Snyk has created this PR to upgrade jwks-rsa from 1.12.2 to 1.12.3.
See this package in npm:
https://www.npmjs.com/package/jwks-rsa
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
2021-03-22 16:15:30 -07:00
Snyk bot
36de1db65d
fix: upgrade graphql-tag from 2.12.0 to 2.12.1 ( #7282 )
...
Snyk has created this PR to upgrade graphql-tag from 2.12.0 to 2.12.1.
See this package in npm:
https://www.npmjs.com/package/graphql-tag
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
2021-03-18 22:28:42 -07:00
Vitaly Tomilov
25fb476bf8
Update PostgresClient.js ( #7276 )
...
Proper pg-monitor re-attachment logic.
2021-03-18 15:54:17 -05:00
Manuel
60eef47bbb
bump node version ( #7280 )
2021-03-18 13:26:59 -07:00
Snyk bot
a05e9b1c0f
fix: upgrade @apollographql/graphql-playground-html from 1.6.26 to 1.6.27 ( #7274 )
...
Snyk has created this PR to upgrade @apollographql/graphql-playground-html from 1.6.26 to 1.6.27.
See this package in npm:
https://www.npmjs.com/package/@apollographql/graphql-playground-html
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
2021-03-17 23:06:15 -05:00
Snyk bot
35f0c55e93
fix: upgrade ldapjs from 2.2.3 to 2.2.4 ( #7275 )
...
Snyk has created this PR to upgrade ldapjs from 2.2.3 to 2.2.4.
See this package in npm:
https://www.npmjs.com/package/ldapjs
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
2021-03-17 23:04:35 -05: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
Manuel
637326d3af
bump mongodb version in CI ( #7272 )
...
* bump mongodb version
* improved wording in changelog
* another mongodb bump
* rewording changelog
* added info to option docs
2021-03-17 01:57:10 +01: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
32fc45d2d2
Add KeyPromiseQueue to Push and Job StatusHandlers ( #7267 )
...
* Add KeyPromiseQueue to Push and Job StatusHandlers
* Update CHANGELOG.md
* Update CHANGELOG.md
2021-03-15 18:51:46 -05:00
Antonio Davi Macedo Coelho de Castro
f7d2e09de6
Upgrade apollo-server-express to 2.21.0 ( #7266 )
2021-03-15 02:13:16 -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
Diamond Lewis
8b0e8cd02c
Fix Parse.Push flaky tests ( #7263 )
...
* Fix Push Notification Flaky Tests
* handle all tests
2021-03-12 15:50:13 -08:00
Antonio Davi Macedo Coelho de Castro
687f4b7cf2
fix: upgrade mime from 2.5.0 to 2.5.2 ( #7261 )
...
Snyk has created this PR to upgrade mime from 2.5.0 to 2.5.2.
See this package in npm:
https://www.npmjs.com/package/mime
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2021-03-12 00:56:42 -06:00
Diamond Lewis
39fa17f914
Postgres: Properly initialize database on startup and debugger ( #7255 )
...
* PG: Properly initialize database
* fix flaky tests
* flaky test
* correct test
* no idea
* clean up debugger
2021-03-10 11:31:35 -08:00
Manuel
bee889a329
Add security check ( #7247 )
...
* added Parse Server security option
* added SecurityRouter
* added Check class
* added CheckGroup class
* moved parameter validation to Utils
* added CheckRunner class
* added auto-run on server start
* added custom security checks as Parse Server option
* renamed script to check
* reformat log output
* added server config check
* improved contributing guideline
* improved contribution guide
* added check security log
* improved log format
* added checks
* fixed log fomat typo
* added database checks
* fixed database check
* removed database auth check in initial version
* improved contribution guide
* added security check tests
* fixed typo
* improved wording guidelines
* improved wording guidelines
2021-03-10 13:19:28 -06:00
Manuel
36c2608400
Improve changelog design ( #7253 )
...
* Changelog redesign
* condensed master section
* imrroved wording
* removed user links
* fixed version links
* fixed another version link
* removed verbose heading
* merged "bug fixes" into "other commits"
* fixed typos
* fixed typo in CONTRIBUTING
2021-03-10 16:55:36 +01:00
Manuel
de50b7b23d
Add custom routes to pages router ( #7231 )
...
* added custom routes
* fixed docs typos
* added page.customRoutes config validation
* added 404 response if missing custom route response
* added docs
* minor README formatting
* added CHANGELOG entry
* fixed bug in definitions builder that did not recognize array of custom type
* added missing route handler definition
* fixed custom routes definition
2021-03-07 13:51:35 +01:00
Antonio Davi Macedo Coelho de Castro
cac6951be0
Bump Node 15.11.0 for automated tests ( #7243 )
2021-03-05 11:32:34 +01:00
Brett Ponder
b20aa0c677
Remove Stage name check on aggregate pipelines ( #7237 )
...
* add search for atlas search index
* added test for search in pipeline
* removed stage name check in pipeline
* removed spec for invalid query invalid key
* updated changelog
Co-authored-by: Diamond Lewis <findlewis@gmail.com >
2021-03-03 14:46:49 -08:00
Diamond Lewis
d10e99007b
fix: upgrade apollo-server-express from 2.19.2 to 2.20.0 ( #7239 )
...
Snyk has created this PR to upgrade apollo-server-express from 2.19.2 to 2.20.0.
See this package in npm:
https://www.npmjs.com/package/apollo-server-express
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2021-03-03 14:31:02 -08:00
Manuel
d789ca6b40
Fix password reset, email verification for custom endpoint ( #7236 )
...
* fixed incorrect endpoint for password reset and email verification
* added tests
2021-03-03 00:53:02 +01:00
Diamond Lewis
add67fdd22
fix: upgrade graphql-tag from 2.10.1 to 2.12.0 ( #7234 )
...
Snyk has created this PR to upgrade graphql-tag from 2.10.1 to 2.12.0.
See this package in npm:
https://www.npmjs.com/package/graphql-tag
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2021-03-02 15:49:23 -08:00
dblythy
3833868709
New: Validate Cloud Validators ( #7154 )
...
* new: validate cloud validators
* add otherKey
* Update CHANGELOG.md
* Update CloudCode.Validator.spec.js
* Update CloudCode.Validator.spec.js
* new: validate cloud validators
* add otherKey
* Update CHANGELOG.md
* Update CloudCode.Validator.spec.js
* Update CloudCode.Validator.spec.js
* Update Parse.Cloud.js
* Update CHANGELOG.md
* Change to throw error
Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com >
2021-03-02 00:52:21 +01:00
Antonio Davi Macedo Coelho de Castro
cd78f895d5
Move graphql-tag from devDependencies to dependencies ( #7183 )
...
* Move graphql-tag drom devDependencies to dependencies
* Add entry to CHANGELOG
2021-03-01 15:41:14 -08:00
Corey
2b9b336dd9
Fix flaky postgres test ( #7228 )
...
* Fix flaky postgres test
* add pgcrypto extension to test
* fix postgres ref link CONTRIBUTING guide and add pgcrypto extension
* Update CONTRIBUTING.md
2021-02-25 17:28:15 -06:00
Diamond Lewis
c4aadc974a
Upgrade parse from 3.0.0 to 3.1.0 ( #7222 )
2021-02-24 10:51:11 -06:00
Miguel Serrano
92f50f6808
Add support for Facebook Limited Login ( #7219 )
...
* Add support for Facebook Limited auth
* Add tests
* Fix tests
* Fix tests
* Add entry to changelog
* Cleanup
2021-02-24 07:36:24 -06:00
Tom Fox
ec8f78424f
fix: upgrade ws from 7.4.2 to 7.4.3 ( #7224 )
...
Snyk has created this PR to upgrade ws from 7.4.2 to 7.4.3.
See this package in npm:
https://www.npmjs.com/package/ws
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2021-02-23 23:21:06 -06:00
Diamond Lewis
f71b63b83c
chore(ci): Bump node ( #7221 )
2021-02-23 13:54:52 -06:00
dblythy
91a0108084
New: allow options to be async on Cloud Validator ( #7155 )
...
* new: allow options to be async on Cloud Validator
* Update CHANGELOG.md
* Ensure pushStatus is properly running (#7213 )
* Ensure pushStatus is properly running
* remove duplicate test
* new: allow options to be async on Cloud Validator
* Update CHANGELOG.md
* Update CloudCode.Validator.spec.js
Co-authored-by: Diamond Lewis <findlewis@gmail.com >
2021-02-23 02:56:54 -06:00
Antonio Davi Macedo Coelho de Castro
047683219d
fix: package.json & package-lock.json to reduce vulnerabilities ( #7218 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-LODASH-1018905
- https://snyk.io/vuln/SNYK-JS-LODASH-1040724
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2021-02-23 02:52:15 -06:00
Manuel
67065584e4
changed lint to be separate CI task ( #7216 )
2021-02-21 17:41:33 -06:00