# HG changeset patch # User Alain Mazy # Date 1700152944 -3600 # Node ID 03e71bc320c4b044200fee11fbf68a1b307a2c7e # Parent 1bda8ea224de468b58b70eec71b5dea2a5eb50f5 update OHIF to 3.7.0 + default config to avoid transcoding diff -r 1bda8ea224de -r 03e71bc320c4 NEWS --- a/NEWS Mon Nov 13 21:33:44 2023 +0100 +++ b/NEWS Thu Nov 16 17:42:24 2023 +0100 @@ -1,6 +1,9 @@ Pending changes in the mainline =============================== +* Updated OHIF to 3.7.0 +* The default configuration has been adapted to avoid unneccesary transcoding + on Orthanc side. * Patch to make the build of static assets reproducible, following a suggestion by Bernhard M. Wiedemann (bwiedemann@suse.de) diff -r 1bda8ea224de -r 03e71bc320c4 Resources/CreateOHIFDist.sh --- a/Resources/CreateOHIFDist.sh Mon Nov 13 21:33:44 2023 +0100 +++ b/Resources/CreateOHIFDist.sh Thu Nov 16 17:42:24 2023 +0100 @@ -28,7 +28,7 @@ set -ex if [ "$1" = "" ]; then - PACKAGE=Viewers-3.6.0 + PACKAGE=Viewers-3.7.0 else PACKAGE=$1 fi @@ -51,7 +51,8 @@ if [ ! -f "${ROOT_DIR}/OHIF/${PACKAGE}.tar.gz" ]; then mkdir -p "${ROOT_DIR}/OHIF" ( cd ${ROOT_DIR}/OHIF && \ - wget https://orthanc.uclouvain.be/third-party-downloads/OHIF/${PACKAGE}.tar.gz ) + wget https://github.com/OHIF/Viewers/archive/refs/tags/v3.7.0.tar.gz --output-document Viewers-3.7.0.tar.gz ) + # wget https://orthanc.uclouvain.be/third-party-downloads/OHIF/${PACKAGE}.tar.gz ) fi mkdir -p ${ROOT_DIR}/OHIF/dist/ diff -r 1bda8ea224de -r 03e71bc320c4 Sources/app-config-system.js --- a/Sources/app-config-system.js Mon Nov 13 21:33:44 2023 +0100 +++ b/Sources/app-config-system.js Thu Nov 16 17:42:24 2023 +0100 @@ -27,7 +27,8 @@ supportsFuzzyMatching: false, supportsWildcard: true, staticWado: true, - singlepart: 'bulkdata' + singlepart: 'bulkdata,pdf,video', + acceptHeader: [ 'multipart/related; type=application/octet-stream; transfer-syntax=*'] } } ];