[Koha-bugs] [Bug 19318] New: Add ability to use custom file upload paths

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 14 17:29:04 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19318

            Bug ID: 19318
           Summary: Add ability to use custom file upload paths
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: kyle at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Some libraries don't like the hard coded way uploaded files are all put in the
same directory with the hash prefixing the file.

We should allow uploaded files to retain their original name, and optionally
specify a path to upload to

I'm imagining we could accomplish this with something along these lines:
1) Add option on file upload page to not add file checksum to the uploaded
filename, modify Koha::Upload
2) Modify Koha::Upload to support this option
3) Create new Authorised Value UPLOAD_PATH to define a set of upload paths
4) Add new 'upload path' option to file upload form as a pulldown of defined
upload paths
5) Add new column 'file_path' to uploaded_files table
6) Modify Koha::Upload to support the automatic creation and use of custom file
upload paths

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list