Miroslav Bajtoš
e3763ac28e
Merge pull request #121 from strongloop/enable-travis
...
Configure Travis CI builds
2015-04-17 09:14:11 +02:00
Miroslav Bajtoš
f9d74f2c5e
Configure Travis CI builds
2015-04-17 09:12:45 +02:00
Miroslav Bajtoš
6c0c8b9f8b
2.7.0
...
* Upgrade lodash and drop underscore.string (Bryan Clark)
* add console.error message to a bad require in a boot script (Bryan Clark)
* Support per-application registry of models (Miroslav Bajtoš)
* Use filename as default value for Model name (Pradnya Baviskar)
* compiler: code cleanup (Miroslav Bajtoš)
* Improve the resolution of relative paths - resolve module relative path for component - prioritize coffeescript over json (Pradnya Baviskar)
* Resolve module paths as relative to appRootDir - for middleware (Pradnya Baviskar)
* Support for multiple apps in browserified bundle. (Krishna Raman)
* Resolve missing file extension for module relative paths (Pradnya Baviskar)
* Resolve module paths as relative to appRootDir (Pradnya Baviskar)
* Resolve relative paths in using appRootDir (Pradnya Baviskar)
* Add feature to disable component (Pradnya Baviskar)
* Fix test for different line endings on Windows (Pradnya Baviskar)
* Refactor unit test assertions to be more specific (Simon Ho)
* Add unit test to verify `app.booting flag status (Simon Ho)
2015-04-15 17:43:43 +02:00
Miroslav Bajtoš
d9c0f12a66
Merge pull request #119 from clarkbw/lodash
...
upgrade lodash and drop underscore.string
Close #119
2015-04-15 17:40:32 +02:00
Bryan Clark
044a4df07a
Upgrade lodash and drop underscore.string
...
Update to the latest version of "lodash" to use the string functions
included and drop the usage of "underscore.string".
Existing tests run checks for `flying-car` definitions to be named
`FlyingCar` so there doesn’t seem to be a need to add more checks.
`isFinite` changed from the older version of lodash to no longer coerce
strings into numbers, this commit adds a call of `parseInt` before
checking whether the value is a finite number.
`parseInt` on an undefined returns NaN which isFinite does not identify
as a number.
While changing this part, the code was reworked to use `Number.isFinite`
and thus the executor no longer depends on lodash. This should reduce
the size of the browser bundle.
2015-04-15 17:40:14 +02:00
Miroslav Bajtoš
80831cdaaf
Merge pull request #115 from clarkbw/bad-require
...
add console.error message to a bad require in a boot script
2015-04-14 19:02:06 +02:00
Bryan Clark
1d8bd15a77
add console.error message to a bad require in a boot script
...
This change produces the following error message in the tests:
`Failed loading boot script badScript.js`
`Cannot find module 'doesnt-exist’`
2015-04-14 09:09:18 -07:00
Miroslav Bajtoš
2e9f001100
Merge pull request #112 from strongloop/feature/app-registries
...
Support per-application registry of models
2015-04-14 08:22:02 +02:00
Miroslav Bajtoš
acf1868ba4
Support per-application registry of models
2015-04-09 17:56:56 +02:00
Miroslav Bajtoš
1b9f137062
Merge pull request #118 from PradnyaBaviskar/lb-boot-issue-42
...
Use filename as default value for Model name
2015-04-08 10:50:03 +02:00
Pradnya Baviskar
39d820a657
Use filename as default value for Model name
2015-04-08 14:04:57 +05:30
Miroslav Bajtoš
ade8605618
Merge pull request #117 from strongloop/fix/compiler-code-cleanup
...
compiler: code cleanup
2015-04-07 12:38:24 +02:00
Miroslav Bajtoš
6526ffeb3d
compiler: code cleanup
...
Refactor and simplify the internal method tryResolveAppPath.
Fix a bug in the resolver of middleware paths which was discovered
by the refactoring.
2015-04-07 10:42:49 +02:00
Miroslav Bajtoš
626200a098
Merge pull request #114 from PradnyaBaviskar/lb-boot-issue-73-5
...
Resolve module paths as relative to appRootDir - for component
2015-04-07 10:13:09 +02:00
Pradnya Baviskar
07d276977a
Improve the resolution of relative paths
...
- resolve module relative path for component
- prioritize coffeescript over json
2015-04-07 13:38:57 +05:30
Miroslav Bajtoš
d7c67c803a
Merge pull request #113 from PradnyaBaviskar/lb-boot-issue-73-4
...
Resolve module paths as relative to appRootDir - for middleware
2015-03-20 16:32:24 +01:00
Pradnya Baviskar
3a7b9739d9
Resolve module paths as relative to appRootDir - for middleware
2015-03-20 18:32:45 +05:30
Krishna Raman
416738b679
Merge pull request #106 from strongloop/feature/multi-app-browserify-support
...
Support for multiple apps in browserified bundle.
2015-03-19 10:13:19 -07:00
Krishna Raman
311b892a0f
Support for multiple apps in browserified bundle.
2015-03-19 09:57:32 -07:00
Miroslav Bajtoš
61798455f8
Merge pull request #109 from PradnyaBaviskar/lb-boot-issue-73-2
...
Resolve missing file extension for module relative paths
2015-03-18 07:32:33 +01:00
Pradnya Baviskar
187a105333
Resolve missing file extension for module relative paths
2015-03-17 11:42:04 +05:30
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