Commit Graph

333 Commits

Author SHA1 Message Date
Miguel González Aravena 9fba79d154 Fix eslint errors 2018-01-08 09:07:30 -03:00
Miguel González Aravena 3ecf08961f Add test create to container with slash 2018-01-07 23:58:31 -03:00
Miguel González Aravena 4a7bf1daa9 Merge branch 'master' of github.com:MiguelGonzalezAravena/loopback-component-storage 2018-01-06 22:53:10 -03:00
Diana Lau 92c3b4df8c chore: update license 2018-01-06 22:47:23 -03:00
Timo Wolf f467d964a7 add AWS S3 options for server side encryption
Now, the AWS S3 options for server side encryptions are passed to the
upload handler. Thus, the client can specify the AWS options and use
AWS Server Side Encryption.
2018-01-06 22:47:23 -03:00
Rand McKinney 033f6d8cd4 Update README.md
Add Google Cloud support to README
2018-01-06 22:47:23 -03:00
Raymond Feng 5203d9bd22 3.3.1
* Declare container parameter for swagger spec (Raymond Feng)
2018-01-06 22:47:23 -03:00
Raymond Feng 8b663ddf9c Declare container parameter for swagger spec
Without this change, generated Swagger spec for the upload operation
does not have `container` parameter even it's a variable on the path.
As a result, the sepc fails validations.

An optional `container` is added to the remote method. Conditional
check is added to ensure backward compatibility.
2018-01-06 22:47:18 -03:00
Raymond Feng 82f1e92a5b 3.3.0
* Mark HTTP path parameters as required (Miroslav Bajtoš)
 * Add stalebot configuration (Kevin Delisle)
 * Create Issue and PR Templates (#218) (Sakib Hasan)
 * Update translated strings Q3 2017 (Allen Boone)
 * Add CODEOWNER file (Diana Lau)
 * update messages.json (Diana Lau)
 * add .travis.yml (Diana Lau)
2018-01-06 22:46:26 -03:00
Miroslav Bajtoš 4ea51fcd8c Mark HTTP path parameters as required
Per Swagger spec 2.0, parameters coming from the path must be marked
as required.

Before this change, the Swagger spec produced by loopback-swagger
was not valid because path parameters were optional.

Note that this commit does not fix the problem of the "uploaded"
method which does not have any swagger-supported parameters now,
and therefore the swagger spec will remain invalid (but with less
errors).
2018-01-06 22:46:26 -03:00
Kevin Delisle 6a3d9f47d5 Add stalebot configuration 2018-01-06 22:46:26 -03:00
Sakib Hasan 3e7d5c819d Create Issue and PR Templates (#218)
* create issue template

* create pr template
2018-01-06 22:46:26 -03:00
Miguel González Aravena 88a261e86d Create containers with slash 2018-01-06 22:45:58 -03:00
Miguel González Aravena e9a7c7e42f Fix eslint error 2018-01-06 22:45:21 -03:00
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
Miguel González Aravena e6e49cf954 Merge branch 'master' of github.com:strongloop/loopback-component-storage 2018-01-06 21:59:52 -03:00
Diana Lau bcd6965b8f
Merge pull request #230 from strongloop/license
chore: update license
2017-11-10 21:55:18 -05:00
Diana Lau ac4a14a55a chore: update license 2017-11-10 17:54:11 -05:00
Raymond Feng 1e71f7d8dd Merge pull request #228 from timowolf/master
feat(aws-options): add AWS S3 options for server side encryption
2017-10-09 09:07:48 -07:00
Timo Wolf e1109e39dd add AWS S3 options for server side encryption
Now, the AWS S3 options for server side encryptions are passed to the
upload handler. Thus, the client can specify the AWS options and use
AWS Server Side Encryption.
2017-10-09 09:51:20 +02:00
Rand McKinney 91f6268c87 Merge pull request #222 from strongloop/document-google-cloud-support
Update README.md to add Google Cloud
2017-09-19 13:56:03 -07:00
Rand McKinney c2d5a5429e Update README.md
Add Google Cloud support to README
2017-09-12 10:11:20 -07:00
Raymond Feng 3508b036d8 3.3.1
* Declare container parameter for swagger spec (Raymond Feng)
2017-08-30 13:54:54 -07:00
Raymond Feng e48a4b1a10 Merge pull request #220 from strongloop/fix-upload-args
Declare container parameter for swagger spec
2017-08-30 13:53:47 -07:00
Raymond Feng 47d555798c Declare container parameter for swagger spec
Without this change, generated Swagger spec for the upload operation
does not have `container` parameter even it's a variable on the path.
As a result, the sepc fails validations.

An optional `container` is added to the remote method. Conditional
check is added to ensure backward compatibility.
2017-08-30 13:45:19 -07:00
Raymond Feng 03a57672ea 3.3.0
* Mark HTTP path parameters as required (Miroslav Bajtoš)
 * Add stalebot configuration (Kevin Delisle)
 * Create Issue and PR Templates (#218) (Sakib Hasan)
 * Update translated strings Q3 2017 (Allen Boone)
 * Add CODEOWNER file (Diana Lau)
 * update messages.json (Diana Lau)
 * add .travis.yml (Diana Lau)
2017-08-30 08:30:15 -07:00
Raymond Feng 0ba1595d25 Merge pull request #219 from strongloop/fix/path-parameters
Mark HTTP path parameters as required
2017-08-30 08:29:09 -07:00
Miroslav Bajtoš 7cf4d883ef
Mark HTTP path parameters as required
Per Swagger spec 2.0, parameters coming from the path must be marked
as required.

Before this change, the Swagger spec produced by loopback-swagger
was not valid because path parameters were optional.

Note that this commit does not fix the problem of the "uploaded"
method which does not have any swagger-supported parameters now,
and therefore the swagger spec will remain invalid (but with less
errors).
2017-08-30 15:09:02 +02:00
Kevin Delisle 0180ac7b50 Add stalebot configuration 2017-08-23 08:27:24 -04:00