Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sualko/cloud_piwik.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsualko <klaus@jsxc.org>2018-03-23 15:03:51 +0300
committersualko <klaus@jsxc.org>2018-03-23 15:05:30 +0300
commitc067f648a94b51b99583c9f3601d96bfe00d3131 (patch)
tree9b20c87d5d00c5449b45fb710d61538cea844683
parentdb8768c9257a3b6f3133cd0c167bbdb0525a41d9 (diff)
replace Piwik with Piwik/Matomo in all templates (fix #45)
-rwxr-xr-xREADME.md16
-rwxr-xr-xappinfo/info.xml6
-rw-r--r--lib/Migration/Settings.php2
-rw-r--r--templates/settings/admin.php6
4 files changed, 15 insertions, 15 deletions
diff --git a/README.md b/README.md
index 35c7fbb..4fb8894 100755
--- a/README.md
+++ b/README.md
@@ -1,13 +1,13 @@
-# Piwik for your Cloud
-Track [Owncloud](https://owncloud.org) or [Nextcloud](https://nextcloud.com) users with [Piwik](https://piwik.org).
+# Piwik/Matomo for your Cloud
+Track [Nextcloud](https://nextcloud.com) users with [Piwik/Matomo](https://matomo.org).
## Requirements
-- Owncloud >= 9 or Nextcloud >= 10
-- Working piwik installation (tested with 2.14.3)
+- Nextcloud >= 11
+- Working Piwik/Matomo installation (tested with 2.14.3)
- Empty custom variable slots on index 1, 2 and 3
## What will be tracked?
-- Normal piwik stuff (url, page title, browser, ...)
+- Normal Piwik/Matomo stuff (url, page title, browser, ...)
- User ID aka Owncloud user
- App in first custom variable
- Share ID in second custom variable (<code>index.php/s/SHARE_ID</code>)
@@ -20,8 +20,8 @@ Track [Owncloud](https://owncloud.org) or [Nextcloud](https://nextcloud.com) use
## Installation
- Download and extract to <code>CLOUD_DIR/apps/piwik/</code>
- Enable app
-- If needed create a new site in your Piwik installation
-- Insert Piwik site id and url on the cloud admin page (e.g. site id: <code>1</code>, url: <code>//domain.tld/piwik/</code>)
-- If Piwik is hosted under a different domain as your cloud you maybe need to use one of two possible proxy methods:
+- If needed create a new site in your Piwik/Matomo installation
+- Insert Piwik/Matomo site id and url on the cloud admin page (e.g. site id: <code>1</code>, url: <code>//domain.tld/piwik/</code>)
+- If Piwik/Matomo is hosted under a different domain as your cloud you maybe need to use one of two possible proxy methods:
- Add <code>RewriteRule "^piwik/(.*)$" "http://piwik.tld/$1" [P]</code> to your <code>.htaccess</code>
- Add <code>ProxyPass /piwik/ http://piwik.tld/</code> to your apache VirtualHost section
diff --git a/appinfo/info.xml b/appinfo/info.xml
index cfe9b81..40a8ccf 100755
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -1,9 +1,9 @@
<?xml version="1.0"?>
<info>
<id>piwik</id>
- <name>Piwik Tracking</name>
- <summary>Track users with piwik</summary>
- <description>Track users with piwik</description>
+ <name>Piwik/Matomo Tracking</name>
+ <summary>Track users with Piwik/Matomo</summary>
+ <description>Track users with Piwik/Matomo</description>
<version>0.4.0-alpha</version>
<licence>agpl</licence>
<author>Klaus Herberth</author>
diff --git a/lib/Migration/Settings.php b/lib/Migration/Settings.php
index 5975784..b8a79f0 100644
--- a/lib/Migration/Settings.php
+++ b/lib/Migration/Settings.php
@@ -23,7 +23,7 @@ class Settings implements IRepairStep
*/
public function getName()
{
- return 'Update Piwik settings format';
+ return 'Update Piwik/Matomo settings format';
}
/**
diff --git a/templates/settings/admin.php b/templates/settings/admin.php
index 5e1583a..edda4b1 100644
--- a/templates/settings/admin.php
+++ b/templates/settings/admin.php
@@ -4,8 +4,8 @@ style('piwik', 'settings');
?>
<div id="piwikSettings" class="section">
- <h2>Piwik Tracking</h2>
- <p class="settings-hint">If you have no Piwik instance, go to <a href="https://matomo.org" target="_blank">matomo.org</a> for further instructions.</p>
+ <h2>Piwik/Matomo Tracking</h2>
+ <p class="settings-hint">If you have no Piwik/Matomo instance, go to <a href="https://matomo.org" target="_blank">matomo.org</a> for further instructions.</p>
<p class="settings-hint">Please take into account that the old values are cached for 2 minutes in your browser.</p>
<form>
@@ -15,7 +15,7 @@ style('piwik', 'settings');
<td><input type="number" name="siteId" id="piwikSiteId" pattern="[0-9]+" value="<?php p($_['siteId']);?>" /></td>
</tr>
<tr>
- <td><label for="piwikUrl">Piwik Url </label></td>
+ <td><label for="piwikUrl">Piwik/Matomo Url </label></td>
<td><input type="text" name="url" id="piwikUrl" value="<?php p($_['url']);?>" /></td>
</tr>
<tr>