-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Feature Request: Environment variables for defaults #131
Comments
Hi, once you change the values and upload a file, these values would be the new defaults. Does this not happen? |
Omg... it does! Sry to bother.... great work on your part.
…On Sun, Jan 28, 2024, 11:18 Marc Ole Bulling ***@***.***> wrote:
Hi, once you change the values and upload a file, these values would be
the new defaults. Does this not happen?
—
Reply to this email directly, view it on GitHub
<#131 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJ7QUVUIHE6LMGLCAB4DH3YQZ255AVCNFSM6AAAAABCOHFXACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGY2DSMZTGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
No problem, good to hear that it's working :) |
Nice! It does indeed work @Forceu But it doesn't persist across restarts, sadly. Could this be re-opened with "very low prio"? :) Not important, but would be "nice to have". Realistically it would only save the users 1-2 clicks per person every time the Deployment is restarted. EDIT: Now that we are using Litestream to persist the metadata in sqlite, this is no longer relevant it seems like. |
This is the best application for single file upload that I have used to this point. It is nearly perfect for my use case! I hope that if you fulfill the feature request for user uploads that it is something that is off by default.
At any rate, I would like to be able to configure the default values of the 3 options on the main page: download limit, expiry, and password. It would be nice to have 6 environment variables:
limit_checked: true/false
limit_value: integer
expiry_checked: true/false
expiry_value: integer
password_checked: true/false
password_value: string
I find that when I quickly drag and drop files, I have to set those values every time. Defaults decided by the admin would be nice.
Thanks and keep up the great work!
The text was updated successfully, but these errors were encountered: