Skip to content

Commit ef485ad

Browse files
authored
Merge pull request #20 from PrestaShop/dev
Release 2.0.2
2 parents 2ca25c3 + d3a1a67 commit ef485ad

13 files changed

Lines changed: 233 additions & 103 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-----------------------------------------------------------------------------
2+
Thank you for contributing to the PrestaShop project!
3+
4+
Please take the time to edit the "Answers" rows below with the necessary information.
5+
6+
Check out our contribution guidelines to find out how to complete it:
7+
https://devdocs.prestashop.com/1.7/contribute/contribution-guidelines/#pull-requests
8+
------------------------------------------------------------------------------>
9+
10+
| Questions | Answers
11+
| ------------- | -------------------------------------------------------
12+
| Description? | Please be specific when describing the PR. <br> Every detail helps: versions, browser/server configuration, specific module/theme, etc. Feel free to add more information below this table.
13+
| Type? | bug fix / improvement / new feature / refacto / critical
14+
| BC breaks? | yes / no
15+
| Deprecations? | yes / no
16+
| Fixed ticket? | Fixes PrestaShop/Prestashop#{issue number here}.
17+
| How to test? | Please indicate how to best verify that this PR is correct.
18+
19+
<!-- Click the form's "Preview" button to make sure the table is functional in GitHub. Thank you! -->

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "04:00"
8+
open-pull-requests-limit: 10
9+
target-branch: dev
10+
- package-ecosystem: composer
11+
directory: "/"
12+
schedule:
13+
interval: daily
14+
time: "04:00"
15+
open-pull-requests-limit: 10
16+
target-branch: dev

.github/release-drafter.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
branches:
2+
- master
3+
name-template: v$NEXT_PATCH_VERSION
4+
tag-template: v$NEXT_PATCH_VERSION
5+
categories:
6+
- title: 🚀 Improvements
7+
label: enhancement
8+
- title: 🐛 Bug Fixes
9+
label: bug
10+
change-template: '- #$NUMBER: $TITLE by @$AUTHOR'
11+
template: |
12+
# Changes
13+
14+
$CHANGES

CONTRIBUTORS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
GitHub contributors:
2+
--------------------------------
3+
- Francois Gaillard
4+
- Jérôme Nadaud
5+
- Maxime Biloé
6+
- Quetzacoalt91
7+
- antoin-m
8+
- eternoendless
9+
- gaillafr
10+
- mRaigne
11+
- maximebiloe
12+
- sfroment
13+
- xGouley

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## About
44

5-
Adds a quick evaluation of your catalog quality to the Stats dashboard.
5+
Enrich your stats, give your catalog a quick evaluation to better analyze your activity.
66

77
## Reporting issues
88

config.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<module>
33
<name>statscheckup</name>
44
<displayName><![CDATA[Catalog evaluation]]></displayName>
5-
<version><![CDATA[2.0.1]]></version>
5+
<version><![CDATA[2.0.2]]></version>
66
<description><![CDATA[Adds a quick evaluation of your catalog quality to the Stats dashboard.]]></description>
77
<author><![CDATA[PrestaShop]]></author>
88
<tab><![CDATA[analytics_stats]]></tab>
99
<is_configurable>0</is_configurable>
1010
<need_instance>0</need_instance>
1111
<limited_countries></limited_countries>
12-
</module>
12+
</module>

img/index.php

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
<?php
2-
/*
3-
* 2007-2016 PrestaShop
4-
*
5-
* NOTICE OF LICENSE
6-
*
7-
* This source file is subject to the Academic Free License (AFL 3.0)
8-
* that is bundled with this package in the file LICENSE.txt.
9-
* It is also available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/afl-3.0.php
11-
* If you did not receive a copy of the license and are unable to
12-
* obtain it through the world-wide-web, please send an email
13-
* to license@prestashop.com so we can send you a copy immediately.
14-
*
15-
* DISCLAIMER
16-
*
17-
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
18-
* versions in the future. If you wish to customize PrestaShop for your
19-
* needs please refer to http://www.prestashop.com for more information.
20-
*
21-
* @author PrestaShop SA <contact@prestashop.com>
22-
* @copyright 2007-2016 PrestaShop SA
23-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24-
* International Registered Trademark & Property of PrestaShop SA
25-
*/
2+
/**
3+
* Copyright since 2007 PrestaShop SA and Contributors
4+
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
5+
*
6+
* NOTICE OF LICENSE
7+
*
8+
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
9+
* that is bundled with this package in the file LICENSE.md.
10+
* It is also available through the world-wide-web at this URL:
11+
* https://opensource.org/licenses/AFL-3.0
12+
* If you did not receive a copy of the license and are unable to
13+
* obtain it through the world-wide-web, please send an email
14+
* to license@prestashop.com so we can send you a copy immediately.
15+
*
16+
* DISCLAIMER
17+
*
18+
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
19+
* versions in the future. If you wish to customize PrestaShop for your
20+
* needs please refer to https://devdocs.prestashop.com/ for more information.
21+
*
22+
* @author PrestaShop SA and Contributors <contact@prestashop.com>
23+
* @copyright Since 2007 PrestaShop SA and Contributors
24+
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
25+
*/
2626

2727
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
2828
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');

