Releases: OJSBR/audioPlayerOmp
Releases · OJSBR/audioPlayerOmp
Release list
audioPlayer 1.0.1.1 - OMP 3.5
Added
- Tests proving the plugin cannot become a way around access control: the set of
hooks it registers is asserted exactly (all of them fire after
CatalogBookHandler::downloadhas run the access policy), it registers no
route of its own, and it declines the hook when no file is present.
Confirmed on a live server as well — requesting the same MP3 with
?audioStream=1returns 206 when the file is open, and 404 when the file has
no direct sales price, when the publication format is unavailable, and when
the publication is not published: identical to the ordinary download. - Cypress specs (
cypress/tests/functional/AudioPlayer.cy.js): enabling the plugin
and saving its settings, building the player from the audio publication format,
aRangerequest answering206and an unsatisfiable one answering416, and a
file that does not belong to the format being refused with exactly the same status
with and without?audioStream=1. - A live demo link in the README.
1.0.1.0-omp3.5
Installable package for OMP 3.5. Unpack into plugins/generic/audioPlayer.