<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Hi everyone,<br><br>just a quick update on <span id="DWT4657" class="ZmSearchResult"><span id="DWT4661" class="ZmSearchResult"><span id="DWT3745" class="ZmSearchResult">UI</span></span></span> <span id="DWT4659" class="ZmSearchResult"><span id="DWT4663" class="ZmSearchResult"><span id="DWT3747" class="ZmSearchResult">Plugins</span></span></span> proof-of-c<span id="DWT4653" class="ZmSearchResult"><span id="DWT4665" class="ZmSearchResult">on</span></span>cept patch - new patch for revision 7 (update 3) is now available.<br><br>You can download and apply latest <span id="DWT3757" class="ZmSearchResult"></span>patches from oVirt Gerrit code review system:<br><ul><li>rev<span id="DWT3761" class="ZmSearchResult">is</span>ion 6 - <span class="Object" id="OBJ_PREFIX_DWT3762_com_zimbra_url"><span class="Object" id="OBJ_PREFIX_DWT6991_com_zimbra_url"><a target="_blank" href="http://gerrit.ovirt.org/#/c/8120/">http://gerrit.ovirt.org/#/c/8120/</a></span></span></li><li>rev<span id="DWT3764" class="ZmSearchResult">is</span>ion 7 update 3 - <span class="Object" id="OBJ_PREFIX_DWT3765_com_zimbra_url"><span class="Object" id="OBJ_PREFIX_DWT6992_com_zimbra_url"><a target="_blank" href="http://gerrit.ovirt.org/#/c/9250/">http://gerrit.ovirt.org/#/c/9250/</a></span></span></li><li><span class="Object" id="OBJ_PREFIX_DWT3765_com_zimbra_url"><span class="Object" id="OBJ_PREFIX_DWT6992_com_zimbra_url">REST API session patch: http://gerrit.ovirt.org/#/c/9820/</span></span></li></ul><p>Please read on to learn what's new.</p><p><br></p><hr style="width: 100%; height: 2px;"><br><p><strong>Engine REST API integration</strong></p><p><br><strong></strong></p><p><strong><span style="font-weight: normal;">REST API session patch (see above) now ensures that new session is acquired each time the user logs into WebAdmin, despite the fact that </span></strong>UI plugin infrastructure doesn't close existing REST API session on server after user logout. This means each user login equals new REST API session, based on provided login credentials. This fixes the problem of reusing existing (un-closed) session from previous user login. Many thanks to Michael Pasternak and Oved Ourfalli for the patch!<br></p><p><br></p><p>Additionally, known limitation with regard to auto login has been fixed - <strong><span style="font-weight: normal;"></span></strong>UI plugin infrastructure now remembers REST API session ID on client (using HTML5 storage / cookie fallback) and uses it for auto login process. <strong><span style="font-weight: normal;"></span></strong>UI plugin infrastructure assumes that for auto login, REST API session has already been acquired (via classic login) and is still active at the time of auto login.<br><strong><span style="font-weight: normal;"></span></strong></p><p><br><strong><span style="font-weight: normal;"></span></strong></p><p><strong><span style="font-weight: normal;"></span></strong></p><hr style="width: 100%; height: 2px;"><br><strong>Updated API function: register</strong><br style="font-weight: bold;"><br>To make it clear that <em>api.register</em> function should be called <u>exactly once</u>, the function behavior has been changed in the following way:<br><ul><li>previously, you could call <span style="font-style: italic;">api.register</span> multiple times, last call would "win" with regard to passed event handler object</li><li>now, you can call <span style="font-style: italic;">api.register</span> only once, subsequent calls will have no effect (the event handler object has already been set)<br></li></ul><p><br></p><hr style="width: 100%; height: 2px;"><p><br></p>Regards,<br>Vojtech<br><br><p><strong></strong></p></div></body></html>