Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burgess <88810029+bx80@users.noreply.github.com>2022-09-09 07:08:01 +0300
committerGitHub <noreply@github.com>2022-09-09 07:08:01 +0300
commit178c87bdba89ec714805e346d97fdda7af79498c (patch)
tree94522a17183c1f3517be02596fa12abfadce091c /plugins/PrivacyManager/templates/usersOptOut.twig
parent437dfd2e2b21d3aa875d33d4a095ff784a26a310 (diff)
Improved opt out (#19528)
* New opt out UI, self-contained code - WIP * Updated translation * built vue files * Added OptOutJS functionality, code improvements, show custom guide link on UI * Rebuild Vue * built vue files * Fix typo * Default iframe out-out to show intro, minor code tidy, updated UI test screenshots * built vue files * Replaced let with var * Improved warning when opt-out content div is missing, added info box to recommend testing * built vue files * Update UI test screenshots * Show intro parameter show as zero if not set, hide opt out complete message if not showing intro, added additional opt out url exclusions, reverted incorrect regex adjustments * built vue files * Annotated new core home embed code methods as internal * Simplify code Co-authored-by: Stefan Giehl <stefan@matomo.org> * Updated parameter name, added trailing url trimming * Added language choice selection for self-contained opt-out code * Increased test_TotalPiwikFilesSize_isWithinReasonnableSize size from 58MiB to 60MiB * Adjust layout * Update UI test screenshot * Prevent session start for optOutJS controller method * Fix conflicts * Fix for vue error * built vue files * Added content type and cache control headers when serving the opt out javascript * Added option to apply styling (disabled by default), improved reminder box visibility, updated developer log, added what's new, added title to opt-out developer guide section * built vue files * Fix typo Co-authored-by: Justin Velluppillai <justin@innocraft.com> * Update tests * Update UI test screenshot * Moved inline CSS style to less * built vue files * Update UI test screenshot * Update test reminder section style * built vue files * Update UI test screenshot * Accept cookie path and cookie domain as URL parameters, revert loading (incorrect) cookie settings from config * Bump to retry random test fail * Local vue build * built vue files * Added blog post link to the what's new notification * Update UI test screenshot * Update "What's New?" link url Co-authored-by: bx80 <bx80@users.noreply.github.com> Co-authored-by: Stefan Giehl <stefan@matomo.org> Co-authored-by: Justin Velluppillai <justin@innocraft.com>
Diffstat (limited to 'plugins/PrivacyManager/templates/usersOptOut.twig')
-rw-r--r--plugins/PrivacyManager/templates/usersOptOut.twig6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/PrivacyManager/templates/usersOptOut.twig b/plugins/PrivacyManager/templates/usersOptOut.twig
index 8d8af0e218..1f51e7cdad 100644
--- a/plugins/PrivacyManager/templates/usersOptOut.twig
+++ b/plugins/PrivacyManager/templates/usersOptOut.twig
@@ -4,7 +4,11 @@
{% block content %}
<div piwik-content-block content-title="{{ 'PrivacyManager_TrackingOptOut'|translate|e('html_attr') }}">
- <div vue-entry="PrivacyManager.OptOutCustomizer" piwikurl="{{ piwikUrl }}" language="{{ language }}">
+ <div vue-entry="PrivacyManager.OptOutCustomizer"
+ matomo-url="{{ piwikUrl }}"
+ current-language-code="{{ currentLanguageCode }}"
+ language-options="{{ languageOptions|json_encode|e('html_attr') }}"
+ >
</div>
</div>