index.php

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
<?php
2-
/*
3-
* 2007-2016 PrestaShop
4-
*
5-
* NOTICE OF LICENSE
6-
*
7-
* This source file is subject to the Academic Free License (AFL 3.0)
8-
* that is bundled with this package in the file LICENSE.txt.
9-
* It is also available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/afl-3.0.php
11-
* If you did not receive a copy of the license and are unable to
12-
* obtain it through the world-wide-web, please send an email
13-
* to license@prestashop.com so we can send you a copy immediately.
14-
*
15-
* DISCLAIMER
16-
*
17-
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
18-
* versions in the future. If you wish to customize PrestaShop for your
19-
* needs please refer to http://www.prestashop.com for more information.
20-
*
21-
* @author PrestaShop SA <contact@prestashop.com>
22-
* @copyright 2007-2016 PrestaShop SA
23-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24-
* International Registered Trademark & Property of PrestaShop SA
25-
*/
2+
/**
3+
* Copyright since 2007 PrestaShop SA and Contributors
4+
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
5+
*
6+
* NOTICE OF LICENSE
7+
*
8+
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
9+
* that is bundled with this package in the file LICENSE.md.
10+
* It is also available through the world-wide-web at this URL:
11+
* https://opensource.org/licenses/AFL-3.0
12+
* If you did not receive a copy of the license and are unable to
13+
* obtain it through the world-wide-web, please send an email
14+
* to license@prestashop.com so we can send you a copy immediately.
15+
*
16+
* DISCLAIMER
17+
*
18+
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
19+
* versions in the future. If you wish to customize PrestaShop for your
20+
* needs please refer to https://devdocs.prestashop.com/ for more information.
21+
*
22+
* @author PrestaShop SA and Contributors <contact@prestashop.com>
23+
* @copyright Since 2007 PrestaShop SA and Contributors
24+
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
25+
*/
2626

2727
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
2828
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');

logo.png

3.58 KB
Loading

statscheckup.php

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
<?php
2-
/*
3-
* 2007-2015 PrestaShop
4-
*
5-
* NOTICE OF LICENSE
6-
*
7-
* This source file is subject to the Academic Free License (AFL 3.0)
8-
* that is bundled with this package in the file LICENSE.txt.
9-
* It is also available through the world-wide-web at this URL:
10-
* http://opensource.org/licenses/afl-3.0.php
11-
* If you did not receive a copy of the license and are unable to
12-
* obtain it through the world-wide-web, please send an email
13-
* to license@prestashop.com so we can send you a copy immediately.
14-
*
15-
* DISCLAIMER
16-
*
17-
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
18-
* versions in the future. If you wish to customize PrestaShop for your
19-
* needs please refer to http://www.prestashop.com for more information.
20-
*
21-
* @author PrestaShop SA <contact@prestashop.com>
22-
* @copyright 2007-2015 PrestaShop SA
23-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24-
* International Registered Trademark & Property of PrestaShop SA
25-
*/
2+
/**
3+
* Copyright since 2007 PrestaShop SA and Contributors
4+
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
5+
*
6+
* NOTICE OF LICENSE
7+
*
8+
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
9+
* that is bundled with this package in the file LICENSE.md.
10+
* It is also available through the world-wide-web at this URL:
11+
* https://opensource.org/licenses/AFL-3.0
12+
* If you did not receive a copy of the license and are unable to
13+
* obtain it through the world-wide-web, please send an email
14+
* to license@prestashop.com so we can send you a copy immediately.
15+
*
16+
* DISCLAIMER
17+
*
18+
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
19+
* versions in the future. If you wish to customize PrestaShop for your
20+
* needs please refer to https://devdocs.prestashop.com/ for more information.
21+
*
22+
* @author PrestaShop SA and Contributors <contact@prestashop.com>
23+
* @copyright Since 2007 PrestaShop SA and Contributors
24+
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
25+
*/
2626

2727
if (!defined('_PS_VERSION_')) {
2828
exit;
@@ -36,14 +36,14 @@ public function __construct()
3636
{
3737
$this->name = 'statscheckup';
3838
$this->tab = 'analytics_stats';
39-
$this->version = '2.0.1';
39+
$this->version = '2.0.2';
4040
$this->author = 'PrestaShop';
4141
$this->need_instance = 0;
4242

4343
parent::__construct();
4444

4545
$this->displayName = $this->trans('Catalog evaluation', array(), 'Modules.Statscheckup.Admin');
46-
$this->description = $this->trans('Adds a quick evaluation of your catalog quality to the Stats dashboard.', array(), 'Modules.Statscheckup.Admin');
46+
$this->description = $this->trans('Enrich your stats, give your catalog a quick evaluation to better analyze your activity.', array(), 'Modules.Statscheckup.Admin');
4747
$this->ps_versions_compliancy = array('min' => '1.7.1.0', 'max' => _PS_VERSION_);
4848
}
4949

@@ -64,10 +64,10 @@ public function install()
6464
Configuration::updateValue($confname, (int)$confdefault);
6565
}
6666
}
67-
return (parent::install() && $this->registerHook('AdminStatsModules'));
67+
return (parent::install() && $this->registerHook('displayAdminStatsModules'));
6868
}
6969

70-
public function hookAdminStatsModules()
70+
public function hookDisplayAdminStatsModules()
7171
{
7272
if (Tools::isSubmit('submitCheckup')) {
7373
$confs = array(

0 commit comments

Comments
 (0)