Commit Graph

1292 Commits

Author SHA1 Message Date
Fabien Franzen 1af95272fe Don't assume relation.modelTo in case of polymorphic belongsTo 2014-08-07 15:39:07 +02:00
Raymond Feng b3fbefdbb7 Merge pull request #438 from kwiky/docs/fixes
Fix "callbacl" by "callback" in doc
2014-08-05 08:45:32 -07:00
Steve Grosbois 7b94f7a139 Fix "callbacl" by "callback" in doc 2014-08-05 15:17:11 +02:00
Fabien Franzen 539702ab3d Inherit hooks when nesting
Note that for now, the hook ctx.instance will be the root/entry object.

Added `mounted` event - should be useful in other ways too.
2014-08-05 12:14:39 +02:00
Fabien Franzen 18c647a9bb Changed options.path to options.http.path 2014-08-05 09:10:43 +02:00
Fabien Franzen cc0d376cc3 filterMethod can also be a direct callback 2014-08-04 19:08:43 +02:00
Fabien Franzen 097daf1deb filterMethod option (fn) to filter nested remote methods 2014-08-04 19:02:30 +02:00
Fabien Franzen 42f938ed72 Fix test to be more specific 2014-08-04 18:47:15 +02:00
Fabien Franzen 9be8d11431 Implement Model.nestRemoting
Explicitly enable another level of nesting/accessing relations; limited
to a depth of 2 levels.
2014-08-04 18:27:50 +02:00
Raymond Feng b66a36fd3c Merge pull request #423 from strongloop/feature/add-remoting-for-exists
Feature/add remoting for exists
2014-08-04 08:44:16 -07:00
Fabien Franzen 66fe60e6ca Allow custom relation path (http) - enable hasOne remoting access 2014-08-01 11:25:28 +02:00
Raymond Feng ad43d03ebb Expose Model.exists over HTTP HEAD 2014-07-30 21:57:45 -07:00
Raymond Feng 1fd562ecbd Return data source for app.dataSource() 2014-07-30 21:57:08 -07:00
Raymond Feng 0590eaf278 Merge pull request #419 from fabien/feature/new-relations
Integration of the new juggler relations: embedsMany, referencesMany
2014-07-30 16:32:33 -07:00
Raymond Feng 7fe68a6ee1 Merge pull request #415 from strongloop/feature/add-remoting-for-exists
Map exists to HEAD for REST
2014-07-30 10:22:16 -07:00
Ritchie Martori eda617495d Fix typo in README 2014-07-30 10:15:03 -07:00
Fabien Franzen b9f27d71a8 Integration test: referencesMany 2014-07-30 15:01:22 +02:00
Fabien Franzen 514db0bc66 Integration test: embedsMany 2014-07-30 13:24:40 +02:00
Rand McKinney 85c68651bc Fix jsdoc for remoteMethod() 2014-07-29 11:54:26 -07:00
Raymond Feng e5b0e8cd70 Map exists to HEAD for REST 2014-07-28 09:37:50 -07:00
Raymond Feng 71f9dbd4b0 Merge pull request #412 from strongloop/feature/fix-issue-408
Build the email verification url from app context
2014-07-28 08:23:02 -07:00
Raymond Feng 06c5267d92 Bump version 2014-07-27 00:45:20 -07:00
Raymond Feng 5bed57ea4d Merge tag 'v2.0.2'
2.0.2
2014-07-27 00:44:36 -07:00
Raymond Feng 2d17dba1b2 Merge branch 'release/2.0.2' into production 2014-07-27 00:44:31 -07:00
Raymond Feng d638b29f55 Fix https://github.com/strongloop/loopback/issues/413 2014-07-27 00:41:43 -07:00
Raymond Feng 567e2530d7 Build the email verification url from app context
https://github.com/strongloop/loopback/issues/408
2014-07-26 22:39:42 -07:00
Raymond Feng 5bb4cde593 Update test case to remove usage of deprecated express apis 2014-07-26 14:37:13 -07:00
Raymond Feng 852ea5534a Merge tag 'v2.0.1'
2.0.1
2014-07-26 14:31:00 -07:00
Raymond Feng 0e3187c736 Merge branch 'release/2.0.1' into production 2014-07-26 14:30:54 -07:00
Raymond Feng 0297ba3a79 Bump version 2014-07-26 14:30:13 -07:00
altsang 55e0128ada updated LB module diagram 2014-07-25 21:19:13 -07:00
Al Tsang d877f0edf9 Update package.json 2014-07-25 21:14:27 -07:00
crandmck 8725a8f5ba Updates for 2.0 2014-07-25 11:48:52 -07:00
crandmck e541341bb3 Update module diagram again 2014-07-25 11:29:07 -07:00
crandmck d26d3bef71 Update module diagram 2014-07-25 10:15:55 -07:00
Raymond Feng 5aee3b7f61 Merge pull request #402 from strongloop/feature/emit-model-remoted-event
Emit a 'modelRemoted' event by app.model()
2014-07-25 09:06:46 -07:00
Raymond Feng 552cb57e6b Merge pull request #401 from strongloop/feature/fix-remoting-for-related-models
Fix remoting types for related models
2014-07-25 09:05:17 -07:00
Raymond Feng af26e09845 Emit a 'modelRemoted' event by app.model()
This event will be listened by loopback-explorer so that models remoted
after the explorer is initiated will be added to the api specs
2014-07-24 17:00:27 -07:00
Raymond Feng ab8d82d7f9 Fix remoting types for related models 2014-07-24 10:26:49 -07:00
Raymond Feng 405d04f4ad Merge pull request #396 from strongloop/feature/fix-issue-375
Fix for email transports
2014-07-24 08:09:18 -07:00
Raymond Feng ac1428eff5 Fix for email transports 2014-07-23 22:09:24 -07:00
Raymond Feng b503ad3f33 Remove the link to obsolete wiki page to favor loopback.io 2014-07-23 14:33:43 -07:00
Miroslav Bajtoš 4c3cbc5f38 Merge tag 'v2.0.0'
2.0.0
2014-07-22 20:38:27 +02:00
Miroslav Bajtoš a3720bc05f Merge branch 'release/2.0.0' into production 2014-07-22 20:38:23 +02:00
Miroslav Bajtoš 8687267f66 2.0.0 2014-07-22 20:37:38 +02:00
Raymond Feng 58da6277e3 Merge pull request #390 from strongloop/feature/refactor-relation-remoting
Move remoting metadata from juggler to loopback
2014-07-22 11:12:53 -07:00
Raymond Feng 13c876c154 Merge pull request #387 from strongloop/feature/fix-base-model
Set up the base model based on the connector types
2014-07-22 10:58:33 -07:00
Raymond Feng 7337f0a0de Enhance the base model assertions 2014-07-22 10:57:42 -07:00
Raymond Feng d567c4d009 Merge pull request #394 from strongloop/feature/fix-issue-377
Report error for User.confirm()
2014-07-22 10:50:14 -07:00
Raymond Feng 335bae4b46 Merge branch 'master' into feature/fix-issue-377 2014-07-22 10:49:20 -07:00