Wow, this makes a big difference. Querying Orthanc 1.1.0 would often take 60 seconds or longer (Orthanc/Postgres running via Docker on a wimpy Synology).
When I tried to query for series n a study with Horos, this would always time out for me after 30 seconds.
I can now reliably search for series in the Horos query window and the worst case query times are much improved.
(although there still seem to be instances where I can trigger pathological behaviour in Orthanc by sending wildcard C-Find queries, will write a separate mail for this)
This, along with the Unicode fixes, improves day-to-day usability by a lot.
We also need sume adds like:
Adding content type and get json in lua scripts to be able to deal with the dicomweb plugin rest api
And in general i think lua scripting is more easy and practical than plugins, so if possiple that you add plugin api funcunality to lua core to make power scripts easly with no c++ experince and cross platform without compiling
And in general i think lua scripting is more easy and practical than plugins, so if possiple that you add plugin api funcunality to lua core to make power scripts easly with no c++ experince and cross platform without compiling
Please could you provide an example of what is missing in Lua scripting? In theory, as you can access the full REST API of Orthanc from Lua, you have the same expressiveness in Lua than in external scripts or plugins. You only have to resort to external scripting if multithreading is required, if more control over error handling is required, or if you need to interface with other services (such as a database). These are advanced scenarios, for which we assume that if they are required, the user also has knowledge of Python/PowerShel/C++/…
The default dicomweb plugin content type is xml, and when using HttpGet(url)it return xml data which is very difficult to manipulate inside lua.
And in general i think lua scripting is more easy and practical than plugins, so if possiple that you add plugin api funcunality to lua core to make power scripts easly with no c++ experince and cross platform without compiling
Please could you provide an example of what is missing in Lua scripting? In theory, as you can access the full REST API of Orthanc from Lua, you have the same expressiveness in Lua than in external scripts or plugins. You only have to resort to external scripting if multithreading is required, if more control over error handling is required, or if you need to interface with other services (such as a database). These are advanced scenarios, for which we assume that if they are required, the user also has knowledge of Python/PowerShel/C++/…
Some functions like inject js inside orthanc explorer, read the configuration file, better handling json, register rest api URI.
I coded a simple lua sctipt that send new received studyid to a php script that generate json file contain study data to be used with OHIF StandaloneViewer.
I want to make the whole process with lua to be easy to share and install to beginner users and want to inject viewer button inside orthanc explorer to launch OHIF StandaloneViewer surfed by Serve Folders plugin to add full feature viewer. .