commit
88b9af382a
13 changed files with 40 additions and 40 deletions
|
@ -10,7 +10,7 @@ Try it, it's easy to setup! No database needed
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
* `git clone git@github.com:piwik/github-issues-mirror.git`
|
* `git clone git@github.com:matomo-org/github-issues-mirror.git`
|
||||||
* `cd github-issues-mirror/src`
|
* `cd github-issues-mirror/src`
|
||||||
* `curl -s https://getcomposer.org/installer | php`
|
* `curl -s https://getcomposer.org/installer | php`
|
||||||
* `php composer.phar install`
|
* `php composer.phar install`
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Piwik - free/libre analytics platform
|
* Matomo - free/libre analytics platform
|
||||||
*
|
*
|
||||||
* @link http://piwik.org
|
* @link https://matomo.org/
|
||||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Will be displayed in the UI.
|
* Will be displayed in the UI.
|
||||||
*/
|
*/
|
||||||
define('PROJECT_NAME', 'Piwik');
|
define('PROJECT_NAME', 'Matomo');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Emails will be sent to this address in case anything goes wrong during the import.
|
* Emails will be sent to this address in case anything goes wrong during the import.
|
||||||
*/
|
*/
|
||||||
define('PROJECT_EMAIL', 'developer@piwik.org');
|
define('PROJECT_EMAIL', 'developer@matomo.org');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* You can create a new application on the application settings page: https://github.com/settings/applications/new .
|
* You can create a new application on the application settings page: https://github.com/settings/applications/new .
|
||||||
|
@ -23,8 +23,8 @@ define('PROJECT_EMAIL', 'developer@piwik.org');
|
||||||
*/
|
*/
|
||||||
define('GITHUB_CLIENT_ID', '');
|
define('GITHUB_CLIENT_ID', '');
|
||||||
define('GITHUB_CLIENT_SECRET', '');
|
define('GITHUB_CLIENT_SECRET', '');
|
||||||
define('GITHUB_ORGANIZATION', 'piwik');
|
define('GITHUB_ORGANIZATION', 'matomo-org');
|
||||||
define('GITHUB_REPOSITORY', 'piwik');
|
define('GITHUB_REPOSITORY', 'matomo');
|
||||||
define('NUMBER_OF_ISSUES_PER_PAGE', 100);
|
define('NUMBER_OF_ISSUES_PER_PAGE', 100);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -35,12 +35,12 @@ define('DEBUG_ENABLED', false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set list of file extensions that should be disallowed in links
|
* Set list of file extensions that should be disallowed in links
|
||||||
* see https://github.com/piwik/github-issues-mirror/issues/5
|
* see https://github.com/matomo-org/github-issues-mirror/issues/5
|
||||||
*/
|
*/
|
||||||
define('FORBIDDEN_EXTENSIONS', ['swf', 'js', 'html', 'htm']);
|
define('FORBIDDEN_EXTENSIONS', ['swf', 'js', 'html', 'htm']);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If you want to enable piwik tracking enter the URL to your piwik instance and the ID of the website here
|
* If you want to enable piwik tracking enter the URL to your piwik instance and the ID of the website here
|
||||||
*/
|
*/
|
||||||
define('PIWIK_URL', false);
|
define('MATOMO_URL', false);
|
||||||
define('PIWIK_ID', false);
|
define('MATOMO_ID', false);
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Piwik - free/libre analytics platform
|
* Matomo - free/libre analytics platform
|
||||||
*
|
*
|
||||||
* @link http://piwik.org
|
* @link https://matomo.org/
|
||||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Piwik - free/libre analytics platform
|
* Matomo - free/libre analytics platform
|
||||||
*
|
*
|
||||||
* @link http://piwik.org
|
* @link https://matomo.org/
|
||||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Piwik - free/libre analytics platform
|
* Matomo - free/libre analytics platform
|
||||||
*
|
*
|
||||||
* @link http://piwik.org
|
* @link https://matomo.org/
|
||||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Piwik - free/libre analytics platform
|
* Matomo - free/libre analytics platform
|
||||||
*
|
*
|
||||||
* @link http://piwik.org
|
* @link https://matomo.org/
|
||||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Piwik - free/libre analytics platform
|
* Matomo - free/libre analytics platform
|
||||||
*
|
*
|
||||||
* @link http://piwik.org
|
* @link https://matomo.org/
|
||||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -40,9 +40,9 @@ class Markdown extends \Parsedown
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <a href="http://issues.piwik.org/attachments/1199/swelen_dateslider.swf">swelen_dateslider.swf</a>
|
* <a href="http://issues.matomo.org/attachments/1199/swelen_dateslider.swf">swelen_dateslider.swf</a>
|
||||||
* to
|
* to
|
||||||
* <a href="http://issues.piwik.org/">swelen_dateslider.swf</a>
|
* <a href="http://issues.matomo.org/">swelen_dateslider.swf</a>
|
||||||
* @param $html
|
* @param $html
|
||||||
* @return string html
|
* @return string html
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Piwik - free/libre analytics platform
|
* Matomo - free/libre analytics platform
|
||||||
*
|
*
|
||||||
* @link http://piwik.org
|
* @link https://matomo.org/
|
||||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Piwik - free/libre analytics platform
|
* Matomo - free/libre analytics platform
|
||||||
*
|
*
|
||||||
* @link http://piwik.org
|
* @link https://matomo.org/
|
||||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Piwik - free/libre analytics platform
|
* Matomo - free/libre analytics platform
|
||||||
*
|
*
|
||||||
* @link http://piwik.org
|
* @link https://matomo.org/
|
||||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -39,8 +39,8 @@ $container['view'] = function ($container) {
|
||||||
$view->getEnvironment()->addGlobal('projectName', PROJECT_NAME);
|
$view->getEnvironment()->addGlobal('projectName', PROJECT_NAME);
|
||||||
$view->getEnvironment()->addGlobal('githubOrganization', GITHUB_ORGANIZATION);
|
$view->getEnvironment()->addGlobal('githubOrganization', GITHUB_ORGANIZATION);
|
||||||
$view->getEnvironment()->addGlobal('githubRepository', GITHUB_REPOSITORY);
|
$view->getEnvironment()->addGlobal('githubRepository', GITHUB_REPOSITORY);
|
||||||
$view->getEnvironment()->addGlobal('piwikURL', PIWIK_URL);
|
$view->getEnvironment()->addGlobal('matomoURL', MATOMO_URL);
|
||||||
$view->getEnvironment()->addGlobal('piwikID', PIWIK_ID);
|
$view->getEnvironment()->addGlobal('matomoID', MATOMO_ID);
|
||||||
|
|
||||||
return $view;
|
return $view;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Piwik - free/libre analytics platform
|
* Matomo - free/libre analytics platform
|
||||||
*
|
*
|
||||||
* @link http://piwik.org
|
* @link https://matomo.org/
|
||||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Piwik - free/libre analytics platform
|
* Matomo - free/libre analytics platform
|
||||||
*
|
*
|
||||||
* @link http://piwik.org
|
* @link https://matomo.org/
|
||||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -20,22 +20,22 @@
|
||||||
<div class="container" style="margin-bottom: 20px;">
|
<div class="container" style="margin-bottom: 20px;">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
Powered by <a target="_blank" href="https://github.com/piwik/github-issues-mirror">GitHub Issue Mirror</a>
|
Powered by <a target="_blank" href="https://github.com/matomo-org/github-issues-mirror">GitHub Issue Mirror</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if piwikURL and piwikID %}
|
{% if matomoURL and matomoID %}
|
||||||
<!-- Piwik -->
|
<!-- Matomo -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var _paq = _paq || [];
|
var _paq = _paq || [];
|
||||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||||
_paq.push(['trackPageView']);
|
_paq.push(['trackPageView']);
|
||||||
_paq.push(['enableLinkTracking']);
|
_paq.push(['enableLinkTracking']);
|
||||||
(function () {
|
(function () {
|
||||||
var u = "{{ piwikURL }}";
|
var u = "{{ matomoURL }}";
|
||||||
_paq.push(['setTrackerUrl', u + 'piwik.php']);
|
_paq.push(['setTrackerUrl', u + 'piwik.php']);
|
||||||
_paq.push(['setSiteId', '{{ piwikID }}']);
|
_paq.push(['setSiteId', '{{ matomoID }}']);
|
||||||
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
|
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
|
||||||
g.type = 'text/javascript';
|
g.type = 'text/javascript';
|
||||||
g.async = true;
|
g.async = true;
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
s.parentNode.insertBefore(g, s);
|
s.parentNode.insertBefore(g, s);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<!-- End Piwik Code -->
|
<!-- End Matomo Code -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
Reference in a new issue