* Reword ticking checkbox note in issue template (#2855) (Simon Ho)
* Add how to tick checkbox in issue template (#2851) (#2853) (Simon Ho)
* Use GitHub issue templates (#2810) (#2852) (Simon Ho)
* Allow tokens with eternal TTL (value -1) (Miroslav Bajtoš)
* Update ja and nl translation files (Candy)
* Fix support for remote hooks returning a Promise (Tim van der Staaij)
* Validate non-email property partial update (Loay)
* Update translation files - round#2 (Candy)
* Update tests to use registry for model creation (gunjpan)
* Call new disable remote method from model class. (Richard Pringle)
* Temporarily disable Karma tests on Windows CI (Miroslav Bajtoš)
* Add translation files for 2.x (Candy)
* Allow resetPassword if email is verified (Loay)
* Add docs for KeyValue model (Simon Ho)
* Invalidate sessions after email change (Loay)
* Upgrade loopback-testing to the latest ^1.4 (Miroslav Bajtoš)
- Add a new User setting 'allowEternalTokens'
- Enhance 'AccessToken.validate' to support eternal tokens with ttl
value -1 when the user model allows it.
Current implementation of `app.model(modelName, settings)`
works as a sugar for model creation. In LB 3.0, this is
not supported anymore. This backporting:
- keeps the sugar method for model creation for backward
compatibility
- updates test cases to use `app.registry.createModel()`
for model creation
Backport of #2401
We are observing frequent test failures on Windows CI, where PhantomJS
cannot start because there are no free handles available. Finding
and fixing the process leaking handles is non-trivial and will take
long time.
This commit disables Karma tests on Windows CI machines to prevent
build failures that we are ignoring anyways.
Fix the definition of "data" argument to
{ type: 'object', model: modelName, ... }
That way strong-remoting passed the request body directly to the model
method (does not create a new model instance), but the swagger will
still provide correct schema for these arguments.
This fixes a bug where upsert in relation methods was adding default
property values to request payload.
* test/user: don't attach User model twice (Miroslav Bajtoš)
* app.enableAuth: correctly detect attached models (Miroslav Bajtoš)
* Apply g.f to literal strings (Candy)
* Make the app instance available to connectors (Subramanian Krishnan)
* Reorder PATCH Vs PUT endpoints (Amir Jafarian)
* streamline use if `self` (Benjamin Kroeger)
* resolve related models from correct registry (Benjamin Kroeger)
* KeyValueModel: add API for listing keys (Miroslav Bajtoš)
Fix a typo in "app.enableAuth" that caused the method to not detect
the situation when e.g. the built-in User model is already attached
to a datasource.