Item14340: Add macro to report the Foswiki::Net user agent version to the FoswikiOrgPlugin.
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release:
This can be used in the
FastReport,
JsonReport, etc. to filter out incompatible extensions for the detected foswiki release.
--
GeorgeClark - 11 Mar 2017
Changes also needed to the 3 topics:
- Extensions.JsonReport already has the Foswiki version passed in as version=V2.1.3. This can't be used directly, as the IncompatibleWith is missing the V.
- Strip the leading V, Escape . to prevent wildcard matching.
AND NOT (IncompatibleWith=~'%CALCULATE{$SUBSTITUTE($FILTER([Vv], %URLPARAM{"version" default="unknown"}%),.,\.)}%\b'
--
GeorgeClark - 12 Mar 2017
For the FastReport and UpdatesPluginReport, added
AND NOT IncompatibleWith=~'%CALCULATE{$SUBSTITUTE(%FOSWIKIREQUESTAGENT%,.,\.)}%\b'
Only JsonReport (tested with Foswiki 2.0.0) and FastReport (Tested with 1.1.9) have been tested live.
--
GeorgeClark - 12 Mar 2017
The plugin still needs code to map from svn rev to a foswiki version for the oldest code.
--
GeorgeClark - 12 Mar 2017