Commit Graph

299 Commits

Author SHA1 Message Date
Raymond Feng 0f521a1c2d Merge pull request #186 from jeffora/fix-error-handling
Fix #185: Validation failures crash server
2017-03-01 15:20:33 -08:00
Raymond Feng fe3a6771a5 Merge branch 'obernal-max-fields-size-override' 2017-03-01 15:19:56 -08:00
Raymond Feng 4ef64a8d50 Merge branch 'max-fields-size-override' of https://github.com/obernal/loopback-component-storage into obernal-max-fields-size-override
# Conflicts:
#	lib/storage-service.js
2017-03-01 15:19:52 -08:00
Raymond Feng 656fba9d51 Fix eslint 2017-03-01 15:18:26 -08:00
Raymond Feng aab81590ed Merge pull request #182 from ole3021/fix/range-undefined-err
fix scope error
2017-03-01 15:11:28 -08:00
Raymond Feng b6e06dbceb Merge pull request #122 from vergara/fix-user
Added support for external providers as npm modules.
2017-03-01 15:07:28 -08:00
Raymond Feng 4d4e530955 Merge pull request #188 from cfjedimaster/master
look for a nameConflict option and use a uuid if value is makeUnique
2017-03-01 15:04:30 -08:00
Siddhi Pai 4d392e84ad Replicate new issue_template from loopback 2017-02-15 15:28:27 -08:00
Loay cbacece7f3 Merge pull request #194 from strongloop/Fix-finalNewLine
Fix insert of finalNewLine
2017-02-15 11:54:23 -05:00
Loay b6d837ad1a Fix insert of finalNewLine 2017-02-15 11:08:38 -05:00
Siddhi Pai 8a847ea705 Replicate issue_template from loopback repo 2017-02-13 10:26:24 -08:00
Ryan Graham 1769a2a689
3.0.1
* Fix path joining/expanding (Loay)
2017-02-10 15:21:55 -08:00
Loay 39e20e53e5 Merge pull request #189 from strongloop/proper-path
Fix path joining/expanding
2017-02-10 16:35:23 -05:00
Loay c6978261c7 Fix path joining/expanding 2017-02-10 16:26:30 -05:00
Raymond Camden ec959d2c38 fix lint 2017-02-02 09:19:28 -06:00
Raymond Camden 907f83ac3a Support nameConflict and makeUnique options 2017-02-01 13:16:53 -06:00
Miroslav Bajtoš 080f18a985 3.0.0
* Update paid support URL (Siddhi Pai)
 * Start 3.x + drop support for Node v0.10/v0.12 (siddhipai)
 * Drop support for Node v0.10 and v0.12 (Siddhi Pai)
 * Start the development of the next major version (Siddhi Pai)
2016-12-21 12:31:35 +01:00
Jeff Burn 99fdb64d1e Fix #185: Validation failures crash server
Fixes issue where upload and download methods in FileSystemProvider
cause crashes in downstream methods by not returning streams in error
scenarios

- Add streamError, readStreamError, writeStreamError helper function
- Wrap all returns from upload / download methods in streams
- Fix incorrect format string
- Add new unit tests
2016-12-21 09:27:40 +11:00
ole3021 32bf1a90d8 fix scope error 2016-12-07 16:19:11 +08:00
Simon Ho c73dbc43b6 Merge pull request #180 from strongloop/update-support-URL
Replicate .github from loopback repo
2016-12-07 00:01:34 -08:00
Siddhi Pai 3f105d7c7c Update paid support URL 2016-12-06 03:07:04 -08:00
siddhipai e9b6a0ee19 Start 3.x + drop support for Node v0.10/v0.12
Start 3.x + drop support for Node v0.10/v0.12
2016-11-21 13:24:37 -08:00
Siddhi Pai e70ff3c35c Drop support for Node v0.10 and v0.12 2016-11-19 02:17:12 -08:00
Siddhi Pai eb6cb41a62 Start the development of the next major version 2016-11-19 02:16:45 -08:00
Miroslav Bajtoš 1ed7c6cef0 1.10.0
* Continue middleware chain after download error (Miroslav Bajtoš)
 * Clean up "download()" implementation (Miroslav Bajtoš)
 * Return error when no file is uploaded (Loay)
 * Update README with correct doc links, etc (Amir Jafarian)
 * Upgrade loopback to 3.0.0 (Loay)
 * Fix `use strict` (Amir Jafarian)
 * Simplify mocha test in package.json (Amir Jafarian)
 * Fix linting errors (Amir Jafarian)
 * Auto-update by eslint --fix (Amir Jafarian)
 * Add eslint infrastructure (Amir Jafarian)
