Miroslav Bajtoš
c9f377a4c9
Merge pull request #107 from PradnyaBaviskar/lb-boot-issue-73
...
Resolve module paths as relative to appRootDir
2015-03-16 10:21:51 +01:00
Pradnya Baviskar
4913b3ffb9
Resolve module paths as relative to appRootDir
2015-03-16 14:43:37 +05:30
Miroslav Bajtoš
cb7ca7d9ad
Merge pull request #104 from PradnyaBaviskar/lb-explorer-issue-65
...
Resolve relative paths in bootScripts using appRootDir
2015-03-11 08:43:39 +01:00
Pradnya Baviskar
6e6eaccadd
Resolve relative paths in using appRootDir
2015-03-11 11:07:28 +05:30
Miroslav Bajtoš
df81d5487c
Merge pull request #103 from PradnyaBaviskar/lb-explorer-issue-51
...
Add feature to disable component
2015-03-10 11:18:46 +01:00
Pradnya Baviskar
2c4b6f06a4
Add feature to disable component
2015-03-10 15:03:20 +05:30
Miroslav Bajtoš
bfcd3ff15e
Merge pull request #102 from PradnyaBaviskar/fix-test-for-windows
...
Fix test for different line endings on Windows
2015-03-05 08:04:36 +01:00
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