Commit Graph

84 Commits

Author SHA1 Message Date
Miroslav Bajtoš 69ebd5f931 Merge pull request #72 from strongloop/fix/computed-options-arg-1x
Add "options" arg to stubbed models in tests
2016-12-22 12:00:41 +01:00
Miroslav Bajtoš 58346f6f2b Add "options" arg to stubbed models in tests 2016-12-22 11:14:45 +01:00
Miroslav Bajtoš 9f40751fa8 Merge pull request #70 from strongloop/release/1.x-lts
Update package.json for LB2 LTS release
2016-12-21 10:47:26 +01:00
Simon Ho e02ed73b33 Update package.json for LB2 LTS release 2016-12-21 00:48:54 -08:00
Miroslav Bajtoš 9f4a8f1cde Merge pull request #59 from strongloop/update-deps-1x
Update dev-dependencies
2016-09-02 08:49:48 +02:00
Miroslav Bajtoš ace949f014 Update dev-dependencies 2016-09-01 16:48:04 +02:00
Miroslav Bajtoš 06c97e9e59 Merge pull request #53 from strongloop/fix/tests-1x
test: use strict, handle errors
2016-09-01 10:45:16 +02:00
Miroslav Bajtoš 0c78433b7e test: fix deprecation warnings 2016-09-01 10:34:43 +02:00
Miroslav Bajtoš 3ed4d31eec test: use strict, handle errors 2016-09-01 10:34:38 +02:00
Miroslav Bajtoš f35dd4bfc7 1.3.3
* Add info about LoopBack version compatibility (Miroslav Bajtoš)
2016-09-01 09:53:16 +02:00
Miroslav Bajtoš 22523109c5 Add info about LoopBack version compatibility 2016-09-01 09:52:46 +02:00
Miroslav Bajtoš c724d31f0e 1.3.2
* Update README.md (Rick Blalock)
 * Update URLs in CONTRIBUTING.md (#50) (Ryan Graham)
 * Do not use native promises in tests (Simon Ho)
2016-09-01 09:35:24 +02:00
Richard Pringle 0d784670b8 Merge pull request #51 from rblalock/master
Better docs for #45
2016-08-03 16:32:46 -04:00
Rick Blalock fe0a7175f9 Update README.md 2016-08-03 16:20:50 -04:00
Ryan Graham cf73d0406b Update URLs in CONTRIBUTING.md (#50) 2016-07-13 17:33:12 -07:00
Miroslav Bajtoš d86791435f Merge pull request #47 from strongloop/bug/do-not-use-native-promises
Do not use native promises in tests
2016-05-20 14:36:07 +02:00
Simon Ho c6d36f30a7 Do not use native promises in tests
- Refactor some tests to use bluebird for promise impl
- Fix based on comments at https://github.com/strongloop/loopback-connector-remote/pull/44/files#r61875179
- Add tests to integration dir (organized/named by feature)
2016-05-19 18:04:23 -07:00
Ryan Graham 7957084a24
1.3.1
* update copyright notices and license (Ryan Graham)
2016-05-06 12:02:39 -07:00
Ryan Graham 17e60c9351
update copyright notices and license 2016-05-06 12:02:21 -07:00
Miroslav Bajtoš 12ab866a0e 1.3.0
* Small logic cleanup (Heath Morrison)
 * Added promise support (Heath Morrison)
 * Remove .sl-blip.js (Simon Ho)
2016-05-03 14:56:05 +02:00
Simon Ho 8343a64919 Merge pull request #44 from doublemarked/39-support-promises
Add promise support
2016-04-25 00:22:16 -07:00
Heath Morrison 75fd2f42f3 Small logic cleanup 2016-04-25 01:11:05 +03:00
Heath Morrison a4e825191f Added promise support 2016-04-25 01:07:15 +03:00
Simon Ho 2b38f3c381 Merge pull request #41 from strongloop/remove-hidden-blip-file
Remove .sl-blip.js
2016-03-23 15:19:13 -07:00
Simon Ho 3f0c4d5b0f Remove .sl-blip.js 2016-03-23 14:34:05 -07:00
Raymond Feng 9120c680b5 1.2.0
* Remove blip (Raymond Feng)

 * test: listen on ephemeral ports (Miroslav Bajtoš)
2016-02-16 09:41:26 -08:00
Raymond Feng b8750508c2 Remove blip 2016-02-16 09:40:47 -08:00
Miroslav Bajtoš 74a2ce70ec Merge pull request #36 from strongloop/fix/ci
test: listen on ephemeral ports
2016-02-05 16:53:28 +01:00
Miroslav Bajtoš 3c42c0a6af test: listen on ephemeral ports 2016-02-05 13:29:43 +01:00
Miroslav Bajtoš cc67f14b2d 1.1.0
* Register Models with Dynamic converter (Miroslav Bajtoš)
 * Update README.md (Simon Ho)
 * Clean up tests (Geoffroy)
 * Removed unused describe definition (Geoffroy)
 * Removed unused file (Geoffroy)
 * Removed unused dependencies (Geoffroy)
 * Add test for custom http.path configuration. (Richard Pringle)
 * test: load the correct Remote instance (Miroslav Bajtoš)
 * Refer to licenses with a link (Sam Roberts)
 * Use strongloop conventions for licensing (Sam Roberts)
 * Fix NPM license warning (Simon Ho)
 * test: specify 127.0.0.1 for test server (Ryan Graham)
 * Create proxy methods for aliases (Simon Ho)
 * Fix bad CLA URL in CONTRIBUTING.md (Ryan Graham)
 * Add include mixin (Ritchie Martori)
2016-02-04 15:43:08 +01:00
Miroslav Bajtoš 994e3afabc Merge pull request #35 from strongloop/fix/missing-dynamic-converter
Register Models with Dynamic converter
2016-01-26 16:45:33 +01:00
Miroslav Bajtoš 0fd7bf06b5 Register Models with Dynamic converter
Fix `RemoteConnector.prototype.resolve` to register new models with
strong-remoting's `Dynamic` type resolver.

Before this change, if loopback-connector-remoting ended up with its
own copy of strong-remoting, then the responses were not converted
from plain objects to model instances, because model converters
were registered with the other instances of strong-remoting.

This has a side-effect that when there is only one strong-remoting
instance in the app, then there will be multiple converters registered
for the same model. Since the code performing conversion takes into
account the first model only, this should not pose any issues.
2016-01-26 15:13:09 +01:00
Simon Ho 5b721fe016 Update README.md 2016-01-22 13:40:18 -08:00
Simon Ho 14bfe9eaea Update README.md 2016-01-22 13:39:13 -08:00
Simon Ho 7ac17dd652 Merge pull request #31 from strongloop/test-fixes
Clean up tests
2016-01-07 20:27:54 -08:00
Geoffroy ba1703fbea Clean up tests 2016-01-07 20:08:05 -08:00
Simon Ho 7ac9679c17 Merge pull request #29 from glesage/test-cleanup
Cleaning up obsolete or unused files & dependencies
2016-01-07 13:34:04 -08:00
Geoffroy 580ea297ba Removed unused describe definition 2016-01-07 00:46:07 -06:00
Geoffroy ad3749b3d8 Removed unused file 2016-01-07 00:34:22 -06:00
Geoffroy e8b7762227 Removed unused dependencies 2016-01-07 00:33:38 -06:00
Richard Pringle 2b21045eeb Merge pull request #28 from strongloop/issue-16
Add test for custom http.path configuration.
2015-12-04 09:30:46 -05:00
Richard Pringle dbe06078fb Add test for custom http.path configuration. 2015-12-03 12:56:00 -05:00
Miroslav Bajtoš 7e2c4042ba Merge pull request #27 from strongloop/fix/broken-test-setup
test: load the correct Remote instance
2015-11-25 11:07:27 +01:00
Miroslav Bajtoš 9d862437da test: load the correct Remote instance
Fix unit-tests to always reference the remote connector via
require('..') instead of depending on the remote connector
bundled in loopback, which is quite often an older version.
2015-11-25 08:46:40 +01:00
Sam Roberts 9fce179932 Refer to licenses with a link 2015-11-03 12:27:49 -08:00
Sam Roberts ef67712cf1 Use strongloop conventions for licensing 2015-09-21 16:42:54 -07:00
Simon Ho f4e170a5aa Merge pull request #22 from strongloop/bug/license-warning
Fix NPM license warning
2015-09-15 09:29:04 -07:00
Simon Ho 79e5ed2a93 Fix NPM license warning 2015-09-14 18:38:31 -07:00
Ryan Graham 67cc771bb5 Merge pull request #21 from strongloop/fix-tests
Fix failing tests on CI
2015-07-20 19:03:25 -07:00
Ryan Graham 56e6236fa3 test: specify 127.0.0.1 for test server
Without this the client may attempt to connect to 'localhost' which may
resolve to the IPv6 equivalent of '0.0.0.0', which is '::', which is
only useful listening on and not so useful for connecting too.
2015-07-20 18:58:21 -07:00