1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/plugins/SitesManager/templates/globalSettings.twig
caddoo 38a1009af5 Add more options for global URL parameter exclusions (#22729)
* Update global settings to support excluding common PII params

* Clean up TS

* Add UI screenshots (with some commented)

* Remove empty test

* Fix broken UI test

* Fix broken UI test

* Fix broken integration test

* Build vue files

* Update UI to hide the list of common exclusions

* Build vue files

* Update UI screenshot

* Update UI screenshot

* Update API interface to keep data integrity

* Switch to using whitelist validator

* Update exceptions to be translated, add missing integration test

* Restore commented out UI tests

* Remove redundant switch statement

* Add return type

* Move common PII exclusions to config

* Translate button text

* Add common PII to config

* Deprecate setGlobalExcludedQueryParameters

* Fix CS issues

* Build vue files

* Fix deprecated test and update changelog

* Use test config data for test, remove static copy of common PII

* Add missing translation key

* Update UI screenshots

* Fix tests

* Update plugins/SitesManager/API.php

Co-authored-by: Marc Neudert <marc@innocraft.com>

* Update plugins/SitesManager/API.php

Co-authored-by: Marc Neudert <marc@innocraft.com>

* Update plugins/SitesManager/API.php

Co-authored-by: Marc Neudert <marc@innocraft.com>

* Update plugins/SitesManager/vue/src/ManageGlobalSettings/ManageGlobalSettings.vue

Co-authored-by: Marc Neudert <marc@innocraft.com>

* Reorder and remove duplicates for CommonPII params

* Clear query parameters when custom_exclusions selected

* Add missing prop type include

* Make old API method more compatible with new methods

* Fix syntax error

* Fix UI screenshot

* Build vue files

* Fix UI screenshot

* Update plugins/SitesManager/API.php

Co-authored-by: Marc Neudert <marc@innocraft.com>

* Make sure URL params are cleaned before validation, and add tests

* Remove redundant check

* Update naming for the exclusion types

* Build vue files

* Update wording once more

* Update ui screenshots

* Update ui screenshots

* Update ui screenshots

* Update ui screenshots

* Update expected integration test

* Update language again

* Update integration test expected result

* Temp split test to get all screenshots

* Fix broken tests

* Remove temp tests

* Split UI tests to "one screenshot per test" for ease of updating

* Remove duplicated translation

---------

Co-authored-by: innocraft-automation <innocraft-automation@users.noreply.github.com>
Co-authored-by: Marc Neudert <marc@innocraft.com>
2024-11-18 14:16:29 +13:00

8 خطوط
284 B
Twig

{% extends 'admin.twig' %}
{% set title %}{{ 'SitesManager_GlobalWebsitesSettings'|translate }}{% endset %}
{% block content %}
<div vue-entry="SitesManager.ManageGlobalSettings" common-sensitive-query-params="{{ commonSensitiveQueryParams|json_encode }}"></div>
{% endblock %}