[Koha-bugs] [Bug 27594] Add access to public download link for publicly-accessible uploads

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 2 15:48:37 CET 2021


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 116218
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116218&action=edit
Bug 27594: Add access to public download link for publicly-accessible uploads

This patch adds a link to the display of publicly-accessible uploads so
that the user can copy the public link. This will hopefully lead to
easier use of sound file uploads in the Audio Alerts system.

To test, apply the patch and go to Tools -> Upload.

- If necessary, upload a file with the "Allow public downloads"
  checkbox checked.
- Upon upload you should be shown the results of your upload in a table
  with the file details.
- In the "Public" column you should see that "Yes" is a link.
  - When you hover your mouse over the link you should see a tooltip,
    "Copy link to this file."
  - When you click the link the tooltip should say "Link copied to the
    clipboard."
  - Verify that the correct link has been copied.
- Test uploading a file which is not publicly-accessible.
  - Confirm that the information in the "Public" column says "No" and is
    not a link.

Note: I believe the "wrong filter" warning from the QA is a false
positive because the variable in question should not be URI-encoded.

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


More information about the Koha-bugs mailing list