Commit Graph

1003 Commits

Author SHA1 Message Date
Raymond Feng a98db0bf86 Remove unused deps 2014-07-08 08:55:06 -07:00
Raymond Feng 74a39f3fc2 Refactor email verification tests into a new group 2014-07-08 08:54:50 -07:00
Raymond Feng de831dbd33 Fix the typo 2014-07-08 08:54:13 -07:00
Raymond Feng 0c67b1e781 Add an option to honor emailVerified
See https://github.com/strongloop/loopback/pull/215
2014-07-07 14:09:45 -07:00
Raymond Feng 75076c5196 Update module list in README 2014-07-03 13:52:03 -07:00
Raymond Feng f649c92bcf Refine the test cases for relation REST APIs 2014-07-03 11:18:34 -07:00
Miroslav Bajtoš be48a504e0 2.0.0-beta5 2014-07-03 10:14:41 +02:00
Miroslav Bajtoš 9767b88e03 Merge pull request #363 from strongloop/feature/add-test-for-model-remote-methods
test: add check of Model remote methods
2014-07-03 08:50:07 +02:00
Miroslav Bajtoš f0cc5f7534 test: add check of Model remote methods
The test ensures that Model has all methods listed in docs:

http://docs.strongloop.com/display/LB/Exposing+models+over+a+REST+API

See also #359.
2014-07-03 08:19:41 +02:00
Raymond Feng 0525f2c896 Adjust the REST mapping for add/remove 2014-07-02 23:06:11 -07:00
Raymond Feng b221714b38 Add a test case for hasMany through add/remove remoting 2014-07-02 18:09:05 -07:00
Raymond Feng d8c3376417 Merge pull request #361 from strongloop/feature/fix-issue-333
Fix the typo and add Bearer token support
2014-07-02 11:18:02 -07:00
Raymond Feng 217c9fa348 Fix the typo and add Bearer token support
See https://github.com/strongloop/loopback/issues/333
2014-07-02 09:02:13 -07:00
Raymond Feng 88a668cfe5 Update README 2014-07-01 10:14:39 -07:00
Raymond Feng 94892288b8 Merge pull request #358 from tsertkov/docs/token
Fix misleading token middleware documentation
2014-07-01 08:18:28 -07:00
Aleksandr Tsertkov 476dd8214d Fix misleading token middleware documentation
Signed-off-by: Aleksandr Tsertkov <tsertkov@gmail.com>
2014-07-01 16:59:49 +02:00
Miroslav Bajtoš 8ea11ea955 Merge branch 'master' into 2.0
Land the pull request #357
> app: update `url` on `listening` event
2014-07-01 16:18:00 +02:00
Miroslav Bajtoš 6a8a918166 Merge pull request #357 from strongloop/feature/set-url-on-app-listening
app: update `url` on `listening` event
2014-07-01 16:17:26 +02:00
Miroslav Bajtoš dfa8d7f49f app: update `url` on `listening` event
Most applications report the URL when started (at least the apps we
are scaffolding using loopback-workspace). Constructing the URL in the
loopback core allows us to simplify the templates and reduce the amount
of repeated code.
2014-07-01 14:27:02 +02:00
Miroslav Bajtoš 10d29c7d86 Merge branch 'master' into 2.0
Conflicts:
	package.json
2014-06-27 10:36:06 +02:00
Miroslav Bajtoš 1d0ece01e7 Merge tag 'v1.9.1'
v1.9.1
2014-06-27 10:26:23 +02:00
Miroslav Bajtoš 7e670c85c9 Merge branch 'release/1.9.1' into production 2014-06-27 10:26:15 +02:00
Miroslav Bajtoš 57060ec4c1 v1.9.1 2014-06-27 10:25:47 +02:00
Miroslav Bajtoš 45d026e7de Merge pull request #335 from karlmikko/bug/invalid-token-unhandled
Ignore unhanded error - simulate token missing
2014-06-27 09:56:17 +02:00
Miroslav Bajtoš a976481adb Merge pull request #351 from globocom/fix/registry-memory
Fix ReferenceError: loopback is not defined in registry.memory().
2014-06-26 15:43:16 +02:00
Guilherme Cirne 3fba6c50f0 Fix "ReferenceError: loopback is not defined" in registry.memory().
Signed-off-by: Guilherme Cirne <gcirne@gmail.com>
2014-06-26 10:40:28 -03:00
Miroslav Bajtoš f92d18939a 2.0.0-beta4 2014-06-26 14:58:58 +02:00
Miroslav Bajtoš dd5360a41a Merge pull request #344 from strongloop/fix-phantomjs-tests
[2.0] Fix loopback in PhantomJS, fix karma tests
2014-06-26 13:34:21 +02:00
Miroslav Bajtoš fb66bf5c44 package: upgrade juggler to 2.0.0-beta2 2014-06-26 13:31:41 +02:00
Miroslav Bajtoš 50816ebbe3 Fix loopback in PhantomJS, fix karma tests
- Move configuration of Karma unit-tests from `Gruntfile.js` to a
  standalone file (`test/karma.conf.js`).

