Commit Graph

31 Commits

Author SHA1 Message Date
Kienan Stewart e028b15e7b Hide matomo users who have access to a site but not made by AlternC
Users made in the Matomo interface and given an access to a site
that's in AlternC show up without this restriction. When that happens,
the user is no longer able to modify permissions for any of the Matomo
users from their AlternC account.
2023-09-28 08:49:07 +02:00
Kienan Stewart c95dd63c26 Remove trailing whitespace 2023-09-28 08:48:39 +02:00
Kienan Stewart 0956906e98
Request unlimited number of a sites from matomo
By default, matomo applies a limit of 100 results to all API endpoints
that return an array. By passing filter_limit -1 all results can be
fetched in a single call for the site lists.

Ref: https://developer.matomo.org/api-reference/reporting-api
2019-04-05 13:48:03 -04:00
Kienan Stewart 5a62d13843
Store the proper hash of a matomo user's password 2019-04-05 13:47:53 -04:00
Benjamin Sonntag dbb41924bd [enh] add a debug() method to messages, and set this instead of LOG() for most api calls => only api calls that CHANGES something are now calling log() (which logs) and others are calling debug() which logs nothing by default. A variable allow for debugging 2018-06-28 00:27:10 +02:00
Benjamin Sonntag d6c7d15028 [enh] simplify piwik class to do less things when unused 2018-06-24 17:24:36 +02:00
Benjamin Sonntag ddbc6e2ff4 [fix] fixing variable issues 2018-06-22 19:03:48 +02:00
Benjamin Sonntag 5b7622ce90 [cosm] many cosmetic comment fixes, + ensure license and copyright everywhere 2017-10-08 19:31:34 +02:00
Benjamin Sonntag 3de55aca37 [cosm] reindent, check language of comments, ensure /** phpdoc style comments, simplify file header (license only) etc. 2017-10-06 23:42:39 +02:00
Benjamin Sonntag 6581c7d6c4 [doc] misc doc translation fr>en 2017-10-06 22:48:22 +02:00
Benjamin Sonntag 33f8e78885 [fix] class m_messages fixed to use 'level' instead of 'type' or 'cat' + force CAP on levels + merge OK and INFO 2017-10-06 18:04:36 +02:00
quenenni f92f92d34e suppresion des textes 'à traduire' + corr de 2 bugs 2017-08-18 15:32:16 +02:00
quenenni 6f30c8bac4 classe piwik & fichiers section admin associés 2017-08-16 18:29:25 +02:00
Emmanuel Monbroussou 61b07a257d [wip] Passing mysql request params into array arguments for the query method (part 3) 2016-05-18 11:19:20 +02:00
Antoine Beaupr�� dd6ace0c0c don't create piwik accounts with random gmail addresses, properly prefix the accounts so they're unique 2014-06-18 15:24:38 +00:00
Antoine Beaupr�� fb9d6d8457 piwik: properly record the site id after creation 2014-06-18 15:05:34 +00:00
fufroma 92bee77f40 Suggested changes 2014-03-26 15:09:43 +01:00
fufroma 7cd158c45c Suggested comments 2014-03-26 14:59:41 +01:00
Alan Garcia 0349fef05a Coding style 2014-03-26 11:01:02 +00:00
Fran��ois Serman 4f603deb80 adding crypto module, used for LXC 2013-09-21 15:03:59 +00:00
Alan Garcia bdd51cd353 Pas de menu Piwik si pas déclaré 2013-02-21 17:46:05 +00:00
Alan Garcia 938fcba146 Adieu, menulist.txt ! Bonjour, menu avec des hooks magique dans les classes.
Plus simple à gérer pour modifier le html, plus facile à surcharger dans l'optique
de permettre de mettre des préférences.

Active se souvenir pour la session des préférences de menu.

Passe le stockage dans la session de php serialize à json
2013-02-18 10:01:28 +00:00
Alan Garcia a2503e395d Factorise code variables 2012-10-18 09:03:26 +00:00
Benjamin Sonntag 69d8e4f408 all error messages are now NOT ending by '.' and using correct capitalization. can't has been replaced by cannot, no 'I' talking about AlternC. 2012-10-18 07:52:54 +00:00
Benjamin Sonntag 2f18f271ca METRO TASK: syntax & comments in classes 2012-08-28 08:59:05 +00:00
Benjamin Sonntag 2d5a76b5f8 METRO-TASK: bro dom & piwik raise() replacement + bro new header 2012-08-27 08:18:25 +00:00
Alan Garcia 1faef827b6 Quotas en un seul hooks. Avec normalement du cache. 2012-08-26 16:11:53 +00:00
Benjamin Sonntag 1d0aca92bf revert piwik lost data 2012-08-26 11:10:31 +00:00
Benjamin Sonntag 54025ed4dd fixing quota names 2012-08-26 10:52:58 +00:00
Benjamin Sonntag 12df3585e6 piwik standardization + new hooks 2012-08-26 10:35:39 +00:00
Alan Garcia 9f6e82764c Piwik by Fser 2012-08-25 08:45:04 +00:00