* Moves transform to MongoTransform
- Adds ACL query injection in MongoTransform
* Removes adaptiveCollection from DatabaseController
- All collections manipulations are now handled by a DBController
- Adds optional flags to configure an unsafe databaseController for direct
access
- Adds ability to configure RestWrite with multiple writes
- Moves some transfirmations to MongoTransform as they output specific code
* Renames Unsafe to WithoutValidation
* Removing sessionToken and authData from _User objects included in a query
This bug caused sessionToken to be replaced on client side to some old
sessionToken from DB.
* Removing dangling variable that is never used
* Checking if object has defined key for Pointer constraints in liveQuery
If there is a liveQuery subscription, with Pointer type constrains (e.g
query.equalTo('user', Parse.User.current())), and new object has
undefined value for that field, we get this error:
error: Uncaught internal server error. [TypeError: Cannot read
property 'className' of undefined] TypeError: Cannot read property
'className' of undefined
at matchesKeyConstraints
(…/node_modules/parse-server/lib/LiveQuery/QueryTools.js:145:51)
* Remove collection prefix from DB Controller
* Remove collection prefix from cache
* Revert "Remove collection prefix from cache"
This reverts commit 529d67dd617b64c69c36a8a63382456e95edcab8.
* Remove knowledge of default mongo URI from Parse Server
* Remove adaptive collection paramater from deleteFields
* Tidy up DBAdapter.js
* Removing sessionToken and authData from _User objects included in a query
This bug caused sessionToken to be replaced on client side to some old
sessionToken from DB.
* Removing dangling variable that is never used
* Move helper.clearData to DatabaseAdapter. Expose DatabaseAdapter in index
* fix indentation
* Export DatabaseAdapter in index.js
* Rename clearData to destroyAllDataPermanently. Only export destroyAllDataPermanently from DatabaseAdapter. Update helper
* Expose wrapped TestUtils from index.js. TestUtils exposed select functions from other modules, only in test environment
* Sets the defaultSchemas keys in the SchemaCollection
* Moves defaultSchema injection logic to router
* maps outside the function
* fixes test
* conciseness
Session tokens generated by Parse with with "Expire inactive session" set
to No leave the the expiresAt field undefined. This fixes the TypeError
"Cannot read property 'iso' of undefined'" exception thrown when trying
to use a session token with undefined expiresAt.
* Adding tests for absolute and relative cloud code file loading.
* Fixes#1334 by resolving relative cloud code file paths to the process' working directory.