33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-26 23:06:32 +00:00

2.1.1 - Copyright updated to Joomla

This commit is contained in:
anibalsanchez 2019-03-10 09:49:52 +01:00
parent a6597d769e
commit 5119fc102a
31 changed files with 204 additions and 127 deletions

13
.gitignore vendored
View File

@ -7,3 +7,16 @@
/.settings
/.buildpath
/.project
# Project management
.vscode/
.editorconfig
.eslintrc.json
.jsbeautifyrc
.jshintrc
.markdownlint.json
jsconfig.json
.php_cs.dist
.php_cs
.gitkeep

120
CHANGELOG
View File

@ -1,57 +1,63 @@
<?php defined('_JEXEC') or die(); ?>
=====================================================================
JED Checker 2.1.0 - Released 9-March-2019
=====================================================================
+ Compatibility with Joomla 4
+ Rule INFO_XML
+ Update Server Requirement
~ Copyright updated to Joomla! / OSM
=====================================================================
JED Checker 2.0 - Released 2-April-2017
=====================================================================
^ Removal of build tools
~ Copyright updated to Joomla! / OSM
=====================================================================
JED Checker 1.7 - Released 23-January-2017
=====================================================================
+ New Update Server rule
+ Addition of bootstrap collapses
- Removal of some deprecated Joomla Framework code
+ Add ACL
# Fixed some parameters and return types
~ Further bootstrapping
~ Language string updates
^ Minimum PHP version 5.3.10
^ error_reporting(0) now flags as error (was warning before)
=====================================================================
JED Checker 1.6 - Released 26-October-2015
=====================================================================
~ phpcs
# uploading zip files no longer displays a warning on Joomla 3.4.4
# updated link to JED listing requirements
+ added rule framework, jamss
=====================================================================
JED Checker 1.5 - Released 5-November-2015
=====================================================================
~ code cleaup and joomla's phpcs compatibility (at least for the rules)
# Fixed unnecessary GPL checks in php files with no code - thanks to Peter van Westen
# Fixed unnecessary JEXEC checks in php files with no code - thanks to Peter van Westen
+ added rule to check for error_reporting(0) - thanks to Denis Delici
# JFile not found
=====================================================================
LEGEND
=====================================================================
! Note
+ New feature or addition
^ Major change
~ Small change
$ Language change
* Security fix
# Bug fix
- Feature removal
<?php defined('_JEXEC') or die(); ?>
=====================================================================
JED Checker 2.1.1 - Released 9-March-2019
=====================================================================
~ Copyright updated to Joomla! / OSM (source files, including the original authors)
=====================================================================
JED Checker 2.1.0 - Released 9-March-2019
=====================================================================
+ Compatibility with Joomla 4
+ Rule INFO_XML
+ Update Server Requirement
~ Copyright updated to Joomla! / OSM
=====================================================================
JED Checker 2.0 - Released 2-April-2017
=====================================================================
^ Removal of build tools
~ Copyright updated to Joomla! / OSM
=====================================================================
JED Checker 1.7 - Released 23-January-2017
=====================================================================
+ New Update Server rule
+ Addition of bootstrap collapses
- Removal of some deprecated Joomla Framework code
+ Add ACL
# Fixed some parameters and return types
~ Further bootstrapping
~ Language string updates
^ Minimum PHP version 5.3.10
^ error_reporting(0) now flags as error (was warning before)
=====================================================================
JED Checker 1.6 - Released 26-October-2015
=====================================================================
~ phpcs
# uploading zip files no longer displays a warning on Joomla 3.4.4
# updated link to JED listing requirements
+ added rule framework, jamss
=====================================================================
JED Checker 1.5 - Released 5-November-2015
=====================================================================
~ code cleaup and joomla's phpcs compatibility (at least for the rules)
# Fixed unnecessary GPL checks in php files with no code - thanks to Peter van Westen
# Fixed unnecessary JEXEC checks in php files with no code - thanks to Peter van Westen
+ added rule to check for error_reporting(0) - thanks to Denis Delici
# JFile not found
=====================================================================
LEGEND
=====================================================================
! Note
+ New feature or addition
^ Major change
~ Small change
$ Language change
* Security fix
# Bug fix
- Feature removal

View File

@ -36,9 +36,16 @@ Example `tmp/jed_checker/local.txt` file:
administrator/components/com_jedchecker
plugins/system
## History of the Extension
This extension was previously maintained by Compojoom (Daniel Dimitrov). Other developers that collaborated with the original project were Denis Dulici (mijosoft.com), Riccardo Zorn (fasterjoomla.com), Bernard Toplak, eaxs (projectfork.net).
Now, JED Checker is currently supported by Joomla (Open Source Matters).
## COPYRIGHT AND DISCLAIMER
Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

View File

@ -2,7 +2,11 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
* 02.06.12
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -2,7 +2,10 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -2,7 +2,11 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
* 02.06.12
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -2,7 +2,11 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
* 02.06.12
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,5 +1,9 @@
; @package Joomla.JEDChecker
; @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
;
; @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
; Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
; @author Daniel Dimitrov <daniel@compojoom.com>
;
; @license GNU General Public License version 2 or later; see LICENSE.txt
; The valid constants to search for

