Tags: matomo-org/matomo
Tags
Migrate annotations to a separate db table, update model, update tests ( #23564) * Create a model for annotations in a separate db table * Add index in a separate db call * Update version to 5.5.0-b2 * Update controller to work with slightly changed API * Update test suite and API to work together correctly * Use custom migrations to migrate and purge annotations * Adjust sanitisation to sanitise on annotation output * Update PHPStan baseline * Add system test for annotation add * Allow to test APIs without providing a date * Add system test for Annotations.getAll API call when no date is provided * Ensure we handle today/yesterday dates correctly when adding/saving annotations * Add tests for today/yesterday date handling * Add annotations with potentially harmful characters/strings * Add annotations UI test to cover potentially dangerous characters --------- Co-authored-by: Nathan Gavin <nathangavin987@gmail.com> Co-authored-by: Marc Neudert <marc@innocraft.com>
PreviousNext