-
Notifications
You must be signed in to change notification settings - Fork 192
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
New feature: File download support #702
base: main
Are you sure you want to change the base?
Conversation
- Added file downloading support for admin - Added tests for new feature
This PR solves the #701 issue. |
- File roots changed - Issue with unsecure file path change - Made possibility to read files without download
… into works_with_files
I decided that the user wants to have not only a download method but a reading method too. Now, besides the download method, there's an additional option to open files directly in a browser. Additionally, I've addressed a security concern from the previous version. Instead of using file paths in the URL, which is insecure. Please let me know when you check my MR. I'm will grateful for the feedback |
Now if the database value is the file path and the file exists it will be shown as a downloadable file
Before:
After:
Changes affect templates: deteils.html, list.html