Allen Boone
4f91a4f78e
Update Italian translated strings Q2 2017
2017-06-23 16:16:16 -04:00
Allen Boone
b607f969b8
Update translated strings Q2 2017
2017-06-22 10:23:58 -04:00
Miroslav Bajtoš
e5224368d4
2.24.1
...
* add support for absolute middleware paths on win32 (Benjamin Kroeger)
2017-06-07 14:08:51 +02:00
Miroslav Bajtoš
b076286235
Merge pull request #233 from benkroeger/2.x
...
adds support for absolute middleware paths on win32
2017-06-07 14:07:52 +02:00
Miroslav Bajtoš
7f14a24ed2
2.24.0
...
* Provide options.scriptExtensions (Supasate Choochaisri)
* Fix browser tests on Node.js 0.10 (Miroslav Bajtoš)
2017-04-03 15:14:51 +02:00
Miroslav Bajtoš
440a75d6f5
Merge pull request #242 from supasate/2.x
...
Provide options.scriptExtensions for 2.x
2017-04-03 15:13:49 +02:00
Supasate Choochaisri
95e5201255
Provide options.scriptExtensions
2017-04-01 02:10:31 +07:00
Miroslav Bajtoš
cda21ea481
Merge pull request #244 from strongloop/fix/node-0.10-ci
...
Fix browser tests on Node.js 0.10
2017-03-24 12:22:09 +01:00
Miroslav Bajtoš
67c4f1e1a3
Fix browser tests on Node.js 0.10
2017-03-24 12:04:25 +01:00
Benjamin Kroeger
49016b4e66
add support for absolute middleware paths on win32
...
uses simple regex check to test if a path matches NTFS notation
2016-11-29 11:03:09 +01:00
Miroslav Bajtoš
9cb3d0648b
2.23.0
...
* Fix resolution of middleware modules (Miroslav Bajtoš)
* Normalize line endings to support both LF and CRLF (Miroslav Bajtoš)
2016-10-13 10:15:17 +02:00
David Cheung
d9e744a6a7
Merge pull request #222 from strongloop/fix/middleware-outside-node-modules-2x
...
Fix resolution of middleware modules [2.x]
2016-10-12 14:20:47 -04:00
Miroslav Bajtoš
d2d9e8789e
Fix resolution of middleware modules
...
Fix the code loading "loopback#errorhandler" (for example) to correctly
look up the "loopback" module in node_modules of the bootstrapped
application, instead of looking it up in node_modules of loopback-boot.
2016-10-12 14:38:37 +02:00
Miroslav Bajtoš
eeea74e0f7
Merge pull request #217 from strongloop/fix-ci-windows
...
Normalize line endings to support both LF and CRLF [2.x]
2016-09-23 15:55:29 +02:00
Miroslav Bajtoš
efea20feb5
Normalize line endings to support both LF and CRLF
...
This should fix build failures on Windows caused by line-ending
mismatch.
2016-09-23 12:42:56 +02:00
Miroslav Bajtoš
d2c55e79c5
2.22.0
...
* Replace fs.existsSync calls with fs.statSync (Joshua Estrin Skrzypek)
* Change test cases port to be dynamic (David Cheung)
* Globalization for Loopback-boot (David Cheung)
2016-09-05 14:55:34 +02:00
Miroslav Bajtoš
53112957d9
Merge pull request #204 from jskrzypek/replace-exists-sync
...
Replace fs.existsSync calls with wrapped fs.statSync
Close #204
2016-09-05 14:45:20 +02:00
Joshua Estrin Skrzypek
09c3f8365b
Replace fs.existsSync calls with fs.statSync
2016-09-05 14:29:51 +02:00
David Cheung
e68502a4f5
Merge pull request #205 from strongloop/indepdent-port
...
Change test cases port to be dynamic
2016-08-16 16:41:52 -04:00
David Cheung
dcc575f90b
Change test cases port to be dynamic
...
To avoid port collision when running in Jenkins
2016-08-16 14:37:28 -04:00
David Cheung
13a049412a
Merge pull request #200 from strongloop/globalize-2.x
...
Globalize Loopback-boot
2016-08-05 16:24:57 -04:00
David Cheung
1121721afe
Globalization for Loopback-boot
2016-08-05 14:31:48 -04:00
Miroslav Bajtoš
8fb9f751cd
2.21.0
...
* Configurable dir for components and middleware (Doped Dude)
* test: fix security warning (Miroslav Bajtoš)
2016-07-27 16:14:22 +02:00
Miroslav Bajtoš
1382e8af2f
Merge pull request #171 from dopeddude/component-and-middleware-rootpath-configuration
...
Configurable directory for components and middleware
Close #171
2016-07-27 16:12:41 +02:00
Doped Dude
129938bacd
Configurable dir for components and middleware
...
Add two new options `middlewareRootDir` and `componentRootDir`
allowing users to load middleware and/or components from a custom
place
2016-07-27 16:09:46 +02:00
Miroslav Bajtoš
eb49c7a386
Merge pull request #195 from strongloop/fix/crypto-warning-in-tests
...
test: fix security warning
2016-07-19 15:40:06 +02:00
Miroslav Bajtoš
9b23e71501
2.20.0
...
* Update URLs in CONTRIBUTING.md (#198 ) (Ryan Graham)
* travis: drop io.js, add Node v4 and v6 (Miroslav Bajtoš)
* Stop caching config files (Miroslav Bajtoš)
2016-07-14 13:54:35 +02:00
Ryan Graham
ce7fe3fb07
Update URLs in CONTRIBUTING.md ( #198 )
2016-07-13 17:42:46 -07:00
Miroslav Bajtoš
c2484a6265
Merge pull request #194 from strongloop/fix/require-cache
...
Stop caching config files
2016-07-13 16:37:49 +02:00
Miroslav Bajtoš
296c38568c
Merge pull request #196 from strongloop/fix/travis
...
travis: drop io.js, add Node v4 and v6
2016-07-01 16:22:10 +02:00
Miroslav Bajtoš
24571328a8
travis: drop io.js, add Node v4 and v6
2016-07-01 16:03:42 +02:00
Miroslav Bajtoš
5f5e86e47f
test: fix security warning
...
Add a simple implementation of getRandomValues to the browser context
to get rid of the following warning:
[SECURITY] node-uuid: crypto not usable, falling back to insecure
Math.random()
2016-07-01 16:01:58 +02:00
Miroslav Bajtoš
7b226b212e
Stop caching config files
2016-07-01 15:38:25 +02:00
Miroslav Bajtoš
58d9322190
2.19.0
...
* update copyright notices and license (Ryan Graham)
* Add flag var lazyConnect to ds config (juehou)
2016-06-20 17:11:43 +02:00
Ryan Graham
5eaa909006
update copyright notices and license
2016-05-05 21:52:36 -07:00
Janny
defe5f4bb8
Merge pull request #185 from strongloop/feature/lazy-connect
...
Add flag var lazyConnect to ds config
2016-05-05 18:18:22 -04:00
juehou
d334425ada
Add flag var lazyConnect to ds config
2016-05-05 17:33:16 -04:00
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š
47974fd1d2
Merge pull request #183 from LoicMahieu/fix/182
...
parse config: should ignore null values
2016-04-13 16:15:52 +02:00
Loïc Mahieu
1d2649eee7
parse config: should ignore null values
...
Fix #182
2016-04-13 11:26:24 +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š
707214cac4
Merge pull request #177 from strongloop/dynamic-config
...
Dynamic datasources.json from ENV and config.json
2016-04-07 10:26:41 +02:00
David Cheung
4a815deb27
Dynamic datasources.json from ENV and config.json
...
Let environment variables override configuration set by config.json
and/or app.set()
Behavior changes
- datasources.json now support dynamic configuration through
env-vars and config.json
- component-config.json will first consider env-var
for resolving dynamic conf, then fallback to config.json
- middleware.json will first consider env-var for resolving
dynamic conf, then fallback to config.json
- for all the dynamic confg, unresolved conf will return as `undefined`
Example:
Consider the following server/datasources.json
```
{
"mysql" : {
"name" : "mysql_db",
"host" : "${MYSQL_DB_HOST}",
...
}
}
```
Now you can provide the parameter through
an environment variable:
```
$ MYSQL_DB_HOST=127.0.0.1 node .
```
or you can set the value in server/config.json
```
{
"MYSQL_DB_HOST": "127.0.0.1"
}
```
2016-04-06 10:30:23 -04:00
Miroslav Bajtoš
b3e5f23865
Merge pull request #178 from strongloop/feature/eslint
...
Use eslint with loopback config
2016-04-05 15:55:58 +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š
90b9211fff
Merge pull request #174 from strongloop/fix/booted-event-asynchrony
...
executor: move "booted" and cb() to the next tick
2016-02-23 12:07:42 +01:00
Miroslav Bajtoš
b0e5a0bc63
executor: move "booted" and cb() to the next tick
...
Fix executor to always emit the "booted" event and call the callback
in the next tick of the event loop, regardless of whether there are any
async boot scripts.
Before this change, adding a listener for "booted" event was cumbersome:
boot(app);
if (app.booting)
app.on('booted', handler);
else
handler();
With the fix in place, one can simply write the following:
boot(app);
app.on('booted', handler);
2016-02-22 11:01:06 +01:00
Miroslav Bajtoš
e9afcaac70
Merge pull request #168 from alFReD-NSH/null-config
...
When config is overriden with null don't merge
2016-02-01 13:42:06 +01:00
Simon Ho
2e3b37a4f8
Merge pull request #169 from jdrouet/lodash-breaking-change
...
Fix lodash 4.0.0 breaking changes
2016-01-18 13:28:28 -08:00