Changeset 2584667 for shapepress-dsgvo
- Timestamp:
- 08/18/2021 08:28:10 AM (5 years ago)
- Location:
- shapepress-dsgvo/trunk
- Files:
-
- 4 added
- 10 edited
-
README.txt (modified) (3 diffs)
-
includes/class-sp-dsgvo-language-tools.php (modified) (1 diff)
-
includes/class-sp-dsgvo.php (modified) (1 diff)
-
includes/integrations/statistics/mautic (added)
-
includes/integrations/statistics/mautic/class-sp-dsgvo-mautic-api.php (added)
-
includes/integrations/statistics/mautic/class-sp-dsgvo-mautic-integration.php (added)
-
includes/integrations/statistics/mautic/page.php (added)
-
languages/shapepress-dsgvo-de_DE.mo (modified) (previous)
-
languages/shapepress-dsgvo-de_DE.po (modified) (3 diffs)
-
public/actions/legal-web-text-action.php (modified) (2 diffs)
-
public/class-sp-dsgvo-public.php (modified) (10 diffs)
-
public/js/sp-dsgvo-public.js (modified) (2 diffs)
-
public/shortcodes/privacy-policy.php (modified) (1 diff)
-
sp-dsgvo.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shapepress-dsgvo/trunk/README.txt
r2493846 r2584667 4 4 Tags: gdpr, dsgvo, datenschutz, privacy, privacy policy, imprint, impressum, wordpress, compliance, privacy, woocommerce, law 5 5 Requires at least: 3.0.1 6 Tested up to: 5. 7.07 Stable tag: 3.1.2 06 Tested up to: 5.8.2 7 Stable tag: 3.1.21 8 8 Requires PHP: 5.6.0 9 9 License: GPLv2 or later … … 118 118 119 119 #### **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 121 121 * (from cloud version: freely configurable statstics) 122 122 … … 204 204 205 205 == 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 206 213 = 3.1.20 = 207 214 * translation updates -
shapepress-dsgvo/trunk/includes/class-sp-dsgvo-language-tools.php
r2280819 r2584667 180 180 181 181 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); 183 189 $version = $xmlTextsJson['Version']; 184 190 $lang = $xmlTextsJson['Language']; -
shapepress-dsgvo/trunk/includes/class-sp-dsgvo.php
r2357270 r2584667 208 208 SPDSGVO::pluginDir('includes/integrations/statistics/hotjar/class-sp-dsgvo-hotjar-api.php'), 209 209 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'), 210 212 211 213 // targeting -
shapepress-dsgvo/trunk/languages/shapepress-dsgvo-de_DE.po
r2493846 r2584667 3 3 "Project-Id-Version: \n" 4 4 "POT-Creation-Date: 2021-03-11 11:04+0100\n" 5 "PO-Revision-Date: 2021-0 3-12 07:29+0100\n"5 "PO-Revision-Date: 2021-06-23 14:09+0200\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Generator: Poedit 2.3\n"12 "X-Generator: Poedit 3.0\n" 13 13 "X-Poedit-Basepath: ..\n" 14 14 "Plural-Forms: nplurals=2; plural=(n != 1);\n" … … 1586 1586 #: admin/tabs/v3/operator/page.php:266 public/shortcodes/imprint.php:125 1587 1587 msgid "Responsible for content" 1588 msgstr "Verantwortlich für Inhalt"1588 msgstr "Verantwortlich für den Inhalt" 1589 1589 1590 1590 #: admin/tabs/v3/operator/page.php:268 -
shapepress-dsgvo/trunk/public/actions/legal-web-text-action.php
r2357270 r2584667 31 31 } 32 32 33 //special case for matomo and piwik. only in cloud mode they are in popup, so attach -cloud to get correct popup text34 $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'); 35 35 $webAgencyText = ""; 36 36 if (in_array($slug, $specialIntegrations)) { … … 43 43 case SPDSGVOPiwikApi::getInstance()->getSlug(): 44 44 $settings = SPDSGVOPiwikApi::getInstance()->getSettings(); 45 break; 46 case SPDSGVOMauticApi::getInstance()->getSlug(): 47 $settings = SPDSGVOMauticApi::getInstance()->getSettings(); 45 48 break; 46 49 } -
shapepress-dsgvo/trunk/public/class-sp-dsgvo-public.php
r2493846 r2584667 924 924 src: local('Roboto Light Italic'), 925 925 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'); 927 927 font-display: swap; 928 928 … … 936 936 src: local('Roboto Italic'), 937 937 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'); 939 939 font-display: swap; 940 940 } … … 947 947 src: local('Roboto Bold Italic'), 948 948 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'); 950 950 font-display: swap; 951 951 } … … 958 958 src: local('Roboto Black Italic'), 959 959 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'); 961 961 font-display: swap; 962 962 } … … 969 969 src: local('Roboto Light'), 970 970 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'); 972 972 font-display: swap; 973 973 } … … 980 980 src: local('Roboto Regular'), 981 981 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'); 983 983 font-display: swap; 984 984 } … … 991 991 src: local('Roboto Bold'), 992 992 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'); 994 994 font-display: swap; 995 995 } … … 1002 1002 src: local('Roboto Black'), 1003 1003 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'); 1005 1005 font-display: swap; 1006 1006 } … … 1128 1128 } 1129 1129 1130 //special case for matomo and piwik. only in cloud mode they are in popup, so attach -cloud to get correct popup text1131 $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'); 1132 1132 $webAgencyText = ""; 1133 1133 if (in_array($slug, $specialIntegrations)) { … … 1140 1140 case SPDSGVOPiwikApi::getInstance()->getSlug(): 1141 1141 $settings = SPDSGVOPiwikApi::getInstance()->getSettings(); 1142 break; 1143 case SPDSGVOMauticApi::getInstance()->getSlug(): 1144 $settings = SPDSGVOMauticApi::getInstance()->getSettings(); 1142 1145 break; 1143 1146 } -
shapepress-dsgvo/trunk/public/js/sp-dsgvo-public.js
r2469299 r2584667 362 362 if (spDsgvoIntegrationConfig == null) return; 363 363 364 if ( spDsgvoIntegrationConfig.length == 0 && spDsgvoGeneralConfig.forceCookieInfo == 0) return;364 if (getNonMandatoryIntegrations(spDsgvoIntegrationConfig).length == 0 && spDsgvoGeneralConfig.forceCookieInfo == 0) return; 365 365 366 366 if (spDsgvoGeneralConfig.currentPageId == spDsgvoGeneralConfig.privacyPolicyPageId || … … 1033 1033 } 1034 1034 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 1035 1049 function isIntegrationAllowedByCookieSettings(slug) 1036 1050 { -
shapepress-dsgvo/trunk/public/shortcodes/privacy-policy.php
r2493846 r2584667 371 371 $integrations = SPDSGVOIntegrationApiBase::getAllIntegrationApis(SPDSGVOConstants::CATEGORY_SLUG_STATISTICS, FALSE); 372 372 373 // add techn. required too (wp stats, matomo, piwik ) because the have another catin the filter373 // add techn. required too (wp stats, matomo, piwik, mautic) because the have another catin the filter 374 374 if (SPDSGVOMatomoApi::getInstance()->getIsEnabled()) $integrations[SPDSGVOMatomoApi::getInstance()->getSlug()] =SPDSGVOMatomoApi::getInstance(); 375 375 if (SPDSGVOWpStatisticsApi::getInstance()->getIsEnabled()) $integrations[SPDSGVOWpStatisticsApi::getInstance()->getSlug()] = SPDSGVOWpStatisticsApi::getInstance(); 376 376 if (SPDSGVOPiwikApi::getInstance()->getIsEnabled()) $integrations[SPDSGVOPiwikApi::getInstance()->getSlug()] = SPDSGVOPiwikApi::getInstance(); 377 if (SPDSGVOMauticApi::getInstance()->getIsEnabled()) $integrations[SPDSGVOMauticApi::getInstance()->getSlug()] = SPDSGVOMauticApi::getInstance(); 377 378 378 379 $enabledIntegrationCount = 0; -
shapepress-dsgvo/trunk/sp-dsgvo.php
r2493846 r2584667 17 17 * Plugin URI: https://legalweb.io 18 18 * 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.2 019 * Version: 3.1.21 20 20 * Author: legalweb 21 21 * Author URI: https://www.legalweb.io … … 29 29 } 30 30 31 define('sp_dsgvo_VERSION', '3.1.2 0');31 define('sp_dsgvo_VERSION', '3.1.21'); 32 32 define('sp_dsgvo_NAME', 'sp-dsgvo'); 33 33 define('sp_dsgvo_PLUGIN_NAME', 'shapepress-dsgvo');
Note: See TracChangeset
for help on using the changeset viewer.