Commit Graph

130 Commits

Author SHA1 Message Date
maxim.sharai c642bbb24c Fixed remote models resolve duplication 2017-12-16 15:13:59 +03:00
Miroslav Bajtoš 906979a960
3.3.0
* Gruntfile: remove forgotten jshint task (Miroslav Bajtoš)
 * Preserve related models from "include" filter (Dimitris)
 * Add eslint to npm test, fix linter issues (Miroslav Bajtoš)
 * Refactor tests to use local per-app model registry (Miroslav Bajtoš)
2017-12-12 17:26:04 +01:00
Miroslav Bajtoš d622ce5ed8
Merge pull request #78 from mitsos1os/issue-42
Support retrieved related models from remote loopback service
2017-12-12 13:08:55 +01:00
Miroslav Bajtoš 4ec0ec5341
Gruntfile: remove forgotten jshint task 2017-12-12 09:39:46 +01:00
Dimitris a3d110b78c
Preserve related models from "include" filter
Before this change, when making a remote call with "include" filter
(for example `findById(11, {include:['children']})`), the related
models were removed from the result.

This commit fixes the implementation to correctly preserve related
models and also to cast them to correct model instances.
2017-12-12 09:39:37 +01:00
Miroslav Bajtoš ffaaec8973
Merge pull request #82 from strongloop/code-cleanup
Code cleanup
2017-12-11 15:43:40 +01:00
Miroslav Bajtoš 55cb88f727
Add eslint to npm test, fix linter issues 2017-12-11 14:51:48 +01:00
Miroslav Bajtoš d6a5c768fd
Refactor tests to use local per-app model registry
Refactor tests to stop sharing global models between different test
suites and use local per-app model registry instead.

