Commit Graph

65 Commits

Author SHA1 Message Date
Miroslav Bajtoš 51a699af01 2.18.1
* parse config: should ignore null values (Loïc Mahieu)
2016-04-13 16:16:14 +02:00
Miroslav Bajtoš cc551b0c0f 2.18.0
* Dynamic datasources.json from ENV and config.json (David Cheung)
 * Use eslint with loopback config (Miroslav Bajtoš)
2016-04-07 10:28:22 +02:00
Miroslav Bajtoš 902005ed8e Use eslint with loopback config
Drop jshint and jscs in favour of eslint.
2016-04-05 15:42:58 +02:00
Miroslav Bajtoš 058e0e2f56 2.17.0
* executor: move "booted" and cb() to the next tick (Miroslav Bajtoš)
 * Fix lodash 4.0.0 breaking changes (Jérémie Drouet)
 * When config is overriden with null don't merge (Farid Neshat)
2016-02-23 12:08:30 +01:00
Miroslav Bajtoš a5b888a719 2.16.0
* executor: allow loopback versions >= 3.0.0-alpha (Miroslav Bajtoš)
2015-12-22 10:03:54 +01:00
Miroslav Bajtoš adeece3b30 2.15.0
* Bluemix prefers HOST/PORT over VCAP_APP_XXXX (Sai Vennam)
 * Set app env if it is supplied in options object (Amir Jafarian)
2015-12-04 17:06:10 +01:00
Miroslav Bajtoš 088ca864c2 2.14.2
* executor: preserve RegExps in middleware paths (Miroslav Bajtoš)
2015-11-24 18:53:48 +01:00
Miroslav Bajtoš a023e1f142 2.14.1
* Warn user if missing a config file (Amir Jafarian)
 * Refer to licenses with a link (Sam Roberts)
2015-11-24 14:15:56 +01:00
Miroslav Bajtoš 638368844d 2.14.0
* Support bluemix env variables for host and port (Miroslav Bajtoš)
2015-10-14 11:20:30 +02:00
Miroslav Bajtoš 63589c03ab 2.13.0
* add env folder for boot (yorkie)
 * Use strongloop conventions for licensing (Sam Roberts)
2015-10-01 19:19:10 +02:00
Sam Roberts d1b00ce5d8 Use strongloop conventions for licensing 2015-09-21 16:42:54 -07:00
Miroslav Bajtoš 6ef37ef651 2.12.2
* test: fix strict mode failure (Ryan Graham)
2015-09-09 13:39:21 +02:00
Simon Ho 55c87796cf 2.12.1
* Add config variable checks (Simon Ho)
2015-08-31 23:22:50 -07:00
Miroslav Bajtoš f0aa0f8fdb 2.12.0
* Resolve ${var} values in component-config.json (Hage Yaapa)
 * Resolve ${var} values in middleware.json (Hack Sparrow)
 * Upgrade Travis to container-based infrastructure (Miroslav Bajtoš)
2015-08-28 19:06:22 +02:00
Raymond Feng 674a8da693 2.11.0
* Allow middleware array merge by a key in item objects (Raymond Feng)
2015-08-11 08:33:58 -07:00
Raymond Feng be3997de15 2.10.0
* Enhance middleware config merge (Raymond Feng)
2015-08-10 08:02:30 -07:00
Raymond Feng 952c4101ef 2.9.0
* Fix the build failure (Raymond Feng)

 * Fix the model-config/datasource merge (Raymond Feng)

 * Resolved style issue (Dennis Ashby)

 * Added code to allow model-config to respect model-config.local.js and model-config.env.js as do other config files. (Dennis Ashby)

 * Add jsdoc for `options.mixinSources` (Miroslav Bajtoš)

 * allow middleware to be optional (Hage Yaapa)
2015-08-03 07:47:10 -07:00
Miroslav Bajtoš 0aac03ebb5 2.8.2
* Excl. mod. main path from middleware instructions (Miroslav Bajtoš)
2015-06-24 19:00:42 +02:00
Ritchie Martori 6c33a60bbc 2.8.1
* Add more debug info for config loading (Ritchie Martori)

 * use a new variable for better debug output (Bryan Clark)
