# HG changeset patch # User Sebastien Jodogne # Date 1435821293 -7200 # Node ID 164a381abb2b98a81498c8e665074b7422f90a1c # Parent 3f772217946729b3eee2098a37ea30781c81b3e1 NEWS diff -r 3f7722179467 -r 164a381abb2b NEWS --- a/NEWS Thu Jul 02 09:10:25 2015 +0200 +++ b/NEWS Thu Jul 02 09:14:53 2015 +0200 @@ -2,8 +2,18 @@ =============================== +General +------- + * The configuration can be splitted into several files stored inside the same folder * Custom setting of the local AET during C-Store SCU (both in Lua and in the REST API) +* Many code refactorings + +Lua +--- + +* Access to the REST API of Orthanc (RestApiGet, RestApiPost, RestApiPut, RestApiDelete) +* New events: "OnStablePatient", "OnStableStudy", "OnStableSeries" Plugins ------- @@ -14,8 +24,8 @@ Fixes ----- -* Many code refactorings * Fix compatibility issues for C-Find SCU to Siemens Syngo.Via modalities SCP +* Fix issue 15 (Lua scripts making HTTP requests) * Fix issue 35 (Characters in PatientID string are not protected for C-Find) * Fix issue 37 (Hyphens trigger range query even if datatype does not support ranges) diff -r 3f7722179467 -r 164a381abb2b OrthancServer/LuaScripting.cpp --- a/OrthancServer/LuaScripting.cpp Thu Jul 02 09:10:25 2015 +0200 +++ b/OrthancServer/LuaScripting.cpp Thu Jul 02 09:14:53 2015 +0200 @@ -176,7 +176,7 @@ !lua_isstring(state, 1) || // URI (nArgs == 2 && !lua_isboolean(state, 2))) // Restrict to built-in API? { - LOG(ERROR) << "Lua: Bad parameters to RestApiGet()"; + LOG(ERROR) << "Lua: Bad parameters to RestApiDelete()"; lua_pushnil(state); return 1; } @@ -190,7 +190,7 @@ } else { - LOG(ERROR) << "Lua: Error in RestApiGet() for URI: " << uri; + LOG(ERROR) << "Lua: Error in RestApiDelete() for URI: " << uri; lua_pushnil(state); }