Also clean up all test code to use `const` and `let` instead of `var`.
2017-12-11 14:45:43 +01:00
Miroslav Bajtoš fafc0e36f3
3.2.0
* Add support for configuring remoting options (Kenny Sabir)
 * chore:update license (Diana Lau)
 * Move remote connector doc into README (crandmck)
 * build: enable Travis CI (Miroslav Bajtoš)
 * Add stalebot configuration (Kevin Delisle)
 * Update Issue and PR Templates (#76) (Sakib Hasan)
 * Add CODEOWNER file (Diana Lau)
 * Replicate new issue_template from loopback (Siddhi Pai)
 * Replicate issue_template from loopback repo (Siddhi Pai)
 * Add "options" arg to stubbed models in tests (Miroslav Bajtoš)
2017-12-05 14:43:32 +01:00
Miroslav Bajtoš 607fec76be
Merge pull request #77 from agriwebb/pass-args-connector
Add support for configuring remoting options
2017-12-05 14:42:53 +01:00
Kenny Sabir 816e989b4e
Add support for configuring remoting options
Allow remote-connector users to provide "options" property in the
datasource configuration, this "options" object is then passed down to
RemoteObjects and allows e.g. configuration of pass-through
authorization, where the remoting connector passes the access token
used to make the incoming request down to the backend service invoked.
2017-12-05 14:22:10 +01:00
Diana Lau 07d6e1b66e
Merge pull request #80 from strongloop/license
chore:update license
2017-11-10 22:52:33 -05:00
Diana Lau 1afbe06716 chore:update license 2017-11-09 13:33:09 -05:00
crandmck 8e0c39b47f Move remote connector doc into README 2017-11-07 14:25:19 -08:00
Miroslav Bajtoš ed20519ce7 Merge pull request #79 from strongloop/add-travis
build: enable Travis CI
2017-10-17 14:37:26 +02:00
Miroslav Bajtoš 80f29b9c91
build: enable Travis CI 2017-10-17 14:25:32 +02:00
Kevin Delisle 94b2eba6ab Add stalebot configuration 2017-08-22 13:14:17 -04:00
Sakib Hasan 434840522c Update Issue and PR Templates (#76)
* update issue template

* update pr template
2017-08-16 14:25:29 -04:00
Miroslav Bajtoš 1cf92430c5 Merge pull request #73 from strongloop/replicate-issue-template
Replicate issue_template from loopback repo
2017-07-27 09:04:00 +02:00
Miroslav Bajtoš ab5992c3b9 Merge pull request #75 from strongloop/add-codeowner
Add CODEOWNERS file
2017-07-27 09:02:09 +02:00
Diana Lau 468c4ae0a7 Add CODEOWNER file 2017-07-24 19:47:21 -04:00
Siddhi Pai 94cb7f08a9 Replicate new issue_template from loopback 2017-02-15 15:29:23 -08:00
Siddhi Pai 7af85add04 Replicate issue_template from loopback repo 2017-02-13 10:27:33 -08:00
Miroslav Bajtoš 1534626f01 Merge pull request #71 from strongloop/fix/computed-options-arg
Add "options" arg to stubbed models in tests
2016-12-22 11:13:26 +01:00
Miroslav Bajtoš 1168bb6080 Add "options" arg to stubbed models in tests 2016-12-22 10:56:11 +01:00
Miroslav Bajtoš 45fa573432 3.1.1
* Update package.json for LB3 release (Simon Ho)
 * Update paid support URL (Siddhi Pai)
2016-12-21 16:03:43 +01:00
Miroslav Bajtoš 7259631821 Merge pull request #69 from strongloop/release/3.x
Update package.json for LB3 release
2016-12-21 10:46:15 +01:00
Simon Ho d728e57276 Update package.json for LB3 release 2016-12-21 00:46:48 -08:00
Simon Ho 21ed5a9b93 Merge pull request #68 from strongloop/update-support-URL
Replicate .github from loopback repo
2016-12-06 23:15:19 -08:00
Siddhi Pai 0d687896a9 Update paid support URL 2016-12-06 03:08:27 -08:00
Miroslav Bajtoš 1506a5039e 3.1.0
* Drop support for Node v0.10 and v0.12 (Miroslav Bajtoš)
 * Fix version info in README (Miroslav Bajtoš)
 * Update deps to loopback 3.0.0 RC (Miroslav Bajtoš)
2016-12-05 10:16:31 +01:00
Miroslav Bajtoš 352b38128a Merge pull request #67 from strongloop/drop-support-node-0x
Drop support for Node v0.10 and v0.12
2016-11-15 15:05:12 +01:00
Miroslav Bajtoš 832e990337 Drop support for Node v0.10 and v0.12 2016-11-15 14:19:17 +01:00
Miroslav Bajtoš 5db2240348 Merge pull request #66 from strongloop/fix/readme
Fix version info in README
2016-10-17 13:38:26 +02:00
Miroslav Bajtoš 3cf34c4264 Fix version info in README 2016-10-17 13:05:53 +02:00
Miroslav Bajtoš a1f09dba22 Merge pull request #64 from strongloop/update-lb-3-rc
Update deps to loopback 3.0.0 RC
2016-09-22 14:04:39 +02:00
Miroslav Bajtoš 625f926a87 Update deps to loopback 3.0.0 RC 2016-09-22 13:41:56 +02:00
Miroslav Bajtoš 314353dd3d 3.0.0
* Update deps to 3.0.0 RC (Miroslav Bajtoš)
 * Update juggler and loopback in package.json (Amir Jafarian)
 * Bump up minimal loopback version in devDeps (Miroslav Bajtoš)
2016-09-22 12:29:45 +02:00
Miroslav Bajtoš 38fc8cee03 Merge pull request #63 from strongloop/update-deps-3.0RC
Update deps to 3.0.0 RC
2016-09-22 12:29:12 +02:00
Miroslav Bajtoš 123cb2af48 Update deps to 3.0.0 RC 2016-09-22 12:16:49 +02:00
Amirali Jafarian c08e0cf004 Merge pull request #61 from strongloop/update_dependencies
Update juggler and loopback in package.json
2016-09-12 23:03:12 -04:00
Amir Jafarian b7c54ab26c Update juggler and loopback in package.json 2016-09-12 20:19:13 -04:00
Miroslav Bajtoš 4f6a0267f1 Merge pull request #60 from strongloop/bump-loopback-version
Bump up minimal loopback version in devDeps
2016-09-09 11:36:21 +02:00
Miroslav Bajtoš 67093fcaf4 Bump up minimal loopback version in devDeps
We need the version of LoopBack that uses the new TypeRegitry API.
2016-09-09 11:15:13 +02:00
Miroslav Bajtoš 04c4a52254 2.0.0-alpha.2
* Use the new API for defining remoting types (Miroslav Bajtoš)
 * Update dev-dependencies (Miroslav Bajtoš)
2016-09-09 10:00:46 +02:00
Miroslav Bajtoš a009404f2d Merge pull request #58 from strongloop/feature/coercion-overhaul
Use the new API for defining remoting types
2016-09-09 10:00:11 +02:00
Miroslav Bajtoš bce99713c1 Use the new API for defining remoting types 2016-09-09 09:50:22 +02:00
Miroslav Bajtoš d84db7b5b8 Merge pull request #56 from strongloop/update-deps
Update dev-dependencies
2016-09-01 15:09:25 +02:00
Miroslav Bajtoš b8a61ac1c9 Update dev-dependencies 2016-09-01 13:29:59 +02:00
Miroslav Bajtoš d9a814fa6a 2.0.0-alpha.1
* Update to juggler@3 and remoting@3 (Miroslav Bajtoš)
 * lib: use strict, fix whitespaces (Miroslav Bajtoš)
 * test: fix deprecation warnings (Miroslav Bajtoš)
 * test: use strict, handle errors (Miroslav Bajtoš)
 * Start development of 2.x (Miroslav Bajtoš)
2016-09-01 13:12:39 +02:00