File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33language : php
44
55php :
6- - 5.6
7- - 5.3.3
8- # - hhvm
6+ - 7.2.5
97
108services :
119 - redis-server
2018 - TEST_SUITE=PluginTests MYSQL_ADAPTER=PDO_MYSQL TEST_AGAINST_CORE=minimum_required_piwik
2119
2220matrix :
23- exclude :
24- # execute latest stable tests only w/ PHP 5.5
25- - php : 5.3.3
26- env : TEST_SUITE=PluginTests MYSQL_ADAPTER=PDO_MYSQL TEST_AGAINST_CORE=minimum_required_piwik
27- - php : 5.4
21+ exclude :
22+ - php : 7.2.5
2823 env : TEST_SUITE=PluginTests MYSQL_ADAPTER=PDO_MYSQL TEST_AGAINST_CORE=minimum_required_piwik
2924
3025script : $PIWIK_ROOT_DIR/tests/travis/travis.sh
Original file line number Diff line number Diff line change 11## Changelog
22
3+ ### CustomOptOut 2.0.0
4+ * Matomo 4 compatibility
5+ * Fix spelling issue
6+
37### CustomOptOut 1.0.2, 1.0.3 (HotFix)
48* (PR #53 ) CSS fix and libraries update
59* Update [ CodeMirror Editor] ( http://codemirror.net )
Original file line number Diff line number Diff line change 1111use Piwik \Piwik ;
1212use Piwik \Settings \FieldConfig ;
1313use Piwik \Settings \Setting ;
14-
14+ use Piwik \ Settings \ Plugin \ SystemSettings as BaseSettings ;
1515/**
1616 * Defines Settings for CustomOptOut.
1717 *
2121 * $settings->metric->getValue();
2222 *
2323 */
24- class SystemSettings extends \ Piwik \ Settings \ Plugin \SystemSettings
24+ class SystemSettings extends BaseSettings
2525{
2626 /**
2727 * @var Setting
Original file line number Diff line number Diff line change 55 "EditorThemeOptionName" : " Editor Theme" ,
66 "EditorThemeDescription" : " Choose a theme for the editor." ,
77 "DefaultCssStyles" : " Default Stylesheets" ,
8- "DefaultCssStylesDescription" : " This css styles will be used if no page is selected." ,
8+ "DefaultCssStylesDescription" : " This css style will be used if no page is selected." ,
99 "DefaultCssFile" : " Default Stylesheets file" ,
1010 "DefaultCssFileDescription" : " This css file will be used if no page is selected." ,
1111 "EnableJavascriptInjectionDescription" : " Enable this option to show fields to enter javascript." ,
12- "EnableJavascriptInjection" : " Enable Javascript fields"
12+ "EnableJavascriptInjection" : " Enable Javascript fields"
1313 }
1414}
Original file line number Diff line number Diff line change 11{
22 "name" : " CustomOptOut" ,
3- "version" : " 1 .0.3 " ,
3+ "version" : " 2 .0.0 " ,
44 "description" : " Create your own opt-out iframe css styles" ,
55 "keywords" : [
66 " Opt-Out" ,
1010 "license" : " GPL-3.0+" ,
1111 "homepage" : " https:\/\/ www.zwei-entwickler.de" ,
1212 "require" : {
13- "piwik " : " >=3 .0.0-b1,<4 .0.0-b1" ,
14- "php" : " >=5.5.9 "
13+ "matomo " : " >=4 .0.0-b1,<5 .0.0-b1" ,
14+ "php" : " >=7.2.5 "
1515 },
1616 "donate" : {
1717 "paypal" : " info@two-developers.com"
Original file line number Diff line number Diff line change 6161 {% endif %}
6262 <tr >
6363 <td colspan =" 5" >
64- {% set optOutUrl %}{% spaceless %}
64+ {% set optOutUrl %}
6565 {% if showOldLinks %}
6666 {{ piwikUrl }}index.php?module=CustomOptOut& action=optOut& idsite={{ site .idsite | escape (' url' ) }}& language={{ language }}
6767 {% else %}
6868 {{ piwikUrl }}index.php?module=CoreAdminHome& action=optOut& idsite={{ site .idsite | escape (' url' ) }}& language={{ language }}
6969 {% endif %}
70- {% endspaceless %}{% endset %}
70+ {% endset %}
7171 {% set iframeOptOut %}
7272 <iframe style =" border: 0; height: 200px; width: 600px;" src =" {{ optOutUrl }}" ></iframe >
7373 {% endset %}
7474
7575 <code >{{ iframeOptOut | escape }}</code >
7676 <br />
77- {{ ' CoreAdminHome_OptOutExplanationBis ' | translate(" <a href='" ~ optOutUrl ~ " ' target='_blank'>" ," </a>" )| raw }}
77+ {{ ' CoreAdminHome_OptOutExplanationIntro ' | translate(" <a href='" ~ optOutUrl ~ " ' target='_blank'>" ," </a>" )| raw }}
7878 </td >
7979 {% endfor %}
8080 </table >
You can’t perform that action at this time.
0 commit comments