2016-11-11 16:59:20 +01:00
Miroslav Bajtoš cb87b9cf94 Merge pull request #174 from strongloop/refactor-download
Refactor download
2016-11-11 16:57:48 +01:00
Miroslav Bajtoš 6cb5a294c5 Continue middleware chain after download error
Stop sending constructing the error response directly inside the
storage component and send the error back to the application to handle
it.

As a result:

 - `File.afterRemoteError` hook is trigered now

 - App-provided error handling strategy is used to build error
   responses, e.g. using the production mode of strong-error-handler
   to hide sensitive information.
2016-11-10 15:58:39 -05:00
Miroslav Bajtoš 9997041093 Clean up "download()" implementation
Reduce nesting, remove repetition.
2016-11-10 14:20:38 +01:00
Loay fc3475bf1f Merge pull request #154 from strongloop/fix/empty-form-submission
Return error when no file is uploaded.
2016-11-09 16:14:57 -05:00
Loay f944fa2fd7 Return error when no file is uploaded 2016-11-09 16:01:36 -05:00
Rand McKinney a1c7aa2992 Merge pull request #169 from strongloop/edit_readme
Update README with correct doc links, etc
2016-10-31 15:23:55 -07:00
Amir Jafarian baf3c7966c Update README with correct doc links, etc 2016-10-31 16:58:11 -04:00
Loay e625391cf6 Merge pull request #165 from strongloop/loopback3
Update loopback@3
2016-10-25 09:49:51 -04:00
Loay 0931e9da83 Upgrade loopback to 3.0.0 2016-10-24 11:36:46 -04:00
Amirali Jafarian b6528e184f Merge pull request #166 from strongloop/fix_octal
Fix `use strict`
2016-10-20 16:42:36 -04:00
Amir Jafarian eabf221d12 Fix `use strict`
* Fix `use strict` for `filesystem/index.js`
2016-10-20 16:31:23 -04:00
Amirali Jafarian 447ced6c21 Merge pull request #167 from strongloop/fix_mocha_in_package_json
Simplify mocha test in package.json
2016-10-19 17:24:20 -04:00
Amir Jafarian 756fc0df4f Simplify mocha test in package.json 2016-10-19 14:15:41 -04:00
Amirali Jafarian fed898b1c5 Merge pull request #164 from strongloop/Add_Eslint
Add eslint
2016-10-19 11:57:30 -04:00
Amir Jafarian 4c2751a2a4 Fix linting errors 2016-10-19 11:36:39 -04:00
Amir Jafarian 7900d48126 Auto-update by eslint --fix 2016-10-18 18:06:55 -04:00
Amir Jafarian 7d216859e8 Add eslint infrastructure 2016-10-18 17:45:55 -04:00
Candy 6be7ad8d2e 1.9.2
* Update japanese translation files (Candy)
 * Add keep-alive setting to wrong content type test. (Richard Pringle)
 * Add translated files (gunjpan)
 * Add link to associated blog post. (Richard Pringle)
2016-10-07 12:43:52 -04:00
Candy 72cfb82c07 Merge pull request #159 from strongloop/add_translation2
Update japanese translation files
2016-09-30 12:54:12 -04:00
Candy 612b2b088e Update japanese translation files 2016-09-30 10:56:10 -04:00
Richard Pringle b34801c5ea Merge pull request #161 from strongloop/fix/node0.10-test-case
Add keep-alive setting to wrong content type test.
2016-09-30 10:29:31 -04:00
Richard Pringle 70e420bcbe Add keep-alive setting to wrong content type test. 2016-09-29 15:20:29 -04:00
Candy 4f34d99066 Merge pull request #155 from strongloop/add-translatedFiles
Add translated files.
2016-09-26 13:29:27 -04:00
gunjpan c10371ec1f Add translated files 2016-09-22 15:10:38 -04:00
Jose De Gouveia 4c0a3debb8 Merge branch 'master' into master 2016-09-20 14:26:27 +02:00