Commit Graph

280 Commits

Author SHA1 Message Date
Hage Yaapa ffa04a7992 Rename uploading files 2018-05-14 22:22:40 +05:30
Biniam Admikew eb11b4d660
Merge pull request #229 from Overdrivr/implement-debug-strings
Implement debug strings
2018-02-12 16:56:33 -05:00
Remi Beges c105f8a9ae Add some debug strings to handler and service 2018-01-30 10:29:59 -05: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
Sakib Hasan ea5e9807a4 Create Issue and PR Templates (#218)
* create issue template

* create pr template
2017-08-16 14:27:54 -04:00
Allen Boone 007b9d5eeb Merge pull request #216 from strongloop/piiReturnQ32017
Update translated strings Q3 2017
2017-08-11 14:18:08 -04:00
Allen Boone 4d37716b58 Update translated strings Q3 2017 2017-08-10 15:27:31 -04:00
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