# HG changeset patch # User Sebastien Jodogne # Date 1368630652 -7200 # Node ID 081a44d5110b7d71865cdbf28b4f7bc8e191a6f1 # Parent 7bbe77cb9e12c6569253d1567187982b9e740ff5 notes diff -r 7bbe77cb9e12 -r 081a44d5110b NEWS --- a/NEWS Wed May 15 16:51:10 2013 +0200 +++ b/NEWS Wed May 15 17:10:52 2013 +0200 @@ -1,8 +1,18 @@ Pending changes in the mainline =============================== + +Metadata +-------- + +* Access to the metadata through the REST API +* Support of user-defined metadata * "LastUpdate" metadata for patients, studies and series * Improved support of series with temporal positions + +Other +----- + * Fixes for Red Hat and Debian packaging * Fixes for boost::thread, as reported by Cyril Paulus diff -r 7bbe77cb9e12 -r 081a44d5110b OrthancServer/OrthancInitialization.cpp --- a/OrthancServer/OrthancInitialization.cpp Wed May 15 16:51:10 2013 +0200 +++ b/OrthancServer/OrthancInitialization.cpp Wed May 15 17:10:52 2013 +0200 @@ -129,11 +129,11 @@ for (size_t i = 0; i < members.size(); i++) { std::string info = "\"" + members[i] + "\" = " + parameter[members[i]].toStyledString(); - LOG(INFO) << "Registering user-specific metadata: " << info; + LOG(INFO) << "Registering user-defined metadata: " << info; if (!parameter[members[i]].asBool()) { - LOG(ERROR) << "Not a number in this user-specific metadata: " << info; + LOG(ERROR) << "Not a number in this user-defined metadata: " << info; throw OrthancException(ErrorCode_BadParameterType); } @@ -145,7 +145,7 @@ } catch (OrthancException e) { - LOG(ERROR) << "Cannot register this user-specific metadata: " << info; + LOG(ERROR) << "Cannot register this user-defined metadata: " << info; throw e; } } diff -r 7bbe77cb9e12 -r 081a44d5110b Resources/Configuration.json --- a/Resources/Configuration.json Wed May 15 16:51:10 2013 +0200 +++ b/Resources/Configuration.json Wed May 15 17:10:52 2013 +0200 @@ -33,8 +33,9 @@ "LuaScripts" : [ ], - // Dictionary of the user-specific metadata. Each entry must map a - // number between 1024 and 65535 to an unique string. + // Dictionary of symbolic names for the user-defined metadata. Each + // entry must map a number between 1024 and 65535 to an unique + // string. "UserMetadata" : { // "Sample" : 1024 },