Commit Graph

255 Commits

Author SHA1 Message Date
Miguel González Aravena 0c48e20d88 Fix test error 2018-01-06 22:44:57 -03:00
Miguel González Aravena 908d137a04 Explain new functionality in README 2018-01-06 22:44:37 -03:00
Miguel González Aravena 9ebfdcbdc2 Verify if dataSources.json exist 2018-01-06 22:44:09 -03:00
Miguel González Aravena 9597144422 Verify Container's name is a string 2018-01-06 22:43:43 -03:00
Miguel González Aravena 628be51429 Update dependencies 2018-01-06 22:43:23 -03:00
Miguel González Aravena 7b6df190a9 Update README 2018-01-06 22:43:04 -03:00
Allen Boone 2fb5d85a06 Update translated strings Q3 2017 2018-01-06 22:43:04 -03:00
Diana Lau 7beac34300 Add CODEOWNER file 2018-01-06 22:43:04 -03:00
Diana Lau a48d36ba49 update messages.json 2018-01-06 22:43:04 -03:00
Diana Lau ba9fc3aeb1 add .travis.yml 2018-01-06 22:43:04 -03:00
Raymond Feng 807fdc6308 3.2.0
* Update deps (Raymond Feng)
2018-01-06 22:43:04 -03:00
Raymond Feng 990649b607 Update deps 2018-01-06 22:42:59 -03:00
Raymond Feng 7b60e6553a 3.1.0
* Fix eslint (Raymond Feng)
 * Replicate new issue_template from loopback (Siddhi Pai)
 * Fix insert of finalNewLine (Loay)
 * Replicate issue_template from loopback repo (Siddhi Pai)
 * fix lint (Raymond Camden)
 * Support nameConflict and makeUnique options (Raymond Camden)
 * Fix #185: Validation failures crash server (Jeff Burn)
 * fix scope error (ole3021)
 * added file field name into getFilename function (Jose De Gouveia)
 * added file field name into getFilename function in storage-handler (Jose De Gouveia)
 * Added support for external providers as npm modules. (Cristobal Vergara)
 * added maxFieldsSize override to formidable limit (Oscar Bernal)
2018-01-06 22:41:03 -03:00
Siddhi Pai 3f1625a3fb Replicate new issue_template from loopback 2018-01-06 22:41:03 -03:00
Siddhi Pai b0139a1eec Replicate issue_template from loopback repo 2018-01-06 22:41:03 -03:00
Jose De Gouveia ba5533b767 added file field name into getFilename function in storage-handler 2018-01-06 22:40:08 -03:00
Jose De Gouveia ff200bf328 added file field name into getFilename function 2018-01-06 22:38:34 -03:00
Jeff Burn 64c723e123 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
2018-01-06 22:30:39 -03:00
Oscar Bernal e55595b99e added maxFieldsSize override to formidable limit 2018-01-06 22:30:35 -03:00
Raymond Feng 7df8f45489 Fix eslint 2018-01-06 22:28:42 -03:00
ole3021 ecf44e0c68 fix scope error 2018-01-06 22:28:42 -03:00
Cristobal Vergara edd5651e0e Added support for external providers as npm modules. 2018-01-06 22:28:42 -03: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
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
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
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