- add a config option to explicitly enumerate pii fields beyond email
- in query controller, strip pii of user table results before sending out the door.
1. Add no space in paren rule
2. fix spec/eslintrc.json so it allow for inheriting from root rc.
Because the spce rc specified reccomended, it "turned off" all of the
rule tweaks in the root. This fixes that.
* adds resetTokenValidityDuration setting
* adds a validator to validate password that can be used to enforce strong
passwords
* adds unit tests for passwordPolicy.validator
* adds unit tests to to fail reset password function if password is not in a valid format
* updates README.md for passwordPolicy
* prevents duplicate check for password validator in updateUserPassword
* adds optional setting to disallow username in password
* updates test cases to use fdescribe instead of describe
* updates test cases to use request-promise instead of request
* adds ability to use a RegExp or Callback function or both for a passwordPolicy.validator
* expect username parameter in redirect to password_reset_success
* adds support for _perishable_token_expires_at in postgres
* Injected the username when password has changed.
When the resetPassword controller has successfully updated the user's password, it now redirects the user to the password changed page with the username as a query parameters.
* Update unit test for password_reset_success redirect
* Add option to reuse database controller between requests. Clear schema cache when deleting everything
* Add test
* Rename setting to persistSchemaCache to more accurately reflect effect
* Repurpose option to determine whether to randomize cache prefix. Restore Config.js controller creation. Add tests
* Fix bug with missing parameter passed to to SchemaCache
* Renaming and formatting
* Fix property name typo
* Rename option to avoid double negative and still be falsey by default. Style fix
* Enable RestCreate related tests for Postgres
* Enable tests in ParseRole for postgres
* Enable one ParseObject test for postgres
* Improve the way a jsonb field is updated.
* Use Postgres 9.5 in Travis
* Install Postgres 9.5 in Travis
* Use sudo to install and setup Postgres 9.5 in Travis
* Test if Postgres 9.5 can be used with trusty
* Re-exclude a test for postgres
* Revert travis to its original form
* Adds ability to update a subscription
* Adds unsubscribe to the RequestSchema, makes sure to not fire unsubscribe to the client when updating
* Fix failing tests
* More extensive tests
* fix annotation
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
* 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