Candy
1c1f2c2e8c
Merge pull request #2407 from strongloop/initialize_glob
...
Add globalization
2016-08-04 16:33:40 -04:00
Candy
b52a7217a9
Add globalization
2016-08-04 15:08:16 -04:00
Janny
de0f51b664
Merge pull request #2577 from strongloop/update-deps
...
Update dependencies to their latest versions
2016-08-04 14:32:37 -04:00
Miroslav Bajtoš
39da31bb5a
test: fix "socket hang up" error in app.test
...
Rework the test to always wait for the client request to finish before
calling the test done.
2016-08-04 15:51:53 +02:00
Miroslav Bajtoš
5d18d41b28
test: increate timeout in Role test
2016-08-04 13:32:47 +02:00
Miroslav Bajtoš
caaa296a82
test: make status test more robust
...
Rework assertions to report helpful messages on failure.
Increase the "elapsed" limit from 100ms to 300ms to support our
slow CI machines.
2016-08-04 11:00:00 +02:00
Miroslav Bajtoš
48205fb2bd
test: fix broken Role tests
...
Rework the test suite to always report errors and correctly signal
when async tests are done.
This should prevent spurious test failures on CI servers that are
difficult to troubleshoot, because the error is reported for different
test case.
2016-08-03 16:17:58 +02:00
Miroslav Bajtoš
7546ee531d
Update dependencies to their latest versions
2016-08-03 16:17:58 +02:00
Miroslav Bajtoš
46435bde0f
Merge pull request #2567 from strongloop/fix/CI-timeout
...
Increase timeout
2016-08-03 16:15:32 +02:00
jannyHou
17a046d7a1
Increase timeout
2016-07-29 14:54:34 -04:00
Candy
389fd85218
Merge pull request #2565 from strongloop/fix/misconfigured-change-replication
...
test: fix change-tracking setup
2016-07-29 11:27:52 -04:00
Miroslav Bajtoš
fd0b6fcb96
test: fix change-tracking setup
...
The remote-connector test has misconfigured the client (remote) model,
where the client model was trying to keep track of changes. That's
redundant because it's up to the server model (attached directly to the
database) to track changes.
This commit fixes that configuration and also cleans up the test code
a little bit to make it easier to distinguish between the remote
(client) model and the server model.
2016-07-29 16:49:29 +02:00
Miroslav Bajtoš
ea21169da0
Merge pull request #2551 from strongloop/fix/global-registry-in-fixtures
...
test: use local registry in test fixtures
2016-07-27 14:59:49 +02:00
Miroslav Bajtoš
98816217c9
test: use local registry in test fixtures
...
Use local registry in test fixtures to prevent collision in globally
shared models.
Fix issues discoverd in auth implementation where the global registry
was used instead of the correct local one.
2016-07-27 10:07:49 +02:00
Rand McKinney
1b55d35542
Update loopback.js
...
Fix doc comment per #2534
2016-07-26 15:52:40 -07:00
Loay
68ed6166d8
Merge pull request #2549 from strongloop/fix/issue580-test
...
Fix test case error
2016-07-26 13:23:41 -04:00
Loay
0fa3327112
Fix test case error
2016-07-26 10:26:44 -04:00
Loay
8f7e032a01
Update user.js
2016-07-25 00:55:55 -04:00
Loay
c22803c3a3
Merge pull request #2492 from strongloop/fix-issue580
...
Fix security issue 580
2016-07-22 22:20:27 -04:00
Loay
b53a22bfb3
Fix security issue 580
2016-07-22 17:48:57 -04:00
Gunjan Pandya
7ed003e973
Merge pull request #2419 from strongloop/remove-legacyExplorer
...
[SEMVER-MAJOR] Remove legacyExplorer
2016-07-14 14:35:38 -04:00
Ryan Graham
7117dbcf12
Update URLs in CONTRIBUTING.md ( #2503 )
2016-07-13 17:45:00 -07:00
gunjpan
1b053d44fe
Remove legacyExplorer
...
- Removes backward compatibility
for legacy end points `/models` & `/routes`
- Removes `legacyExplorer` flag which
enabled these routes
- Update related tests & tests using the
legacyExplorer flag
2016-06-20 16:05:11 -04:00
Candy
2e06ded55f
Merge pull request #2437 from strongloop/remove_rectify_change
...
Remove `rectifyAllChanges` and `rectifyChange`
2016-06-20 14:07:54 -04:00
Candy
3bf9065203
Remove `rectifyAllChanges` and `rectifyChange`
2016-06-20 10:46:16 -04:00
Loay
45e523d66c
Merge pull request #2440 from strongloop/issue414_token2
...
Fix verificationToken bug
2016-06-17 11:12:16 -04:00
Loay
ec51e833b6
Fix verificationToken bug
2016-06-17 10:21:59 -04:00
Loay
03e85b838d
Merge pull request #2446 from strongloop/issue2445
...
update express version
2016-06-17 09:53:15 -04:00
Loay
4a02f97572
update express version
2016-06-17 03:52:37 -04:00
Miroslav Bajtoš
42c83f69a0
Cleanup unit-test added in 1fc51d129
2016-06-14 14:47:41 +02:00
Loay
74aba5f80c
Merge pull request #2411 from strongloop/strongErrorHandler
...
[SEMVER-MAJOR] Remove `loopback#errorHandler` middleware
2016-06-13 16:47:24 -04:00
Loay
1fc51d1296
update errorHandler template
2016-06-13 11:18:09 -04:00
Miroslav Bajtoš
a2e199f025
3.0.0-alpha.2
...
* add missing unit tests for #2108 (Benjamin Kroeger)
* Expose `Replace*` methods (Amir Jafarian)
* Update tests for strong-error-handler (David Cheung)
* Remove legacy express 3.x middleware getters (Miroslav Bajtoš)
* Docuemtation for `replace*` methods (Amir Jafarian)
* Make the doc clear for `findORCreate` cb (Amir Jafarian)
* Fix JSCS unsupported rule error (Jason)
* Remove env.json and strong-pm dir (Ritchie Martori)
* Throw error upon extending unknown model (David Cheung)
* Remove unused UserModel properties (David Cheung)
* Remove Change.handleError (Candy)
* Update user.js (Rik)
* Separate error-checking and next/done logic from other logic in the test suite (Supasate Choochaisri)
* Clean up by removing unnecessary comments (Supasate Choochaisri)
* Add feature to not allow duplicate role name (Supasate Choochaisri)
* update copyright statements (Ryan Graham)
* relicense as MIT only (Ryan Graham)
* Upgrade phantomjs to 2.x (Miroslav Bajtoš)
* app: send port:0 instead of port:undefined (Miroslav Bajtoš)
* travis: drop node@5, add node@6 (Miroslav Bajtoš)
* Disable DEBUG output for eslint on Jenkins CI (Miroslav Bajtoš)
* Remove "loopback.autoAttach()" (Miroslav Bajtoš)
* test/rest.middleware: use local registry (Miroslav Bajtoš)
* Fix role.isOwner to support app-local registry (Miroslav Bajtoš)
* test/user: use local registry (Miroslav Bajtoš)
* Resolver support return promise (juehou)
* remove @private from jsdoc (Manu Phatak)
* Fixes for emit `remoteMethodDisabled` PR (Simon Ho)
* Add new feature to emit a `remoteMethodDisabled` event when disabling a remote method. (Supasate Choochaisri)
* Fix typo in Model.nestRemoting (Tim Needham)
* Update loopback.js (Rand McKinney)
* Allow built-in token middleware to run repeatedly (Benjamin Kröger)
* Use eslint with loopback config (Miroslav Bajtoš)
* promise docs (Jue Hou)
* Update JSDoc (sghung@ca.ibm.com )
* Remove constraint making isStatic required (Candy)
* Fix inconsistencies in JSDoc (sghung@ca.ibm.com )
* Improve error message on connector init error (Miroslav Bajtoš)
* application: correct spelling of "cannont" (Sam Roberts)
* Remove sl-blip from dependency (Candy)
* Use new strong-remoting API (Candy)
* test: remove forgotten console.trace logs (Miroslav Bajtoš)
* Fix race condition in replication tests (Miroslav Bajtoš)
* Fix race condition in error handler test (Miroslav Bajtoš)
* test: remove errant console.log from test (Ryan Graham)
* Promisify Model Change (Jue Hou)
* Travis: drop iojs, add v4.x and v5.x (Miroslav Bajtoš)
* test: use ephemeral port for e2e server (Ryan Graham)
* test: fail on error instead of crash (Ryan Graham)
* ensure app is booted before integration tests (Ryan Graham)
* Remove "loopback.DataModel" (Miroslav Bajtoš)
* Correct JSDoc findOrCreate() callback in PersistedModel (Chris Coggburn)
* Fix typo in package.json (publishConfig) (Miroslav Bajtoš)
* Start development of 3.0 (Candy)
* Hide verificationToken (Samuel Gaus)
* Fix description for User.prototype.hasPassword (Jue Hou)
* Checkpoint speedup (Amir Jafarian)
* Always use bluebird as promise library Replace `global.Promise` with `bluebird` (Jue Hou)
* Remove unused code from loopback-testing-helper (Simon Ho)
* Make juggler a regular dependency (Miroslav Bajtoš)
* Remove dependency on loopback-testing (Simon Ho)
* Fix failing tests (Simon Ho)
* Update persisted-model.js (Rand McKinney)
* Update persisted-model.js (linguofeng)
2016-06-13 17:04:46 +02:00
Miroslav Bajtoš
103935cef7
Merge pull request #2227 from benkroeger/hotfix/issue-2226
...
add missing unit tests for #2108
Close #2227
2016-06-13 15:29:26 +02:00
Benjamin Kroeger
83b5d72073
add missing unit tests for #2108
...
subsequent token middleware tries to read `token.id` when `enableDoublecheck: true`. That caused a "Cannot read property `id` of `null`" error when the first middleware didn't actually find a valid accessToken.
2016-06-13 15:27:59 +02:00
Amir-61
6bbe7be266
Merge pull request #2316 from strongloop/expose_replace_methods
...
Expose `Replace*` methods
2016-06-13 09:17:02 -04:00
Amir Jafarian
6502309e34
Expose `Replace*` methods
...
*Re-mapping `updateAttributes` endpoint to use
`PATCH` and `PUT`(configurable) verb
*Exposing `replaceById` and `replaceOrCreate` via
`POST` and `PUT`(configurable) verb
2016-06-10 14:56:44 -04:00
David Cheung
ed45358be8
Merge pull request #2375 from strongloop/fix-remoting-strongerrorhandler
...
[SEMVER-MAJOR] Fix remoting strong-error-handler
2016-06-07 17:36:47 -04:00
David Cheung
ddb5327e64
Update tests for strong-error-handler
...
Fix rest-adapter related test case switching to strong-error-handler
Only affect the test-cases calling rest methods
2016-06-07 13:26:18 -04:00
Miroslav Bajtoš
276fb5bf69
Merge pull request #2394 from strongloop/remove-express-middleware
...
[SEMVER-MAJOR] Remove legacy express 3.x middleware getters
2016-06-01 08:33:39 +02:00
Miroslav Bajtoš
8d295b70f6
Remove legacy express 3.x middleware getters
...
Remove middleware-getter properties that were simlifying upgrade from
LoopBack 1.x/Express 3.x applications:
- loopback.compress
- loopback.timeout
- loopback.cookieParser
- loopback.cookieSession
- loopback.csrf
- loopback.errorHandler
- loopback.session
- loopback.methodOverride
- loopback.logger
- loopback.responseTime
- loopback.favicon
- loopback.directory
- loopback.vhost
Also remove `loopback.mime`, which was set to `undefined` anyways.
2016-05-31 18:59:21 +02:00
Rand McKinney
70cec0755a
Merge pull request #2360 from strongloop/doc/replace
...
Docuemtation for `replace*` methods
2016-05-20 14:07:25 -07:00
Amir Jafarian
eb8f398c6a
Docuemtation for `replace*` methods
2016-05-20 16:29:25 -04:00
Amir-61
a9628b9f63
Merge pull request #2349 from strongloop/findORCreate_doc
...
Make the doc clear for `findORCreate` cb
2016-05-17 18:03:26 -04:00
Amir Jafarian
5c3d021fe7
Make the doc clear for `findORCreate` cb
2016-05-17 17:50:13 -04:00
Miroslav Bajtoš
4fd1d2bcd4
Merge pull request #2327 from strongloop/fix/extra-strong-pm-file
...
Remove env.json and strong-pm dir
2016-05-13 13:44:09 +02:00
Simon Ho
9ec52ec415
Merge pull request #2336 from jasonwoan/fix/jscs-validatejsdoc-error
...
Fix JSCS unsupported rule error
2016-05-12 16:52:37 -07:00
Jason
31158f0427
Fix JSCS unsupported rule error
...
Replace 'validateJSDoc' rule with 'jsDoc'. 'validateJSDoc' was
deprecated in v1.7.0.
In related news, JSCS was recently deprecated in favor of ESlint
so .jscrc can be removed once features have been rolled over.
2016-05-11 23:06:22 -07:00
David Cheung
aa47f79ca6
Merge pull request #2301 from strongloop/error-extend-unknown-model
...
Throw descriptive error upon extending unknown model
2016-05-11 10:39:21 -04:00
Ritchie Martori
09da46a34d
Remove env.json and strong-pm dir
2016-05-10 15:23:38 -07:00