Currently in the logs if an invalid function is called the error
message just says "invalid function" which is decidedly unhelpful
when looking through server logs. Now it will say
"Invalid function: "functionName""
* Moves LiveQuery pub/sub to adapter folder
* Adds ability to provide custom adapter for LiveQuery pubsub
* Adds test for function based adapter
* Pass all options to createSubscriber
* nits
* Add tests. Fail request if any of the 4 optional keys does not match
* Only require one key to be supplied in the request, except when no keys are configured
* Use const over let, var
* Add acl role check to _matchesACL, start adding tests.
* Add tests for ACL role checks in LiveQueryServer.
* Switch to arrow functions, add immutabalized code from @acinader, swap for loop style.
* Add failing test for updating installations with masterKey
* Prevent auth.installationId from being used when using masterKey
This allows masterKey to update any installation object
Fixes ParsePlatform/parse-server##2887
* Change users.get to secure.checkToken
You can't get user info by client token due vk restrictions. You must check token via secure.checkToken.
* Configuration checks for vk auth.
* Move config check to promise, remove debug log, add message to logger on error.
* Add failing test for multiple .notEqualTo on relation with same class
* Fix multiple .notEqualTo on relations with the same class
Multiple should use the union of all objectIds not the intersect
FixesParsePlatform/parse-server#1596
* Allow configuration options for Postgres
* Fix the use of incorrect options object.
* Refactor and test the postgres config parser.
* Remove unnecessary try/catch
* Remove unnecessary try/catch
* Add blank line at the end of the test file
* Rename file for consistency purposes
* Removes runtime dependency babel-polyfill (#2692)
* Removes runtime dependency babel-polyfill
* removes references to polyfilled array includes
* Better support for polyfilling
* Removes unnecessary log
* Adds killswitch if tests are polyfilled
* Reverts usage of includes on strings
* Reproduction for #1567
* Recursive handling of nested pointer keys in select
* Better support for multi-level nested keys
* Adds support for selecting columns natively (mongo)
* Support for postgres column selections
* Filter-out empty keys for pg
Move password masking functionality into LoggerController.
The is a more aggresive approach to masking password string in the logs.
Cleaning the url is still in the PromiseRouter because picking it out of the log string
would be fragile.
This will cause more log messages to be scanned for password strings, and may cause a password
string to be obsfucated that is not neccesarily part of parse internals -- but i think that is
still a good thing....
see: #2755 & #2680
* Lookup for email in username field to match docs if email is undefined
* Adds support for sendMail option to when email is selected
* Proper does not exists clause
* Adds CloudCode handler for beforeFind
- Allows cloud code to modify a query before it is run
- Works with promises for a safer environment
- Supports modifiying the current query
- Supports issuing new queries
* Adds test for cornercase empty queries from rest
* Makes sure restOptions is always definied
* increased filename length to 36 to make sure clients display correct filename
* increased filename length to 36 to make sure clients display correct filename
* added uuid prefix to saved filenames