strongloop / loopback-component-storage

Storage component for LoopBack.
Other
130 stars 155 forks source link

Rename uploading files #247

Closed hacksparrow closed 6 years ago

hacksparrow commented 6 years ago

Description

This PR adds the feature to rename files before they reach the destination - filesystem or cloud.

I have made additional changes to the test cases and edited the .gitignore file under /test/images/album1. Reason: each unit test should be self-contained.

NOTE: This feature depends on an update in strong-remoting. CI will fail till strong-remoting is updated (it is not updated yet).

Related issues

Checklist

hacksparrow commented 6 years ago

Closing this in favor of documenting the getFilename datasource option, which can be used for accomplishing the requirement.