2015-06-10 09:56:00 -07:00
Miroslav Bajtoš a06aaba1cb 2.8.0
* Support iisnode using named pipes as PORT value (Jonathan Sheely)

 * support 'mixinsources' option (Pradnya Baviskar)

 * compiler: Simplify verifyModelDefinitions() (Miroslav Bajtoš)

 * Fix coding style issues, add API docs (Miroslav Bajtoš)

 * Extend options arg to support custom model definitions (Shlomi Assaf)

 * add support for mixins  - [mixinDirs]: List of directories to look for files  containing model mixin definition. (Pradnya Baviskar)
2015-05-29 10:37:02 +02:00
Pradnya Baviskar 9bb988713e add support for mixins
- [mixinDirs]: List of directories to look for files
 containing model mixin definition.
2015-04-24 12:42:56 +05:30
Miroslav Bajtoš aed73a9e51 2.7.1
* executor: fix port lookup (Miroslav Bajtoš)

 * Clean up compiler.tryResolveAppPath (Miroslav Bajtoš)

 * Configure Travis CI builds (Miroslav Bajtoš)
2015-04-23 09:32:10 +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
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
Pradnya Baviskar 39d820a657 Use filename as default value for Model name 2015-04-08 14:04:57 +05:30
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š 15eb54ac85 v2.6.4 2015-02-02 18:57:33 +01:00
Miroslav Bajtoš 548dba0c37 v2.6.3 2015-01-13 13:35:32 +01:00
Miroslav Bajtoš d2c70bad3c v2.6.2 2015-01-13 10:34:42 +01:00
Miroslav Bajtoš 8bc526377f v2.6.1 2015-01-12 18:00:57 +01:00
Miroslav Bajtoš 5fd79f0339 v2.6.0 2015-01-08 08:31:26 +01:00
Miroslav Bajtoš 4031f6b985 v2.5.2 2014-12-19 15:21:40 +01:00
Miroslav Bajtoš a90964ab30 v2.5.1 2014-12-08 08:09:33 +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š e81ff119a3 v2.5.0 2014-12-02 18:13:58 +01:00
Miroslav Bajtoš 097fced310 v2.4.0 2014-11-27 19:23:45 +01:00
Miroslav Bajtoš 5b5071864b Add jscs style check, fix violations found 2014-11-13 15:54:59 +01:00
Miroslav Bajtoš e2aff71bf9 Use `chai` instead of `must`
As of 1.10, chai supports nonary assertions, there are no more reasons
for using a different variant.
2014-11-13 15:31:35 +01:00
Raymond Feng f4c7b1ba38 Bump version 2014-11-10 08:57:46 -08:00
Miroslav Bajtoš 84f8a51138 2.3.0 2014-10-27 11:14:19 +01:00
bitmage e936deffe2 support coffee-script models and client code
Load models for any filetypes registered in require.extensions.

 - Server side coffee-script requires a `require('coffee-script/register');`

 - Client side coffee-script requires Coffeeify.
2014-10-24 10:42:30 -07:00
Miroslav Bajtoš 5cea78c6aa 2.2.0 2014-10-22 08:57:44 +02:00
Miroslav Bajtoš c04946073f package: update dependency versions 2014-10-21 09:40:52 +02:00
Miroslav Bajtoš 927bee82f7 Use loopback 2.x in unit tests. 2014-10-21 09:38:25 +02:00
Raymond Feng 68593c8100 Bump version 2014-10-09 12:22:34 -07:00
Raymond Feng e0abff007e Merge pull request #50 from strongloop/feature/support-async-scripts
Add support async scripts
2014-10-09 12:19:21 -07:00
Raymond Feng 94cb4d6342 Add support for async boot scripts 2014-10-09 12:18:36 -07:00
Miroslav Bajtoš ed0880d00f package: Add `jshint` to `devDependencies`
Remove dependency on a globally installed jshint instance
and fix `npm test` on machines without a global jshint.
2014-10-08 12:09:16 +02:00
Miroslav Bajtoš 5471129f79 2.0.0 2014-07-22 19:34:01 +02:00
Miroslav Bajtoš b5989e907e package: update dependency versions 2014-07-22 10:57:44 +02:00