Commit Graph

2845 Commits

Author SHA1 Message Date
greenkeeper[bot]
7225c8ea72 Update cross-env to the latest version 🚀 (#6058)
* chore(package): update cross-env to version 6.0.0

* chore(package): update lockfile package-lock.json
2019-09-17 18:42:26 +00:00
Antonio Davi Macedo Coelho de Castro
d70474016a Update GraphQL readme section (#6056) 2019-09-17 14:49:52 -03:00
greenkeeper[bot]
fc57ff4fb6 Update graphql to the latest version 🚀 (#6054)
* fix(package): update graphql to version 14.5.6

* chore(package): update lockfile package-lock.json
2019-09-15 17:16:11 +00:00
greenkeeper[bot]
1c8e814932 Update eslint to the latest version 🚀 (#6050)
* chore(package): update eslint to version 6.4.0

* chore(package): update lockfile package-lock.json
2019-09-14 22:16:38 +00:00
greenkeeper[bot]
8b8eed2f21 Update graphql to the latest version 🚀 (#6048)
* fix(package): update graphql to version 14.5.5

* chore(package): update lockfile package-lock.json
2019-09-13 15:51:06 +00:00
Antonio Davi Macedo Coelho de Castro
6edaa2e9a9 3.9.0 (#6045)
* 3.9.0

* Update s3-files-adapter
2019-09-12 15:31:10 -07:00
Omair Vaiyani
eef530b1e3 feat: add allowHeaders to Options (#6044)
* feat: add allowHeaders to Options

This allows developers to use custom headers in their API requests, and they will be accepted by their mounted app.

* refactor: convert allowCrossDomain to generator to add appId in scope

This is necessary as the middleware may run in OPTIONS request that do not contain the appId within the header.

* chore: update Definitions and docs

* fix: update test to use new allowCrossDomain params

* chore: add tests for allowCustomDomain middleware re: allowHeadrs
2019-09-12 14:03:57 -07:00
Antonio Davi Macedo Coelho de Castro
1361bb3020 Introduce ReadOptionsInput (#6030) 2019-09-12 13:43:49 -07:00
Diamond Lewis
63cabb8423 Stream video with GridFSBucketAdapter (implements byte-range requests) (#6028)
* Stream video with GridFSBucketAdapter (implements byte-range requests)

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

Similar to https://github.com/parse-community/parse-server/pull/2437

I ran into this issue while trying to view a mov file in safari from the dashboard.

* Rename getFileStream to handleFileStream
2019-09-11 09:34:39 -05:00
Antonio Davi Macedo Coelho de Castro
84776810b8 Fix: aggregate not matching null values (#6043)
* Fix: aggregate not matching null values

* Exclude Postgres from this new test - it does not even support  and  is not working correctly - should be addressed separately
2019-09-11 09:13:15 -05:00
Antonio Davi Macedo Coelho de Castro
a754b883b2 Improve callCloudCode mutation to receive a CloudCodeFunction enum instead of a String (#6029)
* Add listing test

* Improvements

* Fixinf package.json

* Fix package.json

* Fix tests
2019-09-09 15:07:22 -07:00
Tom Fox
33d2b16476 Revert previous commit
Committed to master by mistake
2019-09-09 21:55:54 +01:00
Tom Fox
d0b8c6a223 Add files via upload 2019-09-09 21:54:55 +01:00
dependabot-preview[bot]
13f31932f5 Bump pg-promise from 9.1.3 to 9.1.4 (#6039)
Bumps [pg-promise](https://github.com/vitaly-t/pg-promise) from 9.1.3 to 9.1.4.
- [Release notes](https://github.com/vitaly-t/pg-promise/releases)
- [Commits](https://github.com/vitaly-t/pg-promise/commits/9.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-09 12:25:59 +00:00
greenkeeper[bot]
1ee6da4810 Update parse to the latest version 🚀 (#6037)
* fix(package): update parse to version 2.7.1

* chore(package): update lockfile package-lock.json
2019-09-07 17:50:04 +00:00
greenkeeper[bot]
e31f725a25 Update pg-promise to the latest version 🚀 (#6036)
* fix(package): update pg-promise to version 9.1.3

* chore(package): update lockfile package-lock.json
2019-09-07 08:44:09 +00:00
greenkeeper[bot]
87c9c4267e Update apollo-link to the latest version 🚀 (#6033)
* chore(package): update apollo-link-http to version 1.5.16

* chore(package): update apollo-link-ws to version 1.0.19

* chore(package): update apollo-link to version 1.2.13

* chore(package): update lockfile package-lock.json
2019-09-07 01:24:44 +00:00
greenkeeper[bot]
54623a68a5 Update babel7 to the latest version 🚀 (#6034)
* chore(package): update @babel/cli to version 7.6.0

* chore(package): update @babel/core to version 7.6.0

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

* chore(package): update lockfile package-lock.json
2019-09-06 22:24:33 +00:00
greenkeeper[bot]
a5e90082bd Update follow-redirects to the latest version 🚀 (#6031)
* fix(package): update follow-redirects to version 1.9.0

* chore(package): update lockfile package-lock.json
2019-09-06 15:56:18 +00:00
greenkeeper[bot]
ac40bf66f7 Update flow-bin to the latest version 🚀 (#6027)
* chore(package): update flow-bin to version 0.107.0

* chore(package): update lockfile package-lock.json
2019-09-05 20:30:11 +00:00
Antonio Davi Macedo Coelho de Castro
ad40386173 Test transactions (#6022)
* Test transactions

* test: Separate transaction tests for SDK
2019-09-05 08:50:50 -07:00
Douglas Muraoka
f9b77c1bc7 refactor(GraphQL): Pointer constraint input type as ID (#6020)
* refactor(GraphQL): Pointer constraint input type as ID

Redefines the Pointer constraint input type from a custom scalar to
a simple ID.

* fix: PR review requested changes
2019-09-04 15:46:18 -07:00
Antonio Davi Macedo Coelho de Castro
34f1bf384d GraphQL: Remove underline from operators (#6024)
* Change _or, _and, _nor to OR, AND, NOR

* Renaming where operators maps

* Fix tests

* Fix tests

* Remove CreateResult and UpdateResult types

* Remove KEYS_ATT and INCLUDE_ATT

* Full text search test

* Change the operation generator functions names

* Fix object constraints

* Improve constraint transformation
2019-09-04 10:57:51 -07:00
Omair Vaiyani
618fe37c5a fix(RestWrite): make method async as expected in usage (#6025)
The method `createSessionToken` in RestWrite.js is assumed to always return a promise (see Line 961 in `handleFollowUp`) - this was throwing an error `cannot read 'then' of undefined`. This simply one word change fixes that error.
2019-09-04 09:46:34 -07:00
Manuel
6497ec72ed added breaking change note to 3.8 release (#6023)
Breaking change as described here: https://github.com/parse-community/parse-server/issues/5983#issuecomment-527693465
2019-09-03 20:31:19 -07:00
Saimoom Safayet Akash
723fe3b158 added support for line auth (#6007)
* added support for line auth

* fixed linting issues

* modified auth adapter spec to handle line auth adapter

* revert package.json changes
2019-09-03 08:11:33 -05:00
greenkeeper[bot]
0e8779fbae Update eslint-plugin-flowtype to the latest version 🚀 (#6017)
* chore(package): update eslint-plugin-flowtype to version 4.3.0

* chore(package): update lockfile package-lock.json
2019-09-03 11:59:50 +00:00
Antonio Davi Macedo Coelho de Castro
ac353ca8c2 Fix aggregate group id (#5994)
* Fix aggregate group id

* Improve implementation

* Add test case

* Fix postgres test - it does not work with group and sort at same time
2019-09-01 22:34:36 -07:00
Antonio Davi Macedo Coelho de Castro
5a482bd661 GraphQL schema operations (#5993)
* Remove nested operations

* Improve error log

* Fix bug schema to load

* Fix ParseGraphQLSchema tests

* Fix tests

* Fix failing tests

* First verstion not complete of create class mutation

* Fix bug caused by circular dependency

* Renaming files

* Schema types should be loaded before parse classes

* Fix tests

* Create class mutation boilerplate

* Improve CreateClassSchemaInput fields names

* Remove fields

* Pointer and relation fields

* Improve pointer default type

* Class type

* Create class mutation resolver

* Schema field transformers

* Class types transformations

* First test

* Numbers test

* Boolean tests

* Date test

* Fix some get tests

* Test for created at and updated at

* File tests

* Test for objects

* Renaming reducerFabric to reducerGenerator

* Changing get tests for file and object

* Object composed queries test

* Array test

* Null field test

* Bytes test

* Geo Point test

* Polygons tests

* Remove create generic mutation

* Fix tests

* Create class test - isRequired and defaultValue will be added back later

* Enforce master key

* Fix tests

* Duplicated field test

* updateClass mutation

* Remove update generic mutation tests

* Remove update generic mutation

* deleteClass mutation

* Remove delete generic mutation tests

* Remove delete generic mutation

* class query

* Classes query

* Remove get generic query from tests

* Remove remaining generic operations and fix tests

* Fix last test

* Try to fix redis tests

* Fix postgres tests

* Update objectsMutations and objectsQueries files locations

* Rename classSchema files to schema files

* Rename ClassObject to ParseObject

* Fix names and paths

* Still some wrong names
2019-09-01 22:11:03 -07:00
greenkeeper[bot]
e404c43222 Update cross-env to the latest version 🚀 (#6008)
* chore(package): update cross-env to version 5.2.1

* chore(package): update lockfile package-lock.json
2019-09-01 22:01:45 -07:00
Tom Fox
48b834670d fix changelog formatting (#6009) 2019-09-01 21:55:28 -07:00
greenkeeper[bot]
b28d9f9fdb Update apollo-server to the latest version 🚀 (#6011)
* fix(package): update apollo-server-express to version 2.9.3

* chore(package): update lockfile package-lock.json
2019-09-01 22:20:37 +00:00
greenkeeper[bot]
86820c27e7 Update husky to the latest version 🚀 (#6010)
* chore(package): update husky to version 3.0.5

* chore(package): update lockfile package-lock.json
2019-09-01 16:54:36 +00:00
greenkeeper[bot]
09caa8fc4d Update pg-promise to the latest version 🚀 (#6006)
* fix(package): update pg-promise to version 9.1.2

* chore(package): update lockfile package-lock.json
2019-08-31 04:11:45 +00:00
Douglas Muraoka
b47d9fb17e refactor(GraphQL): Rename objectId to id (#5985)
* refactor(GraphQL): Rename objectId to id

Renames `objectId` to `id` for the GraphQL API. Queries, mutations,
custom and generic types were updated.
Removes `RELATION_INPUT` and `POINTER_INPUT`. Now the user just need
to provide the ID of the object to link.

* fix: Column "id" not found on Postgres

* fix: Avoid deleting Parse class objectId

* fix: Undo objectId removal on mutations

* fix: Handle generic mutation id
2019-08-30 16:23:45 -07:00
greenkeeper[bot]
194f548464 Update eslint to the latest version 🚀 (#6005)
* chore(package): update eslint to version 6.3.0

* chore(package): update lockfile package-lock.json
2019-08-30 21:16:15 +00:00
greenkeeper[bot]
50afe19de6 Update apollo-server to the latest version 🚀 (#6003)
* fix(package): update apollo-server-express to version 2.9.2

* chore(package): update lockfile package-lock.json
2019-08-30 10:42:46 +00:00
greenkeeper[bot]
652fb2fd28 Update commander to the latest version 🚀 (#6002)
* fix(package): update commander to version 3.0.1

* chore(package): update lockfile package-lock.json
2019-08-30 09:25:13 +00:00
Antonio Davi Macedo Coelho de Castro
3ede1f68b2 Fix beforeLogin trigger when user has a file (#6001)
* Fix beforeLogin trigger when user has a file

* Add test case
2019-08-29 19:07:39 -07:00
greenkeeper[bot]
1df57b82e3 Update flow-bin to the latest version 🚀 (#6000)
* chore(package): update flow-bin to version 0.106.3

* chore(package): update lockfile package-lock.json
2019-08-29 20:45:02 +00:00
greenkeeper[bot]
26e865e125 Update graphql to the latest version 🚀 (#5997)
* fix(package): update graphql to version 14.5.4

* chore(package): update lockfile package-lock.json
2019-08-29 13:28:19 +00:00
greenkeeper[bot]
3bb5b05258 Update form-data to the latest version 🚀 (#5995)
* chore(package): update form-data to version 2.5.1

* chore(package): update lockfile package-lock.json
2019-08-29 07:12:08 +00:00
greenkeeper[bot]
2e84732e58 Update parse to the latest version 🚀 (#5992)
* fix(package): update parse to version 2.7.0

* chore(package): update lockfile package-lock.json
2019-08-28 22:25:10 +00:00
greenkeeper[bot]
2c559594d7 Update apollo-server to the latest version 🚀 (#5991)
* fix(package): update apollo-server-express to version 2.9.1

* chore(package): update lockfile package-lock.json
2019-08-28 21:14:49 +00:00
greenkeeper[bot]
037525ad2a Update mongodb to the latest version 🚀 (#5990)
* fix(package): update mongodb to version 3.3.2

* chore(package): update lockfile package-lock.json
2019-08-28 18:30:14 +00:00
Antonio Davi Macedo Coelho de Castro
251d454dcd Update GraphQL Docs with the latest changes (#5980) 2019-08-27 14:18:15 -07:00
greenkeeper[bot]
328b7bae41 Update follow-redirects to the latest version 🚀 (#5986)
* fix(package): update follow-redirects to version 1.8.1

* chore(package): update lockfile package-lock.json
2019-08-27 19:51:43 +00:00
dependabot-preview[bot]
d8d8cd6bae Bump follow-redirects from 1.7.0 to 1.8.0 (#5982)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.7.0...v1.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 11:45:57 +00:00
greenkeeper[bot]
7c1cf2b775 Update lint-staged to the latest version 🚀 (#5981)
* chore(package): update lint-staged to version 9.2.5

* chore(package): update lockfile package-lock.json
2019-08-27 07:26:41 +00:00
greenkeeper[bot]
fa2d74be9f Update pg-promise to the latest version 🚀 (#5979)
* fix(package): update pg-promise to version 9.1.1

* chore(package): update lockfile package-lock.json
2019-08-27 04:44:00 +00:00