changeset 1449:164a381abb2b

NEWS
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 02 Jul 2015 09:14:53 +0200
parents 3f7722179467
children a3efc289ec07
files NEWS OrthancServer/LuaScripting.cpp
diffstat 2 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)
 
--- 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);
     }