View File

@ -2,7 +2,11 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
* 02.06.12
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,5 +1,9 @@
; @package Joomla.JEDChecker
; @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
;
; @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
; Copyright (C) 2008 - 2018 mijosoft.com . All rights reserved.
; @author Denis Dulici
;
; @license GNU General Public License version 2 or later; see LICENSE.txt
; The valid constants to search for

View File

@ -2,7 +2,10 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 mijosoft.com . All rights reserved.
* @author Denis Dulici <denis@mijosoft.com>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,5 +1,9 @@
; @package Joomla.JEDChecker
; @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
;
; @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
; Copyright (C) 2008 - 2018 fasterjoomla.com. All rights reserved.
; @author Riccardo Zorn <support@fasterjoomla.com>
;
; @license GNU General Public License version 2 or later; see LICENSE.txt
; This is the configuration file of the noframework rule.

View File

@ -2,7 +2,10 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 fasterjoomla.com. All rights reserved.
* @author Riccardo Zorn <support@fasterjoomla.com>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,5 +1,9 @@
; @package Joomla.JEDChecker
; @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
;
; @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
; Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
; @author Daniel Dimitrov <daniel@compojoom.com>
;
; @license GNU General Public License version 2 or later; see LICENSE.txt
; This is the configuration file of the GPL rule.

View File

@ -2,7 +2,10 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,5 +1,9 @@
; @package Joomla.JEDChecker
; @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
;
; @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
; Copyright (C) 2008 - 2018 fasterjoomla.com. All rights reserved.
; Riccardo Zorn <support@fasterjoomla.com>
;
; @license GNU General Public License version 2 or later; see LICENSE.txt
; This is the configuration file of the Jamss rule.

View File

@ -2,7 +2,11 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 fasterjoomla.com. All rights reserved.
* @author Riccardo Zorn <support@fasterjoomla.com>
* Bernard Toplak <bernard@orion-web.hr>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,5 +1,10 @@
; @package Joomla.JEDChecker
; @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
;
; @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
; Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
; @author Daniel Dimitrov <daniel@compojoom.com>
; eaxs
;
; @license GNU General Public License version 2 or later; see LICENSE.txt
; This is the configuration file of the JEXEC rule.

View File

@ -2,7 +2,11 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
* eaxs <support@projectfork.net>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -2,7 +2,11 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
* eaxs <support@projectfork.net>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -2,7 +2,11 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
* eaxs <support@projectfork.net
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -2,7 +2,11 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
* eaxs <support@projectfork.net>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -2,7 +2,11 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
* eaxs <support@projectfork.net>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -2,7 +2,11 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
* eaxs <support@projectfork.net>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -2,7 +2,10 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -2,7 +2,10 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
@ -181,4 +184,4 @@ function add_validation() {
</div>
</div>
</div>
</div>
</div>

View File

@ -2,7 +2,10 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -3,7 +3,7 @@
<name>COM_JEDCHECKER</name>
<author>Joomla! Extensions Directory</author>
<creationDate>2019-03-09</creationDate>
<copyright>Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.</copyright>
<copyright>Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.</copyright>
<authorEmail>extensions@extensions.joomla.org</authorEmail>
<authorUrl>https://github.com/joomla-extensions/jedchecker</authorUrl>
<version>2.1.0</version>

View File

@ -1,41 +0,0 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
var police = new Class({
Implements: [Options],
options: {},
initialize: function (options) {
var self = this;
this.setOptions(options);
// Clear result from any previous check
if (document.id('police-check-result').getChildren('div').length > 0) {
document.id('police-check-result').empty();
}
this.options.rules.each(function (rule) {
self.check(rule);
});
new Fx.Scroll(window).toElement(document.id('police-check-result'));
},
check: function (rule) {
var self = this;
new Request({
url: self.options.url + '/index.php?option=com_jedchecker&task=police.check&format=raw&rule=' + rule,
async: false,
onComplete: function (result) {
var div = new Element('div', {
html: result
});
div.inject(document.id('police-check-result'));
document.id('prison').setStyle('display', 'block');
}
}).send();
}
});

View File

@ -1 +0,0 @@
var police=new Class({Implements:[Options],options:{},initialize:function(e){var t=this;this.setOptions(e),0<document.id("police-check-result").getChildren("div").length&&document.id("police-check-result").empty(),this.options.rules.each(function(e){t.check(e)}),new Fx.Scroll(window).toElement(document.id("police-check-result"))},check:function(e){new Request({url:this.options.url+"/index.php?option=com_jedchecker&task=police.check&format=raw&rule="+e,async:!1,onComplete:function(e){new Element("div",{html:e}).inject(document.id("police-check-result")),document.id("prison").setStyle("display","block")}}).send()}});

View File

@ -2,7 +2,10 @@
/**
* @package Joomla.JEDChecker
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2019 Open Source Matters, Inc. All rights reserved.
* Copyright (C) 2008 - 2018 compojoom.com . All rights reserved.
* @author Daniel Dimitrov <daniel@compojoom.com>
*
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/