Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: custom file (re)naming, sanitizing - use the new options.filename #591

Merged
merged 6 commits into from
Apr 2, 2020

Commits on Mar 20, 2020

  1. feat: custom file (re)naming, options.file

    If `options.filename` is passed and is function, it is passed with `part`.
    Must return full absolute filepath for the file.
    Still works with `options.keepExtensions`.
    
    By default we rename the files to random id (joined to the uploadDir), generated from `hexoid` package.
    
    Signed-off-by: Charlike Mike Reagent <[email protected]>
    tunnckoCore committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    91dd278 View commit details
    Browse the repository at this point in the history
  2. fix: normalize uploaddir, add it to default_options

    Signed-off-by: Charlike Mike Reagent <[email protected]>
    tunnckoCore committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    1abd15d View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

  1. Configuration menu
    Copy the full SHA
    fa9bd0f View commit details
    Browse the repository at this point in the history
  2. chore: wat?!

    Signed-off-by: Charlike Mike Reagent <[email protected]>
    tunnckoCore committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    e7c5a3f View commit details
    Browse the repository at this point in the history
  3. fix: running tests locally now works

    Signed-off-by: Charlike Mike Reagent <[email protected]>
    tunnckoCore committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    6378d9a View commit details
    Browse the repository at this point in the history
  4. chore: update deps, publish canary-20200402.1

    Signed-off-by: Charlike Mike Reagent <[email protected]>
    tunnckoCore committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    f803364 View commit details
    Browse the repository at this point in the history