1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-10-08 01:48:25 +00:00
Files
Nathan Gavin b3939c39d5 Update CNIL demo to use a new settings architecture (#23526)
* WIP PoC

* Turn into a plugin that can be activated in plugin administration

* Move getters to a separate folder

* Limit plugin.setting explode to 2 items to keep possible dots in setting name intact

* Add example controller and README

* Add hasValue methods to Settings plugin

* Add and use `hasSetting` method

* Use default hierarchy

* poc

* saving progress

* update

* finish PoC with working example

* v2 with working example

* remove unnecessary additions

* remove commented code

* ws / cs / cleanup

* Reuse existing "getPluginName" lookup

* Require interfaces with trait usage

* Connect new settings with old settings

* Connect compliance settings and dashboard

* Add optional template types to settings

* rearrange code into different core folders

* rename policies folder to policy to match core

* hooked new settings up to dashboard

* add required imports for phpstan

* ws / cs

* Remove return type override from API

* Connect title/inlinehelp to settings pages

* Stub actual feature usage of new "disable visitor log" setting

* implement dashboard as full mvp (#23593)

* reuse system and measurable traits to save policy status

* complete implementing mvp dashboard

* update existing tests and add new unit tests (#23594)

* fix vue issue

* update existing system tests

* fix vue

* fix missing test files

* Build vue files

* update broken UI tests

* update policymanager to handle more generic functions

* begin adding new unit tests

* update unit tests to work correctly

* fix return type issue and also fix some mocking

* PHPCS

* more PHPCS

* simplify some code to make the tests run better

* phpcs

* add unit tests for some new setting code

* cover extra function in policyComparisonTrait

---------

Co-authored-by: innocraft-automation <innocraft-automation@users.noreply.github.com>

* undo some example code

* more undoing

* add translations, remove example code

* fix visitorlog isCompliant condition

* fix merging issue

* phpcs

* Build vue files

* update broken test

* update broken tests

* update broken tests

* fix broken UI tests

* add extra translations

* abstract null checks in compareStrictness function

* PHPCS

* new PHPCS comma changes

* update UI test images

* Fix UI test selector

* Update UI test screenshot

---------

Co-authored-by: Michal Kleiner <michal@innocraft.com>
Co-authored-by: Matt <1169490+caddoo@users.noreply.github.com>
Co-authored-by: Marc Neudert <marc@innocraft.com>
Co-authored-by: innocraft-automation <innocraft-automation@users.noreply.github.com>
2025-09-19 11:03:17 +12:00
..