Pradnya Baviskar
872889423a
Fix test for different line endings on Windows
2015-03-05 09:53:28 +05:30
Miroslav Bajtoš
464c389af9
Merge pull request #99 from strongloop/fix/booting-flag-unit-test
...
Refactor unit test assertions to be more specific
2015-02-24 15:01:37 +01:00
Simon Ho
276391811a
Refactor unit test assertions to be more specific
...
- Change `process.bootingFlagSet` assertion from `ok()` to `true()`
- Change `app.booting` assertion from `not.be.ok()` to `false()`
2015-02-23 13:10:12 -08:00
Miroslav Bajtoš
d041d80933
Merge pull request #97 from strongloop/feature/unit-test-booting-flag
...
Add unit test to check `app.booting` flag
2015-02-23 18:01:52 +01:00
Simon Ho
e89a60c45c
Add unit test to verify `app.booting flag status
...
- Ensure `app.booting` is initially `undefined`
- Ensure `app.booting` is set to true during boot execution
- Ensure `app.booting` is set to false upon boot completion
2015-02-20 13:51:53 -08:00
Miroslav Bajtoš
ce58b7d65e
2.6.5
...
* Save instructions.json in root dir Saving in node_modules dir causes complaints and missing files fixes https://github.com/strongloop/loopback-boot/issues/94 (Berkeley Martinez)
2015-02-20 12:40:00 +01:00
Miroslav Bajtoš
9b407b1ada
Merge pull request #95 from r3dm/fix/save-instruct-in-root
...
Save instructions.json in root dir
2015-02-20 12:39:31 +01:00
Berkeley Martinez
d8bf8687a8
Save instructions.json in root dir
...
Saving in node_modules dir causes complaints and missing files
fixes https://github.com/strongloop/loopback-boot/issues/94
2015-02-19 13:38:13 -08:00
Miroslav Bajtoš
af1d0dcccb
Merge tag 'v2.6.4'
...
2.6.4
* executor: pass correct `this` to middleware (Clark Wang)
* Fix broken links (Rand McKinney)
2015-02-02 18:57:44 +01:00
Miroslav Bajtoš
a03e881f0a
Merge branch 'release/2.6.4' into production
2015-02-02 18:57:38 +01:00
Miroslav Bajtoš
15eb54ac85
v2.6.4
2015-02-02 18:57:33 +01:00
Miroslav Bajtoš
9dde8b0adf
Merge pull request #92 from clarkorz/fix/passport
...
Fix "can't config passport#initialize in middleware.json"
Close #92
2015-02-02 18:56:18 +01:00
Clark Wang
6424534831
executor: pass correct `this` to middleware
...
Fix the bug "can't configure passport#initialize in middleware.json"
2015-02-02 18:54:22 +01:00
Rand McKinney
215abf9d30
Fix broken links
2015-01-29 12:17:24 -08:00
Miroslav Bajtoš
77b83ce3fd
Merge tag 'v2.6.3'
...
2.6.3
* Don't swallow error when a sub-dependency doesn't resolve. (Samuel Reed)
* Fix "incompatible loopback version" check & msg (Miroslav Bajtoš)
* Add "booting" flag and emit "booted" event (Simon Ho)
* Configure components via `component-config.json` (Miroslav Bajtoš)
* Fix bad CLA URL in CONTRIBUTING.md (Ryan Graham)
* Dedupe boot scripts (Eric Satterwhite)
* Replace underscore with lodash (Ryan Graham)
* compiler: resolve paths in middleware params (Miroslav Bajtoš)
* Implement shorthand notation for middleware paths (Raymond Feng)
* Load middleware and phases from `middleware.json` (Miroslav Bajtoš)
* Add jscs style check, fix violations found (Miroslav Bajtoš)
* Clean up .jshintrc (Miroslav Bajtoš)
* Use `chai` instead of `must` (Miroslav Bajtoš)
* Bump version (Raymond Feng)
* Fix the test for built-in models on Windows (Raymond Feng)
* Fix jsdoc (Raymond Feng)
* compiler: fix coding style violations (Miroslav Bajtoš)
* support coffee-script models and client code (bitmage)
* compiler: support module-relative model sources (Miroslav Bajtoš)
* Skip definitions of built-in loopback models (Miroslav Bajtoš)
* package: update dependency versions (Miroslav Bajtoš)
* Use loopback 2.x in unit tests. (Miroslav Bajtoš)
* Add support for async boot scripts (Raymond Feng)
* Clean up jsdoc comments. (Miroslav Bajtoš)
* Custom rootDir for app config (johnsoftek)
* compiler: improve merging of Arrays and Objects (Miroslav Bajtoš)
* config-loader: deeply merge Array and Object vals (Shelby Sanders)
* gitignore: add Idea's *.iml files (Miroslav Bajtoš)
* package: Add `jshint` to `devDependencies` (Miroslav Bajtoš)
* Update contribution guidelines (Ryan Graham)
* test: ensure sandbox dir is present (Miroslav Bajtoš)
* test: add `global.navigator` for browser tests (Miroslav Bajtoš)
* test: increase timeout for browserify (Miroslav Bajtoš)
* index: fix jshint error (Miroslav Bajtoš)
* documentation fix (Alex)
* Fix typo (Fabien Franzen)
* Implemented modelSources, bootDirs and bootScripts options (Fabien Franzen)
* executor: remove `Base` arg from model function (Miroslav Bajtoš)
* v2.0.0-beta3 (Miroslav Bajtoš)
* compiler: return a clone of instructions (Miroslav Bajtoš)
* test: export Int32Array and DataView for browser (Miroslav Bajtoš)
* v2.0.0-beta2 (Miroslav Bajtoš)
* Rename `models.json` to `model-config.json` (Miroslav Bajtoš)
* Remove non-API docs. (Rand McKinney)
* 2.0.0-beta1 (Miroslav Bajtoš)
* test: fix jshint warnings (Miroslav Bajtoš)
* compiler: fix references to loopback (Miroslav Bajtoš)
* Rename `app.json` to `config.json` (Miroslav Bajtoš)
* compiler: Sort models topologically (Miroslav Bajtoš)
* executor: Split model boot into two phases (Miroslav Bajtoš)
* compiler: Move model-sources cfg to models.json (Miroslav Bajtoš)
* package: Bump up the version to 2.0.0-dev (Miroslav Bajtoš)
* Rework model configuration (Miroslav Bajtoš)
* Remove auto-attach. (Miroslav Bajtoš)
* Change models.json to configure existing models (Miroslav Bajtoš)
2015-01-13 13:35:36 +01:00
Miroslav Bajtoš
4f9f112d80
Merge branch 'release/2.6.3' into production
2015-01-13 13:35:34 +01:00
Miroslav Bajtoš
548dba0c37
v2.6.3
2015-01-13 13:35:32 +01:00
Miroslav Bajtoš
a935669d9c
Merge tag 'v2.6.2'
...
2.6.2
* Don't swallow error when a sub-dependency doesn't resolve. (Samuel Reed)
2015-01-13 10:34:46 +01:00
Miroslav Bajtoš
bb98472965
Merge branch 'release/2.6.2' into production
2015-01-13 10:34:44 +01:00
Miroslav Bajtoš
d2c70bad3c
v2.6.2
2015-01-13 10:34:42 +01:00
Miroslav Bajtoš
2a1f07aad9
Merge pull request #88 from STRML/master
...
Don't swallow error when a sub-dependency doesn't resolve.
2015-01-13 10:34:29 +01:00
Samuel Reed
30a7b6d9b8
Don't swallow error when a sub-dependency doesn't resolve.
...
This prevents an occurence where an error is completely swallowed if a script
required by loopback-boot has a bad require() call. The script is never ran
but execution continues.
2015-01-13 10:23:54 +01:00
Miroslav Bajtoš
fbf1e95e29
Merge tag 'v2.6.1'
...
2.6.1
* Fix "incompatible loopback version" check & msg (Miroslav Bajtoš)
2015-01-12 18:01:01 +01:00
Miroslav Bajtoš
ab33132ef7
Merge branch 'release/2.6.1' into production
2015-01-12 18:00:59 +01:00
Miroslav Bajtoš
8bc526377f
v2.6.1
2015-01-12 18:00:57 +01:00
Miroslav Bajtoš
146a3183eb
Merge pull request #89 from strongloop/fix/version-error-message
...
Fix "incompatible loopback version" check & msg
2015-01-12 17:55:11 +01:00
Miroslav Bajtoš
4f8514a454
Fix "incompatible loopback version" check & msg
...
Use `util.format` to build the error message, `Error` constructors
does not support placeholders like `%s`.
Detect pre-release versions and handle them in the same way as regular
releases.
2015-01-12 16:00:06 +01:00
Miroslav Bajtoš
30ff50c581
Merge tag 'v2.6.0'
...
2.6.0
* Add "booting" flag and emit "booted" event (Simon Ho)
* Configure components via `component-config.json` (Miroslav Bajtoš)
* Fix bad CLA URL in CONTRIBUTING.md (Ryan Graham)
2015-01-08 08:31:30 +01:00
Miroslav Bajtoš
33b3729b62
Merge branch 'release/2.6.0' into production
2015-01-08 08:31:28 +01:00
Miroslav Bajtoš
5fd79f0339
v2.6.0
2015-01-08 08:31:26 +01:00
Miroslav Bajtoš
c47bde9281
Merge pull request #77 from strongloop/feature/add-boot-completion-check
...
Add "booting" flag and emit "booted" event
2015-01-07 16:41:29 +01:00
Miroslav Bajtoš
8aa7156d3b
Merge pull request #86 from strongloop/feature/load-component
...
Configure components via `component-config.json`
2015-01-07 08:28:29 +01:00
Simon Ho
1f7d8e56e8
Add "booting" flag and emit "booted" event
2015-01-06 21:27:32 -08:00
Miroslav Bajtoš
f8247be23c
Configure components via `component-config.json`
...
Load configuration of components from `component-config`
and configure all components as specified.
Sample JSON:
{
"loopback-component-foobar": {
"option1": "value1",
"option2": "value2"
}
}
The component is expected to export the following function:
module.exports = function(app, options) { /* ... */ };
2015-01-06 14:00:26 +01:00
Ryan Graham
1ef2616979
Fix bad CLA URL in CONTRIBUTING.md
2014-12-29 08:27:45 -08:00
Miroslav Bajtoš
c4473951a0
Merge tag 'v2.5.2'
...
2.5.2
* Dedupe boot scripts (Eric Satterwhite)
2014-12-19 15:21:44 +01:00
Miroslav Bajtoš
6a442f8307
Merge branch 'release/2.5.2' into production
2014-12-19 15:21:42 +01:00
Miroslav Bajtoš
4031f6b985
v2.5.2
2014-12-19 15:21:40 +01:00
Miroslav Bajtoš
8a3e529ea3
Merge pull request #72 from esatterwhite/lb-64-multiple-invocation-same-boot-script
...
Ensure to dedupe boot scripts array before running.
Closes #72
Fixes #64
2014-12-19 15:18:58 +01:00
Eric Satterwhite
301031b78f
Dedupe boot scripts
...
Remove duplicated entries in the array of boot scripts to run.
Because the bootDirs defaults to process.cwd(), if the user manually
includes scripts in the same directory, without specifying a bootDir,
those scripts will be included multiple times.
2014-12-19 15:18:37 +01:00
Miroslav Bajtoš
beb4f8c34c
Merge tag 'v2.5.1'
...
2.5.1
* Replace underscore with lodash (Ryan Graham)
2014-12-08 08:09:36 +01:00
Miroslav Bajtoš
4f65067348
Merge branch 'release/2.5.1' into production
2014-12-08 08:09:35 +01:00
Miroslav Bajtoš
a90964ab30
v2.5.1
2014-12-08 08:09:33 +01:00
Miroslav Bajtoš
4b9e13bfc6
Merge pull request #76 from strongloop/feature/remove-underscore
...
Replace underscore with lodash
2014-12-03 19:15:00 +01:00
Ryan Graham
e1f7c592a1
Replace underscore with lodash
...
Replace 2 uses of underscore and 1 use of a lodash submodule with full
lodash module.
2014-12-02 22:10:52 -08:00
Miroslav Bajtoš
8da44e69dd
Merge tag 'v2.5.0'
...
2.5.0
* compiler: resolve paths in middleware params (Miroslav Bajtoš)
2014-12-02 18:14:04 +01:00
Miroslav Bajtoš
77ded6edfe
Merge branch 'release/2.5.0' into production
2014-12-02 18:14:00 +01:00
Miroslav Bajtoš
e81ff119a3
v2.5.0
2014-12-02 18:13:58 +01:00
Miroslav Bajtoš
3dfa3bcb13
Merge pull request #74 from strongloop/feature/relative-paths-in-middleware-params
...
compiler: resolve paths in middleware params
2014-12-01 20:18:21 +01:00
Miroslav Bajtoš
8cc2518cb0
compiler: resolve paths in middleware params
...
Introduce a convention for specifying relative paths in middleware
params: values prefixed with `$!` and starting with `./` or `../`
are resolved relatively to `middleware.json`.
Example:
{
"files": {
"loopback#static": {
"params": "$!../client"
},
"loopback#static": {
"params": "$!./public"
}
}
}
2014-11-28 12:17:27 +01:00