From 98ce34e96d9886e1087549ae56c961f5e5f7e950 Mon Sep 17 00:00:00 2001 From: matks Date: Mon, 30 Mar 2020 18:33:44 +0200 Subject: [PATCH 01/13] Add Pull Request template for github --- .github/PULL_REQUEST_TEMPLATE.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..1deac3a --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,19 @@ + + +| Questions | Answers +| ------------- | ------------------------------------------------------- +| Description? | Please be specific when describing the PR.
Every detail helps: versions, browser/server configuration, specific module/theme, etc. Feel free to add more information below this table. +| Type? | bug fix / improvement / new feature / refacto / critical +| BC breaks? | yes / no +| Deprecations? | yes / no +| Fixed ticket? | Fixes PrestaShop/Prestashop#{issue number here}. +| How to test? | Please indicate how to best verify that this PR is correct. + + From a8d90ee72271cf43fd68d3fc95fc2c8bc3569b55 Mon Sep 17 00:00:00 2001 From: matks Date: Wed, 1 Apr 2020 18:04:56 +0200 Subject: [PATCH 02/13] Enable Release Drafter --- .github/release-drafter.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..e9b1f18 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,14 @@ +branches: + - master +name-template: v$NEXT_PATCH_VERSION +tag-template: v$NEXT_PATCH_VERSION +categories: + - title: 🚀 Improvements + label: enhancement + - title: 🐛 Bug Fixes + label: bug +change-template: '- #$NUMBER: $TITLE by @$AUTHOR' +template: | + # Changes + + $CHANGES From 2d9b67f83474323804e36b7e5ffeb3a4cdeb353b Mon Sep 17 00:00:00 2001 From: matks Date: Fri, 5 Jun 2020 11:19:47 +0200 Subject: [PATCH 03/13] Add CONTRIBUTORS file --- CONTRIBUTORS.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 CONTRIBUTORS.md diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md new file mode 100644 index 0000000..be21675 --- /dev/null +++ b/CONTRIBUTORS.md @@ -0,0 +1,15 @@ +GitHub contributors: +-------------------------------- + - AntoineMille + - Francois Gaillard + - Jerome Nadaud + - Jérôme Nadaud + - Maxime Biloé + - PierreRambaud + - Quetzacoalt91 + - antoin-m + - eternoendless + - gaillafr + - matks + - maximebiloe + - tchauviere From eef859adac03244f5c5f5b81610475e786161657 Mon Sep 17 00:00:00 2001 From: matks Date: Tue, 9 Jun 2020 17:32:44 +0200 Subject: [PATCH 04/13] Update license header file graphnvd3.php --- graphnvd3.php | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/graphnvd3.php b/graphnvd3.php index 979fdba..e5328fb 100644 --- a/graphnvd3.php +++ b/graphnvd3.php @@ -1,28 +1,28 @@ -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ +/** + * 2007-2020 PrestaShop SA and Contributors + * + * NOTICE OF LICENSE + * + * This source file is subject to the Academic Free License 3.0 (AFL-3.0) + * that is bundled with this package in the file LICENSE.txt. + * It is also available through the world-wide-web at this URL: + * https://opensource.org/licenses/AFL-3.0 + * If you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to license@prestashop.com so we can send you a copy immediately. + * + * DISCLAIMER + * + * Do not edit or add to this file if you wish to upgrade PrestaShop to newer + * versions in the future. If you wish to customize PrestaShop for your + * needs please refer to https://www.prestashop.com for more information. + * + * @author PrestaShop SA + * @copyright 2007-2020 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + * International Registered Trademark & Property of PrestaShop SA + */ if (!defined('_PS_VERSION_')) exit; From 68647dfd4aa15eca341316d27eb90a116c157bb3 Mon Sep 17 00:00:00 2001 From: matks Date: Tue, 9 Jun 2020 17:32:46 +0200 Subject: [PATCH 05/13] Update license header file index.php --- index.php | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/index.php b/index.php index e5064df..6a47230 100644 --- a/index.php +++ b/index.php @@ -1,28 +1,28 @@ -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ +/** + * 2007-2020 PrestaShop SA and Contributors + * + * NOTICE OF LICENSE + * + * This source file is subject to the Academic Free License 3.0 (AFL-3.0) + * that is bundled with this package in the file LICENSE.txt. + * It is also available through the world-wide-web at this URL: + * https://opensource.org/licenses/AFL-3.0 + * If you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to license@prestashop.com so we can send you a copy immediately. + * + * DISCLAIMER + * + * Do not edit or add to this file if you wish to upgrade PrestaShop to newer + * versions in the future. If you wish to customize PrestaShop for your + * needs please refer to https://www.prestashop.com for more information. + * + * @author PrestaShop SA + * @copyright 2007-2020 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + * International Registered Trademark & Property of PrestaShop SA + */ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); From 864ac9c911cb4b8d26b64796c12baf24c87aea98 Mon Sep 17 00:00:00 2001 From: matks Date: Mon, 20 Jul 2020 10:28:41 +0200 Subject: [PATCH 06/13] Add dependabot config file --- .github/dependabot.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e1818d4 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,16 @@ +version: 2 +updates: +- package-ecosystem: npm + directory: "/" + schedule: + interval: daily + time: "04:00" + open-pull-requests-limit: 10 + target-branch: dev +- package-ecosystem: composer + directory: "/" + schedule: + interval: daily + time: "04:00" + open-pull-requests-limit: 10 + target-branch: dev From 97ade8a1ac817fd7f22a572323bb78aa76b9a843 Mon Sep 17 00:00:00 2001 From: matks Date: Wed, 22 Jul 2020 10:22:13 +0200 Subject: [PATCH 07/13] Update license header file graphnvd3.php --- graphnvd3.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/graphnvd3.php b/graphnvd3.php index 4edc35e..9ebeae2 100644 --- a/graphnvd3.php +++ b/graphnvd3.php @@ -1,11 +1,12 @@ - * @copyright 2007-2020 PrestaShop SA and Contributors + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) - * International Registered Trademark & Property of PrestaShop SA */ if (!defined('_PS_VERSION_')) From ccfd70b9a6820ef57680f5acf08c2d47bb02cd15 Mon Sep 17 00:00:00 2001 From: matks Date: Wed, 22 Jul 2020 10:22:15 +0200 Subject: [PATCH 08/13] Update license header file index.php --- index.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.php b/index.php index 6a47230..c4ae07a 100644 --- a/index.php +++ b/index.php @@ -1,11 +1,12 @@ - * @copyright 2007-2020 PrestaShop SA and Contributors + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) - * International Registered Trademark & Property of PrestaShop SA */ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); From 29eede0da7f6cd613ee9c5ea6d5d55a923168296 Mon Sep 17 00:00:00 2001 From: Julie Varisellaz <70583503+Julievrz@users.noreply.github.com> Date: Wed, 28 Oct 2020 14:58:50 +0100 Subject: [PATCH 09/13] Update About section of README --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index ad97267..cb3d645 100644 --- a/Readme.md +++ b/Readme.md @@ -4,7 +4,7 @@ NVD3 (http://nvd3.org/) is JavaScript library that was built specifically to generate beautiful charts using D3.js (http://d3js.org/), a JavaScript library built to manipulate documents based on data. -This module enables the NVD3 charting code for your own uses, providing you with ever so useful graphs. +Enable the NVD3 charting code for your own uses, providing you with ever so useful graphs. ## Reporting issues From fe2cf674a2c58c4159ff724f3e69cf852c91e616 Mon Sep 17 00:00:00 2001 From: Julie Varisellaz <70583503+Julievrz@users.noreply.github.com> Date: Wed, 28 Oct 2020 15:02:29 +0100 Subject: [PATCH 10/13] Update short description I copied the code line just above to insert the short description, I hope it was the good thing to do :) --- graphnvd3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphnvd3.php b/graphnvd3.php index 9ebeae2..cdb84a0 100644 --- a/graphnvd3.php +++ b/graphnvd3.php @@ -49,7 +49,7 @@ function __construct($type = null) Module::__construct(); $this->displayName = $this->trans('NVD3 Charts', array(), 'Modules.Graphnvd3.Admin'); - $this->description = ''; + $this->description = $this->trans('Enable the NVD3 charting code for your own uses, providing you with ever so useful graphs.', array(), 'Modules.Graphnvd3.Admin'); $this->ps_versions_compliancy = array('min' => '1.7.1.0', 'max' => _PS_VERSION_); } From 2ccb526876d0f3e5f9bae2233652848be2830a5e Mon Sep 17 00:00:00 2001 From: Julie Varisellaz <70583503+Julievrz@users.noreply.github.com> Date: Wed, 28 Oct 2020 15:03:24 +0100 Subject: [PATCH 11/13] Update logo --- logo.png | Bin 629 -> 7521 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/logo.png b/logo.png index 15f6ca95004f5cc037dfed30b31a50479449ec68..74cddb2508b402bf47dc3645d556ac0f0d1543e9 100644 GIT binary patch literal 7521 zcmV-n9iHNeP)Py78%ab#RCodHT?>#L#d-dB_jdQ*4}_lypbqyrQ(DDjzk5h6jhLN z%)=JO*bXjNVkcE020O&Y#$bnFC$=Gu4R%aH2!#VNSmI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2X1`?ZPaVmTyJxvlGP^1oPoqGPUkPaO%Vni!&#P9+hp|hR~ zom_WvuG2>8U@cHIz=+ra9Q|AeiS@eBNnGf<&_!`L7AQJka;Xu4AeU9jGcWv?Jmsl( zB$Y=C@T_xez+>5{*fC}SV1*|(Xm0JBdW_jq}fKWg}T6NLg9{ z7*SY(bZzzNUvkD>WhrSSRLLy>Yycw=Bs&k&R+s)#1e%h!P1y;cz{1!N!DhX!+u1j| zg};7!S2U&(6CIl|#w-k$+r+bo6=nej7cdasIWV@F*Q#vhSHoxVn$aZ;pjs&u#q-Ys rY62H?a{TCwr=hmm)T0=)ST+5BgAk|1=JHa&00000NkvXXu0mjfmC`00009a7bBm000ie000ie0hKEb8vp7F0WPN_9M!-d1qjleM)@NfbowmSiSQ?hXVc&w? zfp(`tHqsGbI$#qru{Ln=-;we8qjV!@1yJHK30vHlj{v~-IG?=T3HFXX)&z*9=G`Cy zcA@~VLz5P7m4f9Y0AEZEAYfY_tVquRUh^bHB|QhY@X{3jTL6WfTY+o!=w6ty{AO9a zete0!wX4X@_>OCzKM4Io?slos%)|Zl=TG(9S@lIMY+SnmkVrxl!yGrR98@C!fJJ=$ zw5~oW4uPA-TN48FrM){fKQ2EhU?%`XC_x8691H0HfJKf8fB```VLAo?j*##n=#7MUnR=xltJ!298^?SjK&nLa-vUP Date: Tue, 19 Oct 2021 14:11:26 +0200 Subject: [PATCH 12/13] Change Tools::jsonEncode to json_encode --- graphnvd3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphnvd3.php b/graphnvd3.php index cdb84a0..135cb17 100644 --- a/graphnvd3.php +++ b/graphnvd3.php @@ -176,6 +176,6 @@ public function draw() $nvd3_values[] = array('x' => $x, 'y' => $y); $array['data'][] = array('values' => $nvd3_values, 'key' => $this->_titles['main'][$layer]); } - echo preg_replace('/"([0-9]+)"/', '$1', Tools::jsonEncode($array)); + echo preg_replace('/"([0-9]+)"/', '$1', json_encode($array)); } } From cd601d137d62e1899f0face41914714479530978 Mon Sep 17 00:00:00 2001 From: Pierre RAMBAUD Date: Fri, 19 Nov 2021 15:53:13 +0100 Subject: [PATCH 13/13] Bump to 2.0.2 --- config.xml | 4 ++-- graphnvd3.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.xml b/config.xml index e2793d7..b5ccdb8 100644 --- a/config.xml +++ b/config.xml @@ -2,11 +2,11 @@ graphnvd3 - + 0 0 - \ No newline at end of file + diff --git a/graphnvd3.php b/graphnvd3.php index 135cb17..a2d4510 100644 --- a/graphnvd3.php +++ b/graphnvd3.php @@ -42,7 +42,7 @@ function __construct($type = null) $this->name = 'graphnvd3'; $this->tab = 'administration'; - $this->version = '2.0.1'; + $this->version = '2.0.2'; $this->author = 'PrestaShop'; $this->need_instance = 0;