other changes. - Add logic to freenas_api_connect to handle a '302 Found' which seems to mean it does not handle v1.0 API's. Fixes #60. - Add logic to freenas_api_connect to handle a '307 Temporary Redirect' which is when the redirect http to https box is checked. Fixes #59. - Redesign the RegEx that validates and pulls the version information from the API system/version call. This is due to a format like TrueNAS-12.0-BETA instead of [FreeNAS|TrueNAS]-12.0-U1.1. Also make sure empty RegEx return variables are zero (0) so the version number that is formulated is correct (e.g. 12000000, 11030302). Fixes #60. - During testing needed to add a check due to the api/v2.0/system/version returning a quoted string where api/v1.0/system/version returned a JSON-format data. - Tested against baremetal FreeNAS 11.3-U3.2 and virtual TrueNAS 12.0-BETA machines. |
||
|---|---|---|
| .. | ||
| LunCmd | ||
| .gitignore | ||
| ZFSPlugin-5.0-30.pm.patch | ||
| ZFSPlugin-5.0-33_1.pm.hotfix.patch | ||
| ZFSPlugin-5.0-33_1.pm.patch | ||
| ZFSPlugin-5.0-34_1.pm.patch | ||
| ZFSPlugin-5.0-38_1.pm.patch | ||
| ZFSPlugin-5.0-42_1.pm.patch | ||
| ZFSPlugin-5.0-44_1.pm.patch | ||
| ZFSPlugin-6.0-6_1.pm.patch | ||
| ZFSPlugin-6.0-8_1.pm.patch | ||
| ZFSPlugin-6.0-9_1.pm.patch | ||
| ZFSPlugin.pm.patch | ||