Plugin Directory

Changeset 2584667


Ignore:
Timestamp:
08/18/2021 08:28:10 AM (5 years ago)
Author:
legalweb
Message:

3.1.21

Location:
shapepress-dsgvo/trunk
Files:
4 added
10 edited

Legend:

Unmodified
Added
Removed
  • shapepress-dsgvo/trunk/README.txt

    r2493846 r2584667  
    44Tags: gdpr, dsgvo, datenschutz, privacy, privacy policy, imprint, impressum, wordpress, compliance, privacy, woocommerce, law
    55Requires at least: 3.0.1
    6 Tested up to: 5.7.0
    7 Stable tag: 3.1.20
     6Tested up to: 5.8.2
     7Stable tag: 3.1.21
    88Requires PHP: 5.6.0
    99License: GPLv2 or later
     
    118118
    119119#### **Statistics / analysis**
    120 * WP Statistics, Matomo (On ​​Premise / Agentur / Cloud), Piwik (On Premise / Agentur / Cloud), E-Tracker, Google Analytics, Clicky, Hotjar
     120* WP Statistics, Matomo (On ​​Premise / Agentur / Cloud), Piwik (On Premise / Agentur / Cloud), E-Tracker, Google Analytics, Clicky, Hotjar, Mautic
    121121* (from cloud version: freely configurable statstics)
    122122
     
    204204
    205205== Changelog ==
     206
     207= 3.1.21 =
     208* added mautic
     209* fixed bug with forcing cookie popup
     210* translation updates
     211* fixed path of roboto font
     212
    206213= 3.1.20 =
    207214* translation updates
  • shapepress-dsgvo/trunk/includes/class-sp-dsgvo-language-tools.php

    r2280819 r2584667  
    180180
    181181                if ($xmlTextsJson != null) {
    182                     $xmlTextsBase64 = base64_encode($xmlTextsJson['Texts']);
     182
     183                    $xmlTextsBase64 = $xmlTextsJson['Texts'];
     184                    if (strtoupper($lang) == 'CH') { // ch does not use an ß
     185                        $xmlTextsBase64 = str_replace("ß", "ss",$xmlTextsBase64);
     186                        $xmlTextsBase64 = str_replace("ß", "ss",$xmlTextsBase64);
     187                    }
     188                    $xmlTextsBase64 = base64_encode($xmlTextsBase64);
    183189                    $version = $xmlTextsJson['Version'];
    184190                    $lang = $xmlTextsJson['Language'];
  • shapepress-dsgvo/trunk/includes/class-sp-dsgvo.php

    r2357270 r2584667  
    208208            SPDSGVO::pluginDir('includes/integrations/statistics/hotjar/class-sp-dsgvo-hotjar-api.php'),
    209209            SPDSGVO::pluginDir('includes/integrations/statistics/hotjar/class-sp-dsgvo-hotjar-integration.php'),
     210            SPDSGVO::pluginDir('includes/integrations/statistics/mautic/class-sp-dsgvo-mautic-api.php'),
     211            SPDSGVO::pluginDir('includes/integrations/statistics/mautic/class-sp-dsgvo-mautic-integration.php'),
    210212
    211213            // targeting
  • shapepress-dsgvo/trunk/languages/shapepress-dsgvo-de_DE.po

    r2493846 r2584667  
    33"Project-Id-Version: \n"
    44"POT-Creation-Date: 2021-03-11 11:04+0100\n"
    5 "PO-Revision-Date: 2021-03-12 07:29+0100\n"
     5"PO-Revision-Date: 2021-06-23 14:09+0200\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "X-Generator: Poedit 2.3\n"
     12"X-Generator: Poedit 3.0\n"
    1313"X-Poedit-Basepath: ..\n"
    1414"Plural-Forms: nplurals=2; plural=(n != 1);\n"
     
    15861586#: admin/tabs/v3/operator/page.php:266 public/shortcodes/imprint.php:125
    15871587msgid "Responsible for content"
    1588 msgstr "Verantwortlich für Inhalt"
     1588msgstr "Verantwortlich für den Inhalt"
    15891589
    15901590#: admin/tabs/v3/operator/page.php:268
  • shapepress-dsgvo/trunk/public/actions/legal-web-text-action.php

    r2357270 r2584667  
    3131        }
    3232
    33         //special case for matomo and piwik. only in cloud mode they are in popup, so attach -cloud to get correct popup text
    34         $specialIntegrations = array('matomo', 'piwik');
     33        //special case for matomo, piwik, mautic. only in cloud mode they are in popup, so attach -cloud to get correct popup text
     34        $specialIntegrations = array('matomo', 'piwik', 'mautic');
    3535        $webAgencyText = "";
    3636        if (in_array($slug, $specialIntegrations)) {
     
    4343                case SPDSGVOPiwikApi::getInstance()->getSlug():
    4444                    $settings = SPDSGVOPiwikApi::getInstance()->getSettings();
     45                    break;
     46                case SPDSGVOMauticApi::getInstance()->getSlug():
     47                    $settings = SPDSGVOMauticApi::getInstance()->getSettings();
    4548                    break;
    4649            }
  • shapepress-dsgvo/trunk/public/class-sp-dsgvo-public.php

    r2493846 r2584667  
    924924                    src: local('Roboto Light Italic'),
    925925                    local('Roboto-LightItalic'),
    926                     url(fonts/roboto/Roboto-LightItalic-webfont.woff) format('woff');
     926                    url(/wp-content/plugins/shapepress-dsgvo/public/css/fonts/roboto/Roboto-LightItalic-webfont.woff) format('woff');
    927927                    font-display: swap;
    928928
     
    936936                    src: local('Roboto Italic'),
    937937                    local('Roboto-Italic'),
    938                     url(fonts/roboto/Roboto-Italic-webfont.woff) format('woff');
     938                    url(/wp-content/plugins/shapepress-dsgvo/public/css/fonts/roboto/Roboto-Italic-webfont.woff) format('woff');
    939939                    font-display: swap;
    940940                }
     
    947947                    src: local('Roboto Bold Italic'),
    948948                    local('Roboto-BoldItalic'),
    949                     url(fonts/roboto/Roboto-BoldItalic-webfont.woff) format('woff');
     949                    url(/wp-content/plugins/shapepress-dsgvo/public/css/fonts/roboto/Roboto-BoldItalic-webfont.woff) format('woff');
    950950                    font-display: swap;
    951951                }
     
    958958                    src: local('Roboto Black Italic'),
    959959                    local('Roboto-BlackItalic'),
    960                     url(fonts/roboto/Roboto-BlackItalic-webfont.woff) format('woff');
     960                    url(/wp-content/plugins/shapepress-dsgvo/public/css/fonts/roboto/Roboto-BlackItalic-webfont.woff) format('woff');
    961961                    font-display: swap;
    962962                }
     
    969969                    src: local('Roboto Light'),
    970970                    local('Roboto-Light'),
    971                     url(fonts/roboto/Roboto-Light-webfont.woff) format('woff');
     971                    url(/wp-content/plugins/shapepress-dsgvo/public/css/fonts/roboto/Roboto-Light-webfont.woff) format('woff');
    972972                    font-display: swap;
    973973                }
     
    980980                    src: local('Roboto Regular'),
    981981                    local('Roboto-Regular'),
    982                     url(fonts/roboto/Roboto-Regular-webfont.woff) format('woff');
     982                    url(/wp-content/plugins/shapepress-dsgvo/public/css/fonts/roboto/Roboto-Regular-webfont.woff) format('woff');
    983983                    font-display: swap;
    984984                }
     
    991991                    src: local('Roboto Bold'),
    992992                    local('Roboto-Bold'),
    993                     url(fonts/roboto/Roboto-Bold-webfont.woff) format('woff');
     993                    url(/wp-content/plugins/shapepress-dsgvo/public/css/fonts/roboto/Roboto-Bold-webfont.woff) format('woff');
    994994                    font-display: swap;
    995995                }
     
    10021002                    src: local('Roboto Black'),
    10031003                    local('Roboto-Black'),
    1004                     url(fonts/roboto/Roboto-Black-webfont.woff) format('woff');
     1004                    url(/wp-content/plugins/shapepress-dsgvo/public/css/fonts/roboto/Roboto-Black-webfont.woff) format('woff');
    10051005                    font-display: swap;
    10061006                }
     
    11281128        }
    11291129
    1130         //special case for matomo and piwik. only in cloud mode they are in popup, so attach -cloud to get correct popup text
    1131         $specialIntegrations = array('matomo', 'piwik');
     1130        //special case for matomo, piwik and mautic. only in cloud mode they are in popup, so attach -cloud to get correct popup text
     1131        $specialIntegrations = array('matomo', 'piwik', 'mautic');
    11321132        $webAgencyText = "";
    11331133        if (in_array($slug, $specialIntegrations)) {
     
    11401140                case SPDSGVOPiwikApi::getInstance()->getSlug():
    11411141                    $settings = SPDSGVOPiwikApi::getInstance()->getSettings();
     1142                    break;
     1143                case SPDSGVOMauticApi::getInstance()->getSlug():
     1144                    $settings = SPDSGVOMauticApi::getInstance()->getSettings();
    11421145                    break;
    11431146            }
  • shapepress-dsgvo/trunk/public/js/sp-dsgvo-public.js

    r2469299 r2584667  
    362362        if (spDsgvoIntegrationConfig == null) return;
    363363
    364         if (spDsgvoIntegrationConfig.length == 0 && spDsgvoGeneralConfig.forceCookieInfo == 0) return;
     364        if (getNonMandatoryIntegrations(spDsgvoIntegrationConfig).length == 0 && spDsgvoGeneralConfig.forceCookieInfo == 0) return;
    365365
    366366        if (spDsgvoGeneralConfig.currentPageId == spDsgvoGeneralConfig.privacyPolicyPageId ||
     
    10331033    }
    10341034
     1035    function getNonMandatoryIntegrations(integrationsArray)
     1036    {
     1037        var result = [];
     1038        integrationsArray.forEach(function(integration) {
     1039
     1040            if (integration.category != CATEGORY_SLUG_MANDATORY)
     1041            {
     1042                result.push(integration);
     1043            }
     1044        });
     1045
     1046        return result;
     1047    }
     1048
    10351049    function isIntegrationAllowedByCookieSettings(slug)
    10361050    {
  • shapepress-dsgvo/trunk/public/shortcodes/privacy-policy.php

    r2493846 r2584667  
    371371    $integrations = SPDSGVOIntegrationApiBase::getAllIntegrationApis(SPDSGVOConstants::CATEGORY_SLUG_STATISTICS, FALSE);
    372372
    373     // add techn. required too (wp stats, matomo, piwik) because the have another catin the filter
     373    // add techn. required too (wp stats, matomo, piwik, mautic) because the have another catin the filter
    374374    if (SPDSGVOMatomoApi::getInstance()->getIsEnabled()) $integrations[SPDSGVOMatomoApi::getInstance()->getSlug()] =SPDSGVOMatomoApi::getInstance();
    375375    if (SPDSGVOWpStatisticsApi::getInstance()->getIsEnabled()) $integrations[SPDSGVOWpStatisticsApi::getInstance()->getSlug()] = SPDSGVOWpStatisticsApi::getInstance();
    376376    if (SPDSGVOPiwikApi::getInstance()->getIsEnabled()) $integrations[SPDSGVOPiwikApi::getInstance()->getSlug()] = SPDSGVOPiwikApi::getInstance();
     377    if (SPDSGVOMauticApi::getInstance()->getIsEnabled()) $integrations[SPDSGVOMauticApi::getInstance()->getSlug()] = SPDSGVOMauticApi::getInstance();
    377378
    378379    $enabledIntegrationCount = 0;
  • shapepress-dsgvo/trunk/sp-dsgvo.php

    r2493846 r2584667  
    1717 * Plugin URI:        https://legalweb.io
    1818 * Description:       WP DSGVO Tools (GDPR) help you to fulfill the GDPR (DGSVO)  compliance guidance (<a target="_blank" href="https://ico.org.uk/for-organisations/data-protection-reform/overview-of-the-gdpr/">GDPR</a>)
    19  * Version:           3.1.20
     19 * Version:           3.1.21
    2020 * Author:            legalweb
    2121 * Author URI:        https://www.legalweb.io
     
    2929}
    3030
    31 define('sp_dsgvo_VERSION', '3.1.20');
     31define('sp_dsgvo_VERSION', '3.1.21');
    3232define('sp_dsgvo_NAME', 'sp-dsgvo');
    3333define('sp_dsgvo_PLUGIN_NAME', 'shapepress-dsgvo');
Note: See TracChangeset for help on using the changeset viewer.