Alexander Ryzhikov
58538f02b7
user#login include server crash fix
...
Signed-off-by: Alexander Ryzhikov <coobaha@gmail.com>
2014-09-03 09:58:49 +04:00
Raymond Feng
9fb60174f9
Merge pull request #519 from fabien/fix/error-response
...
Fix embedsMany/findById to return proper 404 response
2014-09-02 22:42:40 -07:00
Rand McKinney
1af1ec2c43
Update model.js
...
Correct event docs per https://groups.google.com/forum/#!topic/loopbackjs/61qd--Xkowo :
- `deleted` event takes instance arg, not id.
- Add docs for `set` event
2014-09-02 11:11:36 -07:00
Clark Wang
4387957a45
Restrict: only hasManyThrough relation can have additional properties
...
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-09-01 13:55:53 +08:00
Clark Wang
0e6bba4ded
Restrict that only hasManyThrough can have additional properties
...
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-09-01 13:52:14 +08:00
Clark Wang
2452dd1092
Add tests for hasManyThrough link with data
...
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-09-01 09:28:13 +08:00
Clark Wang
beea028d5f
Support data field as body for link operation
...
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-09-01 08:52:24 +08:00
Fabien Franzen
1067c94bf6
Tiny fix: correct url format
2014-08-30 17:00:36 +02:00
Fabien Franzen
33f3ba4549
Fix embedsMany/findById to return proper 404 response
2014-08-30 16:54:14 +02:00
Raymond Feng
9b97014b52
Merge pull request #504 from fabien/feature/embeds-one-remoting
...
Enable remoting for embedsOne relation
2014-08-29 09:30:49 -07:00
Raymond Feng
e856f81d09
Merge pull request #503 from fabien/feature/scope-where
...
Allow 'where' argument for scoped count API
2014-08-29 09:30:38 -07:00
Ritchie Martori
964a357286
2.1.4
2014-08-26 10:02:42 -07:00
Ritchie Martori
94049d75f7
Merge pull request #483 from strongloop/fix/undefined-datasource
...
Only validate dataSource when defined
2014-08-26 09:55:59 -07:00
Miroslav Bajtoš
26b67ba757
registry: warn when dataSource is not specified
...
Modify `registry.configureModel()` to log a warning when `dataSource`
optiont is not specified at all.
Users should provide `dataSource: null` when the model is intentionally
not attached to any data-source.
2014-08-26 18:04:06 +02:00
Ritchie Martori
7dde6466e5
Only validate dataSource when defined ( Fixes #482 )
2014-08-26 17:49:15 +02:00
Fabien Franzen
dc4a8aeadc
Merge branch 'feature/embeds-one-remoting' of https://github.com/fabien/loopback into feature/embeds-one-remoting
2014-08-26 15:26:15 +02:00
Fabien Franzen
6cfd1bb523
Fix tests
2014-08-26 15:25:45 +02:00
Jaka Hudoklin
19155242c1
Enable remoting for embedsOne relation
...
Signed-off-by: Jaka Hudoklin <jakahudoklin@gmail.com>
2014-08-26 15:25:45 +02:00
Fabien Franzen
fc0c96bdc2
Allow 'where' argument for scoped count API
...
Note that the return value will be non-rooted, which is actually what
the
non-scoped /count method returns as well - fixes inconsistency.
2014-08-26 14:41:36 +02:00
Raymond Feng
50e1f350aa
Merge pull request #490 from fabien/feature/deep-remoting
...
Account for undefined before/afterListeners
2014-08-22 13:27:19 -07:00
Fabien Franzen
6ccc5a62bf
Account for undefined before/afterListeners
2014-08-22 22:18:24 +02:00
Fabien Franzen
b5b0ecd319
Fix tests
2014-08-22 17:05:11 +02:00
Jaka Hudoklin
6827b715bc
Enable remoting for embedsOne relation
...
Signed-off-by: Jaka Hudoklin <jakahudoklin@gmail.com>
2014-08-22 15:49:09 +02:00
Raymond Feng
630ae6b6cd
Merge tag 'v2.1.3'
...
2.1.3
2014-08-18 21:49:53 -07:00
Raymond Feng
2a952c45b6
Merge branch 'release/2.1.3' into production
2014-08-18 21:49:48 -07:00
Raymond Feng
c28b870784
Bump version
2014-08-18 21:49:08 -07:00
Raymond Feng
c3a33df0ce
Make sure AccessToken extends from PersistedModel
2014-08-18 21:44:38 -07:00
Raymond Feng
e35bc9ed5f
Merge pull request #463 from offlinehacker/master
...
add count to relations and scopes
2014-08-15 13:18:51 -07:00
britztopher
ba48d042b8
added test and fixed changing passed in object within ctor
2014-08-14 15:44:36 -04:00
britztopher
d4bd2bca28
adding the ability to use single or multiple email transports in datasources.json file
2014-08-14 12:07:44 -04:00
britztopher
56fe548a46
added the ability to use an array of transports or just a single trnasport
2014-08-13 15:57:28 -04:00
Jaka Hudoklin
066e87300d
add count to relations and scopes
...
Signed-off-by: Jaka Hudoklin <jakahudoklin@gmail.com>
2014-08-12 15:03:15 +02:00
Miroslav Bajtoš
f431343d6b
Merge pull request #406 from strongloop/feature/pause-request-in-shared-ctor
...
Remove `req.resume` from `app.enableAuth`
2014-08-12 14:02:50 +02:00
Miroslav Bajtoš
d93b6127c4
Remove `req.resume` from `app.enableAuth`
...
Remove `req.pause` and `req.resume` from `app.enableAuth`
- they are no longer needed, the request starts paused and there is
no other middleware that would resume it before us.
- when we resume the request after authentication, we force all
other async operations (like sharedCtor) to call pause & resume too,
otherwise data are lost
2014-08-12 13:57:45 +02:00
Ritchie Martori
d82d789ffa
2.1.2
2014-08-11 10:55:34 -07:00
Ritchie Martori
1ed4e2b9d7
Fix accessToken property docs
2014-08-11 10:55:23 -07:00
Raymond Feng
225b2aee50
Merge tag 'v2.1.1'
...
2.1.1
2014-08-08 16:01:28 -07:00
Raymond Feng
dfd7d411d4
Merge branch 'release/2.1.1' into production
2014-08-08 16:01:22 -07:00
Raymond Feng
22bca61f32
Bump version
2014-08-08 15:57:11 -07:00
Raymond Feng
1545c89bd2
Merge pull request #455 from strongloop/feature/fix-issue-454
...
Make sure scoped methods are remoted
2014-08-08 15:56:10 -07:00
Raymond Feng
1c61cedee7
Make sure scoped methods are remoted
...
See https://github.com/strongloop/loopback/issues/454 . It's regression in 2.x.
2014-08-08 15:55:47 -07:00
Raymond Feng
cec7deb4a5
Merge pull request #453 from strongloop/feature/fix-issue-451
...
Pass in remotingContext for ACL
2014-08-08 07:40:19 -07:00
Raymond Feng
9fb0977433
Pass in remotingContext for ACL
...
See https://github.com/strongloop/loopback/issues/451
2014-08-07 22:19:27 -07:00
Raymond Feng
0e8a69015a
Fix reference to app
...
See https://github.com/strongloop/loopback/issues/452
2014-08-07 21:45:18 -07:00
Raymond Feng
68278b218b
Merge tag 'v2.1.0'
...
2.1.0
2014-08-07 16:34:42 -07:00
Raymond Feng
55def26343
Merge branch 'release/2.1.0' into production
2014-08-07 16:34:37 -07:00
Raymond Feng
b07aac7377
Merge pull request #449 from fabien/fix/polymorphic-belongs-to
...
Don't assume relation.modelTo in case of polymorphic belongsTo
2014-08-07 13:54:15 -07:00
Raymond Feng
a053204eca
Bump version
2014-08-07 10:40:22 -07:00
Raymond Feng
a9e77e0e23
Merge pull request #435 from fabien/feature/deep-remoting
...
Implement Model.nestRemoting
2014-08-07 10:38:09 -07:00
Raymond Feng
ce88ce7733
Fix doc for the EXECUTE
2014-08-07 10:33:36 -07:00