Improvements to Check version and Vrdeaddress#124
Improvements to Check version and Vrdeaddress#124marcelojannotti wants to merge 7 commits intophpvirtualbox:developfrom
Conversation
- Add translation; - Allow less minor versions in the same major version; - Updated project page; - Removed reference to Versioning file that not existed.
- Add translate to error message from check version in chooser.js.
Permit '' to vrdeaddress. This option, give access all address. Is the same that '0.0.0.0', but more friendly.
Add information of how to set vrdeaddress to any address
|
I understood. I think that the vitrualbox project when publish a new version, exemple virualbox 5.3, all files had a retrocompatibility with previous versions 5.2, 5.1 and 5.0. Then, the endpoint/lib/vboxweb(service)-5.3.wsdl should be retrocompatible too. But, this is not a rule. |
|
Yes, and although they've been largely compatible so far, there have also been unexpected changes, so we've taken to checking it each time. I had considered keeping the old wsdl files around for awhile and loading them depending on the VBox version. That would acheive the same aim. Something like if(!file_exists("endpoints/lib/vboxweb-$x.$y.wsdl") || !file_exists("endpoints/lib/vboxwebservice-$x.$y.wsdl") { ... alert ...} The other changes are good, though. I'd also suggest using isset() for ports as well for symmetry. That way the config will become simpler. |
|
I think that vrdeport is required and not can't be omitted. But I'll check this. About version issue, have more than 1 version of wsdl files can be confuse, especially when has multi vbox servers. |
|
We can have a default vrdeport (9000-9100) when it's omitted. When there are multiple vbox servers you can only log into them one at a time, so we could still detect the version after logging in and verify the same way we do now. |
Changed vrdeaddress default value to EMPTY (any address)
With empty default value to vrdeaddress, the ISSET() don't is necessary

Uh oh!
There was an error while loading. Please reload this page.