Hi, The last Hackweek I was improving the libyui REST API, here is a short summary: - The libyui-rest-api plugin has been split into three parts, the reason was that the libyui-rest-api package depended on both libyui-qt and libyui-ncurses frontends so it was not possible to install the REST API plugin into a minimal (text mode) system without installing the whole X11 stack... Now there are three separate packages: - libyui-rest-api - now contains only the shared part (the HTTP server implementation) - libyui-ncurses-rest-api - the REST API bindings for ncurses - libyui-qt-rest-api - the REST API bindings for Qt So in a minimal system you can now just install the libyui-ncurses-rest-api package. - Fixed sending :notify events from some widgets - it turned out that changing widgets with Opt(:notify) via the REST API does not trigger the notify events for some widgets. It turned out that most widgets in ncurses do not work properly, on the other hand in Qt most of them work fine. I have fixed that for CheckBox, RadioButton and InputField in Ncurses, these are the most used widgets with the :notify option so it should cover most cases. But later we should carefully check all widgets whether they work correctly... - Added IPv6 support - now the HTTP server listens on both IPv4 and IPv6 addresses. There is one quite interesting IPv6 feature for automatic testing: the autoconfiguration of the link-local address. The link-local address is computed from the MAC address, which means for a testing virtual machine you can quite easily get it's IPv6 address. - Added HTTP Basic Auth support - as the REST API is accessible for everyone who can connect to the listening port, it would be nice to have at least some simple authentication especially because YaST is running as root. Now you can provide the credentials via the YUI_AUTH_USER and YUI_AUTH_PASSWD environment variables. (The variables are unset after start to not leak the credentials to the child processes.) Warning: the credentials are still transferred in clear text (until we support SSL encryption), use only in a trusted network, never use it over the internet! More details in the Hackweek project page: https://hackweek.suse.com/18/projects/controlling-and-testing-the-yast-ui-re... -- Ladislav Slezák YaST Developer SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org