Fixes #5131
Actually call the Referrer Spam check.
Fixes #2268 Refs #5099
Fixes #5144 When the response being dispatched is an array, `var_export` it instead of `echo`
Do not mention archive.php in the sourcecode, instead mention `./console core:archive` command
Fixes issue when a port number is appended to the hostname, expected: pick the hostname'd config file (without port number)
Load translation before throwing exception, so message is displayed in english
Rename idsite -> idSite
Make exception message more useful.
Submodule
Revert a6b50c783e6599217318f09cbfc0c0fde9c0d50f
Fixes  #5153 New hook UsersManager.getDefaultDates that lets plugin developers customise the list of "Report date to load by default"
Refs #5104 Fix link to Microsoft Web App Gallery package
refs #4706 added possibility to register a closure or a callable method to process processed metrics as late as possible and to make sure it always returns the correct value whenever it is called. Otherwise the value does not get updated in case for instance the nb_visits column changes (done in SumRow). Whenever there is a column that is not numeric and not the label column it should use a callback method instead of calculating the value directly to make sure the correct value is returend when using flat or truncate or ...
fixes #5152 fixes in IE10+ the visitorlog width changed once the mouse was over a column
refs #4706 fix sort test
Fixes #5128 Count BingPreview as bot
Maybe this would help, taht the htaccess files white list html files refs #5148
Trying to set module + method as GET parameters to overwrite any existing GET param. Refs #5127
To test:
- apply this patch
- delete piwik/tmp/assets/*
- try again if it's working?
Refs #5127 revert previous commit as this was not the fix
Thanks for sending me access to the server so I could check myself
Fixes #5127 Set Base URL used in the AJAX request to `?` instead of `index.php?`

 It is set to '?' rather than 'index.php?' to increase chances that it works
 including for users who have an automatic 301 redirection from index.php? to ?
 POST values are missing when there is such 301 redirection. So by by-passing
 this 301 redirection, we avoid this issue.