New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tests]Fix test errors #19096
Closed
Closed
[tests]Fix test errors #19096
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* start migrating segment generator directive * get to build * remove some TODO * rebuilt * get UI tests to pass * fix ng-model handling * remote todo * built vue files
* Clear general cache less often when launching the archiving * invalidate only when needed * optimise clear general cache * better naming * try better approach * simplify * simplify further
* Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/ [ci skip] Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin Referrers Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-referrers/ [ci skip] Translated using Weblate (Indonesian) Currently translated at 100.0% (118 of 118 strings) Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/id/ [ci skip] Translated using Weblate (Indonesian) Currently translated at 100.0% (96 of 96 strings) Translation: Matomo/Plugin Referrers Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-referrers/id/ [ci skip] Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/ [ci skip] Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin Referrers Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-referrers/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Taufik Adi Wicaksono <taufikadi.wicaksono@tutamail.com> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/ [ci skip] Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin Referrers Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-referrers/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Added translation using Weblate (Irish) [ci skip] Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Weblate <noreply@weblate.org> Co-authored-by: Taufik Adi Wicaksono <taufikadi.wicaksono@tutamail.com>
* migrate transition exporter to Vue * migrate transition switcher to Vue * get ui tests to pass locally + test manually * compile vue entry components for dashboard widgets * fix export in dashboard * fix warning caused by empty translation key
* migrate report deletion service, delete-logs/delete-reports controllers * migrate schedule report deletion controller * delete angularjs files * couple fixes * get to work in UI * fix ajax request params not having every required param & add missing translation for manual purge estimate feature Co-authored-by: sgiehl <stefan@matomo.org>
* try to avoid random filesystem cache write failure during UI tests by retrying * update ui-test.php * forgot return
fix cache wrong path
* migrate campaign builder directive to vue * fix angularjs/vue binding combinations * fix spacing and make sure adapter is exported * fix variable reference * fix reset of generated URL * update expected screenshots * fix ui test * update expected screenshots Co-authored-by: sgiehl <stefan@matomo.org>
Because execute bit might be a security risk and has no useful purpose for files that are not meant to be executed in the first place.
* start migrating segment generator directive * get to build * remove some TODO * rebuilt * get UI tests to pass * fix ng-model handling * migrate manage gdpr directive to vue * fixing UI tests in PrivacyManager * update expected screenshots * apply review fixes * fix missing translation key Co-authored-by: sgiehl <stefan@matomo.org>
* finish migration and get to build * test manually and fix UI tests * remove whole paragraph in test * update screenshots * remove unneeded twig template Co-authored-by: sgiehl <stefan@matomo.org>
…19026) * migrate location-provider-selection directive to vue component * test manually * fix UI tests * fix paragraph markup Co-authored-by: sgiehl <stefan@matomo.org>
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
…#19012) * finish initial migration pass * get changes to build * delete angularjs and twig * extract select phone numbers macro to vue and make sure angularjs directives are initialized in scheduled reports event content * fixing several issues + getting report addition extending working * fix UI tests * possibly provide some BC for inline script use * fix several bugs, use better approach for accessing report in event child vue components, provide backwards compatibility for angularjs/inline javascript potentially used by third party plugins * apply review fixes * decode scheduled report description as it is stored escaped in the DB + remove some vue warnings Co-authored-by: sgiehl <stefan@matomo.org>
…PI method (#19054) * Disable datatable PostProcessor for PrivacyManager API * Adds some API tests for PrivacyManager.findDataSubjects * apply PSR12 code formatting * fix region not displayed correctly in tooltip
* Add the hostname to the tracker exception log so multi-tenant domains are easier to debug * Add hostname to error log to help with debugging * use Url::getHost and add method to Url class instead * apply PSR12 code formatting Co-authored-by: sgiehl <stefan@matomo.org>
* migrate widget preview directive * migrate export-widget controller to vue * fix ui tests * update expected screenshot * remove unneeded deletes
…19030) * extend request with options and method when options header and method is options do not record in the database. * update function update function * update tests update tests * update tests adjust code only trigger on option request * remove class variable remove server * Update Request.php add check request method * drop option request drop prefight request * update reset update reset * return 204 on prefight return 204 on prefight * Update Tracker.php accept cors * fix typo & add type hint * Update core/Tracker/RequestSet.php * apply PSR12 code formatting * adds test Co-authored-by: sgiehl <stefan@matomo.org>
* migrate opt-out-customizer to vue * update expected screenshot * remove angularjs files * remove left over todo * built vue files Co-authored-by: sgiehl <stefan@matomo.org> Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
…eateErrorNotification is set to false… (#19071) * add piwik-api.js error handling logic to AjaxHelper.fetch if createErrorNotification is set to false and do not call AjaxHelper errorCallback in this case too * undo submodule change
* Adds update script to remove broken scheduled reports from db * Update core/Updates/4.10.0-b1.php Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com>
…e access (#19068) * Prevent failure in scheduled report task if a user does no longer have access * apply PSR12 code formatting
* Only use dimensions for formatting if they don't define a special sql segment * apply PSR12 code formatting
…nated (#19038) * Adds a note to password change form that other sessions will be terminated * updates expected UI files
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
* adding events for use with AnonymousPiwikUsageMeasurement (so angularjs does not have to be used) * adding more events and changes required for AnonymousPiwikUsageMeasurement * undo submodule change * bump version to beta for plugin tests * built vue files * revert submodule change Co-authored-by: sgiehl <stefan@matomo.org>
* remove invalid host tracker settings cache * only check ini cache file if it exists * Revert "remove invalid host tracker settings cache" This reverts commit 88ec3b9. * check host structure before cache init * fix tests - removing original file isn't necessary for test * apply PSR12 code formatting Co-authored-by: sgiehl <stefan@matomo.org>
* create assets folder if it is missing when writing Report * apply PSR12 code formatting Co-authored-by: sgiehl <stefan@matomo.org>
* Remove json files from static file list to serve * Update changelog
update test img
closing in favor of #19100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
Fix test errors
Review