- Add a new Grunt task `karma:unit-ci` to run Karma unit-tests in
  PhantomJS and produce karma-xunit.xml file that can be consumed
  by the CI server.

- Add grunt-mocha-test, configure it to run unit-tests.

- Add `grunt test` task that runs both karma and mocha tests,
  detects Jenkins to produce XML output on CI server.

- Modify the `test` script in `package.json` to run
  `grunt mocha-and-karma` (an alias for `grunt test`).
  The alias is required to trick `sl-ci-run` to run `npm test`
  instead of calling directly `mocha`.

- Add `es5-shim` module to karma unit-tests in order to provide
  ES5-methods required by LoopBack.

- Fix `mixin(source)` in lib/loopback.js to work in PhantomJS.
  `Object.getOwnPropertyDescriptor()` provided by `es5-shim` does not
  work in the same way as in Node.
2014-06-26 13:30:09 +02:00
Miroslav Bajtoš 1daa93e448 Merge pull request #349 from lchenay/patch-2
Allow peer to use beta2 of datasource-juggler (and future)
2014-06-26 12:38:50 +02:00
Miroslav Bajtoš 9c32a0fb3b Merge pull request #350 from strongloop/remove-app-boot
[2.0] Remove `app.boot`
2014-06-26 11:21:14 +02:00
Karl Mikkelsen 46af483bdd Invalid Access Token return 401
Clean up logic to be easier to read.
Signed-off-by: Karl Mikkelsen <karl@karlmikko.com>
2014-06-26 08:50:41 +10:00
Raymond Feng e148bb0e30 Merge tag 'v1.9.0'
1.9.0
2014-06-25 09:35:53 -07:00
Raymond Feng 78869baa10 Merge branch 'release/1.9.0' into production 2014-06-25 09:35:46 -07:00
Raymond Feng c20ecaf265 Bump version and update deps 2014-06-25 09:09:14 -07:00
Raymond Feng 70c1cb5ce0 Update debug setting 2014-06-25 09:09:04 -07:00
Miroslav Bajtoš 1dc3fba786 Merge pull request #348 from strongloop/feature/deprecate-app-boot
Mark `app.boot` as deprecated.
2014-06-25 17:27:07 +02:00
Laurent 41b826d3c5 Allow peer to use beta2 of datasource-juggler (and future)
Signed-off-by: Laurent Chenay <lchenay@gmail.com>
2014-06-25 16:02:05 +02:00
Miroslav Bajtoš c896c78db0 Remove `app.boot`
Modify `app.boot` to throw an exception, pointing users to the new
module `loopback-boot`.
2014-06-25 14:09:06 +02:00
Miroslav Bajtoš 70615696cd Mark `app.boot` as deprecated. 2014-06-25 13:44:07 +02:00
Rand McKinney bca9722196 Update link to doc 2014-06-24 16:14:01 -07:00
Ritchie Martori 27a632cd1f Merge pull request #340 from strongloop/fix/client-server-example
[2.0] Fix remote method definition in client-server example
2014-06-24 08:14:03 -07:00
Raymond Feng 9eab7d62d3 Merge branch 'master' into 2.0 2014-06-20 23:48:46 -07:00
Raymond Feng b44dac3c62 Merge branch 'master' into 2.0 2014-06-20 23:08:35 -07:00
Raymond Feng ebe65656e5 Merge pull request #342 from strongloop/feature/refactor-relation
Upgrade to loopback-datasource-juggler 1.6
2014-06-20 23:05:34 -07:00
Raymond Feng 0d0a8658e5 Update juggler dep 2014-06-20 21:25:27 -07:00
Raymond Feng 9b5d7417a2 Remove relationNameFor 2014-06-20 21:25:27 -07:00
Raymond Feng 3672c59410 Merge pull request #341 from STRML/fixAccessTokenMutatedOptions
Fix a slowdown caused by mutation of an incoming accessToken option.
2014-06-20 17:36:57 -07:00
Samuel Reed afd8de0c31 Fix a slowdown caused by mutation of an incoming accessToken option. 2014-06-20 16:39:28 -05:00