Miroslav Bajtoš
54bf395249
Merge pull request #2754 from strongloop/use_common_globalize
...
Update globalization structure
2016-09-22 12:14:04 +02:00
Candy
640f3a8ca7
Update globalization structure
2016-09-22 11:58:00 +02:00
Miroslav Bajtoš
0cd157ca3d
Temporarily disable Karma tests on Windows CI
...
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.
2016-09-22 10:49:00 +02:00
Miroslav Bajtoš
2f0dd6d6ec
Merge pull request #2758 from strongloop/fix/disableMethodByName
...
Expose new method for disabling remote methods.
2016-09-22 09:39:04 +02:00
Richard Pringle
0ab33a82d4
Call new disable remote method from model class.
2016-09-21 14:09:24 -04:00
Candy
92ed2138fb
Merge pull request #2755 from strongloop/add_translations
...
Add translation strings
2016-09-21 11:05:38 -04:00
Candy
d5679666d9
Add translation strings
2016-09-21 10:29:38 -04:00
David Cheung
489ed919a5
Merge pull request #2298 from strongloop/user-realm-composite-key
...
Composite Key validation for Realm enabled users
2016-09-20 14:15:10 -04:00
David Cheung
d544ae1bf8
Support uniqueness for realm users
2016-09-20 11:26:56 -04:00
Simon Ho
c3ba632aa3
Merge pull request #2743 from strongloop/docs-for-kv-model
...
Add docs for KeyValue model
2016-09-19 15:29:47 -07:00
Loay
8061d1216d
Merge pull request #2693 from strongloop/sessEmail
...
Invalidate sessions after email change
2016-09-19 13:54:31 -04:00
Loay
bcc2d99a95
Invalidate sessions after email change
2016-09-19 10:24:30 -04:00
Simon Ho
845b73d4eb
Add docs for KeyValue model
2016-09-18 19:45:13 -07:00
Candy
6752dd3af3
Merge pull request #2703 from strongloop/fix_remoting
...
Fix remote method inheritance
2016-09-13 13:56:43 -04:00
Candy
d4b8cf670f
Fix remote method inheritance
2016-09-13 13:23:09 -04:00
Miroslav Bajtoš
3eb9009741
Merge pull request #2738 from strongloop/fix/user-verify-email-with-empty-rest-root
...
Fix double-slash in confirmation URL
2016-09-13 09:07:30 +02:00
Miroslav Bajtoš
21ff383eb3
Fix double-slash in confirmation URL
...
Fix the code building the URL used in the email-verification email
to prevent double-slash in the URL when e.g. restApiRoot is '/'.
Before:
http://example.com//users/confirm ?...
Now:
http://example.com/users/confirm ?...
2016-09-13 08:52:49 +02:00
Miroslav Bajtoš
eec85367e7
3.0.0-alpha.5
...
* Use strong-remoting's new TypeRegistry (Miroslav Bajtoš)
* test/user: don't attach User model twice (Miroslav Bajtoš)
* app.enableAuth: correctly detect attached models (Miroslav Bajtoš)
* Fix remoting metadata for "data" arguments (Miroslav Bajtoš)
* Add instructions for upgrading context (Miroslav Bajtoš)
* Discard sugar method for model creation (gunjpan)
* Remove one-var exceptions no longer needed (Miroslav Bajtoš)
* Rework email validation to use isemail (Miroslav Bajtoš)
* Expose upsertWithWhere method (Sonali Samantaray)
2016-09-09 10:34:59 +02:00
Miroslav Bajtoš
252b6f41c6
Merge pull request #2696 from strongloop/feature/coercion-overhaul
...
Use strong-remoting's new TypeRegistry
2016-09-09 10:34:12 +02:00
Miroslav Bajtoš
6e1defcb18
Use strong-remoting's new TypeRegistry
2016-09-09 10:01:29 +02:00
Miroslav Bajtoš
92a5a08671
test/user: don't attach User model twice
2016-09-09 09:02:41 +02:00
Miroslav Bajtoš
32bdeccebf
app.enableAuth: correctly detect attached models
...
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.
2016-09-09 09:02:41 +02:00
Miroslav Bajtoš
f5acf6aebd
Merge pull request #2727 from strongloop/fix/data-object-arguments-3x
...
Fix remoting metadata for "data" arguments
2016-09-07 14:37:15 +02:00
Miroslav Bajtoš
f76edd5d61
Fix remoting metadata for "data" arguments
...
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.
2016-09-07 14:27:58 +02:00
Miroslav Bajtoš
554ccbd035
Merge pull request #2721 from strongloop/docs/context-upgrade-2x-3x
...
Add instructions for upgrading context
2016-09-07 13:03:39 +02:00
Miroslav Bajtoš
94f9a1bd05
Add instructions for upgrading context
...
Describe how to upgrade LoopBack 2.x apps to 3.x and prevent
"Error: remoting.context option was removed in version 3.0."
2016-09-07 12:48:24 +02:00
Miroslav Bajtoš
da09876585
Merge pull request #2401 from strongloop/compat_flag_cleanup
...
[SEMVER-MAJOR] Discard sugar method for model creation
2016-09-07 12:43:53 +02:00
gunjpan
832e2c391c
Discard sugar method for model creation
...
Current implementation of `app.model(modelName, settings)`
works as a sugar for model creation. In 3.0, this is
not supported anymore. This implementation reports an
error when sugar is used for model creation.
Includes:
- Updated app.model() method
- Fixed test cases reflecting the change
2016-09-07 10:40:23 +02:00
Amirali Jafarian
a6f8ec672d
Merge pull request #2539 from mountain1234585/upsertWithWhere
...
Add upsertWithWhere
2016-09-06 15:54:21 -04:00
Miroslav Bajtoš
d78d4c9c29
Merge pull request #2720 from strongloop/fix/eslint-one-var
...
Remove one-var exceptions no longer needed
2016-09-06 17:20:02 +02:00
Miroslav Bajtoš
d13d2a7ab0
Remove one-var exceptions no longer needed
2016-09-06 15:47:35 +02:00
Miroslav Bajtoš
b48f7173ee
Merge pull request #2717 from strongloop/feature/isemail
...
Rework email validation to use isemail
2016-09-06 14:36:36 +02:00
Miroslav Bajtoš
9a75ee6f30
Rework email validation to use isemail
...
Drop hand-crafted RegExp in favour of a 3rd-party module that supports
RFC5321, RFC5322 and other relevant standards.
2016-09-06 14:09:00 +02:00
Miroslav Bajtoš
6220d1f986
3.0.0-alpha.4
...
* Update loopback-connector-remote to 2.0-alpha (Miroslav Bajtoš)
* Add remoting for KeyValue model TTL feature (Simon Ho)
* Add lint NPM script (Simon Ho)
* Make the app instance available to connectors (Subramanian Krishnan)
* Update pre-release dependencies (Miroslav Bajtoš)
* Apply g.f to literal strings (Setogit)
* Allow resetPassword if emailVerified (Loay)
* 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 token middleware crash (Carl Fürstenberg)
* loopback#context: fix missing "g" symbol (Miroslav Bajtoš)
* Update acl.js (Rand McKinney)
* Support 'alias' in mail transport config. (Samuel Reed)
* Remove unnecessary g.log (Setogit)
* Revert globalization of Swagger descriptions (Miroslav Bajtoš)
* Revert globalization of assert() messages (Miroslav Bajtoš)
* Add bcrypt validation (Loay)
2016-09-05 15:05:29 +02:00
Sonali Samantaray
aef6dca30c
Expose upsertWithWhere method
2016-09-02 18:10:47 +05:30
Miroslav Bajtoš
387be29185
Merge pull request #2699 from strongloop/update/remote-connector
...
Update loopback-connector-remote to 2.0-alpha
2016-09-01 13:32:58 +02:00
Miroslav Bajtoš
3dc0d5a64e
Update loopback-connector-remote to 2.0-alpha
2016-09-01 13:13:32 +02:00
Simon Ho
69f7f0941f
Merge pull request #2676 from strongloop/add-remoting-for-kv-model-ttl
...
Add remoting for kv model ttl
2016-08-29 17:13:29 -07:00
Simon Ho
9db0682b07
Add remoting for KeyValue model TTL feature
2016-08-29 14:46:41 -07:00
Simon Ho
32b879cf73
Add lint NPM script
2016-08-29 14:45:59 -07:00
Simon Ho
6c0b159a84
Merge pull request #2684 from strongloop/fix-glob-user
...
Apply g.f to literal strings
2016-08-29 10:40:18 -07:00
Miroslav Bajtoš
987f29e609
Merge pull request #2679 from SubuIBM/newRef
...
Make the app instance available to connectors
Close #2679
2016-08-29 15:16:30 +02:00
Subramanian Krishnan
40f0690573
Make the app instance available to connectors
2016-08-29 15:15:53 +02:00
Miroslav Bajtoš
ca21243067
Merge pull request #2680 from strongloop/update/juggler-remoting
...
Update pre-release dependencies
2016-08-29 10:10:01 +02:00
Miroslav Bajtoš
3437d782d9
Update pre-release dependencies
2016-08-29 09:55:42 +02:00
Setogit
0f5136d072
Apply g.f to literal strings
2016-08-27 22:42:21 -07:00
Amirali Jafarian
358fdbf184
Merge pull request #2670 from strongloop/reorder_patch_put
...
Reorder PATCH Vs PUT endpoints
2016-08-26 16:09:43 -04:00
Loay
4ec0ac2218
Merge pull request #2671 from strongloop/Password-Security
...
Allow resetPassword by email only if email verification was done
2016-08-26 15:58:39 -04:00
Loay
5567917c12
Allow resetPassword if emailVerified
2016-08-26 13:11:42 -04:00
Amir Jafarian
b80666a507
Reorder PATCH Vs PUT endpoints
...
*Reorder PATCH Vs PUT endpoints for update* methods
2016-08-26 11:08:35 -04:00