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

Allowing other file type uploads for client documents #9386

Closed
RalphGL opened this issue Mar 18, 2024 · 3 comments
Closed

Allowing other file type uploads for client documents #9386

RalphGL opened this issue Mar 18, 2024 · 3 comments
Labels

Comments

@RalphGL
Copy link

RalphGL commented Mar 18, 2024

What version of Invoice Ninja are you running? ie v4.5 / v5
v11.03.2024.1

What environment are you running?
YunoHost

I request the possibility to configure allowed document upload file types like svg, mp4, mp3 or asc in the backend without the need patching the source code.

@turbo124
Copy link
Member

https://invoiceninja.github.io/en/env-variables/

I've added a .env variable to handle this, in your .env simply add

ADDITIONAL_UPLOAD_EXTENSIONS="mp3,mp4,mkv"

@hillelcoren
Copy link
Member

@turbo124 can you please add this value to the account transformer so the frontend knows which extensions are allowed.

@turbo124
Copy link
Member

@hillelcoren sure, key for account transformer

upload_extensions (string)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants