Commit Graph

311 Commits

Author SHA1 Message Date
Diana Lau 361388bb1d Merge pull request #212 from strongloop/add-codeowner
Add CODEOWNERS file
2017-08-02 17:36:35 -04:00
Diana Lau d8b76ec0f6 Add CODEOWNER file 2017-08-02 16:24:32 -04:00
Diana Lau 4b87a28c15 Merge pull request #214 from strongloop/translate
update messages.json
2017-08-02 08:35:27 -04:00
Diana Lau ab71df42cc update messages.json 2017-08-01 21:51:04 -04:00
Diana Lau 4572305831 Merge pull request #213 from strongloop/fix-ci
Fix CI by add .travis.yml
2017-07-31 22:17:46 -04:00
Diana Lau 8189c5c991 add .travis.yml 2017-07-31 22:08:41 -04:00
Raymond Feng 6551b744ff 3.2.0
* Update deps (Raymond Feng)
2017-03-09 08:22:23 -08:00
Raymond Feng 636692a8a5 Update deps 2017-03-09 08:22:03 -08:00
Raymond Feng 82878077ff 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)
2017-03-01 15:33:45 -08:00
Raymond Feng ea1b380768 Merge pull request #193 from strongloop/replicate-issue-template
Replicate issue_template from loopback repo
2017-03-01 15:33:09 -08:00
Raymond Feng 98ded2eed2 Merge branch 'hgouveia-master' 2017-03-01 15:32:23 -08:00
Raymond Feng 2cea6a0c8d Merge branch 'master' of https://github.com/hgouveia/loopback-component-storage into hgouveia-master
# Conflicts:
#	lib/storage-handler.js
#	test/upload-download.test.js
2017-03-01 15:32:11 -08:00
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