mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-23 13:17:42 +00:00
2.1.1 - Copyright updated to Joomla
This commit is contained in:
parent
a6597d769e
commit
5119fc102a
13
.gitignore
vendored
13
.gitignore
vendored
@ -7,3 +7,16 @@
|
|||||||
/.settings
|
/.settings
|
||||||
/.buildpath
|
/.buildpath
|
||||||
/.project
|
/.project
|
||||||
|
|
||||||
|
# Project management
|
||||||
|
.vscode/
|
||||||
|
.editorconfig
|
||||||
|
.eslintrc.json
|
||||||
|
.jsbeautifyrc
|
||||||
|
.jshintrc
|
||||||
|
.markdownlint.json
|
||||||
|
jsconfig.json
|
||||||
|
.php_cs.dist
|
||||||
|
.php_cs
|
||||||
|
.gitkeep
|
||||||
|
|
||||||
|
120
CHANGELOG
120
CHANGELOG
@ -1,57 +1,63 @@
|
|||||||
<?php defined('_JEXEC') or die(); ?>
|
<?php defined('_JEXEC') or die(); ?>
|
||||||
|
|
||||||
=====================================================================
|
=====================================================================
|
||||||
JED Checker 2.1.0 - Released 9-March-2019
|
JED Checker 2.1.1 - Released 9-March-2019
|
||||||
=====================================================================
|
=====================================================================
|
||||||
+ Compatibility with Joomla 4
|
|
||||||
+ Rule INFO_XML
|
~ Copyright updated to Joomla! / OSM (source files, including the original authors)
|
||||||
+ Update Server Requirement
|
|
||||||
~ Copyright updated to Joomla! / OSM
|
=====================================================================
|
||||||
|
JED Checker 2.1.0 - Released 9-March-2019
|
||||||
=====================================================================
|
=====================================================================
|
||||||
JED Checker 2.0 - Released 2-April-2017
|
+ Compatibility with Joomla 4
|
||||||
=====================================================================
|
+ Rule INFO_XML
|
||||||
^ Removal of build tools
|
+ Update Server Requirement
|
||||||
~ Copyright updated to Joomla! / OSM
|
~ Copyright updated to Joomla! / OSM
|
||||||
|
|
||||||
=====================================================================
|
=====================================================================
|
||||||
JED Checker 1.7 - Released 23-January-2017
|
JED Checker 2.0 - Released 2-April-2017
|
||||||
=====================================================================
|
=====================================================================
|
||||||
+ New Update Server rule
|
^ Removal of build tools
|
||||||
+ Addition of bootstrap collapses
|
~ Copyright updated to Joomla! / OSM
|
||||||
- Removal of some deprecated Joomla Framework code
|
|
||||||
+ Add ACL
|
=====================================================================
|
||||||
# Fixed some parameters and return types
|
JED Checker 1.7 - Released 23-January-2017
|
||||||
~ Further bootstrapping
|
=====================================================================
|
||||||
~ Language string updates
|
+ New Update Server rule
|
||||||
^ Minimum PHP version 5.3.10
|
+ Addition of bootstrap collapses
|
||||||
^ error_reporting(0) now flags as error (was warning before)
|
- Removal of some deprecated Joomla Framework code
|
||||||
|
+ Add ACL
|
||||||
=====================================================================
|
# Fixed some parameters and return types
|
||||||
JED Checker 1.6 - Released 26-October-2015
|
~ Further bootstrapping
|
||||||
=====================================================================
|
~ Language string updates
|
||||||
~ phpcs
|
^ Minimum PHP version 5.3.10
|
||||||
# uploading zip files no longer displays a warning on Joomla 3.4.4
|
^ error_reporting(0) now flags as error (was warning before)
|
||||||
# updated link to JED listing requirements
|
|
||||||
+ added rule framework, jamss
|
=====================================================================
|
||||||
|
JED Checker 1.6 - Released 26-October-2015
|
||||||
=====================================================================
|
=====================================================================
|
||||||
JED Checker 1.5 - Released 5-November-2015
|
~ phpcs
|
||||||
=====================================================================
|
# uploading zip files no longer displays a warning on Joomla 3.4.4
|
||||||
~ code cleaup and joomla's phpcs compatibility (at least for the rules)
|
# updated link to JED listing requirements
|
||||||
# Fixed unnecessary GPL checks in php files with no code - thanks to Peter van Westen
|
+ added rule framework, jamss
|
||||||
# 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
|
JED Checker 1.5 - Released 5-November-2015
|
||||||
|
=====================================================================
|
||||||
=====================================================================
|
~ code cleaup and joomla's phpcs compatibility (at least for the rules)
|
||||||
LEGEND
|
# 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
|
||||||
! Note
|
+ added rule to check for error_reporting(0) - thanks to Denis Delici
|
||||||
+ New feature or addition
|
# JFile not found
|
||||||
^ Major change
|
|
||||||
~ Small change
|
=====================================================================
|
||||||
$ Language change
|
LEGEND
|
||||||
* Security fix
|
=====================================================================
|
||||||
# Bug fix
|
! Note
|
||||||
- Feature removal
|
+ New feature or addition
|
||||||
|
^ Major change
|
||||||
|
~ Small change
|
||||||
|
$ Language change
|
||||||
|
* Security fix
|
||||||
|
# Bug fix
|
||||||
|
- Feature removal
|
||||||
|
@ -36,9 +36,16 @@ Example `tmp/jed_checker/local.txt` file:
|
|||||||
administrator/components/com_jedchecker
|
administrator/components/com_jedchecker
|
||||||
plugins/system
|
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 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.
|
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.
|
||||||
|
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
; @package Joomla.JEDChecker
|
; @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
|
; @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
|
|
||||||
; The valid constants to search for
|
; The valid constants to search for
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
; @package Joomla.JEDChecker
|
; @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
|
; @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
|
|
||||||
; The valid constants to search for
|
; The valid constants to search for
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
; @package Joomla.JEDChecker
|
; @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
|
; @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
|
|
||||||
; This is the configuration file of the noframework rule.
|
; This is the configuration file of the noframework rule.
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
; @package Joomla.JEDChecker
|
; @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
|
; @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
|
|
||||||
; This is the configuration file of the GPL rule.
|
; This is the configuration file of the GPL rule.
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
; @package Joomla.JEDChecker
|
; @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
|
; @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
|
|
||||||
; This is the configuration file of the Jamss rule.
|
; This is the configuration file of the Jamss rule.
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
; @package Joomla.JEDChecker
|
; @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
|
; @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
|
|
||||||
; This is the configuration file of the JEXEC rule.
|
; This is the configuration file of the JEXEC rule.
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -181,4 +184,4 @@ function add_validation() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<name>COM_JEDCHECKER</name>
|
<name>COM_JEDCHECKER</name>
|
||||||
<author>Joomla! Extensions Directory</author>
|
<author>Joomla! Extensions Directory</author>
|
||||||
<creationDate>2019-03-09</creationDate>
|
<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>
|
<authorEmail>extensions@extensions.joomla.org</authorEmail>
|
||||||
<authorUrl>https://github.com/joomla-extensions/jedchecker</authorUrl>
|
<authorUrl>https://github.com/joomla-extensions/jedchecker</authorUrl>
|
||||||
<version>2.1.0</version>
|
<version>2.1.0</version>
|
||||||
|
@ -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();
|
|
||||||
}
|
|
||||||
});
|
|
1
media/com_jedchecker/js/police.min.js
vendored
1
media/com_jedchecker/js/police.min.js
vendored
@ -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()}});
|
|
@ -2,7 +2,10 @@
|
|||||||
/**
|
/**
|
||||||
* @package Joomla.JEDChecker
|
* @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
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user