Ubuntu Client 1.7 series changes
Bug #1369061 reported by
Dan Garner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Won't Fix
|
Undecided
|
Alex Harrington |
Bug Description
Add missing 1.7 series changes - links in comments
Changed in xibo: | |
milestone: | 1.7.0-beta → 1.7.0 |
Changed in xibo: | |
status: | New → Won't Fix |
To post a comment you must log in.
XMDS GetFile - https:/ /blueprints. launchpad. net/xibo/ +spec/xmds- getfile- params
Change get file call to use only the ID (and not the path). There is a new WSDL which contains a change to the GetFile method call. The path has been removed and replaced with an ID. Background images come down as normal media nodes in the XLF. The path is still in the XLF.
Client settings in CMS - https:/ /blueprints. launchpad. net/xibo/ +spec/client- settings- central client. config. php on the CMS in array format. The name of each XML node will correspond to the name of the setting on the client. Register should be polled for settings updates.
New WSDL, register display now requires some other nodes which represent the client version, etc. Some of this information lived on media inventory, which needs to now be removed. The client type should be "ubuntu" for now. The XML return will also contain a list of settings - these will need to be put in config/
Get File over HTTP - https:/ /blueprints. launchpad. net/xibo/ +spec/xmds- getfile- http
If send file is enabled the service will send a HTTP link to be called instead of GetFile. In this mode there are 2 new attributes -
* download = http
* saveAs = file name
If saveAs is empty the client should assume it will save with the file name provided in the path (everything after the last /).
HTML Render mode - https:/ /blueprints. launchpad. net/xibo/ +spec/html- module- render
New "render" tag on media nodes in the XLF. When it is set to "html" the client should perform a GetResource and show it in a browser.
The XML looks like this: 6fdc40af218152c 522765" type="clock" render="html" duration="15" lkid="" userId="1" schemaVersion="1">
<theme> 2</theme>
<clockTypeId> 1</clockTypeId>
<format> <![CDATA[ <p>[HH: mm]</p> ]]></format>
<media id="1b4260e29fe
<options>
</options>
<raw>
</raw>
</media>
Image Options - https:/ /blueprints. launchpad. net/xibo/ +spec/image- scaletype
New image options:
* scaleType (stretch or center)
* align (left, center or right)
* valign (top, middle, bottom)
Alignment only applies when "center" is the scaleType.