# HG changeset patch # User Alain Mazy # Date 1737478144 -3600 # Node ID 88ba174ff55355740fe486e2f8b3a2233e5d04ba # Parent 49fcefaf4211115b7f29d31db6d1d9e247310f6e new volview standard configuration diff -r 49fcefaf4211 -r 88ba174ff553 NEWS --- a/NEWS Mon Jan 20 11:41:37 2025 +0100 +++ b/NEWS Tue Jan 21 17:49:04 2025 +0100 @@ -4,6 +4,8 @@ * Fix forbidden access when the PatientID and StudyInstanceUID are identical. * Fix an error when WebServiceSettingsRolesUrl is not defined. * Now handling /tools/count-resources API route. +* New standard configuration "volview" although Volview is not yet ready to support + the token: https://github.com/Kitware/VolView/issues/689 2024-07-03 - v 0.8.1 diff -r 49fcefaf4211 -r 88ba174ff553 Plugin/DefaultConfiguration.json --- a/Plugin/DefaultConfiguration.json Mon Jan 20 11:41:37 2025 +0100 +++ b/Plugin/DefaultConfiguration.json Tue Jan 21 17:49:04 2025 +0100 @@ -43,7 +43,8 @@ // "osimis-web-viewer", // "stone-webviewer", // "orthanc-explorer-2", - // "ohif" + // "ohif", + // "volview" // ], //"UncheckedResources" : [], diff -r 49fcefaf4211 -r 88ba174ff553 Plugin/Plugin.cpp --- a/Plugin/Plugin.cpp Mon Jan 20 11:41:37 2025 +0100 +++ b/Plugin/Plugin.cpp Tue Jan 21 17:49:04 2025 +0100 @@ -1420,6 +1420,15 @@ if (standardConfigurations.find("ohif") != standardConfigurations.end()) { uncheckedFolders_.push_back("/ohif/"); + + tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "Authorization")); + } + + if (standardConfigurations.find("volview") != standardConfigurations.end()) + { + uncheckedFolders_.push_back("/volview/"); + + tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "Authorization")); } }